diff options
| author | Paul Eggert | 2011-06-02 01:25:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-02 01:25:28 -0700 |
| commit | 275a5dd65098a2d6fcc14c21f805fc8d5e4479ee (patch) | |
| tree | a03e79b0a7c066940ed02cd11927c7fd4080f092 /src/ChangeLog | |
| parent | 97f4ea979720e535ade3fe0055fb710e18fb7b5d (diff) | |
| parent | f797625a8ca7bc973b6943c6fce97f1e479a283d (diff) | |
| download | emacs-275a5dd65098a2d6fcc14c21f805fc8d5e4479ee.tar.gz emacs-275a5dd65098a2d6fcc14c21f805fc8d5e4479ee.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 83 |
1 files changed, 82 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6d642cb063d..7d372e0448a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,84 @@ | |||
| 1 | 2011-06-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Remove arbitrary limit of 2**31 entries in hash tables. (Bug#8771) | ||
| 4 | * category.c (hash_get_category_set): | ||
| 5 | * ccl.c (ccl_driver): | ||
| 6 | * charset.c (Fdefine_charset_internal): | ||
| 7 | * charset.h (struct charset.hash_index): | ||
| 8 | * composite.c (get_composition_id, gstring_lookup_cache) | ||
| 9 | (composition_gstring_put_cache): | ||
| 10 | * composite.h (struct composition.hash_index): | ||
| 11 | * dispextern.h (struct image.hash): | ||
| 12 | * fns.c (next_almost_prime, larger_vector, cmpfn_eql) | ||
| 13 | (cmpfn_equal, cmpfn_user_defined, hashfn_eq, hashfn_eql) | ||
| 14 | (hashfn_equal, hashfn_user_defined, make_hash_table) | ||
| 15 | (maybe_resize_hash_table, hash_lookup, hash_put) | ||
| 16 | (hash_remove_from_table, hash_clear, sweep_weak_table, SXHASH_COMBINE) | ||
| 17 | (sxhash_string, sxhash_list, sxhash_vector, sxhash_bool_vector) | ||
| 18 | (Fsxhash, Fgethash, Fputhash, Fmaphash): | ||
| 19 | * image.c (make_image, search_image_cache, lookup_image) | ||
| 20 | (xpm_put_color_table_h): | ||
| 21 | * lisp.h (struct Lisp_Hash_Table): | ||
| 22 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | ||
| 23 | * print.c (print): Use 'EMACS_UINT' and 'EMACS_INT' | ||
| 24 | for hashes and hash indexes, instead of 'unsigned' and 'int'. | ||
| 25 | * alloc.c (allocate_vectorlike): | ||
| 26 | Check for overflow in vector size calculations. | ||
| 27 | * ccl.c (ccl_driver): | ||
| 28 | Check for overflow when converting EMACS_INT to int. | ||
| 29 | * fns.c, image.c: Remove unnecessary static decls that would otherwise | ||
| 30 | need to be updated by these changes. | ||
| 31 | * fns.c (make_hash_table, maybe_resize_hash_table): | ||
| 32 | Check for integer overflow with large hash tables. | ||
| 33 | (make_hash_table, maybe_resize_hash_table, Fmake_hash_table): | ||
| 34 | Prefer the faster XFLOAT_DATA to XFLOATINT where either will do. | ||
| 35 | (SXHASH_REDUCE): New macro. | ||
| 36 | (sxhash_string, sxhash_list, sxhash_vector, sxhash_bool_vector): | ||
| 37 | Use it instead of discarding useful hash info with large hash values. | ||
| 38 | (sxhash_float): New function. | ||
| 39 | (sxhash): Use it. No more need for "& INTMASK" due to above changes. | ||
| 40 | * lisp.h (FIXNUM_BITS): New macro, useful for SXHASH_REDUCE etc. | ||
| 41 | (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK): | ||
| 42 | Rewrite to use FIXNUM_BITS, as this simplifies things. | ||
| 43 | (next_almost_prime, larger_vector, sxhash, hash_lookup, hash_put): | ||
| 44 | Adjust signatures to match updated version of code. | ||
| 45 | (consing_since_gc): Now EMACS_INT, since a single hash table can | ||
| 46 | use more than INT_MAX bytes. | ||
| 47 | |||
| 48 | 2011-06-01 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 49 | |||
| 50 | Make it possible to build with GCC-4.6+ -O2 -flto. | ||
| 51 | |||
| 52 | * emacs.c (__malloc_initialize_hook): Mark as EXTERNALLY_VISIBLE. | ||
| 53 | |||
| 54 | 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 55 | |||
| 56 | * minibuf.c (get_minibuffer, read_minibuf_unwind): | ||
| 57 | Call minibuffer-inactive-mode. | ||
| 58 | |||
| 59 | 2011-05-31 Juanma Barranquero <lekktu@gmail.com> | ||
| 60 | |||
| 61 | * makefile.w32-in ($(BLD)/data.$(O), $(BLD)/editfns.$(O)): | ||
| 62 | Update dependencies. | ||
| 63 | |||
| 64 | 2011-05-31 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 65 | |||
| 66 | * data.c (init_data): Remove code for UTS, this system is not | ||
| 67 | supported anymore. | ||
| 68 | |||
| 69 | 2011-05-31 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 70 | |||
| 71 | Don't force ./temacs to start in terminal mode. | ||
| 72 | |||
| 73 | * frame.c (make_initial_frame): Initialize faces in all cases, not | ||
| 74 | only when CANNOT_DUMP is defined. | ||
| 75 | * dispnew.c (init_display): Remove CANNOT_DUMP condition. | ||
| 76 | |||
| 77 | 2011-05-31 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 78 | |||
| 79 | * dispnew.c (add_window_display_history): Use const for the string | ||
| 80 | pointer. Remove declaration, not needed. | ||
| 81 | |||
| 1 | 2011-05-31 Paul Eggert <eggert@cs.ucla.edu> | 82 | 2011-05-31 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 83 | ||
| 3 | Malloc failure behavior now depends on size of allocation. | 84 | Malloc failure behavior now depends on size of allocation. |
| @@ -174,7 +255,7 @@ | |||
| 174 | 255 | ||
| 175 | merge count_size_as_multibyte, parse_str_to_multibyte | 256 | merge count_size_as_multibyte, parse_str_to_multibyte |
| 176 | * character.c, character.h (count_size_as_multibyte): | 257 | * character.c, character.h (count_size_as_multibyte): |
| 177 | Renamed from parse_str_to_multibyte; all uses changed. | 258 | Rename from parse_str_to_multibyte; all uses changed. |
| 178 | Check for integer overflow. | 259 | Check for integer overflow. |
| 179 | * insdel.c, lisp.h (count_size_as_multibyte): Remove, | 260 | * insdel.c, lisp.h (count_size_as_multibyte): Remove, |
| 180 | since it's now a duplicate of the other. This is more of | 261 | since it's now a duplicate of the other. This is more of |