Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5038:9410323e4b0d
major dynarr fixes
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-20 Ben Wing <ben@xemacs.org>
* device-x.c (Fx_get_resource):
* dynarr.c:
* dynarr.c (Dynarr_realloc):
* dynarr.c (Dynarr_newf):
* dynarr.c (Dynarr_lisp_realloc):
* dynarr.c (Dynarr_lisp_newf):
* dynarr.c (Dynarr_resize):
* dynarr.c (Dynarr_insert_many):
* dynarr.c (Dynarr_delete_many):
* dynarr.c (Dynarr_memory_usage):
* dynarr.c (stack_like_free):
* file-coding.c (coding_reader):
* file-coding.c (gzip_convert):
* gutter.c (output_gutter):
* lisp.h:
* lisp.h (Dynarr_declare):
* lisp.h (DYNARR_SET_LISP_IMP):
* lisp.h (CHECK_NATNUM):
* profile.c (create_timing_profile_table):
* redisplay-output.c (sync_rune_structs):
* redisplay-output.c (sync_display_line_structs):
* redisplay-output.c (redisplay_output_window):
* redisplay.c:
* redisplay.c (get_display_block_from_line):
* redisplay.c (add_ichar_rune_1):
* redisplay.c (ensure_modeline_generated):
* redisplay.c (generate_displayable_area):
* redisplay.c (regenerate_window):
* redisplay.c (update_line_start_cache):
* signal.c:
* signal.c (check_quit):
Lots of rewriting of dynarr code.
(1) Lots of documentation added. Also fix places that
referenced a now-bogus internals node concerning redisplay
critical sections.
(2) Rename:
Dynarr_add_lisp_string -> Dynarr_add_ext_lisp_string
Dynarr_set_length -> Dynarr_set_lengthr ("restricted")
Dynarr_increment -> Dynarr_incrementr
Dynarr_resize_if -> Dynarr_resize_to_add
(3) New functions:
Dynarr_elsize = dy->elsize_
Dynarr_set_length(): Set length, resizing as necessary
Dynarr_set_length_and_zero(): Set length, resizing as necessary,
zeroing out new elements
Dynarr_increase_length(), Dynarr_increase_length_and_zero():
Optimization of Dynarr_set_length(), Dynarr_set_length_and_zero()
when size is known to increase
Dynarr_resize_to_fit(): Resize as necessary to fit a given length.
Dynarr_set(): Set element at a given position, increasing length
as necessary and setting any newly created positions to 0
(4) Use Elemcount, Bytecount.
(5) Rewrite many macros as inline functions.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 20 Feb 2010 03:46:22 -0600 |
parents | e70a73f9243d |
children | f8ae1031c706 |
comparison
equal
deleted
inserted
replaced
5037:e70a73f9243d | 5038:9410323e4b0d |
---|---|
1 2010-02-20 Ben Wing <ben@xemacs.org> | |
2 | |
3 * device-x.c (Fx_get_resource): | |
4 * dynarr.c: | |
5 * dynarr.c (Dynarr_realloc): | |
6 * dynarr.c (Dynarr_newf): | |
7 * dynarr.c (Dynarr_lisp_realloc): | |
8 * dynarr.c (Dynarr_lisp_newf): | |
9 * dynarr.c (Dynarr_resize): | |
10 * dynarr.c (Dynarr_insert_many): | |
11 * dynarr.c (Dynarr_delete_many): | |
12 * dynarr.c (Dynarr_memory_usage): | |
13 * dynarr.c (stack_like_free): | |
14 * file-coding.c (coding_reader): | |
15 * file-coding.c (gzip_convert): | |
16 * gutter.c (output_gutter): | |
17 * lisp.h: | |
18 * lisp.h (Dynarr_declare): | |
19 * lisp.h (DYNARR_SET_LISP_IMP): | |
20 * lisp.h (CHECK_NATNUM): | |
21 * profile.c (create_timing_profile_table): | |
22 * redisplay-output.c (sync_rune_structs): | |
23 * redisplay-output.c (sync_display_line_structs): | |
24 * redisplay-output.c (redisplay_output_window): | |
25 * redisplay.c: | |
26 * redisplay.c (get_display_block_from_line): | |
27 * redisplay.c (add_ichar_rune_1): | |
28 * redisplay.c (ensure_modeline_generated): | |
29 * redisplay.c (generate_displayable_area): | |
30 * redisplay.c (regenerate_window): | |
31 * redisplay.c (update_line_start_cache): | |
32 * signal.c: | |
33 * signal.c (check_quit): | |
34 | |
35 Lots of rewriting of dynarr code. | |
36 | |
37 (1) Lots of documentation added. Also fix places that | |
38 referenced a now-bogus internals node concerning redisplay | |
39 critical sections. | |
40 | |
41 (2) Rename: | |
42 | |
43 Dynarr_add_lisp_string -> Dynarr_add_ext_lisp_string | |
44 Dynarr_set_length -> Dynarr_set_lengthr ("restricted") | |
45 Dynarr_increment -> Dynarr_incrementr | |
46 Dynarr_resize_if -> Dynarr_resize_to_add | |
47 | |
48 (3) New functions: | |
49 | |
50 Dynarr_elsize = dy->elsize_ | |
51 Dynarr_set_length(): Set length, resizing as necessary | |
52 Dynarr_set_length_and_zero(): Set length, resizing as necessary, | |
53 zeroing out new elements | |
54 Dynarr_increase_length(), Dynarr_increase_length_and_zero(): | |
55 Optimization of Dynarr_set_length(), Dynarr_set_length_and_zero() | |
56 when size is known to increase | |
57 Dynarr_resize_to_fit(): Resize as necessary to fit a given length. | |
58 Dynarr_set(): Set element at a given position, increasing length | |
59 as necessary and setting any newly created positions to 0 | |
60 | |
61 (4) Use Elemcount, Bytecount. | |
62 | |
63 (5) Rewrite many macros as inline functions. | |
64 | |
1 2010-02-20 Ben Wing <ben@xemacs.org> | 65 2010-02-20 Ben Wing <ben@xemacs.org> |
2 | 66 |
3 * tests.c: | 67 * tests.c: |
4 Fix operation of c-tests. | 68 Fix operation of c-tests. |
5 | 69 |