aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2012-11-08 14:12:23 -0500
committerStefan Monnier2012-11-08 14:12:23 -0500
commitb7432bb20f48902994bee522bea15acdb0c0e209 (patch)
tree940e242625e16ade096c4144d728c56107aa7005 /src/ChangeLog
parent880027430c5580abf612a82273bd49b75b9fb73c (diff)
downloademacs-b7432bb20f48902994bee522bea15acdb0c0e209.tar.gz
emacs-b7432bb20f48902994bee522bea15acdb0c0e209.zip
Use ad-hoc comparison function for the profiler's hash-tables.
* src/profiler.c (Qprofiler_backtrace_equal, hashtest_profiler): New vars. (make_log): Use them. (handle_profiler_signal): Don't inhibit quit any longer since we don't call Fequal any more. (Ffunction_equal): New function. (cmpfn_profiler, hashfn_profiler): New functions. (syms_of_profiler): Initialize them. * src/lisp.h (struct hash_table_test): New struct. (struct Lisp_Hash_Table): Use it. * src/alloc.c (mark_object): Mark hash_table_test fields of hash tables. * src/fns.c (make_hash_table): Take a struct to describe the test. (cmpfn_eql, cmpfn_equal, cmpfn_user_defined, hashfn_eq, hashfn_eql) (hashfn_equal, hashfn_user_defined): Adjust to new calling convention. (hash_lookup, hash_remove_from_table): Move assertion checking of hashfn result here. Check hash-equality before calling cmpfn. (Fmake_hash_table): Adjust call to make_hash_table. (hashtest_eq, hashtest_eql, hashtest_equal): New structs. (syms_of_fns): Initialize them. * src/emacs.c (main): Move syms_of_fns earlier. * src/xterm.c (syms_of_xterm): * src/category.c (hash_get_category_set): Adjust call to make_hash_table. * src/print.c (print_object): Adjust to new hash-table struct. * src/composite.c (composition_gstring_put_cache): Adjust to new hashfn.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8f2aa41bef0..24f3305b870 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,30 @@
12012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Use ad-hoc comparison function for the profiler's hash-tables.
4 * profiler.c (Qprofiler_backtrace_equal, hashtest_profiler): New vars.
5 (make_log): Use them.
6 (handle_profiler_signal): Don't inhibit quit any longer since we don't
7 call Fequal any more.
8 (Ffunction_equal): New function.
9 (cmpfn_profiler, hashfn_profiler): New functions.
10 (syms_of_profiler): Initialize them.
11 * lisp.h (struct hash_table_test): New struct.
12 (struct Lisp_Hash_Table): Use it.
13 * alloc.c (mark_object): Mark hash_table_test fields of hash tables.
14 * fns.c (make_hash_table): Take a struct to describe the test.
15 (cmpfn_eql, cmpfn_equal, cmpfn_user_defined, hashfn_eq, hashfn_eql)
16 (hashfn_equal, hashfn_user_defined): Adjust to new calling convention.
17 (hash_lookup, hash_remove_from_table): Move assertion checking of
18 hashfn result here. Check hash-equality before calling cmpfn.
19 (Fmake_hash_table): Adjust call to make_hash_table.
20 (hashtest_eq, hashtest_eql, hashtest_equal): New structs.
21 (syms_of_fns): Initialize them.
22 * emacs.c (main): Move syms_of_fns earlier.
23 * xterm.c (syms_of_xterm):
24 * category.c (hash_get_category_set): Adjust call to make_hash_table.
25 * print.c (print_object): Adjust to new hash-table struct.
26 * composite.c (composition_gstring_put_cache): Adjust to new hashfn.
27
12012-11-08 Eli Zaretskii <eliz@gnu.org> 282012-11-08 Eli Zaretskii <eliz@gnu.org>
2 29
3 * w32fns.c (modifier_set): Fix handling of Scroll Lock when the 30 * w32fns.c (modifier_set): Fix handling of Scroll Lock when the