Mercurial > emacs
annotate src/ChangeLog @ 32808:a82fae321afc
*** empty log message ***
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Tue, 24 Oct 2000 09:17:31 +0000 |
| parents | 8c6128d7324f |
| children | 2359a616d429 |
| rev | line source |
|---|---|
| 32808 | 1 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | |
| 3 * coding.c (decode_coding_emacs_mule): If coding->eol_type is CR | |
| 4 or CRLF, decode EOLs. | |
| 5 | |
| 32799 | 6 2000-10-24 Kenichi Handa <handa@etl.go.jp> |
| 7 | |
| 8 * window.c (Fdisplay_buffer): Fix doc. | |
| 9 | |
| 32793 | 10 2000-10-23 Jason Rumney <jasonr@gnu.org> |
| 11 | |
| 12 * fontset.c (syms_of_fontset) [WINDOWSNT]: Special case for | |
| 13 ASCII font of default fontset on Windows. | |
| 14 | |
| 15 * w32term.c (VCENTER_BASELINE_OFFSET): Bias division (see | |
| 16 xterm.c comment below). | |
| 17 | |
| 18 * w32fns.c (x_to_w32_font): Initialize dpi from dpyinfo->resy. | |
| 19 | |
| 32777 | 20 2000-10-23 Gerd Moellmann <gerd@gnu.org> |
| 21 | |
| 22 * xterm.c (x_connection_closed): Reset handling_signal. | |
| 23 | |
| 24 * alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing | |
| 25 null. | |
| 26 | |
| 32774 | 27 2000-10-23 Miles Bader <miles@gnu.org> |
| 28 | |
| 29 * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
| 30 Pass nil for FULLY argument to Fpos_visible_in_window_p to | |
| 31 maintain old behavior. | |
| 32 * minibuf.c (Fminibuffer_complete): Likewise. | |
| 33 | |
| 32755 | 34 2000-10-23 Miles Bader <miles@lsi.nec.co.jp> |
| 35 | |
| 36 * xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so | |
| 37 that when a font can't be exactly centered, it errs up rather than | |
| 38 down. | |
| 39 | |
| 32808 | 40 2000-10-23 ShengHuo ZHU <zsh@cs.rochester.edu> |
|
32753
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
41 |
|
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
42 * fns.c (Fbase64_decode_string): The decoded result should be |
|
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
43 unibyte. |
|
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
44 |
|
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
45 2000-10-23 Andrew Choi <akochoi@i-cable.com> |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
46 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
47 * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
48 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
49 * dispnew.c [macintosh]: Include macterm.h. |
| 32777 | 50 (init_display) [macintosh]: Initialization for window system. |
|
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
51 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
52 * emacs.c (main) [macintosh]: Call syms_of_textprop, |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
53 syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
54 syms_of_search, x_term_init, and init_keyboard before calling |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
55 init_window_once. Also, call syms_of_xmenu. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
56 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
57 * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
58 default fontset to Monaco. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
59 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
60 * frame.c [macintosh]: Include macterm.h. Remove declarations of |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
61 NewMacWindow and DisposeMacWindow. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
62 (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
63 instead of calling NewMacWindow and setting fields of |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
64 f->output_data.mac directly. Call init_frame_faces. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
65 (Fdelete_frame) [macintosh]: Remove unused code. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
66 (Fmodify_frame_parameters) [macintosh]: Call |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
67 x_set_frame_parameters instead of mac_set_frame_parameters. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
68 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
69 * frame.h [macintosh]: Define menu_bar_lines field in struct |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
70 frame. Define FRAME_EXTERNAL_MENU_BAR macro. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
71 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
72 * keyboard.c [macintosh]: Include macterm.h. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
73 (kbd_buffer_get_event) [macintosh]: Generate delete_window_event |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
74 and menu_bar_activate_event type events as for X and NT. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
75 (make_lispy_event) [macintosh]: Construct lisp events of type |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
76 MENU_BAR_EVENT as for X and NT. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
77 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
78 * sysdep.c [macintosh]: Remove declaration for sys_signal. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
79 Include stdlib.h. Remove definition of Vx_bitmap_file_path. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
80 (sys_subshell) [macintosh]: Remove definition entirely. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
81 (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
82 Vwindow_system_version here. Remove initialization of |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
83 Vx_bitmap_file_path. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
84 (read_input_waiting): Correct the number of parameters passed to |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
85 read_socket_hook. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
86 Move all Macintosh functions to mac/mac.c. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
87 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
88 * term.c [macintosh]: Include macterm.h. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
89 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
90 * window.c [macintosh]: Include macterm.h. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
91 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
92 * xdisp.c [macintosh]: Include macterm.h. Declare |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
93 set_frame_menubar and pending_menu_activation. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
94 (echo_area_display) [macintosh]: Do not return if terminal frame |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
95 is the selected frame. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
96 (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
97 Allow only the selected frame to set menu bar. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
98 (redisplay_window) [macintosh]: Obtain menu bar to redisplay by |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
99 calling FRAME_EXTERNAL_MENU_BAR (f). |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
100 (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
101 |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
102 * xfaces.c [macintosh]: Include macterm.h. Define x_display_info |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
103 and check_x. Declare XCreateGC. Define x_create_gc and |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
104 x_free_gc. Initialize font_sort_order. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
105 (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
106 but call x_list_fonts instead of w32_list_fonts. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
107 (Finternal_face_x_get_resource) [macintosh]: Do not call |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
108 display_x_get_resource. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
109 (prepare_face_for_display) [macintosh]: Set xgcv.font. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
110 (realize_x_face) [macintosh]: Load the font if it is specified in |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
111 ATTRS. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
112 (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
113 to Qt. |
|
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
114 |
|
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
115 2000-10-22 Stefan Monnier <monnier@cs.yale.edu> |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
116 |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
117 * keymap.c (fix_submap_inheritance): Don't do anything if parent_entry |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
118 is nil: since we go to the end of submap anyway, we'd end up |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
119 setting nil to nil. |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
120 (access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
121 doesn't obey autoload. |
|
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
122 |
| 32731 | 123 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 124 | |
|
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
125 * msdos.c (dos_set_window_size): Update screen dimension variables. |
| 32731 | 126 |
| 32726 | 127 2000-10-21 Jason Rumney <jasonr@gnu.org> |
| 128 | |
| 129 * w32term.c (w32_cache_char_metrics): Double check that font is | |
| 130 really fixed pitch before trusting tmPitchAndFamily. | |
| 131 | |
| 32725 | 132 2000-10-21 Andrew Innes <andrewi@gnu.org> |
| 133 | |
| 134 * w32gui.h (w32_char_font_type): Move enum from w32term.c | |
| 135 | |
| 136 * w32term.h: Extern decl for w32_cache_char_metrics. | |
| 137 | |
| 138 * w32bdf.c (w32_load_bdf_font): Call w32_cache_char_metrics. | |
| 139 | |
| 140 * w32fns.c (w32_load_system_font): Call w32_cache_char_metrics. | |
| 141 (w32_unload_font): Free per_char array if present. | |
| 142 | |
| 143 * w32term.c (w32_per_char_metric): Remove HDC argument. Use | |
| 144 cached information in emulated XFontStruct to handle common cases | |
| 145 quickly. Do not allocate XCharStruct for return. | |
| 146 (w32_native_per_char_metric): New function. | |
| 147 (w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of | |
| 148 allocating one. | |
| 149 (x_produce_glyphs): Don't get an HDC. Change calls to | |
| 150 w32_per_char_metric to match arg change above. Remove calls to | |
| 151 free results. | |
| 152 (w32_get_glyph_overhangs): Ditto. | |
| 153 (w32_cache_char_metrics): New function. | |
| 154 | |
| 155 * makefile.w32-in: Change .obj to .$(O) in all dependencies. | |
| 156 ($(BLD)/casefiddle.$(O)): Remove compile command. | |
| 157 ($(BLD)/gmalloc.$(O)): Remove compile command. | |
| 158 ($(BLD)/dispnew.obj): | |
| 159 ($(BLD)/keyboard.obj): | |
| 160 ($(BLD)/w32inevt.obj): | |
| 161 ($(BLD)/w32bdf.obj): | |
| 162 ($(BLD)/alloc.obj): | |
| 163 ($(BLD)/buffer.obj): | |
| 164 ($(BLD)/editfns.obj): | |
| 165 ($(BLD)/emacs.obj): | |
| 166 ($(BLD)/fileio.obj): | |
| 167 ($(BLD)/fns.obj): | |
| 168 ($(BLD)/indent.obj): | |
| 169 ($(BLD)/insdel.obj): | |
| 170 ($(BLD)/intervals.obj): | |
| 171 ($(BLD)/minibuf.obj): | |
| 172 ($(BLD)/print.obj): | |
| 173 ($(BLD)/scroll.obj): | |
| 174 ($(BLD)/sysdep.obj): | |
| 175 ($(BLD)/textprop.obj): | |
| 176 ($(BLD)/widget.obj): | |
| 177 ($(BLD)/xdisp.obj): Add dependency on w32gui.h. | |
| 178 ($(BLD)/term.obj): Add dependency on dispextern.h. | |
| 179 | |
| 180 * makefile.nt ($(BLD)\dispnew.obj): | |
| 181 ($(BLD)\keyboard.obj): | |
| 182 ($(BLD)\w32inevt.obj): | |
| 183 ($(BLD)\w32bdf.obj): | |
| 184 ($(BLD)\alloc.obj): | |
| 185 ($(BLD)\buffer.obj): | |
| 186 ($(BLD)\editfns.obj): | |
| 187 ($(BLD)\emacs.obj): | |
| 188 ($(BLD)\fileio.obj): | |
| 189 ($(BLD)\fns.obj): | |
| 190 ($(BLD)\indent.obj): | |
| 191 ($(BLD)\insdel.obj): | |
| 192 ($(BLD)\intervals.obj): | |
| 193 ($(BLD)\minibuf.obj): | |
| 194 ($(BLD)\print.obj): | |
| 195 ($(BLD)\scroll.obj): | |
| 196 ($(BLD)\sysdep.obj): | |
| 197 ($(BLD)\textprop.obj): | |
| 198 ($(BLD)\widget.obj): | |
| 199 ($(BLD)\xdisp.obj): Add dependency on w32gui.h. | |
| 200 ($(BLD)\term.obj): Add dependency on dispextern.h | |
| 201 | |
| 32715 | 202 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 203 | |
| 204 * minibuf.c (Fminibuffer_complete): Call Fpos_visible_in_window_p | |
| 205 with an additional argument of Qt. | |
| 206 | |
| 32712 | 207 2000-10-21 Miles Bader <miles@gnu.org> |
| 208 | |
| 209 * window.c (pos_fully_visible_in_window_p): New function. | |
| 210 (Fpos_visible_in_window_p): Add FULLY argument. | |
| 211 Use pos_fully_visible_in_window_p. | |
| 212 (window_scroll_pixel_based, window_scroll_line_based): Update | |
| 213 calls to Fpos_visible_in_window_p. | |
| 214 * lisp.h (Fpos_visible_in_window_p): Update prototype | |
| 215 | |
| 32701 | 216 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
| 217 | |
| 218 * alloc.c (toplevel): Conditionalize compilation of mem_* | |
| 219 functions differently. | |
| 220 | |
| 32698 | 221 2000-10-20 Jason Rumney <jasonr@gnu.org> |
| 222 | |
| 223 * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above | |
| 224 mem_init where it used to be. mem_z etc not defined otherwise. | |
| 225 | |
| 32694 | 226 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
| 227 | |
| 228 * alloc.c (toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef | |
| 229 GC_MALLOC_CHECK. | |
| 230 (toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node | |
| 231 structure definition and related variabled to the top of the file. | |
| 232 Include this code when GC_MALLOC_CHECK is defined. | |
| 233 (lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't | |
| 234 register/unregister allocated region. | |
| 235 (emacs_blocked_free) [GC_MALLOC_CHECK]: Check if freeing something | |
| 236 which isn't allocated. | |
| 237 (emacs_blocked_malloc) [GC_MALLOC_CHECK]: Check if returning | |
| 238 something which is already in use. | |
| 239 (emacs_blocked_realloc) [GC_MALLOC_CHECK]: Likewise. | |
| 240 (mem_insert) [GC_MALLOC_CHECK]: Use _malloc_internal. | |
| 241 (mem_delete) [GC_MALLOC_CHECK]: Use _free_internal. | |
| 242 (init_alloc_once) [GC_MALLOC_CHECK]: Call mem_init. | |
| 243 | |
| 244 * gmalloc.c (_malloc_internal) [GC_MALLOC_CHECK]: Use | |
| 245 _malloc_internal instead of malloc. | |
| 246 (_free_internal) [GC_MALLOC_CHECK]: Use _free_internal instead | |
| 247 of free. | |
| 248 | |
| 32688 | 249 2000-10-20 Andrew Innes <andrewi@gnu.org> |
| 250 | |
| 251 * strftime.c [!WINDOWSNT]: Don't apply Solaris 2.5 work-around on | |
| 252 Windows. | |
| 253 (my_strftime) <macro>: Don't use macro arg list when redefining as | |
| 254 _strftime_copytm. | |
| 255 (my_strftime) <function>: Supply 0 as ut argument. | |
| 256 | |
| 32673 | 257 2000-10-19 Jason Rumney <jasonr@altavista.net> |
| 258 | |
| 259 * w32console.c: Do not undef HAVE_WINDOW_SYSTEM before | |
| 260 including dispextern.h, as it stops faces from working. | |
| 261 | |
| 262 * w32fns.c (Fx_create_frame): Don't bother calling | |
| 263 face-set-after-frame-default since the caller does it for us | |
| 264 anyway. Clean up calls to x_get_arg to be consistent with X. | |
| 265 | |
| 266 * w32term.c (x_produce_glyphs): Handle | |
| 267 unibyte_display_via_language_environment correctly. | |
| 268 (w32_draw_box_rect): Fix the calculation of width and height. | |
| 269 | |
| 270 * w32menu.c (add_menu_item): Do not use MF_OWNERDRAW for titles, | |
| 271 as it has stopped working. | |
| 272 (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like | |
| 273 menu-bar. | |
| 274 | |
| 32658 | 275 2000-10-19 Gerd Moellmann <gerd@gnu.org> |
| 276 | |
| 277 * eval.c (skip_debugger): Prevent a compiler warning. | |
| 278 (Fcondition_case): Likewise. | |
| 279 (Fbacktrace_frame): Use a null interactive spec. | |
| 280 | |
| 32644 | 281 2000-10-19 Kenichi Handa <handa@etl.go.jp> |
| 282 | |
| 283 * xterm.c (x_find_ccl_program): Check also fontp->full_name. | |
| 284 | |
| 32610 | 285 2000-10-18 Gerd Moellmann <gerd@gnu.org> |
| 286 | |
| 32630 | 287 * strftime.c: Sync with glibc, file version 1.78. |
| 288 (my_strftime) [HAVE_TZNAME]: Use `UTC' instead of `GMT' which | |
| 289 should no longer be used according to ISO 8601. | |
| 290 | |
| 32625 | 291 * keymap.c (access_keymap): If IDX has a meta prefix, and there's |
| 292 no map for meta_prefix_char, don't try to use it as a keymap. | |
| 293 Instead, if T_OK is non-zero, look up a default binding, if any, | |
| 294 otherwise, if T_OK is zero, return nil. | |
| 295 | |
| 32610 | 296 * xfns.c (x_to_xcolors, x_set_mouse_color, lookup_pixel_color) |
| 297 (x_to_xcolors, png_load): Use x_query_color. | |
| 298 | |
| 299 * xterm.c (x_color_cells, x_query_colors, x_query_color): New | |
| 300 functions. | |
| 301 (x_alloc_nearest_color): Use it to reduce calls to XQueryColors | |
| 302 which can be slow. | |
| 303 (x_copy_color, x_alloc_lighter_color): Likewise. | |
| 304 | |
| 305 * xterm.h (struct x_display_info): Add color_cells and ncolor_cells. | |
| 306 (x_query_color, x_query_colors): Add prototype. | |
| 307 | |
| 308 * alloc.c (allocate_string) [GC_CHECK_STRING_BYTES]: Call | |
| 309 check_string_bytes only if not noninteractive, increase count to 50. | |
| 310 | |
| 32602 | 311 2000-10-18 Miles Bader <miles@lsi.nec.co.jp> |
| 312 | |
| 313 * insdel.c (adjust_markers_for_delete): Handle before-insertion | |
| 314 markers correctly. | |
| 315 | |
| 32586 | 316 2000-10-17 Gerd Moellmann <gerd@gnu.org> |
| 317 | |
| 32595 | 318 * alloc.c (pure_bytes_used): Renamed from pureptr. |
| 319 (ALIGN): New macro. | |
| 320 (pure_alloc): New function. | |
| 321 (make_pure_string, pure_cons, make_pure_float, make_pure_vector): | |
| 322 Use it. | |
| 323 (Fpurecopy): Use PURE_POINTER_P. | |
| 324 | |
| 32593 | 325 * xdisp.c (try_cursor_movement): Use cursor_row_p also when |
| 326 PT has moved backward. | |
| 327 | |
| 32591 | 328 * xdisp.c (cursor_row_p): Take continued lines into account. |
| 329 | |
|
32587
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
330 * alloc.c (mark_object) [GC_CHECK_STRING_BYTES]: Check validity of |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
331 string's size_byte. |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
332 (check_string_bytes) [GC_CHECK_STRING_BYTES]: New function. |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
333 (check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable. |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
334 (allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
335 string allocated. |
|
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
336 |
| 32586 | 337 * xdisp.c (forward_to_next_line_start): Switch iterator's handling |
| 338 of selective display off while searching for the next line start. | |
| 339 | |
| 32561 | 340 2000-10-17 Kenichi Handa <handa@etl.go.jp> |
| 341 | |
| 342 * Makefile.in (term.o): Depend on dispextern.h. | |
| 343 | |
|
32560
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
344 2000-10-16 Stefan Monnier <monnier@cs.yale.edu> |
|
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
345 |
|
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
346 * keymap.c (keymap_memberp): Ensure that nil is not a member. |
|
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
347 |
| 32550 | 348 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
| 349 | |
| 32555 | 350 * xdisp.c (set_iterator_to_next): Reset box start and end flags of |
| 351 the iterator at the beginning, so that they can be set later on, | |
| 32556 | 352 for instance in reseat_at_next_visible_line_start, without being |
| 32554 | 353 overwritten. |
| 354 | |
| 32550 | 355 * xfns.c (pbm_format): Add :foreground and :background keywords. |
| 356 (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. | |
| 32555 | 357 (xbm_load): Recognize foreground and background color |
| 32550 | 358 specifications. |
| 359 | |
| 32548 | 360 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> |
| 361 | |
| 362 * dispextern.h (unspecified_fg, unspecified_bg): Declare. | |
| 363 | |
| 364 * dosfns.c (unspecified_fg, unspecified_bg): Remove extern | |
| 365 declaration. | |
| 366 | |
| 367 * msdos.c (IT_set_face): Compare highlighted face with the default | |
| 368 face, and invert colors if these faces' colors are identical. | |
| 369 (Fmsdos_remember_default_colors): Don't swap foreground and | |
| 370 background colors in initial_colors[]. | |
| 371 (IT_set_frame_parameters): Don't swap frame's foreground and | |
| 372 background pixels. If ALIST includes "(reverse . t)", swap | |
| 373 foreground-color and background-color properties in frame's | |
| 374 param_alist. If the original frame's param_alist doesn't specify | |
| 375 the colors, store unspecified-fg and unspecified-bg, reversed if | |
| 376 required. | |
| 377 | |
| 378 * frame.c (Fframe_parameters): If a tty's frame's param_alist says | |
| 379 the colors are unspecified and reversed, reverse fore- and back- | |
| 380 ground in the returned value. | |
| 381 (Fframe_parameter): Ditto. | |
| 382 | |
| 32535 | 383 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
| 384 | |
| 32541 | 385 * xdisp.c (find_last_unchanged_at_beg_row): Renamed from |
| 386 get_last_unchanged_at_beg_row. | |
| 387 (find_first_unchanged_at_end_row): Renamed from | |
| 388 get_first_unchanged_at_end_row. | |
| 389 (find_first_unchanged_at_end_row): Convert assertions to | |
| 390 unconditional tests which abort. When looking for a row in | |
| 391 unchanged text, don't go further back than first_text_row. | |
| 392 | |
| 32535 | 393 * xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>: |
| 394 Don't add in the last line's height when deciding if the new | |
| 395 position is below the scroll margin. | |
| 396 | |
| 32525 | 397 2000-10-16 Miles Bader <miles@gnu.org> |
| 32518 | 398 |
| 399 * editfns.c (Fconstrain_to_field): Check carefully for field | |
| 400 boundaries if either OLD_POS or NEW_POS has a non-nil field | |
| 401 property, even if they're the same. | |
| 402 | |
| 32512 | 403 2000-10-16 Kenichi Handa <handa@etl.go.jp> |
| 404 | |
| 405 * xterm.c (x_draw_box_rect): Fix the calculation of width and | |
| 406 height for XFillRectangle. | |
| 407 | |
|
32510
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
408 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
409 |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
410 * syntax.c (Fstring_to_syntax): New function extracted from |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
411 Fmodify_syntax_entry. |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
412 (Fmodify_syntax_entry): Use it and document the ! and | fences. |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
413 (skip_chars, Fforward_comment): Remove unused variables. |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
414 (syms_of_syntax): Add defsubr for string-to-syntax. |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
415 (describe_syntax): Add code for comment and string fences. |
|
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
416 |
|
32477
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
417 2000-10-14 Stefan Monnier <monnier@cs.yale.edu> |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
418 |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
419 * keymap.c (access_keymap): Add AUTOLOAD parameter. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
420 Do the meta->esc mapping. Call get_keyelt before returning. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
421 Start scanning from the second element (the first is always `keymap') |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
422 to make it easier to detect when we reach a parent map. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
423 Handle the case of inheriting from a symbol whose function is a map. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
424 (Fkeymap_parent): Also handle the `inherit from symbol' case. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
425 (fix_submap_inheritance, Fdefine_key): Update call to access_keymap. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
426 (get_keyelt, Flookup_key): Update call to access_keymap. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
427 Remove the meta->esc mappings. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
428 (define_as_prefix): Delete old disabled code. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
429 (menu_item_p): New function. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
430 (where_is_internal_1): Skip over the few remaining menu items. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
431 * lisp.h (access_keymap): Update prototype. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
432 * keyboard.c (read_char, menu_bar_items, tool_bar_items): |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
433 Update call to access_keymap. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
434 (follow_key, read_key_sequence): Update calls to access_keymap. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
435 Remove the meta->esc mappings. |
|
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
436 |
| 32461 | 437 2000-10-13 Gerd Moellmann <gerd@gnu.org> |
| 438 | |
| 32469 | 439 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
| 440 with additional argument. | |
| 441 | |
| 32461 | 442 * xdisp.c (cursor_row_p): New function. |
| 443 (try_cursor_movement, display_line): Use it. | |
| 444 | |
| 445 * xdisp.c (append_space): Also save/restore iterator's current | |
| 446 character and its length. | |
| 447 | |
| 448 * xdisp.c (init_from_display_pos): Add an assertion. | |
| 449 (handle_stop): Don't set iterator's add_overlay_start. | |
| 450 (handle_invisible_prop): Likewise. | |
| 451 (load_overlay_strings): If text under an overlay is invisible, | |
| 452 take both before- and after-strings into account when the iterator | |
| 453 is positioned either at the start or at the end of the overlay. | |
| 454 (forward_to_next_line_start): Rewritten. | |
| 455 (reseat_at_next_visible_line_start): Rewritten. | |
| 456 (set_iterator_to_next): Add parameter RESEAT_P. | |
| 457 | |
| 458 * dispextern.h (struct it): Remove member add_overlay_start. | |
| 459 (set_iterator_to_next): Change prototype. | |
| 460 | |
| 32442 | 461 2000-10-13 Kenichi Handa <handa@etl.go.jp> |
| 462 | |
| 463 * coding.c (code_convert_region): Be sure to initialize | |
| 464 coding->category_idx. | |
| 32444 | 465 (decode_coding_string): Set coding->src_multibyte and |
| 466 coding->dst_multibyte before using CODING_REQUIRE_DECODING. | |
| 467 (encode_coding_string): Set coding->src_multibyte and | |
| 468 coding->dst_multibyte before using CODING_REQUIRE_ENCODING. | |
| 32442 | 469 |
|
32434
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
470 2000-10-12 Stefan Monnier <monnier@cs.yale.edu> |
|
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
471 |
|
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
472 * xfns.c (Fx_create_frame): Don't bother calling |
|
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
473 face-set-after-frame-default since the caller does it for us anyway. |
|
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
474 |
| 32427 | 475 2000-10-12 Eli Zaretskii <eliz@is.elta.co.il> |
| 476 | |
| 477 * window.c (coordinates_in_window): Fix detection of vertical line | |
| 478 on character terminals. | |
| 479 | |
| 32421 | 480 2000-10-12 Gerd Moellmann <gerd@gnu.org> |
| 481 | |
| 482 * editfns.c (save_excursion_save): Additionally record the | |
| 483 selected window. | |
| 484 (save_excursion_restore): If buffer was visible in a window, and a | |
| 485 different window was selected, and the old selected window is | |
| 486 still live, restore point in that window. | |
| 487 | |
| 32397 | 488 2000-10-12 Kenichi Handa <handa@etl.go.jp> |
| 489 | |
| 32400 | 490 * xterm.c (x_produce_glyphs): Handle |
| 491 unibyte_display_via_language_environment correctly. | |
| 492 | |
| 32398 | 493 * regex.c (regex_compile): Change the way of handling a range from |
| 494 unibyte char to multibyte char. | |
| 495 | |
| 496 * syntax.c (skip_chars): Change the way of handling a range from | |
| 497 unibyte char to multibyte char. | |
| 498 | |
| 32397 | 499 * process.c (read_process_output): Cancel previous change. |
| 500 | |
| 32381 | 501 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il> |
| 502 | |
| 32388 | 503 * search.c (Fsearch_backward, Fsearch_forward): Doc fix. |
| 504 | |
| 32381 | 505 * charset.c (Ffind_charset_string): Doc fix. |
| 506 (Ffind_charset_region): Doc fix. | |
| 507 | |
| 32369 | 508 2000-10-11 Kenichi Handa <handa@mule.m17n.org> |
| 509 | |
| 32370 | 510 * process.c (read_process_output): Fix previous change. Adjust |
| 511 multibyteness of text to insert in a buffer by | |
| 32372 | 512 string_make_unibyte/multibyte instead of |
| 32370 | 513 Fstring_as_unibyte/multibyte. |
| 32369 | 514 |
| 32361 | 515 2000-10-10 Andreas Schwab <schwab@suse.de> |
| 516 | |
| 517 * alloc.c (mark_object): Remove all workarounds installed on | |
| 518 1993-08-08. | |
| 519 | |
| 32352 | 520 2000-10-10 Kenichi Handa <handa@etl.go.jp> |
| 521 | |
| 522 * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before | |
| 523 returning. | |
| 524 (base64_encode_1): Make it work for a text of multibyte form. | |
| 525 (Fbase64_decode_region): Allocate sufficient memory for multibyte | |
| 526 case. Don't call str_to_multibyte because base64_decode_1 | |
| 527 produces correct multibyte form for eight-bit codes. | |
| 528 (Fbase64_decode_string): Adjusted for the change of | |
| 529 base64_decode_1. | |
| 530 (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If | |
| 531 MULTIBYTE is nonzero, produce correct multibyte form for eight-bit | |
| 532 codes. | |
| 533 | |
| 534 * charset.h (CHAR_STRING): Optimized for single byte characters. | |
| 535 | |
| 32342 | 536 2000-10-09 Andreas Schwab <schwab@suse.de> |
| 537 | |
| 538 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to | |
| 539 -1 after socket is closed, to fall through to error processing. | |
| 540 | |
| 32336 | 541 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il> |
| 542 | |
| 543 * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object | |
| 32381 | 544 variables. If ALIST includes foreground-color or |
| 32336 | 545 background-color, change also the colors of the default face for |
| 546 this frame. | |
| 547 | |
| 32273 | 548 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il> |
| 549 | |
| 550 * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make | |
| 551 them extern (they are defined on xfaces.c). | |
| 552 (syms_of_msdos): Don't intern and don't staticpro | |
| 553 Qbackground_color and Qforeground_color. | |
| 554 | |
| 32255 | 555 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 556 | |
| 557 * frame.c (Fframe_parameter): For non-windowed frames, if | |
| 558 f->param_alist says foreground or background color is unspecified, | |
| 559 call tty_color_name to return the color name computed from the | |
| 560 frame's current colors. | |
| 561 | |
| 32238 | 562 2000-10-06 Dave Love <fx@gnu.org> |
| 563 | |
| 564 * terminfo.c (ospeed): Don't declare. | |
| 565 | |
| 566 * sysdep.c: Don't include string.h. | |
| 567 (h_errno): Declare conditional also on TRY_AGAIN. | |
| 568 | |
| 569 * charset.c (Ffind_charset_string): Doc fix. | |
| 570 | |
| 571 * fns.c (Fbase64_encode_region, Fbase64_encode_string) | |
| 572 (Fbase64_decode_region, Fbase64_decode_string): More explicit | |
| 573 error messages. | |
| 574 | |
| 32180 | 575 2000-10-05 Dave Love <fx@gnu.org> |
| 576 | |
| 577 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar | |
| 578 position like menu-bar. | |
| 579 | |
| 32177 | 580 2000-10-05 Gerd Moellmann <gerd@gnu.org> |
| 581 | |
| 582 * keyboard.c (Frecursive_edit): Make sure redisplay can happen. | |
| 583 | |
| 584 * xdisp.c (handle_single_display_prop): Use safe_call1. | |
| 585 (safe_call): Renamed from call_function. | |
| 586 (safe_call1): New function. | |
| 587 (handle_fontified_prop): Use safe_call1 instead of call1. | |
| 588 (safe_eval): Renamed from eval_form. | |
| 589 (safe_eval_handler): Renamed from eval_handler. | |
| 590 (handle_single_display_prop, display_mode_element): Use safe_eval | |
| 591 instead of eval_form. | |
| 592 | |
| 593 * xfaces.c (merge_face_heights): Use safe_call instead of | |
| 594 call_function. | |
| 595 | |
| 596 * keyboard.c (show_help_echo): Use safe_call instead of | |
| 597 call_function; use safe_eval instead of eval_form. | |
| 598 | |
| 599 * lisp.h (safe_call): Renamed from call_function. | |
| 600 (safe_eval): Renamed from eval_form. | |
| 601 (safe_call1): Add prototype. | |
| 602 | |
| 32165 | 603 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> |
| 604 | |
| 605 * xfns.c (image_ascent): Rearrange ascent calculation for the | |
| 606 has-a-font case. | |
| 607 | |
|
32146
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
608 2000-10-04 Stefan Monnier <monnier@cs.yale.edu> |
|
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
609 |
|
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
610 * keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'. |
|
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
611 (where_is_internal_1): Don't bother ignoring menu-items any more. |
|
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
612 |
| 32142 | 613 2000-10-04 Gerd Moellmann <gerd@gnu.org> |
| 614 | |
| 615 * keyboard.c (update_menu_bindings): New variable. | |
| 616 (parse_menu_item): Use AREF. If update_menu_bindings | |
| 617 is 0, don't update menu bindings. | |
| 618 (syms_of_keyboard): New Lisp variable `update-menu-bindings'. | |
| 619 | |
| 32100 | 620 2000-10-03 Eli Zaretskii <eliz@is.elta.co.il> |
| 621 | |
| 622 * alloc.c (Fgarbage_collect): Prevent compiler warning for a call | |
| 623 to `mark_object'. | |
| 624 | |
|
32088
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
625 2000-10-02 Stefan Monnier <monnier@cs.yale.edu> |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
626 |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
627 * syntax.c (forw_comment): Match nestedness of ender/starter. |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
628 (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
629 (prev_char_comstart_first): Remove. |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
630 (back_comment): Check two-char comment markers more carefully |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
631 to better handle overlapping cases like *//* or /* */* */ ... |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
632 Match nestedness of ender/starter. |
|
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
633 |
| 32075 | 634 2000-10-02 Dave Love <fx@gnu.org> |
| 635 | |
| 636 * config.in (HAVE_GAI_STRERROR): Add undef. | |
| 637 | |
| 638 * process.c (Fopen_network_stream): Use it. | |
| 639 | |
| 640 * m/alpha.h (NO_REMAP): Don't define. | |
| 641 | |
| 32068 | 642 2000-10-02 Gerd Moellmann <gerd@gnu.org> |
| 643 | |
| 644 * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can | |
| 645 return with a string converted to an integer or vice versa when | |
| 646 Vmocklisp_arguments is t. | |
| 647 (Fsignal): Likewise. The function can return for `quit'. | |
| 648 (struct gcpro): Declare member `var' to point to a volatile | |
| 649 Lisp_Object. | |
| 650 | |
| 651 * eval.c (error): Prevent compiler warning. | |
| 652 | |
|
32039
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
653 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
654 |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
655 * keymap.c (keymap_memberp): New function. |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
656 (Fset_keymap_parent): Use it. |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
657 (fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP. |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
658 Use keymap_memberp to avoid creating cycles. |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
659 (access_keymap): Use KEYMAPP. |
|
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
660 |
| 32034 | 661 2000-09-30 Gerd Moellmann <gerd@gnu.org> |
| 662 | |
| 663 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use | |
| 32068 | 664 gai_strerror. Make sure xerrno is set if connect fails. Improve |
| 665 error recovery. | |
| 32034 | 666 |
| 32021 | 667 2000-09-29 Jason Rumney <jasonr@gnu.org> |
| 668 | |
| 669 * w32term.c (w32_char_font_type, w32_encode_char) | |
| 670 (x_produce_glyphs): Distinguish single and multibyte BDF fonts. | |
| 671 (w32_bdf_per_char_metric): New function. | |
| 672 (w32_per_char_metric): Use it. | |
| 673 (x_draw_glyph_string_background): Always draw background for BDF | |
| 674 glyphs. | |
| 675 | |
| 676 * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not | |
| 677 GDI object which is a scarce resource. | |
| 678 | |
| 679 * w32bdf.c (search_file_line): Fix skipping of whitespace. | |
| 680 (get_quoted_string): Fix limit on memchr search. | |
| 681 (set_bdf_font_info): Use unsigned chars. Negate yoffset. | |
| 682 (w32_init_bdf_font): Initialize codepoint and bitmap heaps. | |
| 683 (w32_free_bdf_font): Free bitmaps and codepoints on heaps. | |
| 684 (get_cached_font_char, cache_char_offset): Use macro | |
| 685 BDF_CODEPOINT_RANGE_COVER_P. | |
| 686 (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. | |
| 687 (clear_cached_bitmap_slots): New function. | |
| 688 (GET_HEX_VALUE): G-Z, g-z are not hex. | |
| 689 (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. | |
| 690 (get_bitmap_with_cache): Use new cache implementation. | |
| 691 (create_offscreen_bitmap): New function. | |
| 692 (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. | |
| 693 | |
| 694 * w32term.c (x_produce_glyphs): If the distance from the current | |
| 695 position to the next tab stop is less than a canonical character | |
| 696 width, use the tab stop after that. | |
| 697 (x_draw_glyphs): Handle case START and END are out of bounds more | |
| 698 carefully. | |
| 699 (x_clear_mouse_face): Block/unblock input. | |
| 700 (x_display_and_set_cursor): Don't show a hollow box cursor for | |
| 701 buffers whose cursor_type is nil. | |
| 702 | |
| 32001 | 703 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
| 704 | |
| 705 * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar | |
| 706 disappears. | |
| 707 | |
| 708 * dispextern.h (updating_frame): Declare extern. | |
| 709 | |
| 31998 | 710 2000-09-29 Andreas Schwab <schwab@suse.de> |
| 711 | |
| 712 * m/ia64.h: Remove hack of not prototyping bcopy, etc. | |
| 713 | |
| 31992 | 714 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
| 715 | |
| 31996 | 716 * keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol, |
| 717 use its function definition. | |
| 718 (tool_bar_items): Likewise. | |
| 719 | |
| 31992 | 720 * lisp.h (fatal): Declare NO_RETURN. |
| 721 | |
| 31988 | 722 2000-09-29 Kenichi Handa <handa@etl.go.jp> |
| 723 | |
| 724 * keymap.c: Remove the line "#undef NULL". | |
| 725 | |
| 31953 | 726 2000-09-28 Gerd Moellmann <gerd@gnu.org> |
| 727 | |
| 728 * xterm.c (x_make_frame_visible): Try harder to make the frame | |
| 729 visible. | |
| 730 | |
| 31946 | 731 2000-09-28 Dave Love <fx@gnu.org> |
| 732 | |
| 31959 | 733 * s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP. |
| 734 | |
| 32002 | 735 * s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define. |
| 736 | |
| 737 * .gdbinit (xreload): Note its need on GNU/Linux. | |
| 738 | |
| 31946 | 739 * m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare |
| 740 r_alloc, r_alloc_free. | |
| 741 | |
| 31943 | 742 2000-09-28 Kenichi Handa <handa@etl.go.jp> |
| 743 | |
| 744 * syntax.c (skip_chars): Handle negation correctly. | |
| 745 | |
| 31936 | 746 2000-09-27 Gerd Moellmann <gerd@gnu.org> |
| 747 | |
| 31941 | 748 * xfaces.c (realize_default_face): Call set_lface_from_font_name |
| 749 with non-zero FORCE_P argument. | |
| 750 | |
| 31936 | 751 * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): |
| 752 Add assertions. | |
| 753 | |
| 754 * xdisp.c (window_box_height): Add an assertion. | |
| 755 | |
| 756 * xfns.c (x_set_tool_bar_lines): Don't use more lines for the | |
| 757 tool-bar than is available. | |
| 758 (x_change_window_heights): Renamed from x_set_menu_bar_lines_1. | |
| 759 | |
| 31926 | 760 2000-09-27 Dave Love <fx@gnu.org> |
| 761 | |
| 31946 | 762 * s/irix6-5.h: Now works 64-bit. Tidied. |
| 31926 | 763 |
| 31898 | 764 2000-09-26 Gerd Moellmann <gerd@gnu.org> |
| 765 | |
| 31908 | 766 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT |
| 767 instead of BITS_PER_INT. | |
| 768 (XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and | |
| 769 EMACS_UINT, respectively. | |
| 770 (NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine. | |
| 771 | |
| 772 * m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define. | |
| 773 | |
| 774 * unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64. | |
| 775 | |
| 31904 | 776 * window.c (freeze_window_starts): Construct last argument for |
| 777 foreach_window differently. | |
| 778 | |
| 779 * xfns.c (x_decode_color): Don't return a Lisp_Object. | |
| 780 | |
| 781 * lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and | |
| 782 EMACS_UINT instead of `int' and `unsigned int'. | |
| 783 (XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'. | |
| 784 | |
| 785 * frame.h (struct frame): Make the `nothing' member of union | |
| 786 output_data an EMACS_INT. | |
| 787 | |
| 31898 | 788 * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug |
| 789 hunting. | |
| 790 (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's | |
| 791 size in the sdata structure. | |
| 792 (SDATA_NBYTES, SDATA_DATA): New macros. | |
| 793 (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define | |
| 794 differently for the different layout of the sdata structure. | |
| 795 (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size | |
| 796 in sdata. | |
| 797 (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: | |
| 798 Check that size recorded in the string size and size recorded in | |
| 799 the sdata structure agree. | |
| 800 | |
| 31893 | 801 2000-09-25 Dave Love <fx@gnu.org> |
| 802 | |
| 803 * buffer.c: Include stdio.h. | |
| 804 | |
| 805 Partly suggested by Eduardo Horvath <eeh@netbsd.org>. | |
| 806 | |
| 807 * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. | |
| 808 | |
| 809 * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. | |
| 810 (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as | |
| 811 size_t. | |
| 812 (__malloc_extra_blocks): Declare as __malloc_size_t. | |
| 813 | |
| 31867 | 814 2000-09-25 Gerd Moellmann <gerd@gnu.org> |
| 815 | |
| 31890 | 816 * alloc.c (mark_image): Use GC_NILP instead of NILP. |
| 817 | |
| 31881 | 818 * keyboard.c (show_help_echo): Set help_echo_showing_p. |
| 819 (read_char): If help-echo is showing, preserve the echo area | |
| 820 when redisplaying. | |
| 821 | |
| 822 * xdisp.c (help_echo_showing_p): New variable. | |
| 823 (set_message): Reset it to 0. | |
| 824 (init_xdisp): Initialize help_echo_showing_p. | |
| 825 | |
| 826 * dispextern.h (help_echo_showing_p): Declare extern. | |
| 827 | |
| 828 * config.in: Fix typo in __GNUC_MINOR__. | |
| 829 | |
| 830 * keyboard.h (quit_throw_to_read_char): Declare NO_RETURN. | |
| 831 | |
| 31872 | 832 * s/freebsd.h (POSIX_SIGNALS): Define. |
| 833 | |
| 31867 | 834 * xterm.c (x_clear_mouse_face): Block/unblock input. |
| 835 | |
| 31866 | 836 2000-09-24 Dave Love <fx@gnu.org> |
| 837 | |
| 838 * fns.c (base64_encode_1): Fix last change. | |
| 839 | |
| 31851 | 840 2000-09-22 Gerd Moellmann <gerd@gnu.org> |
| 841 | |
| 842 * dispnew.c (enable_glyph_matrix_rows): Remove xasserts. | |
| 843 | |
| 844 * xdisp.c (try_window_reusing_current_matrix): More fixes | |
| 845 for the case window has a header-line. | |
| 846 | |
| 31843 | 847 2000-09-22 Dave Love <fx@gnu.org> |
| 848 | |
| 31848 | 849 * xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide |
| 850 a doc string. | |
| 851 | |
| 852 * xterm.c [SOLARIS2]: Remove redundant include of string.h. | |
| 853 | |
| 31843 | 854 * fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix. |
| 855 | |
| 31805 | 856 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
| 857 | |
| 31848 | 858 * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' |
| 31834 | 859 for GCC >= 2.5. |
| 860 | |
| 861 * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | |
| 862 NO_RETURN. | |
| 863 | |
| 31831 | 864 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
| 865 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | |
| 866 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | |
| 867 warnings. | |
| 868 | |
| 869 * marker.c (byte_char_debug_check): Return void. | |
| 870 | |
| 31827 | 871 * xfns.c (Fx_create_frame): Set default frame parameter value |
| 872 for tool-bar-lines to 1. | |
| 873 | |
| 874 * dispnew.c (scrolling_window): Compare y-positions of rows | |
| 875 equal at the start. Some simplification. | |
| 876 | |
| 877 * xdisp.c (try_window_reusing_current_matrix): Fix computation of | |
| 878 reused rows' y-position in the case window has a header-line, and | |
| 879 new window start is greater than old window start. | |
| 880 | |
| 31807 | 881 * process.c (process_sent_to): New variable. |
| 882 (send_process): Workaround for a crash on sparc-sun-solaris-2.6 | |
| 883 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. | |
| 884 Declare more parameters volatile. | |
| 885 | |
| 31805 | 886 * lread.c (Vrecursive_load_depth_limit): New variable. |
| 887 (Fload): Check recursive loads whose recursion depth exceeds | |
| 888 Vrecursive_load_depth_limit. | |
| 889 (syms_of_lread): DERFAR_LISP recursive-load-depth-limit. | |
| 890 | |
| 31763 | 891 2000-09-20 Gerd Moellmann <gerd@gnu.org> |
| 892 | |
| 31776 | 893 * fileio.c (Fread_file_name): Doc fix. |
| 894 | |
| 895 * editfns.c (Fmessage_or_box): Doc fix. | |
| 896 | |
| 897 * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. | |
| 898 | |
| 31770 | 899 * xfns.c (xbm_scan): Allow C-style comments. |
| 900 | |
| 31763 | 901 * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color |
| 902 symbols are specified, add color translations to the cache. | |
| 903 (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New | |
| 904 functions. | |
| 905 (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and | |
| 906 xpm_cache_color. | |
| 907 (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes | |
| 908 structures to xpm_init_color_cache. | |
| 909 | |
| 31733 | 910 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
| 911 | |
| 912 * dispnew.c (update_window_line): Make sure to always draw | |
| 913 mode-lines. | |
| 914 | |
| 31713 | 915 2000-09-19 Andrew Innes <andrewi@gnu.org> |
| 916 | |
| 917 * makefile.nt (bootstrap-emacs): Don't change directory. | |
| 918 | |
| 31701 | 919 2000-09-19 Kenichi Handa <handa@etl.go.jp> |
| 920 | |
| 31704 | 921 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. |
| 922 | |
| 31701 | 923 * ccl.c (Fccl_execute_on_string): Make multibyte string correctly. |
| 924 If output buffer is too small, signal an appropriated error. | |
| 925 | |
| 31698 | 926 2000-09-18 Dave Love <fx@gnu.org> |
| 927 | |
| 928 * keyboard.c (menu_bar_items, tool_bar_items) | |
| 929 (current_active_maps): Remove redundant get_local_map call. | |
| 930 | |
| 31687 | 931 2000-09-18 Gerd Moellmann <gerd@gnu.org> |
| 932 | |
| 31700 | 933 * xterm.c (x_display_and_set_cursor): Don't show a hollow box |
| 934 cursor for buffers whose cursor_type is nil. | |
| 935 | |
| 31696 | 936 * xterm.c (x_draw_image_glyph_string): Remove a comment describing |
| 937 a feature to implement that is already implemented. | |
| 938 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler | |
| 939 warnings. | |
| 940 | |
| 941 * xfns.c (x_clear_image_1): New function. | |
| 942 (x_clear_image): Use it. | |
| 943 (x_from_xcolors): Use x_clear_image_1; don't free the image's | |
| 944 mask. | |
| 945 | |
| 31692 | 946 * dispnew.c (update_window): Move test for invisible lines |
| 947 at the top to update_window_line. | |
| 948 (update_window_line): Handle invisible lines here. | |
| 949 | |
| 31689 | 950 * xfns.c (clear_image_cache): Clear current matrices of all |
| 951 frames sharing an image cache. Block input while freeing | |
| 952 images. Fix timestamp comparison. | |
| 953 (x_clear_image): Also free the mask. | |
| 954 | |
| 31687 | 955 * xfns.c (lookup_image): Block input while loading the image so |
| 956 that we won't get interrupted in a state where the image isn't yet | |
| 957 set up completely. | |
| 958 (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) | |
| 959 (lookup_pixel_color, x_to_xcolors, x_from_xcolors) | |
| 960 (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) | |
| 961 (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock | |
| 962 input. | |
| 963 | |
| 31654 | 964 2000-09-16 Gerd Moellmann <gerd@gnu.org> |
| 965 | |
| 966 * dispnew.c (update_window): Make sure to make desired rows | |
| 967 current even if they are completely invisible at the top | |
| 968 of a window. | |
| 969 | |
| 31636 | 970 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
| 971 | |
| 31652 | 972 * xfns.c (lookup_image): Build mask before applying an algorithm. |
| 973 Recognize algorithm `disabled'. | |
| 974 (cross_disabled_images): New variable. | |
| 975 (COLOR_INTENSITY): New macro. | |
| 976 (x_detect_edges): Use COLOR_INTENSITY. | |
| 977 (x_disable_image): New function. | |
| 978 (syms_of_xfns): DEFVAR_BOOL cross_disabled_images. | |
| 979 | |
| 980 * xdisp.c (build_desired_tool_bar_string): For a toolbar item in | |
| 981 disabled state, don't apply an image transformation algorithm if | |
| 982 the user specified an image for the disabled state. Use | |
| 31687 | 983 `:algorithm disabled' for creating a disabled item's image if the |
| 31652 | 984 user hasn't specified an image. |
| 985 | |
| 31639 | 986 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color |
| 987 allocation functions with the XPM lib. | |
| 988 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | |
| 989 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | |
| 990 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | |
| 991 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | |
| 992 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | |
| 993 functions. | |
| 994 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | |
| 995 functions, if possible, because these handle color allocation | |
| 996 failure more gracefully. | |
| 997 (Fimage_mask_p): New function. | |
| 998 | |
| 31636 | 999 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
| 1000 (Qedge_detection, Qheuristic): New symbols. | |
| 1001 (syms_of_xfns): Initialize new symbols. | |
| 1002 (lookup_image): Handle `:mask X', `:algorithm emboss', and | |
| 1003 `algorithm (edge-detection ...)'. | |
| 1004 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format): | |
| 1005 (tiff_format, gif_format, gs_format): Add `:mask'. | |
| 1006 (XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK) | |
| 1007 (GIF_MASK, GS_MASK): New enumerators. | |
| 1008 (x_laplace_read_row, x_laplace_write_row): Functions removed. | |
| 1009 (emboss_matrix, laplace_matrix): New variables. | |
| 1010 (x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss) | |
| 1011 (x_edge_detection): New functions. | |
| 1012 (x_laplace): Rewritten in terms of x_detect_edges. | |
| 1013 (x_build_heuristic_mask): If image has a mask, free it. | |
| 1014 | |
| 31632 | 1015 2000-09-14 Andrew Innes <andrewi@gnu.org> |
| 1016 | |
| 1017 * makefile.w32-in: Revert to Unix line endings. | |
| 1018 | |
| 31630 | 1019 2000-09-14 Andrew Innes <andrewi@gnu.org> |
| 1020 | |
| 1021 * makefile.w32-in: Standardize indentation somewhat. | |
| 1022 (bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to | |
| 1023 cater for differences between shells. | |
| 1024 | |
| 1025 * w32term.c (w32_per_char_metric): Handle non-TrueType fonts. | |
| 1026 | |
| 31615 | 1027 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
| 1028 | |
| 1029 * xterm.c (x_produce_glyphs): If the distance from the current | |
| 1030 position to the next tab stop is less than a canonical character | |
| 1031 width, use the tab stop after that. | |
| 1032 | |
| 31613 | 1033 2000-09-14 Dave Love <fx@gnu.org> |
| 1034 | |
| 1035 * buffer.c (alloc_buffer_text): Fix xmalloc call. | |
| 1036 | |
| 31607 | 1037 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
| 1038 | |
| 31611 | 1039 * xdisp.c (handle_fontified_prop): While running fontification |
| 1040 functions, bind `fontification-functions' and | |
| 1041 `after-change-functions' to nil. | |
| 1042 | |
| 31607 | 1043 * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h |
| 1044 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | |
| 1045 | |
| 1046 * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | |
| 1047 | |
| 1048 * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | |
| 1049 USE_MMAP_FOR_BUFFERS. | |
| 1050 | |
| 1051 * insdel.c (make_gap): Use enlarge_buffer_text. | |
| 1052 | |
| 1053 * buffer.c: Move allocation with mmap here, from ralloc.c. Change | |
| 1054 conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | |
| 1055 (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | |
| 1056 from former r_alloc_* functions in ralloc.c. | |
| 1057 (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | |
| 1058 variables. | |
| 1059 (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | |
| 1060 (mmap_init) [REL_ALLOC_MMAP]: New function. | |
| 1061 (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | |
| 1062 functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | |
| 1063 BUFFER_FREE. | |
| 1064 | |
| 1065 * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | |
| 1066 (enlarge_buffer_text): Add prototype. | |
| 1067 | |
| 1068 * ralloc.c: Remove everything having to do with the use of mmap. | |
| 1069 | |
| 31577 | 1070 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
| 1071 | |
| 31588 | 1072 * sound.c (Fplay_sound): Doc fix. |
| 1073 | |
| 31580 | 1074 * keyboard.c: Avoid some more compiler warnings. |
| 1075 (parse_tool_bar_item): Ignore cached key bindings. | |
| 1076 | |
| 31577 | 1077 * alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap |
| 1078 and allocation of Lisp data. | |
| 1079 | |
| 31555 | 1080 2000-09-12 Gerd Moellmann <gerd@gnu.org> |
| 1081 | |
| 31571 | 1082 * xfaces.c: Remove conditional compilation on SCALABLE_FONTS. |
| 1083 (Finternal_set_lisp_face_attribute): If frame is 0, set new frame | |
| 1084 defaults first. | |
| 1085 | |
| 31555 | 1086 * lread.c (Fload): Put code checking for recursive loads in #if 0. |
| 1087 | |
| 31550 | 1088 2000-09-12 Miyashita Hisashi <himi@meadowy.org> |
| 1089 | |
| 1090 * ccl.c: Comment fixed. | |
| 1091 (MAX_MAP_SET_LEVEL): Increased to 30. | |
| 1092 (PUSH_MAPPING_STACK): Enclose with do-while block. | |
| 1093 (POP_MAPPING_STACK): Likewise. | |
| 1094 (stack_idx_of_map_multiple): New variable. | |
| 1095 (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. | |
| 1096 (ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol, | |
| 1097 call the corresponding CCL program by | |
| 1098 CCL_CALL_FOR_MAP_INSTRUCTION. | |
| 1099 (ccl_driver) <CCL_MapSingle>: Likewise. | |
| 1100 (ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal | |
| 1101 with the case where looking up process reaches to the end of | |
| 1102 map-set, and call CCL programs as the above change. | |
| 1103 | |
| 31535 | 1104 2000-09-11 Gerd Moellmann <gerd@gnu.org> |
| 1105 | |
| 31544 | 1106 * xfns.c (png_load, jpeg_load): Declare some variables volatile |
| 1107 that might be clobbered by longjmp. | |
| 1108 (check_x_display_info, x_decode_color, create_frame_xic) | |
| 1109 (Fx_display_backing_store, Fx_display_visual_class) | |
| 1110 (x_build_heuristic_mask, pbm_scan_number): Avoid compiler | |
| 1111 warnings. | |
| 1112 | |
| 31537 | 1113 * lread.c (init_lread): Set Vloads_in_progress to nil. |
| 1114 (Fload): Show list of recursively loaded files, when signaling an | |
| 1115 error. | |
| 1116 | |
| 31535 | 1117 * lread.c (Vloads_in_progress): New variable. |
| 1118 (record_load_unwind): New function. | |
| 1119 (Fload): Check for recursive loads. | |
| 1120 (syms_of_lread): Initialize Vloads_in_progress. | |
| 1121 (read_integer, read1): Avoid some compiler warnings. | |
| 1122 | |
| 1123 * fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some | |
| 1124 compiler warnings. | |
| 1125 | |
| 31532 | 1126 2000-09-11 Miles Bader <miles@gnu.org> |
| 1127 | |
| 1128 * editfns.c (Fbuffer_string): Doc fix. | |
| 1129 | |
| 31526 | 1130 2000-09-10 Gerd Moellmann <gerd@gnu.org> |
| 1131 | |
| 1132 * ralloc.c (mmap_enlarge): Don't return 0 if successful. | |
| 1133 | |
|
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1134 2000-09-09 Ken Raeburn <raeburn@gnu.org> |
|
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1135 |
|
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1136 * s/netbsd.h: Use NOT_C_CODE, not NO_C_SOURCE, when deciding |
|
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1137 whether to include other header files. |
|
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1138 |
| 31523 | 1139 2000-09-09 Gerd Moellmann <gerd@gnu.org> |
| 1140 | |
| 1141 * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned | |
| 31527 | 1142 by Fmemq as a boolean. |
| 31523 | 1143 |
|
31521
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1144 2000-09-08 Stefan Monnier <monnier@cs.yale.edu> |
|
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1145 |
|
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1146 * xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko. |
|
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1147 |
| 31490 | 1148 2000-09-08 Gerd Moellmann <gerd@gnu.org> |
| 1149 | |
| 31516 | 1150 * ralloc.c (mmap_fd): Remove initializer which can make it |
| 1151 read-only in a dumped Emacs. | |
| 1152 (mmap_fd_1): New variable. | |
| 1153 (mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1, | |
| 1154 restore it from there. | |
| 1155 (r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init | |
| 1156 unconditionally so that mmap_fd can be initialized there. | |
| 1157 (r_alloc_init_fd): Open-coded in r_alloc_init; function removed. | |
| 1158 (r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero. | |
| 1159 (r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1. | |
| 1160 | |
| 31508 | 1161 * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. |
| 1162 | |
| 1163 * xdisp.c (dump_glyph_row): Fix printf format string. | |
| 1164 (display_line, move_it_in_display_line_to): Avoid compiler | |
| 1165 warnings. | |
| 1166 | |
| 31502 | 1167 * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. |
| 1168 | |
| 31497 | 1169 * keymap.c (Fset_keymap_parent): Check for cycles in keymap |
| 1170 inheritance. | |
| 1171 | |
| 31494 | 1172 * xdisp.c (try_window_id): When trying to locate cursor in |
| 1173 unchanged rows at the top, handle the case that we can't find it. | |
| 1174 | |
| 31490 | 1175 * xterm.c (x_draw_glyphs): Handle case START and END are out |
| 1176 of bounds more carefully. | |
| 1177 | |
| 31488 | 1178 2000-09-08 Dave Love <fx@gnu.org> |
| 1179 | |
| 31505 | 1180 * s/sol2.h (REL_ALLOC_MMAP): Define. |
| 1181 * s/irix5-0.h (REL_ALLOC_MMAP): Likewise. | |
| 1182 | |
| 1183 * ralloc.c: Don't include string.h (redundant). | |
| 1184 (MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined. | |
| 1185 [!MAP_ANON]: Include fcntl.h. | |
| 1186 (mmap_fd) [REL_ALLOC_MMAP]: New variable. | |
| 1187 (r_alloc, r_re_alloc, r_alloc_free) | |
| 1188 (mmap_enlarge, mmap_set_vars): Use it. | |
| 1189 (r_alloc_init_fd): New function. | |
| 1190 (__morecore) [SYSTEM_MALLOC]: Don't declare. | |
| 1191 (r_alloc_init): Call r_alloc_init_fd. Conditionalize stuff on | |
| 1192 malloc type. | |
| 1193 | |
| 1194 * Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: | |
| 1195 Remove vm-limit.o. | |
| 1196 | |
| 31488 | 1197 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last |
| 1198 change to __NetBSD__. | |
| 1199 | |
| 31485 | 1200 2000-09-08 Kenichi Handa <handa@etl.go.jp> |
| 1201 | |
| 1202 * search.c (compile_pattern): Check the multibyteness of cached | |
| 1203 string and PATTERN. | |
| 1204 | |
| 31484 | 1205 2000-09-08 Miles Bader <miles@gnu.org> |
| 1206 | |
| 1207 * xfaces.c (default_face_vector): Function removed. | |
| 1208 (Finternal_merge_in_global_face): Restore old global/local | |
| 1209 attribute override order. Use inline loop instead of calling | |
| 1210 default_face_vector. | |
| 1211 | |
| 31474 | 1212 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
| 1213 | |
| 1214 * ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use) | |
| 1215 (get_bloc, relocate_blocs, update_heap_bloc_correspondence) | |
| 1216 (resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *' | |
| 1217 where necessary, in case POINTER_TYPE is `void'. | |
| 1218 | |
| 31472 | 1219 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 1220 | |
| 1221 * frame.c (make_terminal_frame): Initialize frame foreground and | |
| 1222 background colors to unspecified, for the initial instance of an | |
| 1223 MSDOS frame. | |
| 1224 | |
| 31467 | 1225 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
| 1226 | |
| 31469 | 1227 * ralloc.c (mmap_find): Fix overlap computation. |
| 1228 (mmap_enlarge): Compute nbytes before trying to find an | |
| 1229 overlapping region. | |
| 1230 | |
| 31467 | 1231 * xfaces.c (smaller_face): Compare font heights with `<' and `>' |
| 1232 instead of `!='. | |
| 1233 | |
| 1234 * lread.c (syms_of_lread): Change value of regexp | |
| 1235 Vbytecomp_version_regexp to not match some XEmacs-compiled files. | |
| 1236 | |
| 1237 * xmenu.c (xdialog_show): When looking up the selection in | |
| 1238 menu_items, take `quote' boundaries into account; this corresponds | |
| 1239 to a nil ITEM in x-popup-dialog. | |
| 1240 | |
| 31454 | 1241 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
| 1242 | |
| 31459 | 1243 * charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80, |
| 1244 not 0x81. | |
| 1245 (MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7). | |
| 1246 | |
| 31454 | 1247 * coding.c (encode_coding_sjis_big5): Use translation table for |
| 31456 | 1248 encoding, not decoding. Fix the handling of latin-jisx0201. |
| 1249 Check for the charset katakana-jisx0201 too. | |
| 31454 | 1250 (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1. |
| 31467 | 1251 (detect_coding_sjis): Check the byte sequence more rigidly. |
| 31454 | 1252 |
| 31441 | 1253 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
| 1254 | |
| 31452 | 1255 * xfaces.c (Vparam_value_alist): New variable. |
| 1256 (syms_of_xfaces): Initialize it. | |
| 1257 (Finternal_set_lisp_face_attribute): Avoid more consing. | |
| 1258 | |
| 1259 * frame.c (Fframe_parameter): Handle `name' and `background-mode' | |
| 1260 specially. | |
| 1261 (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. | |
| 1262 (Qbackground_mode): New variable. | |
| 1263 (syms_of_frame_1): Initialize Qbackground_mode. | |
| 1264 | |
| 1265 * lisp.h (Qdisplay): Declare extern. | |
| 31444 | 1266 |
| 31441 | 1267 * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0, |
| 1268 change face on all frames, and change the default for new frames. | |
| 1269 | |
| 31438 | 1270 2000-09-07 Dave Love <fx@gnu.org> |
| 1271 | |
| 1272 * Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj. | |
| 1273 | |
| 31418 | 1274 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
| 1275 | |
| 31433 | 1276 * charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0. |
| 1277 | |
| 31432 | 1278 * charset.c: Include composite.h |
| 1279 (lisp_string_width): New function. | |
| 1280 (Fstring_width): Call lisp_string_width instead of strwidth. | |
| 1281 | |
| 1282 * Makefile.in (charset.o): Depends on composite.h. | |
| 1283 | |
| 31418 | 1284 * process.c (read_process_output): Before inserting the decoded |
| 1285 text in the buffer, adjust the multibyteness. | |
| 1286 | |
| 31409 | 1287 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
| 1288 | |
| 31417 | 1289 * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If |
| 1290 buffer's text buffer is null, map new memory. | |
| 1291 | |
| 31415 | 1292 * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
| 1293 POINTER_TYPE and size_t. | |
| 1294 (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | |
| 1295 (mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables. | |
| 1296 (ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA) | |
| 1297 [REL_ALLOC_MMAP]: New macros. | |
| 1298 (mmap_find, mmap_free, mmap_enlarge, mmap_set_vars) | |
| 1299 (mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free) | |
| 1300 [REL_ALLOC_MMAP]: New functions. | |
| 1301 | |
| 1302 * emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars | |
| 1303 before and after unexec. | |
| 1304 | |
| 1305 * buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer | |
| 1306 text buffers if necessary. | |
| 1307 | |
| 1308 * buffer.h (R_ALLOC_DECLARE): Removed because unused. | |
| 1309 (r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t | |
| 1310 in prototypes. | |
| 1311 | |
| 31409 | 1312 * config.in (HAVE_MMAP): Add #undef. |
| 1313 | |
| 31394 | 1314 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
| 1315 | |
| 31402 | 1316 * frame.c (Qdisplay_type): New variable. |
| 1317 (syms_of_frame_1): Initialize it. | |
| 1318 (Fframe_parameter): New function that avoids consing. | |
| 1319 (syms_of_frame): Defsubr it. | |
| 1320 | |
| 31396 | 1321 * buffer.c (Fother_buffer): Consider buffers as invisible when |
| 1322 they are displayed in a window on an invisible frame. | |
| 1323 | |
| 31394 | 1324 * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
| 1325 get-largest-window always return nil. | |
| 1326 | |
| 31368 | 1327 2000-09-04 Gerd Moellmann <gerd@gnu.org> |
| 1328 | |
| 1329 * lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp | |
| 1330 variable; recognize Emacs 19 elc files. | |
| 1331 | |
| 31366 | 1332 2000-09-04 Miles Bader <miles@gnu.org> |
| 1333 | |
| 1334 * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face | |
| 1335 before initially popping up the menu, so the menu doesn't flash | |
| 1336 when the face settings are significantly different from the | |
| 1337 defaults. | |
| 1338 | |
|
31360
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1339 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1340 |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1341 * regex.c (WIDE_CHAR_SUPPORT): New macro. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1342 (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1343 (BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT) |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1344 (BIT_UNIBYTE): Remove. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1345 (re_match_2_internal): Delete corresponding code and streamline the |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1346 BIT_MULTIBYTE case to not bother checking ISUNIBYTE. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1347 (CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1348 (re_wctype_t): New type. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1349 (re_wctype, re_iswctype, re_wctype_to_bit): New functions. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1350 (regex_compile): Use them and fix handling of overly long char classes. |
|
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1351 |
| 31352 | 1352 2000-09-03 Andrew Innes <andrewi@gnu.org> |
| 1353 | |
| 31359 | 1354 * makefile.w32-in: Change to DOS line endings. |
| 1355 | |
| 31352 | 1356 * s/ms-w32.h (ORDINARY_LINK): New define. |
| 1357 | |
| 1358 * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define | |
| 1359 (_ANONYMOUS_STRUCT) [__GNUC__]: New define. | |
| 1360 | |
| 1361 * makefile.w32-in (clean): Don't delete config.h and epaths.h. | |
| 1362 (distclean): Delete them here instead. | |
| 1363 | |
| 31355 | 1364 * w32proc.c (compare_env): Convert to uppercase for comparison, |
| 1365 not lowercase, to match how the native Windows shell works. | |
| 1366 | |
| 31346 | 1367 2000-09-03 Jason Rumney <jasonr@gnu.org> |
| 1368 | |
| 1369 * ChangeLog: Remove -unix from coding. Let Emacs autodetect, as | |
| 1370 CVS changes the line-ends when checking in/out on DOS/Windows. | |
| 1371 | |
| 1372 * makefile.nt (emacs): Do not change directory to run temacs, as | |
| 1373 the load-path is set relative to current directory. | |
| 1374 | |
| 31342 | 1375 2000-09-03 Miles Bader <miles@gnu.org> |
| 1376 | |
| 1377 * xterm.c (x_alloc_lighter_color_for_widget): New function. | |
| 1378 | |
| 31333 | 1379 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
| 1380 | |
| 31339 | 1381 * xdisp.c (redisplay_mode_lines): New function. |
| 1382 (display_mode_lines): Return number of mode lines displayed. | |
| 1383 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
| 1384 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
| 1385 | |
| 31337 | 1386 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
| 1387 string.h and strings.h. | |
| 1388 (index) [HAVE_INDEX]: Add prototype. | |
| 1389 | |
| 31333 | 1390 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
| 1391 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
| 1392 | |
| 1393 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
| 1394 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
| 1395 | |
| 31316 | 1396 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
| 1397 | |
| 1398 * lread.c (read1): Accept `?' as symbol constituent, for | |
| 1399 compatiblity with XEmacs. | |
| 1400 | |
|
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1401 2000-08-31 Stefan Monnier <monnier@cs.yale.edu> |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1402 |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1403 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1404 (struct re_pattern_buffer): Remove newline_anchor. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1405 * regex.c: Keep namespace clean for GNU libc by renaming <fun> |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1406 to __<fun> and using `weak_alias (__<fun>, <fun>)'. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1407 (re_max_failures, fail_stack): Use size_t rather than unsigned. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1408 (regex_compile): For ^ and $, choose between buffer and line (beg|end) |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1409 depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1410 (print_compiled_pattern, re_search_2, mutually_exclusive_p) |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1411 (re_match_2_internal, re_compile_pattern, re_comp, regcomp): |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1412 Get rid of references to newline_anchor. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1413 (regcomp): Allocate and precompute a fastmap. |
|
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1414 |
| 31308 | 1415 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
| 1416 | |
| 1417 * lread.c (openp): GCPRO local variable `filename'. | |
| 1418 | |
|
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1419 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1420 |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1421 * regex.h (struct re_pattern_buffer): Use size_t for used/allocated. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1422 |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1423 * regex.c: Merge some changes from GNU libc. Add prototypes. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1424 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1425 Use memcmp and memcpy instead of bcopy and bcmp. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1426 (init_syntax_once): Use ISALNUM. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1427 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1428 (REG_UNSET_VALUE): Remove. Use NULL instead. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1429 (REG_UNSET, re_match_2_internal): Use NULL. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1430 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1431 New macros. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1432 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1433 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1434 (regex_compile): In handle_interval, return an error rather than try to |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1435 unfetch the interval if we can't find the closing brace. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1436 Obey the RE_NO_GNU_OPS syntax bit. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1437 (TOLOWER): New macro. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1438 (regcomp): Use it. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1439 (regexec): Allocate regs.start and regs.end as one block. |
|
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1440 |
| 31293 | 1441 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
| 1442 | |
| 31296 | 1443 * xdisp.c (echo_area_display): Check display_completed instead |
| 1444 of calling detect_input_pending. | |
| 1445 | |
| 31297 | 1446 * dispnew.c (update_frame): Only set display_completed here; move |
| 31296 | 1447 the update_begin and update_end calls here from update_frame_1. |
| 1448 (update_frame_1): Don't set display_completed here, don't call | |
| 1449 update_begin/update_end. | |
| 1450 | |
| 31293 | 1451 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
| 1452 instead of store_frame_param. | |
| 1453 | |
| 31272 | 1454 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
| 1455 | |
| 1456 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
| 1457 desired window matrix hasn't been displayed, use the current row | |
| 1458 instead. Make sure that only those frame rows are updated for | |
| 1459 which there exists a corresponding enabled desired row. | |
| 1460 | |
| 31263 | 1461 2000-08-29 Miles Bader <miles@gnu.org> |
| 1462 | |
| 1463 * xfaces.c (default_face_vector): New function. | |
| 1464 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
| 1465 | |
| 31256 | 1466 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
| 1467 | |
| 1468 * lread.c (openp): Prevent temporary string passed to | |
| 1469 Ffile_readable_p from being garbage collected. | |
| 1470 | |
| 31234 | 1471 2000-08-28 Dave Love <fx@gnu.org> |
| 1472 | |
| 1473 * keymap.c (store_in_keymap): Add `static' to declaration. | |
| 1474 | |
| 31229 | 1475 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
| 1476 | |
| 1477 * emacs.c, callint.c, doc.c, editfns.c | |
| 1478 (toplevel) [HAVE_STRING_H]: Include string.h. | |
| 1479 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
| 1480 (index): Remove prototypes which might conflict with non-standard | |
| 1481 definitions of index/strchr. | |
| 1482 | |
| 1483 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
| 1484 (rindex): Define only if !HAVE_RINDEX. | |
| 1485 | |
| 1486 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
| 1487 | |
| 1488 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
| 1489 | |
| 31222 | 1490 2000-08-28 Miles Bader <miles@gnu.org> |
| 1491 | |
| 1492 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
| 1493 made inconsistent by a font-related attribute in FROM. | |
| 1494 (merge_face_inheritance): Add function comment. | |
| 1495 | |
| 31216 | 1496 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
| 1497 | |
| 1498 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
| 1499 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
| 1500 | |
|
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1501 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1502 |
|
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1503 * regex.c: Indent cpp directives and remove parens after `defined'. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1504 (PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1505 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1506 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1507 (re_compile_pattern): Use size_t for length. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1508 (init_syntax_once): Move to a better place. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1509 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1510 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
|
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1511 |
|
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1512 * syntax.c (back_comment): Detect cases where a comment-starter is |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1513 actually inside another comment as in: /* a // b */ c // d \n. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1514 Make it clear that `comstart_pos' is unused for nested comments. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1515 |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1516 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1517 (KEYMAPP): New macro. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1518 (Fkeymap_parent, Fset_keymap_parent): Use it. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1519 (fix_submap_inheritance): Mark it static. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1520 (define_as_prefix, describe_buffer_bindings, describe_command) |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1521 (describe_translation, describe_map): Complete prototypes. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1522 |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1523 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1524 |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1525 * keyboard.c (menu_bar_item): Detect duplicate entries for all items |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1526 to better match the key-lookup behavior. |
|
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1527 |
| 31203 | 1528 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
| 1529 | |
| 1530 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
| 1531 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
| 1532 | |
| 31200 | 1533 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 1534 | |
| 1535 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
| 1536 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
| 1537 (xterm.o): Depend on coding.h | |
| 1538 | |
| 31181 | 1539 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
| 1540 | |
| 1541 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
| 1542 the corresponding '#endif'. | |
| 1543 | |
| 31180 | 1544 2000-08-26 Miles Bader <miles@gnu.org> |
| 1545 | |
| 1546 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
| 1547 * xfaces.c (QCinherit): New variable. | |
| 1548 (syms_of_xfaces): Initialize it. | |
| 1549 (LFACE_INHERIT): New macro. | |
| 1550 (Finternal_get_lisp_face_attribute) | |
| 1551 (merge_face_vector_with_property) | |
| 1552 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
| 1553 (check_lface_attrs): Allow new types of face height. Check | |
| 1554 inherit attribute. | |
| 1555 (CYCLE_CHECK): New macro. | |
| 1556 (merge_face_inheritance): New function. | |
| 1557 (merge_face_vectors): Merge inherited faces too. Add F and | |
| 1558 CYCLE_CHECK arguments. | |
| 1559 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
| 1560 (lookup_named_face, lookup_derived_face, realize_named_face) | |
| 1561 (face_at_string_position, face_at_buffer_position): Supply | |
| 1562 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
| 1563 (merge_face_heights): New function. | |
| 1564 (merge_face_vectors, merge_face_vector_with_property) | |
| 1565 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
| 1566 handle relative face heights. | |
| 1567 (lface_same_font_attributes_p): Compare heights using EQ. | |
| 1568 | |
| 31176 | 1569 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
| 1570 | |
| 1571 * charset.c (char_to_string): Check the character validity. | |
| 1572 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
| 1573 0. | |
| 1574 | |
|
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1575 2000-08-25 Stefan Monnier <monnier@cs.yale.edu> |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1576 |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1577 * regex.c (PUSH_FAILURE_COUNT): New macro. |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1578 (POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG. |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1579 Handle popping of a register's or a counter's data. |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1580 (POP_FAILURE_POINT): Use the new name. |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1581 (re_match_2_internal): Push counter data on the stack for succeed_n, |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1582 jump_n and set_number_at and remove misleading dead code in succeed_n. |
|
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1583 |
| 31171 | 1584 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
| 1585 | |
| 1586 * xdisp.c (redisplay_internal): If considering all windows on all | |
| 1587 frames, update the display for each frame as soon as possible, | |
| 1588 instead of first building all desired matrices for all frames, and | |
| 1589 then updating them all. | |
| 1590 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
| 1591 | |
| 31148 | 1592 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
| 1593 | |
| 31153 | 1594 * bytecode.c (mark_byte_stack): Add a comment. |
| 1595 | |
| 31148 | 1596 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
| 1597 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
| 1598 a graphical frame. | |
| 1599 | |
| 31137 | 1600 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
| 1601 | |
| 31139 | 1602 * minibuf.c (do_completion): Always use compare-string, not |
| 1603 string-equal because the latter doesn't pay attention to | |
| 1604 multibyteness of strings. | |
| 1605 | |
| 31137 | 1606 * process.c (create_process): Don't setup raw-text coding here. |
| 1607 (Fopen_network_stream): Don't set coding->src_multibyte and | |
| 1608 coding->dst_multibyte here. | |
| 1609 (read_process_output): For process filter, return unibyte string | |
| 1610 if default-enable-multibyte-characters is nil. | |
| 1611 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
| 1612 by the specified coding system for the process. Otherwise, setup | |
| 1613 raw-text coding. | |
| 1614 (init_process): Don't initialize default-process-coding-system | |
| 1615 here. | |
| 1616 | |
| 31129 | 1617 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 1618 | |
| 1619 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
| 1620 <scroll-down-aggressively>: Likewise. | |
| 1621 | |
| 31121 | 1622 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
| 1623 | |
| 31122 | 1624 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
| 1625 zero. Set coding->produced_char correctly. | |
| 31121 | 1626 |
| 31120 | 1627 2000-08-22 Andrew Innes <andrewi@gnu.org> |
| 1628 | |
| 1629 * makefile.w32-in: New file. | |
| 1630 | |
| 1631 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
| 1632 of the current executable instead. Base new_name on this. | |
| 1633 | |
| 1634 * w32proc.c (create_child): Remove reference to security | |
| 1635 descriptor, which isn't needed and doesn't compile with mingw32. | |
| 1636 | |
| 1637 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1638 up dllimport attributes. | |
| 1639 (x_update_window_end): Update prototype. | |
| 1640 | |
| 1641 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
| 1642 extern, which screws up dllimport attributes. | |
| 1643 | |
| 1644 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1645 up dllimport attributes. | |
| 1646 | |
| 1647 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
| 1648 screws up dllimport attributes. | |
| 1649 | |
| 1650 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1651 up dllimport attributes. | |
| 1652 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
| 1653 screws up dllimport attributes. | |
| 1654 | |
| 1655 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1656 up dllimport attributes. | |
| 1657 | |
| 1658 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
| 1659 screws up dllimport attributes. | |
| 1660 | |
| 1661 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
| 1662 screws up dllimport attributes. | |
| 1663 | |
| 1664 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1665 up dllimport attributes. | |
| 1666 | |
| 1667 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
| 1668 unnecessary extern, which screws up dllimport attributes. | |
| 1669 (main): Ditto. | |
| 1670 | |
| 1671 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1672 up dllimport attributes. | |
| 1673 | |
| 1674 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
| 1675 unnecessary extern, which screws up dllimport attributes. | |
| 1676 | |
| 1677 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
| 1678 screws up dllimport attributes. | |
| 1679 | |
| 1680 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
| 1681 up dllimport attributes. | |
| 1682 | |
| 1683 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
| 1684 | |
| 1685 * w32bdf.c (search_file_line): | |
| 1686 (set_bdf_font_info): | |
| 1687 (seek_char): | |
| 1688 (w32_get_bdf_glyph): | |
| 1689 (w32_BDF_to_x_font): Fix compile warnings. | |
| 1690 | |
| 1691 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
| 1692 warnings. | |
| 1693 | |
| 1694 * w32select.c: Include keyboard.h before frame.h. | |
| 1695 | |
| 1696 * w32fns.c (max): Define macro. | |
| 1697 (JOHAB_CHARSET): Define if not known. | |
| 1698 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
| 1699 (Fx_show_tip): Synch with X version. | |
| 1700 | |
| 1701 * w32xfns.c: Include keyboard.h before frame.h. | |
| 1702 | |
| 1703 * w32fns.c: Include keyboard.h before frame.h. | |
| 1704 | |
| 1705 * w32term.c: Include keyboard.h before frame.h. | |
| 1706 | |
| 1707 * fontset.c: Include keyboard.h before frame.h. | |
| 1708 | |
| 1709 * w32inevt.c: Include keyboard.h before frame.h. | |
| 1710 (MOUSE_MOVED): Define if not known. | |
| 1711 | |
| 1712 * minibuf.c: Include keyboard.h before frame.h. | |
| 1713 | |
| 1714 * keyboard.c: Include keyboard.h before frame.h. | |
| 1715 | |
| 1716 * indent.c: Include keyboard.h before frame.h. | |
| 1717 | |
| 1718 * dispnew.c: Include keyboard.h before frame.h. | |
| 1719 | |
| 1720 * buffer.c: Include keyboard.h before frame.h. | |
| 1721 | |
| 1722 * alloc.c: Include keyboard.h before frame.h. | |
| 1723 | |
| 1724 * print.c: Include keyboard.h before frame.h. | |
| 1725 | |
| 1726 * process.c: Include keyboard.h before frame.h. | |
| 1727 | |
| 1728 * scroll.c: Include keyboard.h before frame.h. | |
| 1729 | |
| 1730 * sysdep.c: Include keyboard.h before frame.h. | |
| 1731 | |
| 1732 * term.c: Include keyboard.h before frame.h. | |
| 1733 | |
| 1734 * window.c: Include keyboard.h before frame.h. | |
| 1735 | |
| 1736 * xdisp.c: Include keyboard.h before frame.h. | |
| 1737 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
| 1738 | |
| 1739 * frame.c: Include keyboard.h before frame.h. | |
| 1740 | |
| 1741 * w32heap.h: Undefine min, max. | |
| 1742 | |
| 1743 * w32gui.h: Undefine min, max. | |
| 1744 | |
| 1745 * unexw32.c: Change PUCHAR to PCHAR. | |
| 1746 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
| 1747 (relocate_offset): | |
| 1748 (get_section_info): | |
| 1749 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
| 1750 (copy_executable_and_dump_data): Fix compile warnings. | |
| 1751 | |
| 1752 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
| 1753 | |
| 1754 * w32console.c (min): Define macro. | |
| 1755 (clear_frame, write_glyphs): Fix compile warning. | |
| 1756 | |
| 1757 * w32proc.c (compare_env): | |
| 1758 (find_child_console): Fix compile warning. | |
| 1759 | |
| 1760 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
| 1761 sys_errlist instead of _sys_errlist. | |
| 1762 (get_emacs_configuration_options): New function. | |
| 1763 | |
| 1764 * s/ms-w32.h (sys_nerr): Provide default definition. | |
| 1765 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
| 1766 name with _ prepended. | |
| 1767 (NSIG): Define if not known. | |
| 1768 (get_emacs_configuration): Provide extern declaration. | |
| 1769 (get_emacs_configuration_options): Provide extern declaration. | |
| 1770 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
| 1771 | |
| 1772 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
| 1773 (map_w32_filename): | |
| 1774 (read_unc_volume): Fix compile warning. | |
| 1775 | |
| 1776 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
| 1777 definitions from being used. | |
| 1778 | |
| 1779 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
| 1780 | |
| 1781 * w32.c (unc_volume_file_attributes): | |
| 1782 (open_unc_volume): Make arg const. | |
| 1783 | |
| 1784 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
| 1785 (read_input_waiting): Remove excess parameter. | |
| 1786 | |
| 1787 * w32.c (init_environment): Call _access. | |
| 1788 (check_windows_init_file): Call _close. | |
| 1789 (init_user_info): Call _putenv. | |
| 1790 (init_environment): Call _putenv and _strdup. | |
| 1791 (init_ntproc): Reset volume info cache on startup. | |
| 1792 | |
| 1793 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
| 1794 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
| 1795 cannot override the CRT malloc. | |
| 1796 | |
| 1797 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
| 1798 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
| 1799 | |
| 1800 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
| 1801 unless we are linking with a static CRT. | |
| 1802 (RVA_TO_PTR): Cast result to unsigned char*. | |
| 1803 | |
| 1804 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
| 1805 (add_volume_info): Use xstrdup. | |
| 1806 | |
|
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1807 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1808 |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1809 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1810 (do_completion, Fminibuffer_complete_word): Use it. |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1811 (syms_of_minibuf): Turn completion-auto-help into a proper Lisp |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1812 var so it can take non-boolean values. |
|
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1813 |
| 31004 | 1814 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
| 1815 | |
| 31017 | 1816 * editfns.c (find_field): Formatting changes. |
| 1817 (toplevel): Some old-style function forward declarations | |
| 1818 changed to prototypes, some new protypes added, some functions | |
| 1819 made static. | |
| 1820 | |
| 1821 * lisp.h (set_time_zone_rule): Add prototype. | |
| 1822 (use_dialog_box): External declaration. | |
| 1823 | |
| 31014 | 1824 * keyboard.c (gen_help_event): Add parameter SIZE. |
| 1825 (kbd_buffer_events_waiting): Slightly rewritten. | |
| 1826 (clear_event): New function. | |
| 1827 (kbd_buffer_get_event): Use it, and clear the input_events of | |
| 1828 HELP_EVENTs. | |
| 1829 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
| 1830 don't fill the newly created array with nils. | |
| 1831 (toplevel): Convert some old-style function forward declarations | |
| 1832 to prototypes. | |
| 1833 | |
| 1834 * keyboard.h (gen_help_event): Change prototype. | |
| 1835 | |
| 1836 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
| 1837 | |
| 1838 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
| 1839 | |
| 31004 | 1840 * eval.c (Fmacroexpand): Doc fix. |
| 1841 | |
| 30990 | 1842 2000-08-20 Jason Rumney <jasonr@gnu.org> |
| 1843 | |
| 1844 * w32term.h (x_display_info_for_display): Remove as this function | |
| 1845 does not exist on W32. | |
| 1846 | |
| 1847 * w32term.c (help_echo_window): New variable. | |
| 1848 (syms_of_w32term): staticpro it. | |
| 1849 (note_mode_line_highlight): Set it. | |
| 1850 (XTextExtents16): Removed as there is no equivalent on W32. | |
| 1851 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
| 1852 the X way of doing this will not work for W32. | |
| 1853 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
| 1854 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
| 1855 when image doesn't have a mask. | |
| 1856 (note_mouse_highlight): Process overlays in the right order of | |
| 1857 priority. Set help_echo_window. | |
| 1858 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
| 1859 because that's more visible for large images. | |
| 1860 | |
| 1861 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
| 1862 name to single_keymap_panes. | |
| 1863 (w32_menu_show): Set wv->title when dealing with titles. | |
| 1864 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
| 1865 | |
| 30977 | 1866 2000-08-21 Miles Bader <miles@gnu.org> |
| 1867 | |
| 1868 * minibuf.c (do_completion): Try again if we rewrite the input | |
| 1869 string, but no completion was done, so that any completion message | |
| 1870 will be correct. | |
| 1871 | |
| 30975 | 1872 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
| 1873 | |
| 1874 * xfaces.c (lface_equal_p): Compare strings differently. | |
| 1875 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
| 1876 (realize_tty_face): Use them. | |
| 1877 (syms_of_xfaces): Initialize new variables. | |
| 1878 (map_tty_color): New function, extracted from realize_tty_face. | |
| 1879 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
| 1880 foreground or background color, store the new color name in the | |
| 1881 realized face; previous code trying to do this had no effect. | |
| 1882 (realize_tty_face): Use map_tty_color. | |
| 1883 (Fclear_face_cache): Set face_change_count and ensure thorough | |
| 1884 redisplay. | |
| 1885 | |
| 30963 | 1886 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
| 1887 | |
| 30975 | 1888 * undo.c (record_first_change, record_marker_adjustment): Don't |
| 1889 use XBUFFER on last_undo_buffer which might not be a buffer. | |
| 30963 | 1890 |
| 30949 | 1891 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
| 1892 | |
| 1893 * coding.c (decode_coding_string): Set members consumed, | |
| 1894 consumed_char, produced, produced_char of *coding correctly. If | |
| 1895 decode_coding doesn't consume any byte, don't try anymore. | |
| 1896 (encode_coding_string): Likewise. | |
| 1897 | |
| 30944 | 1898 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
| 1899 | |
| 30975 | 1900 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
| 1901 conditional have void type, for Standard C compilers. | |
| 30944 | 1902 |
| 1903 * xdisp.c (redisplay_internal): Compare windows for equality with | |
| 1904 EQ, instead of applying XWINDOW to something that might not | |
| 1905 be a window. | |
| 1906 | |
| 30940 | 1907 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
| 1908 | |
| 1909 * fontset.c (Finternal_char_font): Search only the selected frame | |
| 1910 for a window of the current buffer. | |
| 1911 | |
| 30937 | 1912 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
| 1913 | |
| 30975 | 1914 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
| 30939 | 1915 Lisp_Objects. |
| 1916 | |
| 30937 | 1917 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
| 1918 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
| 1919 | |
| 30932 | 1920 2000-08-18 Miles Bader <miles@gnu.org> |
| 1921 | |
| 30935 | 1922 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
| 1923 | |
| 30932 | 1924 * editfns.c (save_restriction_save): Rewrite to use markers. |
| 1925 (save_restriction_restore): Rewrite to understand new form of data | |
| 1926 saved by save_restriction_save. | |
| 1927 (Fsave_restriction): Remove cautionary note in doc-string. | |
| 1928 | |
| 30928 | 1929 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
| 1930 | |
| 1931 * fileio.c (build_annotations): Add a comment explaining the | |
| 1932 return value of format-annotate-function. Replace a spurious call | |
| 1933 to Flength with a CONSP test. Call format-annotate-function with | |
| 1934 a fifth arg specifying how many times the function is been called | |
| 1935 in a row, to let it choose temporary buffers appropriately. | |
| 1936 | |
| 30919 | 1937 2000-08-17 Dave Love <fx@gnu.org> |
| 1938 | |
| 1939 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
| 1940 declare make_temp_name twice. | |
| 1941 | |
| 1942 * lread.c: Prototype readevalloop, load_unwind, | |
| 1943 load_descriptor_unwind. | |
| 1944 (unreadpure): Give it an arg. | |
| 1945 | |
| 1946 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
| 1947 update_dynamic_symbols. Declare unexec as void. | |
| 1948 | |
| 1949 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
| 1950 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
| 1951 | |
| 1952 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
| 1953 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
| 1954 DOUG_LEA_MALLOC. | |
| 1955 | |
| 1956 * alloca.c: Use #error. | |
| 1957 [POINTER_TYPE]: Use it. | |
| 1958 | |
| 1959 * eval.c (Fdefvar): Doc fix. | |
| 1960 | |
| 1961 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
| 1962 INITIALIZE_INTERVAL. | |
| 1963 | |
| 1964 * buffer.h: Avoid DECLARE_INTERVALS. | |
| 1965 | |
| 1966 * config.in: Add size_t. | |
| 1967 | |
| 30901 | 1968 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
| 1969 | |
| 1970 * w16select.c (set_clipboard_data): If there's not enough memory | |
| 1971 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
| 1972 expects. In case of other failures, return 3. | |
| 1973 (system_error_msg): New error message. | |
| 1974 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
| 1975 system_error_msg. | |
| 1976 | |
| 30849 | 1977 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
| 1978 | |
| 1979 * term.c (write_glyphs): Also turn off inverse video after turning | |
| 1980 off other appearances in case TS_exit_attribute_mode is not equal | |
| 1981 to TS_end_standout_mode. | |
| 1982 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
| 1983 with the same face. | |
| 1984 (turn_off_face): Reset standout_mode only if | |
| 1985 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
| 1986 is equal to TS_end_standout_mode. | |
| 1987 | |
| 30843 | 1988 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
| 1989 | |
| 30846 | 1990 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
| 1991 sequence at the end of the source block. | |
| 1992 | |
| 30843 | 1993 * ccl.c (Fccl_program_p): Docstring modified. |
| 1994 (Fccl_execute): Likewise. | |
| 1995 (Fccl_execute_on_string): Likewise. | |
| 1996 | |
| 30841 | 1997 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
| 1998 | |
| 1999 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
| 2000 | |
| 30830 | 2001 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
| 2002 | |
| 2003 The following changes are mainly to fix bugs of | |
| 2004 encode/decode-coding-string failing if encoding/decoding return | |
| 2005 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
| 2006 variable conversion_buffer. | |
| 2007 | |
| 2008 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
| 2009 decrement dst_end to avoid buffer overflow in the later call of | |
| 2010 string_as_multibyte | |
| 2011 | |
| 2012 * coding.h (conversion_buffer_size, conversion_buffer) | |
| 2013 (get_conversion_buffer): Extern deleted. | |
| 2014 | |
| 2015 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
| 2016 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
| 2017 (get_conversion_buffer): Function deleted. | |
| 2018 (struct conversion_buffer): New structure. | |
| 2019 (MAX_ALLOCA): New macro. | |
| 2020 (allocate_conversion_buffer): New macro. | |
| 2021 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
| 2022 (ccl_coding_driver): Set coding->result. | |
| 2023 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
| 2024 this is the last block of source. | |
| 2025 (encode_coding): Likewise. Handle the source block as the last | |
| 2026 one only when the whole source text is consumed. | |
| 2027 (decode_coding_string): Handle the case that the output buffer is | |
| 2028 too small to decode the whole source text. Use | |
| 2029 allocate_conversion_buffer, extend_conversion_buffer and | |
| 2030 free_conversion_buffer, not get_conversion_buffer. | |
| 2031 (encode_coding_string): Likewise. | |
| 2032 (init_coding): Function deleted. | |
| 2033 (init_coding_once): Delete code to initialize | |
| 2034 conversion_buffer_size. | |
| 2035 | |
| 2036 * emacs.c (main): Don't call init_coding. | |
| 2037 | |
| 2038 * msdos.c (IT_write_glyphs): Use a locally declared | |
| 2039 conversion_buffer. | |
| 2040 | |
| 2041 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
| 2042 (insert_glyphs): Likewise. | |
| 2043 | |
| 2044 * w32console.c (write_glyphs): Use a locally declared | |
| 2045 conversion_buffer. | |
| 2046 | |
| 30827 | 2047 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 2048 | |
| 2049 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
| 2050 member of display_info is NULL. | |
| 2051 | |
| 30822 | 2052 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
| 2053 | |
| 30825 | 2054 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
| 2055 assertion. | |
| 2056 | |
| 30822 | 2057 * term.c (turn_off_face): Reset standout_mode when resetting |
| 30825 | 2058 appearances with capability `me'. |
| 30822 | 2059 (write_glyphs): Switch on inverse video before each face change. |
| 2060 | |
| 30785 | 2061 2000-08-14 Dave Love <fx@gnu.org> |
| 2062 | |
| 2063 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
| 2064 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
| 2065 (lisp_free): Declare and make static. | |
| 2066 | |
| 2067 * window.c: Fix embedded comment. | |
| 2068 (syms_of_window): Fix doc string. | |
| 2069 | |
| 30781 | 2070 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
| 2071 | |
| 2072 * keymap.c (push_key_description): If C without modifiers is < 32, | |
| 2073 make sure to print `C-' before `M-', like in the manual. | |
| 2074 | |
| 30762 | 2075 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
| 2076 | |
| 2077 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
| 2078 since they aren't relocated anymore. | |
| 2079 (sxhash_string): Make sure returned hash code fits in a Lisp | |
| 2080 integer. | |
| 2081 | |
| 2082 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
| 2083 partially visible line which is smaller than the window's | |
| 2084 height. | |
| 2085 | |
| 30753 | 2086 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
| 2087 | |
| 2088 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
| 2089 the multibyte form of eight-bit-control characters. | |
| 2090 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
| 2091 | |
| 2092 * ccl.h (struct ccl_program): New member multibyte. | |
| 2093 | |
| 2094 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
| 2095 | |
| 30751 | 2096 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
| 2097 | |
| 2098 * regex.c (regex_compile) <normal_char>: Pay attention to | |
| 2099 multibyteness. | |
| 2100 (analyse_first) <exactn>: Setup fastmap correctly for | |
| 2101 eight-bit-control characters. | |
| 2102 | |
| 2103 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
| 2104 | |
| 2105 * termhooks.h (enum event_kind): New member | |
| 2106 multibyte_char_keystroke. | |
| 2107 | |
| 2108 * keyboard.c (make_lispy_event): Handle the new event type | |
| 2109 multibyte_char_keystroke. | |
| 2110 | |
| 2111 * xterm.c: Include coding.h. | |
| 2112 (XTread_socket): Work around a bug of XmbLookupString. If the | |
| 2113 input is from XIM, decode it according to the current locale. In | |
| 2114 that case, generate multibyte_char_keystroke events. | |
| 2115 | |
| 30746 | 2116 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
| 2117 | |
| 2118 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
| 2119 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
| 2120 | |
| 30745 | 2121 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
| 2122 | |
| 2123 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
| 2124 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
| 2125 (move_it_in_display_line_to): Record iterator's ascent and descent | |
| 2126 before producing glyphs, and restore them when we know the glyph | |
| 2127 doesn't fit on the line. | |
| 2128 (move_it_to): Restructured so that it's easier to debug. If | |
| 2129 moving to a vpos, and not moving to an x or character position, | |
| 2130 stop as soon as the specified vpos is reached; don't move further | |
| 2131 into that line because that might change the computed line height. | |
| 2132 (try_cursor_movement): New function, extracted from the cursor | |
| 2133 movement branch of redisplay_window. If ending on a partially | |
| 2134 visible line, don't try to scroll if the cursor line is taller | |
| 2135 than the window. | |
| 2136 (redisplay_window): Use try_cursor_movement. | |
| 2137 | |
| 2138 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
| 2139 because that function doesn't cope with variable-height lines. | |
| 2140 | |
| 2141 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
| 2142 box cursor because that's better visible for large images. | |
| 2143 | |
| 30737 | 2144 2000-08-10 Miles Bader <miles@gnu.org> |
| 2145 | |
| 2146 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
| 2147 | |
| 30729 | 2148 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
| 2149 | |
| 2150 * xdisp.c (Vmessages_buffer_name): New variable. | |
| 2151 (message_dolog): Use it. | |
| 2152 (syms_of_xdisp): Initialize it. | |
| 2153 | |
| 30726 | 2154 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
| 2155 | |
| 2156 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
| 2157 overlays_at. | |
| 2158 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
| 2159 redundant now that keyboard.h is included. | |
| 2160 | |
| 30715 | 2161 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
| 2162 | |
| 2163 * keyboard.c (kbd_buffer_events_waiting): New function. | |
| 2164 | |
| 2165 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
| 2166 | |
| 2167 * msdos.c: Include keyboard.h. | |
| 2168 (XMenuActivate): Empty no_event events from the event buffer. If | |
| 2169 no events are left after that, call clear_input_pending. | |
| 2170 (mouse_clear_clicks): New function, code moved from mouse_init. | |
| 2171 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
| 2172 mouse driver to ``forget'' any past clicks. | |
| 2173 | |
| 2174 * Makefile.in (msdos.o): Depend on keyboard.h. | |
| 2175 | |
| 30708 | 2176 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
| 2177 | |
| 30724 | 2178 * lisp.h (input_pending): External declaration. |
| 2179 | |
| 2180 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
| 2181 | |
| 2182 * xdisp.c (echo_area_display): Display thoroughly if input is | |
| 2183 pending. Bind redisplay-dont-pause to t during the redisplay. | |
| 2184 in case input is pending. | |
| 2185 | |
| 2186 * dispnew.c (Qredisplay_dont_pause): New variable. | |
| 2187 (syms_of_display): Initialize and staticpro it. | |
| 2188 (update_frame_1): Don't interrupt the display for pending input if | |
| 2189 redisplay_dont_pause is set. | |
| 2190 | |
| 30714 | 2191 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
| 2192 | |
| 30708 | 2193 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
| 2194 | |
| 30702 | 2195 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
| 2196 | |
| 2197 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
| 2198 the post-read-conversion of coding system. | |
| 2199 | |
| 30701 | 2200 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
| 2201 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
| 2202 * buffer.h (overlays_at): Update prototype. | |
| 2203 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
| 2204 * xfaces.c (face_at_buffer_position): Likewise. | |
| 2205 * textprop.c (Fget_char_property): Likewise. | |
| 2206 * xterm.c (note_mouse_highlight): Likewise. | |
| 2207 | |
| 30685 | 2208 * minibuf.c (do_completion): Don't consider a simple change of |
| 2209 case as `completion'. | |
| 2210 | |
|
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2211 2000-08-08 Ken Raeburn <raeburn@gnu.org> |
|
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2212 |
|
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2213 * keyboard.c (syms_of_keyboard): Initialize |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2214 last_point_position_buffer. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2215 * undo.c (record_delete): Make sure last_point_position_buffer is |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2216 a buffer before comparing pointers. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2217 |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2218 * coding.h (decode_coding_string): Declare. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2219 |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2220 * intervals.h (Fprevious_single_char_property_change): Declare. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2221 |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2222 * textprop.c (Fprevious_single_char_property_change): Don't do |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2223 arithmetic directly on lisp objects. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2224 |
| 30693 | 2225 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
|
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2226 objects. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2227 |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2228 * keyboard.h (menu_item_eval_property): Declare. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2229 |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2230 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2231 reuse as buffer name, instead of recreating (and discarding) every |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2232 time a message is logged. |
|
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2233 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
| 30693 | 2234 (current_message_1, truncate_message_1, set_message_1) |
| 2235 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
| 2236 (current_message, truncate_echo_area, display_echo_area) | |
| 2237 (resize_echo_area_axactly): Changed calls. | |
|
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2238 |
|
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2239 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
| 30693 | 2240 Lisp object. |
|
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2241 (Ffind_coding_systems_region_internal): First argument to Fappend |
| 30693 | 2242 must be an integer, not a Lisp object. |
|
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2243 |
| 30672 | 2244 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
| 2245 | |
| 2246 * charset.c (Fchar_width): Doc fix. | |
| 2247 | |
| 30671 | 2248 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
| 2249 | |
| 2250 * charset.c (Fstring_width): Doc fix. | |
| 2251 | |
| 30632 | 2252 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
| 2253 | |
| 30708 | 2254 * xdisp.c (start_display): When starting display on a continuation |
| 30654 | 2255 line, clear ascent and descent members of the iterator structure; |
| 2256 the height of the continued line does not affect the height of the | |
| 2257 continuation line. | |
| 2258 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
| 2259 line taller than the window. | |
| 2260 (redisplay_window) <forced window start>: Handle case that the | |
| 2261 middle of the window is not found in any row. | |
| 2262 (dump_glyph_row): Show more information. | |
| 2263 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
| 2264 first text line in a glyph matrix. | |
| 2265 | |
| 2266 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
| 2267 of the clip area when image doesn't have a mask. | |
| 2268 | |
| 30639 | 2269 * fns.c (sweep_weak_table): Fix survival conditions for |
| 2270 key-or-value and key-and-value weakness. | |
| 2271 | |
| 2272 * .gdbinit (xhashtable): New command. | |
| 2273 | |
| 30635 | 2274 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
| 2275 tables out of the list of all weak hash tables. | |
| 2276 | |
| 30632 | 2277 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
| 30633 | 2278 a new buffer is created, make sure echo_area_buffer[] references |
| 2279 the new buffer. | |
| 30632 | 2280 |
| 30629 | 2281 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 2282 | |
| 2283 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
| 2284 the doc string. | |
| 2285 | |
| 30625 | 2286 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
| 2287 | |
| 2288 * syntax.c (skip_chars): Fix previous change. Make the handling | |
| 2289 of unibyte string consistent with that of regex search. | |
| 2290 | |
| 30603 | 2291 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
| 2292 | |
| 30614 | 2293 * xmenu.c (popup_get_selection): Use xfree instead of free. |
| 2294 | |
| 2295 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
| 2296 | |
| 2297 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
| 2298 | |
| 2299 * callproc.c (child_setup): Use xfree instead of free. | |
| 2300 | |
| 2301 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
| 2302 instead of malloc. | |
| 2303 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
| 2304 | |
| 2305 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
| 2306 | |
| 2307 * eval.c (error): Use xfree instead of free. | |
| 2308 | |
| 30603 | 2309 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
| 2310 | |
| 2311 * fns.c: Replace `illegal' with `invalid'. | |
| 30614 | 2312 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
| 30603 | 2313 |
|
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2314 2000-08-05 Kenichi Handa <handa@etl.go.jp> |
|
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2315 |
|
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2316 * syntax.c (skip_chars): Fix handling of multibyte<->unibyte |
|
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2317 conversion. |
|
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2318 |
|
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2319 2000-08-04 Noah Friedman <friedman@splode.com> |
|
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2320 |
|
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2321 * fns.c (Fmake_hash_table): Add missing `\n\' to end of line in |
|
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2322 docstring. |
|
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2323 |
| 30595 | 2324 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
| 2325 | |
| 2326 * syntax.c (skip_chars): Fix typo in error message. | |
| 2327 | |
|
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2328 2000-08-04 Andreas Schwab <schwab@suse.de> |
|
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2329 |
|
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2330 * m/ia64.h: Moved from s/ia64.h. |
|
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2331 |
| 30577 | 2332 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
| 2333 | |
| 30582 | 2334 * process.c (read_process_output): Big simplification. Handle |
| 2335 composition and post-read-conversion of coding system correctly. | |
| 2336 (send_process): Handle composition correctly. | |
| 2337 | |
| 2338 * callproc.c (Fcall_process): Handle post-read-conversion of | |
| 2339 coding system if any. | |
| 2340 | |
| 30577 | 2341 * coding.c (decode_coding_iso2022): More strict check for handling |
| 2342 single shifting. | |
| 30582 | 2343 (coding_restore_composition): Pay attention to the case that |
| 2344 cmp_data is not set properly (because of invalid code in the | |
| 2345 source text). | |
| 2346 (run_pre_post_conversion_on_str): Include text properties in the | |
| 2347 resulting string. | |
| 2348 (decode_coding_string): Set members of coding correctly. | |
| 30577 | 2349 |
| 30576 | 2350 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
| 2351 | |
| 2352 * s/ia64.h: New file. | |
| 2353 | |
| 2354 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
| 2355 Use NULL instead of 0 at the end of variable argument list of | |
| 2356 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
| 2357 sizeof (int) < sizeof (void *). | |
| 2358 | |
| 2359 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
| 2360 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
| 2361 | |
| 2362 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
| 2363 variable argument lists of XtVaGetValues and XtVaSetValues. | |
| 2364 | |
| 30564 | 2365 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
| 2366 | |
| 2367 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
| 2368 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
| 2369 | |
| 2370 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
| 2371 prototype. | |
| 2372 | |
| 2373 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
| 2374 in call to Fsingle_key_description. | |
| 2375 | |
| 2376 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
| 2377 Callers changed. | |
| 2378 | |
| 2379 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
| 2380 | |
| 2381 * window.c (display_buffer_reuse_frames): New variable. | |
| 2382 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
| 2383 frames displaying BUFFER. | |
| 2384 (syms_of_window): Define Lisp variable | |
| 2385 display-buffer-reuse-frames. | |
| 2386 | |
| 30551 | 2387 2000-08-01 Miles Bader <miles@gnu.org> |
| 2388 | |
| 2389 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
| 2390 when to constrain NEW_POS (they were pretty screwed up before). | |
| 2391 | |
| 30531 | 2392 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
| 2393 | |
| 2394 * msdos.c (run_msdos_command): Save and restore the master | |
| 2395 environment, for the case that child_setup signals an error. | |
| 2396 When mirroring slashes in DOS shell commands, don't fail when | |
| 2397 argv[2] has embedded blanks. | |
| 30533 | 2398 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
| 2399 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
| 2400 (dos_ttraw): Call mouse_setup_buttons. | |
| 30531 | 2401 |
| 2402 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
| 2403 using alloca; free it after run_msdos_command returns. | |
| 2404 | |
| 30507 | 2405 2000-07-27 Dave Love <fx@gnu.org> |
| 2406 | |
| 2407 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
| 2408 define. | |
| 2409 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
| 2410 working. | |
| 2411 | |
| 2412 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
| 2413 | |
| 30504 | 2414 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 2415 | |
| 2416 * editfns.c (lisp_time_argument): Fix last change. | |
| 2417 | |
| 30502 | 2418 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
| 2419 | |
| 30511 | 2420 * fns.c (Fdelete): Make it work on vectors and strings in addition |
| 2421 to lists. | |
| 2422 | |
| 30502 | 2423 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
| 2424 (syms_of_fns): Initialize new variables. | |
| 2425 (sweep_weak_table): Handle weakness `key-or-value' and | |
| 2426 `key-and-value'. | |
| 2427 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
| 2428 weakness, with t meaning the same as `key-and-value'. | |
| 2429 | |
| 30490 | 2430 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
| 2431 | |
| 2432 * coding.h (struct coding_system): Member safe_charset deleted. | |
| 2433 | |
| 2434 * coding.c (Qsafe_charsets): This variable deleted. | |
| 2435 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
| 2436 variables. | |
| 2437 (coding_safe_chars): New function. | |
| 2438 (CODING_SAFE_CHAR_P): New macro. | |
| 2439 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
| 2440 checking safe_charsets member of the coding system. Caller | |
| 2441 changed. | |
| 2442 (detect_coding_iso2022): New local variable safe_chars. | |
| 2443 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
| 2444 safe_charsets member of the coding system. | |
| 2445 (decode_coding_iso2022): New local variable safe_chars. | |
| 2446 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
| 2447 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
| 2448 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
| 2449 (ENCODE_UNSAFE_CHARACTER): New macro. | |
| 2450 (encode_coding_iso2022): New local variable safe_chars. Check | |
| 2451 unsafe chars. | |
| 2452 (setup_coding_system): Delete the code to initialize | |
| 2453 coding->safe_charses | |
| 2454 (intersection, find_safe_codings): New functions. | |
| 2455 (Ffind_coding_systems_region_internal): New function. | |
| 2456 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
| 2457 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
| 2458 variable and initialize it. | |
| 2459 | |
| 2460 * fns.c (char_table_ref_and_index): New function. | |
| 2461 | |
| 2462 * lisp.h (char_table_ref_and_index): Add prototype. | |
| 2463 | |
| 30480 | 2464 2000-07-26 Sam Steingold <sds@gnu.org> |
| 2465 | |
| 2466 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
| 30511 | 2467 (Ffloat_time): New built-in Lisp function. |
| 30480 | 2468 |
| 30473 | 2469 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
| 2470 | |
| 30477 | 2471 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
| 2472 for the character code. | |
| 2473 | |
| 2474 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
| 2475 GNU/Linux. | |
| 2476 | |
| 30473 | 2477 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
| 2478 if called for a popup menu. | |
| 2479 (xmenu_show): Store help string in widget values. | |
| 2480 | |
| 30466 | 2481 2000-07-26 Dave Love <fx@gnu.org> |
| 2482 | |
| 2483 * syswait.h: Move some definitions. | |
| 2484 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
| 2485 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
| 2486 perspicuous definitions. | |
| 2487 (WTERMSIG): Fix bit pattern used. | |
| 2488 | |
| 30460 | 2489 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
| 2490 | |
| 2491 * print.c (print_object): If vector printing is truncated, print | |
| 2492 "..." to indicate it as well as the case of list printing. | |
| 2493 | |
| 30444 | 2494 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
| 2495 | |
| 30449 | 2496 * xdisp.c (next_element_from_display_vector): Improve comments. |
| 2497 | |
| 2498 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
| 2499 for the character code, and the rest for the face id as in 20.x. | |
| 2500 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
| 2501 | |
| 2502 * window.c (window_display_table): Cleaned up. | |
| 2503 | |
| 30444 | 2504 * syntax.c (Fforward_word): Add last arg nil in call of |
| 2505 Fconstrain_to_field. | |
| 2506 | |
| 30442 | 2507 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 2508 | |
| 30449 | 2509 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
| 30442 | 2510 identical but for the letter-case, don't call |
| 2511 barf_or_query_if_file_exists. | |
| 2512 | |
| 30438 | 2513 2000-07-25 Miles Bader <miles@gnu.org> |
| 2514 | |
| 2515 * editfns.c (find_field): Honor special `boundary' fields. | |
| 2516 (Qboundary): New variables. | |
| 2517 (syms_of_editfns): Initialize Qboundary. | |
| 2518 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
| 2519 Use scan_buffer instead of find_before_next_newline, because it | |
| 2520 allows us to detect the boundary case where there's a newline at | |
| 2521 the search limit. | |
| 2522 * lisp.h (Fconstrain_to_field): Update external declaration. | |
| 2523 | |
| 30433 | 2524 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
| 2525 | |
| 2526 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
| 2527 if that is nil. | |
| 30438 | 2528 |
| 30431 | 2529 2000-07-24 Dave Love <fx@gnu.org> |
| 2530 | |
| 2531 * s/sunos4-0.h, s/sol2.h: | |
| 2532 (LIBS_TERMCAP): Move from m/sparc.h. | |
| 2533 | |
| 2534 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
| 2535 relevant for sunos4 judging by its vintage). | |
| 2536 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
| 2537 __arch64__. | |
| 2538 | |
| 30424 | 2539 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
| 2540 | |
| 2541 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
| 2542 name to single_keymap_panes. | |
| 2543 | |
| 30418 | 2544 2000-07-24 Andreas Schwab <schwab@suse.de> |
| 2545 | |
| 2546 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
| 2547 | |
| 30415 | 2548 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
| 2549 | |
| 2550 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
| 2551 parameters instead of using int parameters. Expect FN to accept | |
| 2552 EMACS_INT parameters. | |
| 2553 (display_echo_area, resize_echo_area_axactly, current_message) | |
| 2554 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
| 2555 with new argument list. | |
| 2556 (resize_mini_window_1): New callback function. | |
| 2557 (current_message_1, truncate_message_1, set_message_1): Change | |
| 2558 parameter lists to the new format expected by | |
| 2559 with_echo_area_buffer. | |
| 2560 | |
| 30397 | 2561 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
| 2562 | |
| 2563 * fontset.c (fontset_ref): Remove INLINE declaration. | |
| 2564 (fontset_ref_via_base): Likewise. | |
| 2565 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
| 2566 to downcase. | |
| 2567 | |
| 30382 | 2568 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 2569 | |
| 2570 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
| 2571 correct order of priority. If help echo was found in an overlay, | |
| 2572 use that overlay as the object in which the help echo was found. | |
| 2573 | |
| 30378 | 2574 2000-07-22 Miles Bader <miles@gnu.org> |
| 2575 | |
| 2576 * textprop.c (Fprevious_single_char_property_change): The initial | |
| 2577 property value should be from the position preceding POSITION, not | |
| 2578 following it. | |
| 2579 | |
| 30377 | 2580 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
| 2581 | |
| 2582 * coding.c (syms_of_coding): Doc fix for | |
| 2583 inhibit-iso-escape-detection. | |
| 2584 | |
| 30364 | 2585 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
| 2586 | |
| 30372 | 2587 * xterm.c (note_mouse_highlight): Process overlays in the right |
| 2588 order of priority. | |
| 30480 | 2589 |
| 30370 | 2590 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
| 2591 | |
| 2592 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
| 2593 overlay, use that overlay as the object in which the help was | |
| 2594 found. | |
| 2595 | |
| 30367 | 2596 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
| 30480 | 2597 |
| 30364 | 2598 * window.c (foreach_window): Instead of a fake variable argument |
| 2599 list, take one USER_DATA argument. | |
| 2600 (foreach_window_1): Likewise, and call callback functions with two | |
| 2601 args, the window and USER_DATA. | |
| 2602 (struct check_window_data): New struct. | |
| 2603 (check_window_containing): Use it. | |
| 2604 (window_from_coordinates): Set up a struct check_window_data for | |
| 2605 foreach_window. | |
| 2606 (add_window_to_list, freeze_window_start): Change parameters | |
| 2607 according to new calling convention. | |
| 2608 | |
| 2609 * window.h (foreach_window): Change prototype. | |
| 2610 | |
| 2611 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
| 2612 | |
| 2613 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
| 2614 | |
| 2615 * xmenu.c (menu_help_callback): Call show_help_echo with | |
| 2616 additional arguments OBJECT and POS. | |
| 2617 | |
| 30355 | 2618 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
| 2619 | |
| 30357 | 2620 * data.c (Faset): Allow storing any multibyte character in a |
| 2621 string. Convert unibyte string to multibyte if necessary. | |
| 2622 | |
| 30355 | 2623 * xfns.c (x_encode_text): New function. |
| 2624 (x_set_name): Use x_encode_text. | |
| 2625 (x_set_title): Likewise. | |
| 2626 | |
| 2627 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
| 2628 | |
| 2629 * xterm.h (x_encode_text): Add prototype. | |
| 2630 | |
| 30346 | 2631 2000-07-20 Dave Love <fx@gnu.org> |
| 2632 | |
| 2633 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
| 2634 xfree, not free. | |
| 2635 | |
| 30342 | 2636 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
| 2637 | |
| 2638 * msdos.c (help_echo_window): New variable. | |
| 2639 (syms_of_msdos): Initialize and staticpro it. | |
| 2640 (IT_note_mode_line_highlight): Set help_echo_window. | |
| 2641 (IT_note_mouse_highlight): Ditto. | |
| 2642 (dos_rawgetc): Store help_echo_window in the second event produced | |
| 2643 for HELP_EVENTs. | |
| 2644 | |
| 2645 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
| 2646 Record the object that generated the help echo and the position of | |
| 2647 that object in help_echo_object and help_echo_pos. Record that | |
| 2648 some glyphs in a row are displayed in mouse-face. | |
| 2649 (IT_update_begin): Don't clear mouse highlight unless one of the | |
| 2650 enabled glyph rows is marked as being displayed in mouse-face. | |
| 2651 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
| 2652 and position recorded in help_echo_object and help_echo_pos to the | |
| 2653 event queue. | |
| 2654 (IT_menu_display): Accept a new argument PN: the pane number of | |
| 2655 the current menu pane. Record the pane number and the item | |
| 2656 number of the item which has associated help string. | |
| 2657 (XMenuActivate): Update the prototype for help_callback in | |
| 2658 function declaration. Call IT_menu_display with the current menu | |
| 2659 pane number as an additional argument. Call help_callback with | |
| 2660 two additional arguments: the pane number and the item number of | |
| 2661 the menu item associated with the help text. | |
| 2662 (help_echo_object, help_echo_pos): New variables. | |
| 2663 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
| 2664 | |
| 2665 * msdos.h (XMenuActivate): Update prototype. | |
| 2666 | |
| 30318 | 2667 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
| 2668 | |
| 30329 | 2669 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
| 2670 Add some more prototypes. | |
| 2671 | |
| 2672 * xterm.c, xterm.h: Add some more prototypes. | |
| 2673 | |
| 2674 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
| 2675 | |
| 2676 * dispnew.c (direct_output_for_insert): Remove confusing | |
| 2677 outer local variable mouse_face_overwritten_p. | |
| 2678 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
| 2679 | |
| 30318 | 2680 * alloc.c (allocate_string_data): Don't copy old string contents. |
| 2681 | |
| 30314 | 2682 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
| 2683 | |
| 2684 * coding.c (code_convert_region): Delete text properties before | |
| 2685 shrinking the conversion region. | |
| 2686 | |
| 30303 | 2687 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
| 2688 | |
| 30308 | 2689 * dispnew.c (update_text_area): Write the whole row if it |
| 2690 has mouse-face in it. | |
| 2691 | |
| 30305 | 2692 * xfaces.c (face-alternative-font-family-alist): Remove |
| 2693 DEFVAR_LISP; staticpro instead. | |
| 2694 | |
| 30480 | 2695 * xmenu.c (menu_help_callback): Call show_help_echo with |
| 30303 | 2696 new arguments. |
| 2697 | |
| 2698 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
| 2699 (read_char): Call show_help_echo with window extracted from Lisp | |
| 2700 help event. | |
| 2701 (gen_help_event): Add parameter WINDOW. | |
| 2702 | |
| 2703 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
| 2704 | |
| 2705 * xterm.c (help_echo_window): New variable. | |
| 2706 (note_mouse_highlight, note_tool_bar_highlight): Set | |
| 2707 help_echo_window. | |
| 2708 (XTread_socket): Pass help_echo_window to gen_help_event. | |
| 2709 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
| 2710 | |
| 30298 | 2711 2000-07-18 Dave Love <fx@gnu.org> |
| 2712 | |
| 2713 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
| 2714 systime.h. | |
| 2715 | |
| 30290 | 2716 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
| 2717 | |
| 30296 | 2718 * alloc.c (allocate_string_data): If string had already data |
| 2719 assigned, copy old contents to new string data. | |
| 2720 | |
| 2721 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
| 2722 `inhibit-iso-escape-detection'. | |
| 2723 | |
| 30290 | 2724 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
| 2725 | |
| 2726 * Makefile.in: Add dependencies on dispextern.h. | |
| 2727 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
| 2728 `free'; both can conflict with system header files. | |
| 2729 | |
| 30281 | 2730 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
| 2731 | |
| 2732 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
| 2733 undefined. | |
| 2734 | |
| 30266 | 2735 2000-07-18 Dave Love <fx@gnu.org> |
| 2736 | |
| 2737 * window.c (Fwindow_list): Declare arg `window'. | |
| 2738 | |
| 30262 | 2739 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
| 2740 | |
| 2741 * coding.c (setup_coding_system): Don't override the explicitly | |
| 2742 specified designations. | |
| 2743 | |
| 30245 | 2744 2000-07-15 Miles Bader <miles@gnu.org> |
| 2745 | |
| 2746 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
| 2747 from `text_property_eq' and `text_property_stickiness', respectively. | |
| 2748 (find_field, Fconstrain_to_field, char_property_eq) | |
| 2749 (char_property_stickiness): Changed to call char-property functions | |
| 2750 instead of text-property-only ones. | |
| 2751 | |
| 2752 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
| 2753 `next_single_char_property_change'). Do more error checking, and | |
| 2754 cleanup limit behavior. | |
| 2755 (Fprevious_single_char_property_change): New function. | |
| 2756 (syms_of_textprop): Initialize new subrs. | |
| 2757 | |
| 2758 * xdisp.c (display_prop_end, invisible_text_between_p): | |
| 2759 Call Fnext_single_char_property_change instead of | |
| 2760 next_single_char_property_change. | |
| 2761 | |
| 30241 | 2762 2000-07-15 Jason Rumney <jasonr@gnu.org> |
| 2763 | |
| 2764 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
| 2765 after menu is finished with. | |
| 2766 (add_menu_item): Only consider wv->title as a menu title. | |
| 2767 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
| 2768 | |
| 2769 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
| 2770 null title. | |
| 2771 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
| 2772 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
| 2773 | |
| 2774 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
| 2775 (note_mode_line_highlight): Store additional information about the | |
| 2776 help-echo in help_echo_object and help_echo_pos. Check both | |
| 2777 `local-map' and `keymap' properties for changing the cursor | |
| 2778 (note_mouse_highlight): Store additional information about the | |
| 2779 help-echo in help_echo_object and help_echo_pos. | |
| 2780 (note_tool_bar_highlight): Set help_echo_object to nil and | |
| 2781 help_echo_pos to -1. | |
| 2782 (w32_read_socket): Use gen_help_event instead of filling | |
| 2783 input_events manually. | |
| 2784 (syms_of_w32term): Staticpro help_echo_object. | |
| 2785 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
| 2786 set, arrange for a mouse-highlight redisplay in | |
| 2787 XTframe_up_to_date. | |
| 2788 (x_clear_mouse_face): New function. | |
| 2789 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
| 2790 (x_update_window_begin): No need to turn off the mouse | |
| 2791 highlight here. | |
| 2792 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
| 2793 depending on whether they contain glyphs highlighted in | |
| 2794 mouse-face. | |
| 2795 (x_fill_stretch_glyph_string): Consume runs of stretch | |
| 2796 glyphs instead of a single one. | |
| 2797 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
| 2798 with new argument list. | |
| 2799 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
| 2800 (x_append_glyph, x_append_composite_glyph) | |
| 2801 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
| 2802 changes in struct glyph starting 1999-12-27. See comments for | |
| 2803 xterm.c on 2000-07-05. | |
| 2804 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2805 2000-07-14 Sam Steingold <sds@gnu.org> |
|
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2806 |
|
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2807 * xfaces.c (realize_x_face): Fix the last patch: |
|
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2808 check `default_face' before dereferencing. |
|
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2809 |
| 30229 | 2810 2000-07-14 Dave Love <fx@gnu.org> |
| 2811 | |
| 30266 | 2812 * syntax.c (back_comment): Add null default in switch (for pcc). |
| 30229 | 2813 |
| 30206 | 2814 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
| 2815 | |
| 30210 | 2816 * xfaces.c (realize_x_face): Make fontset using the base of the |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2817 default_face's fontset, not using the default fontset. |
| 30210 | 2818 |
| 30206 | 2819 * coding.c (inhibit_iso_escape_detection): New variable. |
| 2820 (syms_of_coding): Make it a Lisp variable. | |
| 2821 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
| 2822 nonzero, ignore ISO2022's escape sequence. | |
| 2823 | |
| 30203 | 2824 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
| 2825 | |
| 30234 | 2826 * alloca.c (malloc) [emacs]: Define as xmalloc. |
| 2827 | |
| 30226 | 2828 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
| 2829 use that instead of the mouse position. Add parameters DX and DY. | |
| 2830 | |
| 2831 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
| 2832 in prototype. | |
| 2833 | |
| 30219 | 2834 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
| 2835 if HELP is a function, call it with OBJECT and POS as parameters | |
| 2836 to get the help to display. | |
| 2837 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
| 2838 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
| 2839 (read_char): Call show_help_echo with new parameters. | |
| 2840 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2841 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
| 30219 | 2842 Add prototypes. |
| 2843 | |
| 2844 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
| 2845 (note_mode_line_highlight): Store additional information about the | |
| 2846 help-echo in help_echo_object and help_echo_pos. Check both | |
| 2847 `local-map' and `keymap' properties for changing the cursor | |
| 2848 (note_mouse_highlight): Store additional information about the | |
| 2849 help-echo in help_echo_object and help_echo_pos. | |
| 2850 (note_tool_bar_highlight): Set help_echo_object to nil and | |
| 2851 help_echo_pos to -1. | |
| 2852 (XTread_socket): Use gen_help_event instead of filling | |
| 2853 input_events manually. | |
| 2854 (syms_of_xterm): Staticpro help_echo_object. | |
| 2855 | |
| 2856 * xmenu.c (menu_highlight_callback): Use | |
| 2857 kbd_buffer_store_help_event instead of setting up and input_event | |
| 2858 structure manually. | |
| 2859 | |
| 2860 * xdisp.c (eval_form): GCPRO argument sexpr. | |
| 2861 (call_function): New function. | |
| 2862 (handle_single_display_prop): Use call_function and FUNCTIONP | |
| 2863 instead of checking whether if font_height is a symbol and | |
| 2864 using eval_form. | |
| 2865 | |
| 2866 * eval.c (internal_condition_case_2): New function. | |
| 2867 | |
| 2868 * lisp.h (FUNCTIONP): New macro. | |
| 2869 (internal_condition_case_2, call_function): Add prototypes. | |
| 2870 | |
| 30203 | 2871 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
| 2872 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
| 2873 Always set `arg' member of input_events. | |
| 2874 (construct_menu_click): Unused function removed. | |
| 2875 | |
| 2876 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
| 2877 | |
| 2878 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
| 2879 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
| 2880 (w32_read_socket): Always set `arg' member of input_events. | |
| 2881 | |
| 2882 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
| 2883 | |
| 2884 * lisp.h (eval_form): Add prototype. | |
| 2885 | |
| 2886 * xdisp.c (eval_form): Make it externally visible. | |
| 2887 | |
| 30183 | 2888 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
| 2889 | |
| 2890 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
| 2891 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
| 2892 consing. For prefix events, store the frame in the `arg' slot of | |
| 2893 the event, otherwise store the key there. | |
| 2894 (XTread_socket): Instead of consing, use the frame_or_window slot | |
| 2895 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
| 2896 string. | |
| 2897 | |
| 2898 * xmenu.c (menu_highlight_callback): Store help string in the | |
| 2899 `arg' member of the input event; don't cons. | |
| 2900 (menubar_selection_callback): Use the `arg' slot of input events | |
| 2901 to queue additional information, instead of consing. | |
| 2902 | |
| 2903 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
| 2904 | |
| 2905 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
| 2906 TOOL_BAR_EVENTs. | |
| 2907 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
| 2908 | |
| 2909 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
| 2910 input events to queue additional information, instead of consing. | |
| 2911 | |
| 2912 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
| 2913 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
| 2914 referenced from the input queue. | |
| 2915 (kbd_buffer_store_event): Always use structure assignment for | |
| 2916 copying input events. Record all Lisp objects referenced from | |
| 2917 events in kbd_buffer_gcpro. | |
| 2918 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
| 2919 differently from input events. Test for prefix menu_bar_events | |
| 2920 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
| 2921 event in kbd_buffer_gcpro to nil. | |
| 2922 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
| 2923 frame_or_window is equal to its arg member as prefix events. | |
| 2924 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
| 2925 used by an input event to nil. | |
| 2926 (init_keyboard): Use two times the size of the input queue | |
| 2927 for kbd_buffer_gcpro. | |
| 2928 (syms_of_keyboard): Likewise. | |
| 2929 | |
| 2930 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
| 2931 USER_SIGNAL_EVENT. | |
| 2932 | |
| 2933 * termhooks.h (struct input_event): Add member `arg'. | |
| 2934 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
| 2935 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
| 2936 | |
| 2937 * xfaces.c (ASET): Remove definition. | |
| 2938 | |
| 2939 * lisp.h (AREF, ASET, ASIZE): New macros. | |
| 2940 | |
| 2941 * fontset.c (AREF, ASIZE): Remove definitions. | |
| 2942 | |
| 2943 * fns.c (AREF): Remove definition. | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2944 |
| 30183 | 2945 * composite.c (AREF): Remove definition. |
| 2946 | |
| 30163 | 2947 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
| 2948 | |
| 30166 | 2949 * dispnew.c (redraw_overlapped_rows): Add missing local. |
| 2950 (scrolling_window): Remove debug code. | |
| 2951 | |
| 30163 | 2952 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
| 2953 Before scrolling, turn off a mouse-highlight in the window | |
| 2954 being scrolled. | |
| 2955 | |
| 2956 * xterm.c (x_update_window_end): Add parameter | |
| 2957 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
| 2958 redisplay in XTframe_up_to_date. | |
| 2959 (x_clear_mouse_face): New function. | |
| 2960 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
| 2961 | |
| 2962 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
| 2963 current glyph row. | |
| 2964 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
| 2965 it when any row is written to that contains glyphs highlighted in | |
| 2966 mouse-face. | |
| 2967 (update_window): Call the window update end hook with new | |
| 2968 parameter MOUSE_FACE_OVERWRITTEN_P. | |
| 2969 (direct_output_for_insert): Give up if row contains mouse-face. | |
| 2970 | |
| 2971 * dispextern.h (struct redisplay_interface): Add parameter | |
| 2972 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
| 2973 (clear_mouse_face): New function pointer member. | |
| 2974 | |
|
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2975 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2976 |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2977 * syntax.c (back_comment): Use one switch rather than a few `if's. |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2978 Obey open_paren_in_column_0_is_defun_start. |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2979 When reverting to the `slow' method, try to nicely handle the case |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2980 of nested comments by checking that the comment-starter we found |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2981 does indeed match the comment-ender. |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2982 (scan_sexps_forward, scan_sexps_forward): |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2983 Ignore excessive opening parenthesis rather than throwing an error. |
|
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2984 |
| 30155 | 2985 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
| 2986 | |
| 2987 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
| 2988 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
| 2989 | |
| 2990 * dispnew.c (direct_output_forward_char): Give up if currently | |
| 2991 displaying a message instead of the minibuffer contents. | |
| 2992 | |
| 2993 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
| 2994 highlight here. | |
| 2995 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
| 2996 depending on whether they contain glyphs highlighted in | |
| 2997 mouse-face. | |
| 2998 | |
| 2999 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
| 3000 compare the mouse_face_p flags of both rows. | |
| 3001 | |
| 3002 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
| 3003 | |
| 30146 | 3004 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
| 3005 | |
| 3006 * keyboard.c (show_help_echo): Accept additional parameter | |
| 3007 ok_to_overwrite_keystroke_echo. | |
| 3008 (read_char): Call show_help_echo with a zero | |
| 3009 ok_to_overwrite_keystroke_echo argument. | |
| 3010 * keyboard.h (show_help_echo): Update prototype of | |
| 3011 show_help_echo. | |
| 3012 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
| 3013 ok_to_overwrite_keystroke_echo argument. | |
| 3014 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
| 3015 non-zero ok_to_overwrite_keystroke_echo argument. | |
| 3016 | |
| 30135 | 3017 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
| 3018 | |
| 30140 | 3019 * xdisp.c (try_window_id): If changes are all below what is |
| 3020 displayed in the window, and point is in the window, we still | |
| 3021 might have to find point on the display. | |
| 3022 | |
| 3023 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
| 3024 glyphs instead of a single one. | |
| 3025 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
| 3026 with new argument list. | |
| 3027 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
| 3028 | |
| 30135 | 3029 * keymap.c (get_keymap_1): Add comment that this function can GC. |
| 3030 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
| 3031 comment that functions can GC. | |
| 3032 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
| 3033 | |
| 30133 | 3034 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
| 3035 | |
| 3036 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
| 3037 echo area message and erase it. | |
| 3038 | |
| 30125 | 3039 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
| 3040 | |
| 3041 * fontset.c (Ffontset_info): Make the return value more compatible | |
| 3042 with that of Emacs 20. | |
| 3043 | |
| 30107 | 3044 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
| 3045 | |
| 3046 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
| 3047 | |
| 30104 | 3048 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
| 3049 | |
| 3050 * ccl.c (Fccl_execute): Typo fixed. | |
| 3051 | |
| 30096 | 3052 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
| 3053 | |
| 30103 | 3054 * window.c (window_loop): Add missing gcpro1 local variable. |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3055 |
| 30096 | 3056 * window.c (Fwindow_list): Reverse list at the end. |
| 3057 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
| 3058 means allow windows on OWINDOW's frame, only. | |
| 3059 (window_loop): Simplified; use Fwindow_list. | |
| 3060 | |
| 3061 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
| 3062 | |
| 30085 | 3063 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
| 3064 | |
| 3065 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
| 3066 decrement it at the end. | |
| 3067 | |
| 3068 * eval.c (handling_signal): New variable. | |
| 3069 (Fsignal): Abort if handling_signal is non-zero. | |
| 3070 | |
| 3071 * lisp.h (handling_signal): External declaration. | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3072 |
| 30085 | 3073 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
| 3074 | |
|
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3075 2000-07-05 Ken Raeburn <raeburn@gnu.org> |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3076 |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3077 Sound support for NetBSD through "Linux emulation" support: |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3078 * config.in (HAVE_SOUNDCARD_H): Undef. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3079 (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3080 * Makefile.in (LIBSOUND): New variable. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3081 (LIBES): Include it. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3082 * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3083 <soundcard.h>. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3084 (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3085 elsewhere. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3086 (vox_open): Use DEFAULT_SOUND_DEVICE. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3087 * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. |
|
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3088 |
| 30076 | 3089 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
| 3090 | |
| 3091 * print.c (print_error_message): If Vsignaling_function is set, | |
| 3092 show it in *Messages*. | |
| 3093 | |
| 3094 * lisp.h (Vsignaling_function): External declaration. | |
| 3095 | |
| 3096 * eval.c (Vsignaling_function): New variable. | |
| 3097 (Fsignal): Compute it. | |
| 3098 (syms_of_eval): Staticpro it. | |
| 3099 | |
| 30069 | 3100 2000-07-05 Dave Love <fx@gnu.org> |
| 3101 | |
| 3102 * syswait.h: Use the autoconf recommended approach. Old code | |
| 3103 #if'd out in case we need to revert. | |
| 3104 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3105 * config.in (HAVE_SYS_WAIT_H): Added. |
| 30069 | 3106 |
| 30067 | 3107 2000-07-05 Andrew Innes <andrewi@gnu.org> |
| 3108 | |
| 3109 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
| 3110 when non-NULL instead of __morecore, to take account of buffer | |
| 3111 memory. This also solves a problem with spurious memory warnings | |
| 3112 on Windows. | |
| 3113 | |
| 3114 * ralloc.c: Make real_morecore non-static. | |
| 3115 | |
| 3116 * eval.c (internal_condition_case): Comment out abort if | |
| 3117 interrupt_input_blocked is not zero. | |
| 3118 | |
| 3119 * makefile.nt: Add support for `bootstrap' and related targets. | |
| 3120 Include minimal debug info in emacs.exe in release build. | |
| 3121 Remove all dependencies on lisp.h, and fixup some others. | |
| 3122 | |
| 3123 * w32.c (init_environment): Install code from 20.7 for providing | |
| 3124 default values for environment variables, based on the | |
| 3125 executable's own location. | |
| 3126 (map_w32_filename): Handle filenames that are longer than | |
| 3127 MAX_PATH. | |
| 3128 (sys_socket): Install socket inheritance bug fix from 20.7. | |
| 3129 | |
| 3130 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
| 3131 here via blockinput.h). | |
| 3132 | |
|
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3133 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3134 |
|
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3135 * w32menu.c (w32_menu_display_help): |
|
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3136 * xmenu.c (menu_help_callback): Use show_help_echo. |
|
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3137 |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3138 * keyboard.h (show_help_echo): Declare. |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3139 |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3140 * keyboard.c (show_help_echo): New function, extracted from read_char. |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3141 Feval its `msg' argument if it's a cons cell. |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3142 (read_char): Use it. |
|
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
3143 (follow_key): Pass `autoload' to get_keyelt. |
|
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3144 |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3145 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
|
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3146 (note_tool_bar_highlight, XTread_socket): |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3147 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) |
|
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3148 (dos_rawgetc): |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3149 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3150 (note_tool_bar_highlight, w32_read_socket): |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3151 Do not gratuitously ignore non-string `help-echo' properties. |
|
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3152 |
| 30043 | 3153 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
| 3154 | |
| 30049 | 3155 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
| 3156 | |
| 30046 | 3157 * window.c (delete_all_subwindows): Reset Vwindow_list. |
| 3158 | |
| 30043 | 3159 * xterm.c (x_append_glyph, x_append_composite_glyph) |
| 3160 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
| 3161 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
| 3162 struct glyph were not set, which made glyphs unequal when compared | |
| 3163 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
| 3164 effects were the result. This also depended on the contents of | |
| 3165 memory returned by xmalloc. If flickering happens again, activate | |
| 3166 the code in clear_glyph_row that's in #if 0. If the flickering is | |
| 3167 gone with that, chances are that it is caused by something | |
| 3168 similar. | |
| 3169 | |
| 3170 * dispnew.c (clear_glyph_row): Add debug code in #if 0. | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3171 |
| 30043 | 3172 * dispextern.h: Add some comments. |
| 3173 | |
| 3174 * window.c (add_window_to_list): Add parameter LIST. | |
| 3175 (window_list): Order list so that, for each frame, windows are | |
| 3176 in canonical order, and so that frames appear in the list in | |
| 3177 the order given by Vframe_list. | |
| 3178 (next_window): Reverse the handling of NEXT_P. | |
| 3179 | |
| 30031 | 3180 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
| 3181 | |
| 30038 | 3182 * window.c (Vwindow_list): New variable. |
| 3183 (make_window, delete_window): Set Vwindow_list to nil. | |
| 3184 (check_window_containing): New function. | |
| 3185 (window_from_coordinates): Rewritten. | |
| 3186 (add_window_to_list, window_list, candidate_window_p) | |
| 3187 (decode_next_window_args, next_window): New functions. | |
| 3188 (Fnext_window, Fprevious_window): Rewritten in terms of | |
| 3189 next_window. | |
| 3190 (Fwindow_list): New function. | |
| 3191 (Fother_window): Cleaned up. | |
| 3192 (foreach_window): Add a longer "variable argument list". Let | |
| 3193 callback function return 0 to indicate that cycling over windows | |
| 3194 should stop. | |
| 3195 (foreach_window_1): Likewise. | |
| 3196 (freeze_window_start): Return int. | |
| 3197 (init_window): New function. | |
| 3198 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
| 3199 | |
| 3200 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
| 3201 input_event with bzero. | |
| 3202 (main): Call init_window. | |
| 3203 | |
| 30031 | 3204 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
| 3205 a menu filter. | |
| 3206 | |
| 30026 | 3207 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
| 3208 | |
| 3209 * composite.h (make_composition_value_copy): Extern it. | |
| 3210 | |
| 3211 * composite.c (make_composition_value_copy): New function. | |
| 3212 | |
| 3213 * editfns.c (Fformat): While copying text properties, make each | |
| 3214 composition property value a copy. | |
| 3215 | |
| 3216 * fns.c (concat): While copying text properties, make each | |
| 3217 composition property value a copy. | |
| 3218 | |
| 29996 | 3219 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
| 3220 | |
| 30012 | 3221 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
| 3222 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3223 * fns.c (sweep_weak_table): Mark only objects that are not |
| 30008 | 3224 marked already. |
| 3225 | |
| 29996 | 3226 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
| 3227 include those frames as candidates which have their focus | |
| 3228 redirected to the minibuffer frame. | |
| 3229 | |
|
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3230 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
|
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3231 |
|
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3232 * fns.c (Fputhash): Return `value' rather than nil. |
|
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3233 |
| 29988 | 3234 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
| 3235 | |
| 29989 | 3236 * frame.c (next_frame): Don't check focus redirection in case |
| 3237 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
| 29988 | 3238 unless their focus is redirected, which contradicts the |
| 3239 specification of next-frame, and leads to infinite loops in | |
| 3240 certain situations when cycling through windows with next-window. | |
| 3241 | |
| 29983 | 3242 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
| 3243 | |
| 29984 | 3244 * coding.c (code_convert_region): Even if the length of text is |
| 29983 | 3245 zero, try to convert it if coding->type is coding_type_ccl. |
| 29984 | 3246 (decode_coding_string, encode_coding_string): Likewise. |
| 29983 | 3247 |
| 29972 | 3248 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
| 3249 | |
| 29982 | 3250 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
| 29989 | 3251 the display if windows_or_buffers_changed. |
| 29982 | 3252 |
| 3253 * dispnew.c (struct row_entry): New structure. | |
| 3254 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
| 3255 (row_table_size, old_lines, new_lines, old_lines_size) | |
| 3256 (new_lines_size, run_pool, runs_size, runs): New variables. | |
| 3257 (add_row_entry): New function. | |
| 3258 (scrolling_window): Use data structures allocated with xmalloc and | |
| 29989 | 3259 held in global variables, instead of allocating them with alloca and |
| 29982 | 3260 holding them in local variables. Use a larger hash table whose |
| 3261 size depends on glyph matrix sizes. Don't use bzero to clear the | |
| 3262 hash table; instead, clear used slots only. | |
| 3263 | |
| 3264 * fns.c (next_almost_prime): Make it externally visible. | |
| 3265 | |
| 3266 * lisp.h (next_almost_prime): Add prototype. | |
| 3267 | |
| 29972 | 3268 * s/isc4-0.h (sigunblock): Define. |
| 3269 | |
| 3270 * s/sco5.h (sigunblock): Define. | |
| 3271 | |
| 29965 | 3272 2000-06-27 Dave Love <fx@gnu.org> |
| 3273 | |
| 3274 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
| 3275 (moved to osf5-0.h). | |
| 3276 [!NOT_C_CODE]: Protect string.h stuff. | |
| 3277 | |
| 3278 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
| 3279 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
| 3280 | |
| 29961 | 3281 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
| 3282 | |
| 29989 | 3283 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
| 29961 | 3284 below the last line from the needed window height. |
| 3285 | |
|
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3286 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
|
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3287 |
|
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3288 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
|
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3289 (Fwidget_get): Use it. |
|
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3290 (syms_of_fns): Defsubr it. |
|
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3291 |
| 29939 | 3292 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
| 3293 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3294 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
| 29949 | 3295 display info for XIM. |
| 3296 (xim_open_dpy): Likewise. | |
| 3297 (xim_close_dpy): Don't free the display info's XIM. | |
| 3298 | |
| 3299 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
| 3300 | |
| 3301 * config.in (USE_XIM): New define. | |
| 3302 | |
| 29942 | 3303 * keymap.c (get_keyelt): For menu-items containing a `:filter |
| 3304 FILTER', apply FILTER to the menu-item's definition to get the | |
| 3305 real definition to use. | |
| 3306 | |
| 3307 * lisp.h (QCfilter): External declaration. | |
| 3308 | |
| 29939 | 3309 * xfns.c (Fimage_size): New function. |
| 3310 (syms_of_xfns): Defsubr it. | |
| 3311 | |
| 29933 | 3312 2000-06-26 Andreas Schwab <schwab@suse.de> |
| 3313 | |
| 3314 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
| 3315 Fstring_as_unibyte. | |
| 3316 | |
| 29930 | 3317 2000-06-25 Dave Love <fx@gnu.org> |
| 3318 | |
| 3319 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
| 3320 tgetnum. | |
| 3321 | |
| 3322 * Makefile.in (blockinput.h): Depend on atimer.h. | |
| 3323 (atimer.h): Depend on systime.h. | |
| 3324 | |
| 3325 * blockinput.h: Protect against multiple inclusion. Include | |
| 3326 atimer.h. | |
| 3327 | |
| 3328 * atimer.h: Protect against multiple inclusion. Include | |
| 3329 systime.h. | |
| 3330 | |
| 3331 * lisp.h (swap_in_global_binding): Declare. | |
| 3332 | |
|
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3333 2000-06-24 Ken Raeburn <raeburn@gnu.org> |
|
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3334 |
|
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3335 * process.c (Fopen_network_stream): Turn off atimers for duration |
|
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3336 of call to connect. (Patch from Gerd.) |
|
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3337 |
| 29916 | 3338 2000-06-23 Dave Love <fx@gnu.org> |
| 3339 | |
| 29918 | 3340 * ralloc.c: Maybe include unistd.h |
| 3341 | |
| 29916 | 3342 * emacs.c (setgrp): Undefine before defining. |
| 3343 (malloc_warning, set_time_zone_rule, index): Prototype. | |
| 3344 | |
| 3345 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
| 3346 HAVE_STRUCT_TIMEZONE. | |
| 3347 | |
| 3348 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
| 3349 conditional. | |
| 3350 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
| 3351 _XOPEN_SOURCE. | |
| 3352 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
| 3353 (SOCKLEN_TYPE): Don't define. | |
| 3354 | |
| 3355 * m/alpha.h: Remove string.h hack. | |
| 3356 | |
| 3357 * s/osf5-0.h: New file. | |
| 3358 | |
| 3359 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
| 3360 include time.h, done by systime.h. | |
| 3361 [__FreeBSD__]: Remove redundant includes. | |
| 3362 | |
| 29942 | 3363 * callproc.c (setpgrp): Undefine before defining. |
| 29916 | 3364 (delete_temp_file): Return Qnil to avoid warning. |
| 3365 | |
| 3366 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
| 3367 | |
| 3368 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
| 3369 HAVE_X_WINDOWS. | |
| 3370 | |
| 3371 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
| 3372 | |
| 3373 * composite.h (compose_text): Declare. | |
| 3374 | |
| 3375 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
| 3376 protect its inclusion with !USG (following xmenu.c). | |
| 3377 | |
| 29888 | 3378 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
| 3379 | |
| 3380 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
| 3381 in x_create_frame. | |
| 3382 | |
| 29878 | 3383 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 3384 | |
| 3385 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
| 3386 and inconsistent EOL types. | |
| 3387 | |
| 29860 | 3388 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
| 3389 | |
| 29868 | 3390 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
| 3391 trough color and main window's background color. | |
| 3392 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3393 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
| 29868 | 3394 differently. |
| 3395 | |
| 3396 * xterm.h (Xt_app_con): External declaration. | |
| 3397 | |
| 3398 * widget.c (EmacsFrameRealize): Fix typo. | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3399 |
| 29862 | 3400 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
| 3401 | |
| 29860 | 3402 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
| 3403 (handle_invisible_prop): Record the start of invisible text in | |
| 3404 it->add_overlay_start. | |
| 3405 (struct overlay_entry): Add member `overlay'. | |
| 3406 (handle_overlay_change): Simplify. | |
| 3407 (next_overlay_string): After having processed overlay strings at the | |
| 3408 end of the buffer, record that fact in | |
| 3409 it->overlay_strings_at_end_processed_p. | |
| 3410 (compare_overlay_entries): If before- and after-strings come | |
| 3411 from the same overlay, let before-strings come first. | |
| 3412 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
| 3413 (load_overlay_strings): Take it->add_overlay_start into account | |
| 3414 when adding overlay strings. | |
| 3415 | |
| 3416 * dispextern.h (struct it): Add member add_overlay_start. | |
| 3417 | |
| 29852 | 3418 2000-06-22 Dave Love <fx@gnu.org> |
| 3419 | |
| 3420 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
| 3421 | |
| 3422 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
| 3423 | |
| 29846 | 3424 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
| 3425 | |
| 3426 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
| 3427 is greater than 0. | |
| 3428 | |
| 29843 | 3429 2000-06-21 Dave Love <fx@gnu.org> |
| 3430 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3431 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
| 29843 | 3432 |
|
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3433 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3434 |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3435 * syntax.c (back_comment): Simplify string-parity counting (with |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3436 the added benefit of handling multiple string-styles as long as |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3437 they are not intertwined). |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3438 Jump to the slow code as soon as a comment starter is found in |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3439 a "string_lossage" position. Fixes the case: " /* " /* " */. |
|
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3440 |
| 29834 | 3441 2000-06-21 Dave Love <fx@gnu.org> |
| 3442 | |
| 3443 * Makefile.in: Use GETLOADAVG_LIBS. | |
| 3444 | |
| 3445 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
| 3446 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
| 3447 | |
|
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3448 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3449 |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3450 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3451 (Fforward_comment, scan_lists): |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3452 Check the comstyle of single-char comment-starters. |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3453 (scan_sexps_forward): Don't try to recognize `half comment-enders' if |
|
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3454 we're just at the beginning of the comment (f.ex with (*) ... (*)). |
|
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3455 Check the comstyle of single-char comment-starters. |
|
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3456 Clarify control-flow around the Scomment case. |
|
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3457 |
| 29815 | 3458 2000-06-20 Dave Love <fx@gnu.org> |
| 3459 | |
|
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3460 * fns.c (make_hash_table, maybe_resize_hash_table): |
|
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3461 Cast arg of next_almost_prime. |
| 29815 | 3462 |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3463 * tparam.c [emacs]: Include lisp.h. |
| 29815 | 3464 |
| 3465 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
| 3466 and unistd.h. | |
| 3467 | |
| 29814 | 3468 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
| 3469 | |
| 29820 | 3470 * keyboard.c (adjust_point_for_property): Check if display |
| 3471 property should be treated as intangible by looking at its | |
| 3472 value. | |
| 3473 | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3474 * xdisp.c (single_display_prop_intangible_p) |
| 29820 | 3475 (display_prop_intangible_p): New functions. |
| 3476 | |
| 3477 * dispextern.h (display_prop_intangible_p): Add prototype. | |
| 3478 | |
| 3479 * xdisp.c (dump_glyph_row): Show type of glyph->object. | |
|
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3480 |
| 29814 | 3481 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
| 3482 argument to sigprocmask. | |
| 3483 | |
| 3484 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
| 3485 argument to sigprocmask. | |
| 3486 | |
| 3487 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
| 3488 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
| 3489 | |
| 3490 * sysdep.c (sigprocmask_set): New variable. | |
| 3491 | |
| 3492 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
| 3493 report_file_error. | |
| 3494 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3495 2000-06-20 Sam Steingold <sds@gnu.org> |
|
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3496 |
|
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3497 * xrdb.c: Don't declare xmalloc, xrealloc. |
|
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3498 |
|
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3499 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
|
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3500 |
|
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3501 * regex.c (re_match, re_match_2): Protect calls to alloca (0). |
|
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3502 (re_comp): Cast gettext return value to avoid complaints when |
|
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3503 !HAVE_LIBINTL. |
|
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3504 |
| 29786 | 3505 2000-06-20 Dave Love <fx@gnu.org> |
| 3506 | |
| 29796 | 3507 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
| 3508 HAVE_GETTIMEOFDAY. | |
| 3509 | |
| 29815 | 3510 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
| 29796 | 3511 |
|
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3512 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
| 29796 | 3513 |
| 3514 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
| 3515 | |
| 29790 | 3516 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
| 3517 | |
| 3518 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
| 3519 | |
| 3520 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
| 3521 | |
| 3522 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
| 3523 HAVE_GETWD. | |
| 3524 | |
| 29786 | 3525 * keyboard.h (poll_for_input_1): Declare. |
| 3526 | |
| 3527 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
| 3528 | |
| 3529 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
| 3530 | |
| 3531 * doprnt.c: Don't declare xmalloc, xrealloc. | |
| 3532 | |
| 3533 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
| 3534 (getenv, ctime, getwd): Removed. | |
| 3535 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
| 3536 | |
| 3537 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
| 3538 x_set_tool_bar_lines. | |
| 3539 | |
| 3540 * config.in: Add HAVE_GETWD. Move some definitions above | |
| 3541 machine/system includes. | |
| 3542 | |
| 29766 | 3543 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
| 3544 | |
| 29770 | 3545 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
| 3546 | |
| 29766 | 3547 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
| 3548 contain information about ENCODING. | |
| 3549 | |
| 3550 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
| 3551 for an ASCII font, not defalt slot. | |
| 3552 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
| 3553 C, try the default fontset. | |
| 3554 (make_fontset): Don't copy the default fontset. | |
| 3555 (fontset_font_pattern): Likewise. | |
| 3556 (accumulate_font_info): If ELT is nil, use the corresponding | |
| 3557 element in the default fontset. | |
| 3558 | |
| 29752 | 3559 2000-06-19 Dave Love <fx@gnu.org> |
| 3560 | |
| 29758 | 3561 * syntax.c (Fparse_partial_sexp): Doc fix. |
| 3562 | |
| 3563 * regex.h: Test PROTOTYPES as well as __STDC__. | |
| 3564 | |
| 29752 | 3565 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
| 3566 errno, strerror. Put text after #endif in comment. | |
| 3567 | |
| 3568 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
| 3569 pcc). | |
| 3570 | |
| 3571 * xterm.c (x_frame_of_widget): Likewise. | |
| 3572 | |
| 29747 | 3573 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
| 3574 | |
| 3575 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
| 3576 to Vfundamental_mode_abbrev_table. | |
| 3577 | |
| 3578 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
| 3579 bogus objects are marked. This slows down GC by ~80 percent, but | |
| 3580 it might be worth trying when debugging GC-related problems. | |
| 3581 This feature requires conservative stack marking to be enabled. | |
| 3582 | |
| 3583 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
| 3584 returns XLookupChars, reset `modifiers' to zero. | |
| 3585 | |
| 29738 | 3586 2000-06-19 Dave Love <fx@gnu.org> |
| 3587 | |
| 3588 * mktime.c: Unprotoized. | |
| 3589 | |
|
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3590 2000-06-19 Richard Stallman <rms@gnu.org> |
| 29736 | 3591 |
| 3592 * data.c (set_internal): If variable is frame-local, | |
| 3593 store the new value immediately into the frame parameter alist. | |
| 3594 | |
|
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3595 2000-06-19 Ken Raeburn <raeburn@gnu.org> |
|
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3596 |
|
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3597 * xfns.c (jpeg_load): Fetch error-handling data first, then fill |
|
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3598 in the custom handler pointer. |
|
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3599 |
|
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3600 * keyboard.c (follow_key, read_key_sequence): Use XUINT on key |
|
29727
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3601 value, or checks for CHAR_META can fail when Lisp_Object is a |
|
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3602 union type. |
|
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3603 * keymap.c (get_keyelt): Likewise. |
|
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3604 |
| 29720 | 3605 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
| 3606 | |
| 3607 * ccl.h (struct ccl_program): New member eol_type. | |
| 3608 (struct ccl_spec): New member cr_carryover. | |
| 3609 | |
| 3610 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
| 3611 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
| 3612 | |
| 3613 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
| 3614 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
| 3615 (decode_eol_post_ccl): New function. | |
| 3616 (decode_coding): Don't detect EOL format here for CCL based coding | |
| 3617 systems. | |
| 3618 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
| 3619 decode_eol_post_ccl after running the CCL program. | |
| 3620 (code_convert_region): Don't detect EOL format here for CCL based | |
| 3621 coding systems. | |
| 3622 (decode_coding_string): Likewise. | |
| 3623 | |
|
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3624 2000-06-18 Ken Raeburn <raeburn@gnu.org> |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3625 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3626 * charset.c (update_charset_table): Use XINT on "iso_final_char" |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3627 when treating it as an integer. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3628 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3629 * coding.h (encode_coding_string): Declare. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3630 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3631 * keyboard.c (read_key_sequence): Use XINT on "pos" when treating |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3632 it as an integer. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3633 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3634 * keymap.c (Fwhere_is_internal): Rename argument "keymap" to |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3635 "xkeymap" to avoid shadowing the "enum map_type" value that needs |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3636 to be passed to get_local_map. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3637 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3638 * sound.c (Fplay_sound): Don't call make_number on |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3639 Frun_hook_with_args count argument. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3640 |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3641 * xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3642 for lisp objects in X event structure data field, when lisp |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3643 objects are represented with unions. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3644 (x_scroll_bar_to_input_event): Ditto. |
|
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3645 |
|
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3646 2000-06-16 Ken Raeburn <raeburn@gnu.org> |
|
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3647 |
|
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3648 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL |
|
29698
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3649 termination of string. Fix sense of test whether |
|
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3650 Vline_number_display_limit is an integer. |
|
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3651 |
| 29688 | 3652 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
| 3653 | |
| 29712 | 3654 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
| 3655 only if HAVE_X_WINDOWS. | |
| 3656 | |
| 29696 | 3657 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
| 3658 of titles. | |
| 3659 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3660 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
| 29688 | 3661 out of bounds. |
| 3662 | |
| 29670 | 3663 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 3664 | |
| 3665 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
| 3666 of its headers. | |
| 3667 | |
| 29662 | 3668 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
| 3669 | |
| 3670 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
| 3671 start of the while loop. | |
| 3672 | |
| 29661 | 3673 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
| 3674 | |
| 29673 | 3675 * atimer.c (alarm_signal_handler): Add forward declaration. |
| 3676 | |
| 29661 | 3677 * data.c (set_internal): Remove debug code. |
| 3678 | |
| 29637 | 3679 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
| 3680 | |
| 29657 | 3681 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
| 3682 | |
| 29654 | 3683 * unexec.c (toplevel) [COFF]: Include coff.h. |
| 3684 | |
| 3685 * s/lynxos.h: New file. | |
| 3686 | |
| 3687 * keymap.c (Fsingle_key_description): Enclose function key and | |
| 3688 event symbol names in angle brackets. | |
| 3689 | |
| 29644 | 3690 * xdisp.c (setup_echo_area_for_printing): Call |
| 3691 message_log_maybe_newline if message_buf_print is not set. | |
| 3692 | |
| 3693 * print.c (printchar, strout): Don't check message_buf_print | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3694 before calling setup_echo_area_for_printing because that |
| 29644 | 3695 function does something useful even when message_buf_print is |
| 3696 already set. | |
| 3697 | |
| 29637 | 3698 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
| 3699 variables. | |
| 3700 (ensure_echo_area_buffers): Initialize echo buffer's | |
| 3701 truncate lines setting to nil. | |
| 3702 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
| 3703 lines setting here. | |
| 29644 | 3704 (set_message_1): Set it here instead, based on the value |
| 29637 | 3705 of message_truncate_lines. |
| 3706 (resize_mini_window): Handle case that lines are truncated. | |
| 3707 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
| 3708 message-truncate-lines. | |
| 3709 | |
| 3710 * keyboard.c (read_char): Bind message-truncate-lines to t | |
| 3711 while displaying a help-echo. | |
| 3712 | |
| 3713 * lisp.h (Qmessage_truncate_lines): External declaration. | |
| 3714 | |
| 29620 | 3715 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
| 3716 | |
| 29633 | 3717 * xdisp.c (Vline_number_display_limit): Renamed from |
| 3718 line_number_display_limit. | |
| 3719 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
| 3720 Extend documentation string. Initialize | |
| 3721 Vline_number_display_limit to nil meaning no limit. | |
| 3722 (decode_mode_spec): Use Vline_number_display_limit with its new | |
| 3723 meaning. | |
| 3724 | |
| 29620 | 3725 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
| 3726 | |
|
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3727 2000-06-13 Richard Stallman <rms@gnu.org> |
| 29620 | 3728 |
| 3729 * frame.c (Fmodify_frame_parameters): Doc fix. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3730 |
| 29620 | 3731 * xfns.c (x_set_frame_parameters): Comment fix. |
| 3732 | |
| 3733 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
| 3734 variable's current binding was chosen based on this frame. | |
| 3735 | |
| 3736 * data.c (swap_in_global_binding): New function. | |
| 3737 | |
| 29615 | 3738 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
| 3739 | |
| 3740 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
| 3741 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
| 3742 | |
| 29612 | 3743 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
| 3744 | |
| 3745 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
| 3746 | |
| 29606 | 3747 2000-06-12 Jason Rumney <jasonr@gnu.org> |
| 3748 | |
| 3749 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
| 3750 | |
| 3751 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
| 3752 | |
| 3753 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
| 3754 | |
| 3755 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
| 3756 | |
| 29603 | 3757 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
| 3758 | |
| 3759 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
| 3760 (syms_of_xfaces): Defsubr Sdump_colors. | |
| 3761 (x_free_colors): Don't treat b&w specially on default visual. | |
| 3762 (x_free_dpy_colors): New function. | |
| 3763 (free_face_colors): Don't check visual class; it's done | |
| 3764 in x_free_colors. | |
| 3765 | |
| 3766 * xterm.c (x_frame_of_widget): New function. | |
| 3767 (x_alloc_nearest_color_for_widget): Use it. | |
| 3768 (x_copy_dpy_color): New function. | |
| 3769 (x_destroy_window): Free various colors. | |
| 3770 | |
| 29574 | 3771 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
| 3772 | |
| 3773 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
| 3774 | |
| 3775 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
| 3776 | |
| 3777 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
| 3778 | |
| 3779 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
| 3780 | |
| 3781 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
| 3782 | |
| 29560 | 3783 2000-06-11 Dave Love <fx@gnu.org> |
| 3784 | |
| 3785 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
| 3786 | |
| 29558 | 3787 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
| 3788 | |
| 3789 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
| 3790 | |
| 29556 | 3791 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
| 3792 | |
| 29603 | 3793 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
| 29556 | 3794 to `XEvent *'. |
| 3795 | |
| 29537 | 3796 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
| 3797 | |
| 29545 | 3798 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
| 3799 (regex_compile): Fix the code for handling the case of single byte | |
| 3800 char and multibyte char being mixed in a range within [...]. | |
| 3801 | |
| 29541 | 3802 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
| 3803 and dst_multibyte members of coding. | |
| 3804 | |
| 29537 | 3805 * charset.c (update_charset_table): Update the table |
| 3806 bytes_by_char_head. | |
| 3807 (init_charset_once): Initialize elements of bytes_by_char_head to | |
| 3808 1 except for leading codes for private charases. | |
| 3809 | |
| 3810 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
| 3811 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
| 3812 sequence. | |
| 3813 | |
|
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3814 2000-06-09 Ken Raeburn <raeburn@gnu.org> |
|
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3815 |
|
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3816 * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to |
|
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3817 access the data it doesn't point to. |
|
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3818 |
| 29517 | 3819 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
| 3820 | |
| 3821 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
| 29556 | 3822 will be translated to a switch-frame event when reading the |
| 29517 | 3823 event queue. This is necessary because Emacs otherwise won't |
| 3824 perform a switch-frame to a new frame until some other event, for | |
| 3825 example a keystroke event, forces it to do so. This has various | |
| 3826 effects, one visible being that the cursor of a frame created with | |
| 3827 C-x 5 2 or switched to with a window manager key binding like | |
| 3828 A-TAB stays hollow because selected_window isn't on the newly | |
| 3829 focused frame until the switch-frame is performed. | |
| 3830 | |
| 3831 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
| 3832 generating a switch-frame event if necessary. | |
| 3833 | |
| 3834 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
| 3835 | |
| 3836 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
| 3837 it's an integer. | |
| 3838 | |
| 29502 | 3839 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
| 3840 | |
| 3841 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
| 3842 charset. | |
| 3843 | |
| 29482 | 3844 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
| 3845 | |
| 29489 | 3846 * window.c (displayed_window_lines): Take empty lines at |
| 3847 the bottom of a window into account. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3848 |
| 29487 | 3849 * window.c (displayed_window_lines): New function. |
| 3850 (Fmove_to_window_line): Use displayed_window_lines to determine | |
| 3851 the number of lines to move, instead of using the window's height. | |
| 3852 | |
| 3853 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
| 3854 to stop reading, even if the form read sets point to a different | |
| 3855 value when evaluated. | |
| 3856 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3857 * xdisp.c (display_line): Fix code deciding in which line to |
| 29482 | 3858 put the cursor. |
| 3859 | |
| 29479 | 3860 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
| 3861 | |
| 3862 * fileio.c (e_write): Free composition data if stored in | |
| 3863 coding->cmp_data. | |
| 3864 | |
| 29460 | 3865 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
| 3866 | |
| 29475 | 3867 * xdisp.c (display_line): Set row's and iterator's |
| 3868 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
| 3869 Set cursor even if row ends in the middle of a character. | |
| 3870 (dump_glyph_row): Print values of new flags. | |
| 3871 (redisplay_window) <cursor movement in unchanged window>: When | |
| 3872 point has been moved forward, and PT is at the end of the cursor | |
| 3873 row, don't place the cursor in the next row if the cursor row ends | |
| 3874 in the middle of a character or at ZV. | |
| 3875 | |
| 3876 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
| 3877 (struct glyph_row): Add starts_in_middle_of_char_p and | |
| 3878 ends_in_middle_of_char_p. | |
| 3879 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
| 3880 ends_in_middle_of_char_p flag. | |
| 3881 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
| 3882 | |
| 29463 | 3883 * term.c (append_glyph): Revert change of 2000-06-06. |
| 3884 | |
| 3885 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
| 3886 padding glyph not fitting on line as whole character not | |
| 3887 fitting on line. | |
| 3888 | |
| 29460 | 3889 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
| 3890 this isn't true for images with `:ascent 100'. | |
| 3891 | |
| 29450 | 3892 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
| 3893 | |
| 29457 | 3894 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
| 3895 as modified if it is originally unmodified. | |
| 3896 | |
| 29450 | 3897 * term.c (encode_terminal_code): Change the way to check if |
| 3898 terminal coding does any conversion. | |
| 3899 (append_glyph): Set glyph->pixel_width correctly. | |
| 3900 | |
| 29451 | 3901 * xdisp.c (display_line): While checking line continuation, pay |
| 3902 attention to a padding glyph. | |
| 3903 | |
| 29447 | 3904 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
| 3905 | |
| 3906 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
| 3907 | |
| 29431 | 3908 2000-06-05 Dave Love <fx@gnu.org> |
| 3909 | |
| 29444 | 3910 * xdisp.c: Include fontset.h. |
| 3911 | |
| 3912 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
| 3913 | |
| 3914 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
| 3915 | |
| 3916 * dispnew.c: Conditionally include term.h. | |
| 3917 | |
| 3918 * coding.h: Declare code_convert_string_norecord. | |
| 3919 | |
| 3920 * frame.h (struct frame): Use volatile unconditionally. | |
| 3921 | |
| 3922 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
| 3923 | |
| 3924 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
| 3925 | |
| 3926 * systime.h: Protect against multiple inclusion. | |
| 3927 (timezone) [USG5_4]: Define as time_t. | |
| 3928 | |
| 3929 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
| 3930 (Foptimize_char_table, make_temp_name): Declare. | |
| 3931 | |
| 3932 * Makefile.in (xdisp.o): Depend on fontset.h. | |
| 3933 | |
| 3934 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
| 3935 | |
| 3936 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
| 3937 (Foptimize_char_table, make_temp_name): Declare. | |
| 3938 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3939 * s/irix4-0.h: |
| 29431 | 3940 * s/irix5-0.h: |
| 3941 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
| 3942 | |
| 29397 | 3943 2000-06-02 Dave Love <fx@gnu.org> |
| 3944 | |
| 3945 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
| 3946 | |
| 29395 | 3947 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
| 3948 | |
| 3949 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
| 29447 | 3950 result face, set flags in that face indicating that colors may not |
| 29395 | 3951 be freed. |
| 3952 | |
| 3953 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
| 3954 glyph, use the ASCII NUL character to determine the face. | |
| 3955 | |
| 29388 | 3956 2000-06-02 Dave Love <fx@gnu.org> |
| 3957 | |
| 3958 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
| 3959 (VFORK_RETURN_TYPE): Remove. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3960 |
| 29388 | 3961 * config.in: Add NO_MATHERR. |
| 3962 | |
| 29368 | 3963 2000-06-01 Dave Love <fx@gnu.org> |
| 3964 | |
| 29383 | 3965 * cmds.c (internal_self_insert): Don't check |
| 3966 Vbefore_change_function, Vafter_change_function. | |
| 3967 | |
| 3968 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
| 3969 | |
| 3970 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
| 3971 Variables and their initializations deleted. | |
| 3972 | |
| 29372 | 3973 * callint.c (Fcall_interactively): Doc fix. |
| 3974 | |
| 29368 | 3975 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
| 3976 | |
| 29343 | 3977 2000-05-31 Dave Love <fx@gnu.org> |
| 3978 | |
| 3979 * textprop.c: Revert last change -- duplicated. | |
| 3980 | |
| 29338 | 3981 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
| 3982 | |
| 3983 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
| 3984 in #if 0. | |
| 3985 | |
| 3986 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
| 3987 | |
| 29331 | 3988 2000-05-31 Jason Rumney <jasonr@gnu.org> |
| 3989 | |
| 29334 | 3990 * search.c (Fre_search_forward, Fre_search_backward) |
| 3991 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
| 3992 | |
| 29331 | 3993 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
| 3994 | |
| 29308 | 3995 2000-05-30 Jason Rumney <jasonr@gnu.org> |
| 3996 | |
| 3997 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
| 3998 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
| 3999 | |
| 4000 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
| 4001 member. | |
| 4002 | |
| 4003 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
| 4004 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
| 4005 expand a nil default_filename. | |
| 4006 | |
| 4007 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
| 4008 pointer to glyph_to_pixel_coords, not a frame. | |
| 4009 | |
| 4010 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
| 4011 coding.h to dependencies. | |
| 4012 | |
| 4013 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
| 4014 | |
| 4015 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
| 4016 window pointer to be consistent with w32term.c and xterm.c. | |
| 4017 | |
| 4018 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
| 4019 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
| 4020 (Qline_spacing, Qcenter): New variables. | |
| 4021 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
| 4022 (x_set_line_spacing): New function. | |
| 4023 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
| 4024 macros. | |
| 4025 (x_specified_cursor_type): New function. | |
| 4026 (x_set_cursor_type): Use it. | |
| 4027 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
| 4028 and icon strings. | |
| 4029 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
| 4030 of external strings in bytes. | |
| 4031 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
| 4032 GetTextExtentPoint32 with NULL title. | |
| 4033 (Fx_create_frame): Initialize Qline_spacing. | |
| 4034 (w32_load_system_font): Initialize font->double_byte_p. | |
| 4035 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
| 4036 (Image, busy cursor, tooltip functions): Merged changes from | |
| 4037 xfns.c. Not yet functional on Windows. | |
| 4038 | |
| 4039 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
| 4040 | |
| 4041 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
| 4042 (emacs_button_translation): Use it. | |
| 4043 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
| 4044 in `mask' to be set. | |
| 4045 | |
| 4046 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
| 4047 menu strings. | |
| 4048 | |
| 4049 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
| 4050 (w32_char_font_type): New enum. | |
| 4051 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
| 4052 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
| 4053 (w32_encode_char): New function. | |
| 4054 (x_encode_char): Removed. | |
| 4055 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
| 4056 x_encode_char and w32_font_is_double_byte. | |
| 4057 (x_produce_image_glyph): Use image_ascent. | |
| 4058 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
| 4059 handle NULL return value. Allow extra line spacing. | |
| 4060 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
| 4061 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
| 4062 w32_font_type member of glyph instead. | |
| 4063 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
| 4064 (fast_find_position): Make sure not to consider rows not visible | |
| 4065 in the window. | |
| 4066 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
| 4067 w32_menu_display_help with input blocked, as it can abort. | |
| 4068 (x_display_and_set_cursor): Choose cursor depending | |
| 4069 on buffer-local value of cursor_type. | |
| 4070 (x_draw_bar_cursor): Add parameter WIDTH. | |
| 4071 | |
| 4072 * w32term.h (CP_DEFAULT): Define. | |
| 4073 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
| 4074 | |
| 29302 | 4075 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
| 4076 | |
| 4077 * search.c (Fre_search_forward, Fre_search_backward) | |
| 4078 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
| 4079 | |
| 29298 | 4080 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
| 4081 | |
| 4082 * coding.c (detect_coding_iso2022): Fix code for checking | |
| 4083 CODING_CATEGORY_MASK_ISO_8_2. | |
| 4084 | |
|
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4085 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
|
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4086 |
|
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4087 * regex.c (PREFETCH_NOLIMIT): New function. |
|
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4088 (re_match_2_internal): Use it and adjust the end_match_2 logic. |
|
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4089 |
| 29285 | 4090 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
| 4091 | |
| 29295 | 4092 * syntax.c (find_defun_start): Move test for |
| 4093 open_paren_in_column_0_is_defun_start outside of the loop. | |
| 4094 | |
| 29292 | 4095 * xdisp.c (redisplay_window): Really switch buffers when |
| 4096 displaying mode lines, and temporarily set selected_frame to the | |
| 4097 frame of the window that's redisplayed. | |
| 4098 | |
| 29285 | 4099 * xfaces.c (free_realized_faces): Block/unblock input. |
| 4100 (free_realized_multibyte_face): Ditto. | |
| 4101 | |
| 29283 | 4102 2000-05-29 Dave Love <fx@gnu.org> |
| 4103 | |
| 4104 * textprop.c (Qkeymap): New variable. | |
| 4105 (syms_of_textprop): Intern it. | |
| 4106 | |
| 4107 * keymap.c: Include intervals.h. | |
| 4108 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
| 4109 | |
| 4110 * Makefile.in (keymap.o): Depend on intervals.h. | |
| 4111 | |
| 4112 * keyboard.c (menu_bar_items, tool_bar_items) | |
| 4113 (Fexecute_extended_command): Deal with `keymap' property. | |
| 4114 (read_key_sequence): Track map from `keymap' property as well as | |
| 4115 `local_map'. | |
| 4116 | |
| 4117 * intervals.c (get_local_map): Extra arg to allow looking for | |
| 4118 `keymap' too. | |
| 4119 | |
| 4120 * intervals.h (map_property): New enum. | |
| 4121 (get_local_map): Extra arg using it. | |
| 4122 (Qkeymap): Declare. | |
| 4123 | |
| 29285 | 4124 * lisp.h (get_local_map): Don't declare here. |
| 29283 | 4125 |
| 29271 | 4126 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
| 4127 | |
| 4128 * Makefile.in (callproc.o): Depend on composite.h. | |
| 4129 | |
| 4130 * callproc.c: Include composite.h. | |
| 4131 (Fcall_process): Handle composition correctly. | |
| 4132 | |
| 4133 * coding.h (coding_allocate_composition_data): Extern it. | |
| 4134 (coding_restore_composition): Likewise. | |
| 4135 | |
| 4136 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
| 4137 yet allocated, finish decoding with result | |
| 4138 CODING_FINISH_INSUFFICIENT_CMP. | |
| 4139 (coding_allocate_composition_data): Make it non-static. | |
| 4140 (coding_restore_composition): Likewise. | |
| 4141 | |
| 29270 | 4142 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
| 4143 | |
| 4144 * charset.c (syms_of_charset): Revert last change. | |
| 4145 | |
| 29264 | 4146 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 4147 | |
| 4148 * term.c (produce_glyphs): Treat characters from the eight-bit-* | |
|
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
4149 charsets as unibyte, with 1-column screen width. Sent by Kenichi |
|
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
4150 Handa. |
| 29264 | 4151 |
| 29261 | 4152 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 4153 | |
| 4154 * charset.c (syms_of_charset): Set width of character sets | |
| 4155 eight-bit-control and eight-bit-graphic to 1 column. | |
| 4156 | |
| 29254 | 4157 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
| 4158 | |
| 4159 * config.in (HAVE_SPEED_T): New define. | |
| 4160 | |
| 4161 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
| 4162 `extern speed_t'. | |
| 4163 | |
| 29248 | 4164 2000-05-26 Dave Love <fx@gnu.org> |
| 4165 | |
| 4166 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
| 4167 | |
| 4168 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
| 4169 (Fsubr_arity): New function. | |
| 4170 (syms_of_data): Install them. | |
| 4171 | |
| 29226 | 4172 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
| 4173 | |
| 29235 | 4174 * charset.c (init_charset_once): Set the table bytes_by_char_head |
| 4175 correctly. | |
| 4176 | |
| 29230 | 4177 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
| 4178 the default fontset to what Emacs uses by default. | |
| 29235 | 4179 (check_registry_encoding): This function deleted. |
| 4180 (Fset_fontset_font): Remove the adhoc condition for the default | |
| 4181 fontset. Allow cons in FONTNAME. | |
| 4182 | |
| 4183 * fns.c (map_char_table): Ignore char-table entries for | |
| 4184 charsets eight-bit-control and eight-bit-graphic. | |
| 29226 | 4185 |
|
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4186 2000-05-25 Ken Raeburn <raeburn@gnu.org> |
|
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4187 |
|
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4188 * emacs.c (main): Initialize keyboard syms before initializing |
|
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4189 window code, so face names are available. |
|
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4190 |
|
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4191 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
|
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4192 |
|
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4193 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
|
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4194 of an anchor at the beginning of a shy-group. |
|
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4195 |
| 29193 | 4196 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
| 4197 | |
| 4198 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
| 4199 invisible text if end of text is already reached. | |
| 4200 | |
| 29183 | 4201 2000-05-25 Dave Love <fx@gnu.org> |
| 4202 | |
| 29186 | 4203 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
| 4204 | |
| 29183 | 4205 * coding.c (encode_eol): Add null statement after label. |
| 4206 | |
| 29181 | 4207 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 4208 | |
| 4209 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
| 4210 2000-05-20. | |
| 4211 | |
| 29173 | 4212 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
| 4213 | |
| 29174 | 4214 * ccl.c (ccl_driver): Fix previous change. |
| 29173 | 4215 |
| 29169 | 4216 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
| 4217 | |
| 29171 | 4218 * coding.c (run_pre_post_conversion_on_str): Set point to the |
| 4219 beginning of buffer before calling coding->post_read_conversion. | |
| 4220 (decode_coding_string): Give correct args to | |
| 4221 run_pre_post_conversion_on_str. | |
| 4222 (encode_coding_string): Likewise. | |
| 4223 | |
| 29169 | 4224 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
| 4225 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
| 4226 eight-bit-graphic correctly. | |
| 4227 | |
| 29153 | 4228 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
| 4229 | |
| 4230 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
| 4231 execute codes for setting up coding system. Call | |
| 4232 after-insert-file-functions unconditionally. | |
| 4233 | |
| 29151 | 4234 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
| 4235 | |
| 4236 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
| 4237 BSD_PGRPS are not defined. | |
| 4238 | |
| 29142 | 4239 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
| 4240 | |
| 4241 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
| 4242 DESCRIPTION. | |
| 4243 (syms_of_charset): Avoid building same strings. | |
| 4244 | |
| 29127 | 4245 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
| 4246 | |
| 4247 * lread.c (Fload): Add a comment about the meaning of | |
| 4248 Vuser_init_file being t. | |
| 4249 | |
| 4250 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
| 4251 | |
| 4252 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
| 4253 prevents compilation on GNU/Linux systems with glib 2.2. | |
| 4254 | |
| 4255 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
| 4256 as setpgid. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4257 |
| 29104 | 4258 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 4259 | |
| 4260 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
| 4261 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
| 4262 version. | |
| 4263 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
| 4264 | |
| 29092 | 4265 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
| 4266 | |
|
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4267 * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE |
|
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4268 unconditionally. |
|
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4269 |
| 29096 | 4270 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
| 4271 | |
| 4272 * term.c (encode_terminal_code): Set coding->src_multibyte | |
| 4273 properly. | |
| 4274 | |
| 29092 | 4275 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
| 4276 | |
| 29064 | 4277 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
| 4278 | |
|
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4279 * keyboard.c (read_char): Allow character codes 128..255 to be |
|
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4280 handled by input-method-function. |
|
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4281 |
| 29064 | 4282 * insdel.c (adjust_markers_for_replace): Fix previous change. |
| 4283 (adjust_after_replace): If PREV_TEXT is nil, call | |
| 4284 adjust_markers_for_insert, not adjust_markers_for_replace. | |
| 4285 | |
| 29036 | 4286 2000-05-20 NIIBE Yutaka <gniibe@mri.co.jp> |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4287 |
| 29036 | 4288 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
| 4289 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
| 4290 [HAVE_GRANDPT]: Define. | |
| 4291 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
| 4292 | |
| 4293 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
| 4294 like SYSV_PTYS. | |
| 4295 | |
| 4296 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
| 4297 | |
| 4298 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
| 4299 | |
| 29028 | 4300 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
| 4301 | |
| 4302 The following changes are to handle 8-bit characters in a | |
| 4303 multibyte buffer/string without facing with byte combining | |
| 4304 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
| 4305 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
| 4306 | |
| 4307 * Makefile.in (fns.o): Depend on charset.h. | |
| 4308 | |
| 4309 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
| 4310 convert it to unibyte. | |
| 4311 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
| 4312 | |
| 4313 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
| 4314 apparent char boundary. | |
| 4315 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
| 4316 0x80..0x9F to/from multibyte form. | |
| 4317 | |
| 4318 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
| 4319 to unibyte. | |
| 4320 | |
| 4321 * callproc.c (Fcall_process): Always encode an argument string if | |
| 4322 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
| 4323 process_coding properly. | |
| 29102 | 4324 |
| 29028 | 4325 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
| 4326 SPLIT_NON_ASCII_CHAR. | |
| 4327 | |
| 4328 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
| 4329 as is. | |
| 4330 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
| 4331 | |
| 4332 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
| 4333 variables. | |
| 4334 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
| 4335 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
| 4336 valid. | |
| 4337 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
| 4338 and eight-bit-graphic. | |
| 4339 (char_to_string): Likewise. Signal an error for too large | |
| 4340 character code. | |
| 4341 (char_printable_p): Return 0 for 8-bit characters. | |
| 4342 (update_charset_table): Update iso_charset_table only when a final | |
| 4343 character is non-negative. | |
| 4344 (find_charset_in_text): Renamed from find_charset_in_str. | |
| 4345 Arguments and return value changed. Callers changed. | |
| 4346 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
| 4347 be -1 if CHARSET is used only internally. | |
| 4348 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
| 4349 eight-bit-graphic. | |
| 4350 (Fcharset_after): Simplified. | |
| 4351 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
| 4352 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
| 4353 (multibyte_chars_in_text): Simplified by assuming there's no | |
| 4354 invalid multibyte sequence. | |
| 4355 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
| 4356 str_as_unibyte): New functions. | |
| 4357 (Fstring): Simpified by assuming that byte combining never | |
| 4358 happens. | |
| 4359 (init_charset_once): Initialization for | |
| 4360 LEADING_CODE_8_BIT_CONTROL. | |
| 4361 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
| 4362 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
| 4363 eight-bit-control and eight-bit-graphic. | |
| 4364 | |
| 4365 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
| 4366 CHARSET_8_BIT_GRAPHIC): New macros. | |
| 4367 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
| 4368 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
| 4369 (CHARSET_REVERSE_CHARSET): Likewise. | |
| 4370 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
| 4371 eight-bit-graphic. | |
| 4372 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
| 4373 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
| 4374 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
| 4375 encounter an invalid multibyte sequence. | |
| 4376 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
| 4377 sequence is always valid. | |
| 4378 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
| 4379 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
| 4380 macros. | |
| 4381 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
| 4382 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
| 4383 multibyte sequence is always valid. | |
| 4384 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
| 4385 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
| 4386 str_as_unibyte): Extern them. | |
| 4387 (BCOPY_SHORT): Fix a bug. | |
| 4388 (CHAR_LEN): This macro deleted. Callers changed to use | |
| 4389 CHAR_BYTES. | |
| 4390 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
| 4391 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
| 4392 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
| 4393 | |
| 29161 | 4394 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
| 29028 | 4395 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
| 4396 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
| 4397 EMIT_BYTES): New macros. | |
| 4398 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
| 4399 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
| 4400 macros deleted. | |
| 4401 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
| 4402 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
| 4403 check the validity of multibyte sequence. | |
| 4404 (decode_coding_emacs_mule): New function. | |
| 4405 (encode_coding_emacs_mule): New macro. | |
| 4406 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
| 4407 the source. | |
| 4408 (DECODE_ISO_CHARACTER): Just return a character code. | |
| 4409 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
| 4410 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
| 4411 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
| 4412 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
| 4413 block here. | |
| 4414 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
| 4415 only position codes for an invalid character. | |
| 4416 (encode_designation_at_bol): Return new destination pointer. 5th | |
| 4417 arg DSTP is changed to DST. | |
| 4418 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
| 4419 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
| 4420 block here. | |
| 4421 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
| 4422 macros deleted. | |
| 4423 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
| 4424 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
| 4425 TWO_MORE_BYTES to fetch a byte from the source. | |
| 4426 (encode_eol): Pay attention to coding->src_multibyte. | |
| 4427 (detect_coding, detect_eol): Preserve members src_multibyte and | |
| 4428 dst_multibyte. | |
| 4429 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
| 4430 (encoding_buffer_size): Set magnification to 3 for all coding | |
| 4431 systems that require encoding. | |
| 4432 (ccl_coding_driver): For decoding, be sure that the result is | |
| 4433 valid multibyte sequence. | |
| 4434 (decode_coding): Initialize coding->errors and coding->result. | |
| 4435 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
| 4436 and raw-text, always call decode_eol. Handle the case of last | |
| 4437 block here. If not coding->dst_multibyte, convert the resulting | |
| 4438 sequence to unibyte. | |
| 4439 (encode_coding): Initialize coding->errors and coding->result. | |
| 4440 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
| 4441 and raw-text, always call encode_eol. Handle the case of last | |
| 4442 block here. | |
| 4443 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
| 4444 that we can't skip data more rigidly. | |
| 4445 (code_convert_region): Setup src_multibyte and dst_multibyte | |
| 4446 members of coding. For decoding, if the buffer is multibyte, | |
| 4447 convert the source sequence to unibyte in advance. For encoding, | |
| 4448 if the buffer is multibyte, convert the resulting sequence to | |
| 4449 multibyte afterward. | |
| 4450 (run_pre_post_conversion_on_str): New function. | |
| 4451 (code_convert_string): Deleted and divided into the following two. | |
| 4452 (decode_coding_string, encode_coding_string): New functions. | |
| 4453 (code_convert_string1, code_convert_string_norecord): Call one of | |
| 4454 above. | |
| 4455 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
| 4456 MAKE_NON_ASCII_CHAR. | |
| 4457 (Fset_terminal_coding_system_internal, | |
| 4458 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
| 4459 and dst_multibyte members. | |
| 4460 (init_coding_once): Initialize iso_code_class with new enum | |
| 4461 ISO_control_0 and ISO_control_1. | |
| 4462 | |
| 4463 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
| 4464 devided into ISO_control_0 and ISO_control_1. | |
| 4465 (struct coding_system): New members src_multibyte, dst_multibyte, | |
| 4466 errors, and result. Delete member fake_multibyte. | |
| 4467 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
| 4468 nonzero. | |
| 4469 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
| 4470 nonzero. | |
| 4471 | |
| 4472 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
| 4473 (Faset): Likewise. | |
| 4474 | |
| 4475 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
| 4476 multibyte form. | |
| 4477 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
| 4478 combining occurs. | |
| 4479 (Ftranspose_region): Delete codes for handling byte combining. | |
| 4480 | |
| 4481 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
| 4482 dst_multibyte members of coding. On handling REPLACE on unibyte | |
| 4483 buffer, convert the result of decode_coding to unibyte. On | |
| 4484 inserting into a mutibyte buffer, always call code_convert_region. | |
| 29161 | 4485 (e_write): Setup coding->src_multibyte according to the |
| 29028 | 4486 multibyteness of the source (buffer or string). |
| 4487 | |
| 4488 * fns.c (concat): Handle 8-bit characters correctly. | |
| 4489 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
| 4490 unibyte in the result. | |
| 4491 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
| 4492 valid multibyte form in the result. | |
| 4493 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
| 4494 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
| 4495 return -1, signal an error. | |
| 4496 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
| 4497 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
| 4498 character is found, return -1. | |
| 4499 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
| 4500 Treat each decoded byte as a unibyte character. | |
| 4501 (Fbase64_decode_string): Return unibyte string. | |
| 4502 (Fcompare_strings, concat, string_byte_to_char): Use | |
| 4503 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
| 4504 FETCH_STRING_CHAR_ADVANCE. | |
| 4505 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
| 4506 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
| 4507 | |
| 4508 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
| 4509 SPLIT_NON_ASCII_CHAR. | |
| 4510 (fontset_ref_via_base, fontset_set): Likewise | |
| 4511 | |
| 4512 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
| 4513 (adjust_markers_for_insert): Argument changed. Caller changed. | |
| 4514 (adjust_markers_for_replace): Likewise. | |
| 4515 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
| 4516 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
| 4517 (copy_text): Delete unused local varialbe c_save. For converting | |
| 4518 to multibyte, be sure to make all 8-bit characters in valid | |
| 4519 multibyte form. | |
| 4520 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
| 4521 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
| 4522 adjust_after_replace, replace_range, del_range_2) | |
| 4523 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
| 4524 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
| 4525 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
| 4526 handling byte combining. | |
| 4527 (adjust_before_replace): Deleted. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4528 |
| 29028 | 4529 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
| 4530 SPLIT_NON_ASCII_CHAR. | |
| 4531 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
| 4532 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
| 4533 unconditionally. | |
| 4534 (Fkey_description): Likewise. | |
| 4535 | |
| 4536 * lread.c (read1): On reading multibyte string, be sure to make | |
| 4537 all 8-bit chararacters in valid multibyte form. | |
| 4538 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
| 4539 | |
| 4540 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
| 4541 unconditionally. | |
| 4542 | |
| 4543 * process.c (Fstart_process): GCPRO current_dir before calling | |
| 4544 Ffind_operation_coding_system. Encode arguments here. | |
| 4545 (create_process): Don't encode arguments here. Setup | |
| 4546 src_multibyte and dst_multibyte members of struct coding. | |
| 4547 (read_process_output): Setup src_multibyte and dst_multibyte | |
| 4548 members of struct coding. If the output is to multibyte buffer, | |
| 4549 always decode the output of the process. Adjust the | |
| 4550 representation of 8-bit characters to the multibyteness of the | |
| 4551 output. | |
| 4552 (send_process): Setup coding->src_multibyte according to the | |
| 4553 multibyteness of the source. | |
| 4554 | |
| 4555 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
| 4556 unconditionally. | |
| 4557 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
| 4558 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
| 4559 | |
| 4560 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
| 4561 CHAR_LEN. | |
| 4562 | |
| 4563 * w16select.c (Fw16_set_clipboard_data): Setup members | |
| 4564 src_multibyte and dst_multibyte of coding. Adjusted for the | |
| 4565 change for find_charset_in_str. | |
| 4566 (Fw16_get_clipboard_data): Likewise. | |
| 4567 | |
| 4568 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
| 4569 dst_multibyte of coding. | |
| 4570 (x_to_w32_font): Likewise. | |
| 4571 | |
| 4572 * w32select.c (Fw32_set_clipboard_data): Setup members | |
| 4573 src_multibyte and dst_multibyte of coding. Adjusted for the | |
| 4574 change for find_charset_in_str. | |
| 4575 (Fw32_get_clipboard_data): Likewise. | |
| 4576 | |
| 4577 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
| 4578 correctly. | |
| 4579 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
| 4580 CHAR_LEN. | |
| 4581 (disp_char_vector): Use SPLIT_CHAR instead of | |
| 4582 SPLIT_NON_ASCII_CHAR. | |
| 4583 | |
| 4584 * xselect.c (selection_data_to_lisp_data): Setup members | |
| 4585 src_multibyte and dst_multibyte of coding. Adjusted for the | |
| 4586 change for find_charset_in_str. | |
| 4587 (lisp_data_to_selection_data): Likewise. | |
| 4588 | |
| 28988 | 4589 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
| 4590 | |
| 28993 | 4591 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
| 4592 buffer. | |
| 4593 | |
| 28988 | 4594 * dispextern.h (Vimage_types): Add extern declaration. |
| 4595 | |
| 4596 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
| 4597 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
| 4598 | |
| 4599 * xfns.c (Vimages_types): Moved to xdisp.c. | |
| 4600 (syms_of_xfns): Move `image-types' to xdisp.c. | |
| 4601 | |
| 4602 * w32fns.c (Vimage_types): Removed. | |
| 4603 (syms_of_w32fns): Remove `image-types'. | |
| 4604 | |
| 28965 | 4605 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
| 4606 | |
| 4607 * fns.c (map_char_table): Pay attention to character number of | |
| 4608 charset. Check the validity of charset at the first level. For | |
| 4609 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
| 4610 the default value. | |
| 4611 | |
| 4612 * fontset.c: Include "buffer.h". | |
| 4613 (fs_load_font): If the face has fontset, record the face ID in | |
| 4614 that fontset. | |
| 4615 (Finternal_char_font): New function. | |
| 4616 (accumulate_font_info): New function. | |
| 4617 (Ffontset_info): Rewritten for the new fontset implementation. | |
| 4618 (syms_of_fontset): Register Vdefault_fontset in the first element | |
| 4619 of Vfontset_table. Include Vdefault_fontset in | |
| 4620 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
| 4621 function. | |
| 4622 | |
| 28945 | 4623 2000-05-16 Dave Love <fx@gnu.org> |
| 4624 | |
| 4625 * m/iris5d.h: Deleted -- unused. | |
| 4626 | |
| 28929 | 4627 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
| 4628 | |
| 28939 | 4629 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
| 4630 `invalid' instead of `illegal'. | |
| 4631 | |
| 4632 * indent.c (Fmove_to_column): When ending within a tab, insert | |
| 4633 spaces first so that markers at the end of the tab get adjusted. | |
| 4634 | |
| 28931 | 4635 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
| 4636 buffer list that wasn't selected in that frame. | |
| 4637 | |
| 28929 | 4638 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
| 4639 is needed on mescaline, use a 2 char prefix, and call | |
| 4640 make_temp_name with second arg non-zero. | |
| 4641 | |
| 4642 * fileio.c (make_temp_name): New function, extracted from | |
| 4643 Fmake_temp_name. | |
| 4644 (Fmake_temp_name): Use it. | |
| 4645 | |
| 28921 | 4646 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 4647 | |
| 4648 * window.c (coordinates_in_window): Subtract 1 when computing | |
| 4649 right_x. | |
| 4650 | |
| 28919 | 4651 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
| 4652 | |
| 4653 * Makefile.in (lisp): Add env.elc. | |
| 4654 | |
| 4655 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
| 4656 | |
| 28887 | 4657 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
| 4658 | |
| 4659 * search.c (Freplace_match): Handle case of `\N' in the | |
| 4660 replacement when there's no group N. | |
| 4661 | |
| 28870 | 4662 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
| 4663 | |
| 28877 | 4664 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
| 4665 of the message to message_dolog. | |
| 4666 | |
| 28872 | 4667 * keyboard.c (read_char): Don't clear current message for help |
| 4668 events; let the code handling help events handle this. Change | |
| 4669 code detecting help events that should be ignored. | |
| 4670 | |
| 28870 | 4671 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
| 4672 we're interating over a string. | |
| 4673 | |
| 28848 | 4674 2000-05-09 Dave Love <fx@gnu.org> |
| 4675 | |
| 4676 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
| 4677 that offset before writing. Move gcpro region past call of | |
| 4678 Ffile_regular_p. | |
| 4679 | |
| 28820 | 4680 2000-05-04 Dave Love <fx@gnu.org> |
| 4681 | |
| 4682 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
| 4683 | |
| 28817 | 4684 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
| 4685 | |
| 4686 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
| 4687 of inserted characters when BUF equals the current buffer, and PT | |
| 4688 is in front of or equal to FROM. | |
| 4689 | |
| 28795 | 4690 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
| 4691 | |
| 28805 | 4692 * xdisp.c (handle_single_display_prop): If display property value |
| 4693 is invalid, or something not supported on the frame, restore | |
| 4694 iterator's position to what it was initially. Make sure to return | |
| 4695 0 for invalid and unsupported property values. | |
| 4696 | |
| 28795 | 4697 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
| 4698 that x_per_char_metric returns null. | |
| 4699 | |
| 28782 | 4700 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
| 4701 | |
| 28789 | 4702 * xterm.h (struct face): Add forward declaration. |
| 4703 (struct image): Ditto. | |
| 4704 (image_ascent): Add prototype. | |
| 4705 | |
| 4706 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
| 4707 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
| 4708 image_ascent instead of using IMAGE_ASCENT. | |
| 4709 | |
| 4710 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
| 4711 (IMAGE_ASCENT): Removed. | |
| 4712 | |
| 4713 * xfns.c (Qcenter): New variable. | |
| 4714 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
| 4715 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
| 4716 (image_ascent): New function. | |
| 4717 (lookup_image): Recognize `:ascent center'. | |
| 4718 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
| 4719 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
| 4720 (xbm_load): Don't set image's ascent here. | |
| 4721 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
| 4722 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
| 4723 check ascent values here. | |
| 4724 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
| 4725 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
| 4726 (syms_of_xfns): Initialize Qcenter. | |
| 4727 | |
| 28782 | 4728 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
| 4729 to the limits, increase the limits. | |
| 4730 | |
| 28765 | 4731 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
| 4732 | |
| 4733 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
| 4734 Check Vfont_encoding_alist against the full name of the opened | |
| 4735 font. | |
| 4736 | |
| 28755 | 4737 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
| 4738 | |
| 4739 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
| 4740 taller than the window. | |
| 4741 | |
| 28752 | 4742 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
| 4743 | |
| 4744 * xfaces.c (realize_x_face): Fix the argument of the second | |
| 4745 xassert. BASE_FACE may not be a face for ASCII. | |
| 4746 | |
| 28734 | 4747 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
| 4748 | |
| 28748 | 4749 * print.c (print_object): Treat print-length < 0 as nil. |
| 4750 | |
| 4751 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
| 4752 | |
| 4753 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
| 4754 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
| 4755 | |
| 4756 * lread.c (read1): Don't treat period followed by certain | |
| 4757 characters as symbol start. | |
| 4758 | |
| 4759 * xfns.c (slurp_file): New function. | |
| 4760 (xbm_image_p): Handle case of in-memory XBM files. | |
| 4761 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
| 4762 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
| 4763 Work on memory buffers instead of files. If DATA is null test | |
| 4764 if buffer looks like an in-memory XBM file. | |
| 4765 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
| 4766 memory buffers instead of files. | |
| 4767 (xbm_file_p): New function. | |
| 4768 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
| 4769 | |
| 28734 | 4770 * lread.c (end_of_file_error): New function. |
| 4771 (read1): Call it instead of signaling `end-of-file' directly. | |
| 4772 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4773 * print.c (print_error_message): Print data of `end-of-file' |
| 28734 | 4774 with Fprinc instead of Fprin1. |
| 4775 | |
|
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4776 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4777 |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4778 * window.c (freeze_window_start): Check that minibuffer scroll |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4779 window isn't nil before extracting the window structure pointer |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4780 from it. |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4781 |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4782 * undo.c (record_delete): If we hit the end of the undo list, stop |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4783 picking elements apart. |
|
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4784 |
| 28724 | 4785 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
| 4786 | |
| 4787 * xdisp.c (display_line): If lines are continued, restore | |
| 4788 iterator's ascent/descent information to the values before the | |
| 4789 first glyph not fitting on the line. | |
| 4790 | |
| 28710 | 4791 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
| 4792 | |
| 4793 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
| 4794 positions in glyph matrix. Don't compute new window end | |
| 4795 positions. | |
| 4796 | |
| 4797 * dispnew.c (increment_matrix_positions): Renamed from | |
| 4798 increment_glyph_matrix_buffer_positions. | |
| 4799 (increment_row_positions): Renamed from | |
| 4800 increment_glyph_row_buffer_positions. | |
| 4801 | |
| 4802 * dispextern.h: Change names of renamed functions from dispnew.c | |
| 4803 in prototypes. | |
| 4804 | |
| 28695 | 4805 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
| 4806 | |
| 28699 | 4807 * fileio.c (Fdo_auto_save): Create directories for auto-save |
| 4808 list file if necessary. | |
| 4809 | |
| 28695 | 4810 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
| 4811 from buffer or frame. | |
| 4812 (automatic_hscrolling_p): New variable. | |
| 4813 (hscroll_windows): Scroll windows horizontally only if automatic | |
| 4814 hscrolling is allowed. | |
| 4815 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
| 4816 | |
| 4817 * frame.h (struct frame): Add member extra_line_spacing. | |
| 4818 | |
| 4819 * xfns.c (x_set_line_spacing): New function. | |
| 4820 (Fx_create_frame): Set line spacing from resources. | |
| 4821 (Qline_spacing): New variable. | |
| 4822 (syms_of_xfns): Initialize Qline_spacing. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4823 |
| 28695 | 4824 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
| 4825 | |
| 4826 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
| 4827 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
| 28699 | 4828 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
| 28695 | 4829 extra_line_spacing from default value. |
| 4830 (init_buffer_once): Initialize default value of extra_line_spacing. | |
| 4831 | |
| 4832 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
| 4833 and extra3. | |
| 4834 | |
| 4835 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
| 4836 prompt_width. Add extra line spacing. | |
| 4837 | |
| 4838 * term.c (produce_glyphs): Remove reference to struct it's | |
| 4839 prompt_width. | |
| 4840 | |
| 4841 * dispextern.h (struct it): Remove member prompt_width, add | |
| 4842 extra_line_spacing. | |
| 4843 | |
| 28683 | 4844 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
| 4845 | |
| 4846 * dispnew.c (update_frame_line): When writing a whole line, make | |
| 4847 sure cursor is in the right row afterwards, otherwise a use of | |
| 4848 capability `ch' in cmgoto might leave the cursor in the row below. | |
| 4849 | |
| 28680 | 4850 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
| 4851 | |
| 4852 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
| 4853 | |
| 4854 * keyboard.c (timer_check): Fix typo in comment. | |
| 4855 | |
| 28675 | 4856 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
| 4857 | |
| 4858 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
| 4859 name change: ch -> character. | |
| 4860 | |
| 28674 | 4861 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
| 4862 | |
| 4863 * keyboard.c (echo_message_buffer): New variable. | |
| 4864 (echo_now): Set echo_message_buffer to the echo area buffer used | |
| 4865 to display the echo. | |
| 4866 (cancel_echoing): Reset echo_message_buffer to nil. | |
| 4867 (read_char): Code rewritten that handles canceling an echo or | |
| 4868 echoing a dash, respectively. | |
| 4869 | |
| 4870 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
| 4871 directory doesn't exist. | |
| 4872 | |
| 28668 | 4873 2000-04-19 Dave Love <fx@gnu.org> |
| 4874 | |
| 4875 * fns.c (syms_of_fns): Defsubr mapc. | |
| 28756 | 4876 (concat): Don't allow numeric args. |
| 4877 (Fconcat): Doc change. | |
| 28668 | 4878 |
|
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4879 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
|
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4880 |
|
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4881 * regex.c (re_match_2_internal): Don't shorten the strings anymore, |
|
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4882 instead define end_match(1|2) more carefully. |
|
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4883 Use GET_CHAR_BEFORE_2 for `begline'. |
|
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4884 |
| 28648 | 4885 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
| 4886 | |
| 28653 | 4887 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
| 4888 on 64-bit systems where NULL is defined as `0'. | |
| 4889 | |
| 4890 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
| 4891 the `variable argument list' to make it work on Alpha. | |
| 4892 | |
| 28648 | 4893 * m/alpha.h (_LP64) [!_LP64]: Define. |
| 4894 (ORDINARY_LINK): Define for NetBSD. | |
| 4895 | |
| 4896 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4897 |
| 28637 | 4898 2000-04-19 Dave Love <fx@gnu.org> |
| 4899 | |
| 28644 | 4900 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
| 4901 change. | |
| 4902 | |
| 4903 * Makefile.in (LIBS): Don't use. | |
| 4904 (GETLOADAVG_OBJ): Define again. | |
| 4905 (otherobj): Add GETLOADAVG_OBJ. | |
| 4906 | |
| 28637 | 4907 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
| 4908 | |
| 28630 | 4909 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
| 4910 | |
| 28634 | 4911 * lread.c (read_filtered_event): Cancel and start busy cursor. |
| 4912 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4913 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
| 28630 | 4914 that the per-character metrics may be null. |
| 4915 | |
| 28621 | 4916 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
| 4917 | |
| 28626 | 4918 * buffer.c (clone_per_buffer_values): New function. |
| 4919 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
| 4920 clone_per_buffer_values if CLONE is not nil. | |
| 4921 | |
| 28621 | 4922 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
| 4923 | |
| 28610 | 4924 2000-04-16 Dave Love <fx@gnu.org> |
| 4925 | |
| 4926 * Makefile.in: Remove obsolete localcpp stuff. | |
| 4927 (GETLOADAVG_OBJ): Don't define. | |
| 4928 (obj): Move LIBOBJS... | |
| 4929 (otherobj): ... to here. | |
| 4930 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
| 4931 whitespace-only lines after the continuation (Irix). | |
| 4932 | |
| 28598 | 4933 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
| 4934 | |
| 4935 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
| 4936 | |
| 4937 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
| 4938 | |
| 28595 | 4939 2000-04-14 Dave Love <fx@gnu.org> |
| 4940 | |
| 4941 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
| 4942 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
| 4943 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
| 4944 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
| 4945 NLIST_STRUCT. | |
| 4946 | |
| 4947 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
| 4948 autoconfiscated HAVE_GETLOADAVG. | |
| 4949 | |
| 4950 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
| 4951 BROKEN_MKTIME. | |
| 4952 | |
| 28591 | 4953 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
| 4954 | |
| 4955 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
| 4956 (fill_in_lock_file_name): Avoid existing files that aren't | |
| 4957 links. | |
| 4958 | |
| 28588 | 4959 2000-04-14 Dave Love <fx@gnu.org> |
| 4960 | |
| 28598 | 4961 * Makefile.in (LIBS, LIBOBJS): New variable. |
| 28588 | 4962 (INTERVAL_SRC): Convert to make variable. |
| 4963 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
| 4964 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
| 4965 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
| 4966 add LIBOBJS. | |
| 4967 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
| 4968 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
| 4969 (shortlisp): Add facemenu, float-sup, frame. | |
| 4970 (SOME_MACHINE_LISP): Remove them from here. | |
| 4971 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
| 4972 | |
| 4973 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
| 4974 | |
| 28579 | 4975 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
| 4976 | |
| 28580 | 4977 * composite.c (update_compositions): If FROM and TO are not in a |
| 28579 | 4978 valid range, do nothing. |
| 4979 | |
| 28577 | 4980 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
| 4981 | |
| 4982 * tparam.c (tparam1): Abort when encountering an unknown | |
| 4983 `%'-specifier. | |
| 4984 | |
| 4985 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
| 4986 terminfo.o. | |
| 4987 | |
| 4988 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
| 4989 as TERMCAP_OBJ. | |
| 4990 | |
| 28562 | 4991 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
| 4992 | |
| 4993 * fileio.c (a_write): Remove redundant semi-colons. | |
| 4994 (e_write): Return -1 if failed to write all the data. | |
| 4995 This fixes the changes made at 1999-12-15. | |
| 4996 | |
|
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4997 2000-04-12 Dave Love <fx@gnu.org> |
|
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4998 |
|
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4999 * fns.c (mapcar1): Test for null vals to support mapc. |
|
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
5000 (Fmapc): New function. |
|
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
5001 |
| 28554 | 5002 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
| 5003 | |
| 5004 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
| 5005 (IT_frame_up_to_date): Support the buffer local value of | |
| 5006 cursor-type, if defined. | |
| 5007 | |
| 28547 | 5008 2000-04-10 Dave Love <fx@gnu.org> |
| 5009 | |
| 5010 * editfns.c (preceding-char, following-char): Doc fix. | |
| 5011 | |
|
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5012 2000-04-10 Ken Raeburn <raeburn@gnu.org> |
|
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5013 |
|
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5014 * Makefile.in (temacs): Revert 2000-03-12 change. |
|
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5015 |
| 28543 | 5016 2000-04-10 Jason Rumney <jasonr@gnu.org> |
| 5017 | |
| 5018 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
| 5019 | |
| 28538 | 5020 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
| 5021 | |
| 28542 | 5022 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
| 5023 area buffer, if it's not set up yet. | |
| 5024 | |
| 28538 | 5025 * indent.c (compute_motion): Set immediate_quit. |
| 5026 | |
| 28523 | 5027 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
| 5028 | |
| 28530 | 5029 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
| 5030 variable. | |
| 5031 (realize_tty_face): Suppress boldness if colors are the inverse of | |
| 5032 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
| 5033 is set. | |
| 5034 (Ftty_suppress_bold_inverse_default_colors): New function. | |
| 5035 (syms_of_xfaces): Defsubr it. | |
| 5036 | |
| 28523 | 5037 * buffer.c (Frestore_buffer_modified_p): New function. |
| 5038 (syms_of_buffer): Defsubr it. | |
| 5039 | |
|
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5040 2000-04-08 Ken Raeburn <raeburn@gnu.org> |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5041 |
|
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5042 * charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a |
|
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5043 charset id (int) argument, not a charset (Lisp_Object). |
|
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5044 |
|
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5045 * coding.h (code_convert_string): Declare. |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5046 * coding.c (code_convert_string_norecord): Pass an int, not a lisp |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5047 object, as the fourth argument to code_convert_string. |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5048 |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5049 * fontset.c (make_fontset_for_ascii_face): Use XINT on return |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5050 value. |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5051 (Fset_fontset_font): Use EQ to compare lisp objects. |
|
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5052 |
|
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5053 2000-04-05 Ken Raeburn <raeburn@gnu.org> |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5054 |
|
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5055 * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5056 a pointer that looks like a lisp object. |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5057 (SET_INTERVAL_OBJECT): Don't explicitly compare the object with |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5058 zero, instead see whether it's an integer object, since they can't |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5059 have intervals. |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5060 (GET_INTERVAL_OBJECT): Simply assign to the destination. |
|
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5061 |
|
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5062 * dispnew.c (allocate_matrices_for_frame_redisplay, |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5063 direct_output_forward_char): Use X(U)INT and make_number as needed |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5064 to convert between (unsigned) int values and lisp integers. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5065 * keyboard.c (read_key_sequence): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5066 * lread.c (substitute_object_recurse): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5067 * fns.c (concat, hash_lookup, hash_remove): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5068 * minibuf.c (do_completion, Fminibuffer_complete_word, |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5069 Fminibuffer_completion_help): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5070 * term.c (produce_special_glyphs): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5071 |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5072 * fileio.c (Fwrite_region): Use EQ when comparing lisp objects. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5073 * print.c (print_preprocess, print_object): Likewise. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5074 |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5075 * search.c (compile_pattern): Use NILP when checking for nil. |
|
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5076 |
|
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5077 * lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5078 __OPTIMIZE__]: Provide a GNU C macro version that handles |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5079 lisp-object unions. |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5080 (XSET) [!NO_UNION_TYPE]: Set the value field first, then the type |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5081 field, to better cope with ENABLE_CHECKING and calls that modify a |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5082 Lisp_Object using its old value. |
|
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5083 |
| 28499 | 5084 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
| 5085 | |
| 28506 | 5086 * window.c (compare_window_configurations): Signal an error |
| 5087 if parameters C1 or C2 aren't window configurations. | |
| 5088 | |
| 28499 | 5089 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
| 5090 AFTER_POTENTIAL_GC calls around calls to functions that can | |
| 5091 signal an error and thus invoke the debugger. | |
| 5092 | |
| 28483 | 5093 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
| 5094 | |
| 28496 | 5095 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
| 5096 an error if decoding fails. | |
| 5097 | |
| 28483 | 5098 * keyboard.c (lispy_mouse_names): Variable removed. |
| 5099 (Vlispy_mouse_stem): New variable. | |
| 5100 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
| 5101 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
| 5102 for any mouse button number. Increase size of mouse_syms and | |
| 5103 button_down_location as needed. Call modify_event_symbol with | |
| 5104 different arguments. | |
| 5105 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
| 5106 Call modify_event_symbol with different arguments. | |
| 5107 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
| 5108 for any button number. Call modify_event_symbol with different | |
| 5109 arguments. | |
| 5110 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
| 5111 Accept a string for NAME_ALIST_OR_STEM. | |
| 5112 | |
| 5113 * lisp.h (larger_vector): Add prototype. | |
| 5114 | |
| 5115 * fns.c (larger_vector): Make externally visible. | |
| 5116 | |
| 5117 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
| 5118 | |
|
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5119 2000-04-02 Stefan Monnier <monnier@cs.yale.edu> |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5120 |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5121 * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5122 (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5123 (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5124 we are between str1 and str2. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5125 (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5126 (PATFETCH): Use `TRANSLATE'. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5127 (PATFETCH_RAW): Fetch multibyte char if applicable. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5128 (PATUNFETCH): Remove. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5129 (regex_compile): Rely on PATFETCH to do most of the multibyte magic. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5130 When writing a char, write it directly into the pattern buffer rather |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5131 than going needlessly through a temp char-array. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5132 (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5133 multibyte magic and remove the useless `#ifdef emacs'. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5134 (bcmp_translate): Don't compare as multibyte chars when in a unibyte |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5135 buffer. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5136 |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5137 * regex.h (struct re_pattern_buffer): Make field `multibyte' |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5138 conditional on `emacs'. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5139 |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5140 * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c. |
|
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5141 |
|
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5142 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5143 |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5144 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5145 non-union-type versions of XMARK and friends here, because XMARK |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5146 and friends won't work on an integer field if NO_UNION_TYPE is not |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5147 defined. |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5148 (make_number): Define as a function if it's not defined as a |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5149 macro. |
|
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5150 |
|
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5151 * composite.c (run_composite_function): Use NILP when checking for |
|
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5152 nil. |
|
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5153 (syms_of_composite): Delete local var NARGS, pass an int as first |
|
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5154 argument to Fmake_hash_table. |
|
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5155 |
|
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5156 * editfns.c (text_property_stickiness): Use NILP to test |
|
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5157 Lisp_Object boolean value. |
|
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5158 (Fmessage_or_box): Don't use NILP to test int variable. |
|
28470
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5159 (Fformat): Use a temporary variable to avoid ENABLE_CHECKING |
|
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5160 problems reading from and changing the same lisp value in an |
|
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5161 XSETSTRING call. |
|
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5162 |
| 28466 | 5163 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
| 5164 | |
| 5165 * term.c (TN_no_color_video): New variable. | |
| 5166 (term_init): Intitialize TN_no_color_video. | |
| 5167 (enum no_color_bit): New enumeration. | |
| 5168 (MAY_USE_WITH_COLORS_P): New macro. | |
| 5169 (turn_on_face): Use it to determine if attributes may be used | |
| 5170 combined with colors. | |
| 5171 | |
|
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5172 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5173 |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5174 * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5175 with int lvalues via casts; instead, just yield lisp object |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5176 lvalues. |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5177 (enlarge_window): Variable sizep now points to Lisp_Object. Use |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5178 proper accessor macros. |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5179 (shrink_window_lowest_first): w->top is Lisp_Object; use XINT. |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5180 (grow_mini_window): Fix typo getting int value of root->height. |
|
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5181 |
|
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5182 * xdisp.c (compute_string_pos): Fix order of arguments to |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5183 string_pos_nchars_ahead. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5184 (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5185 count arg to variable-arg routines like Frun_hook_with_args and |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5186 Fformat. |
| 28483 | 5187 (back_to_previous_visible_line_start) |
| 5188 (build_desired_tool_bar_string): Pass Lisp_Object, not int, to | |
|
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5189 fixed-arg routines like Fget_char_property and Fmake_string. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5190 (reconsider_clip_changes): Use XINT when comparing integer lisp |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5191 objects, or passing them as int arguments. |
| 28483 | 5192 (mark_window_display_accurate, insert_left_trunc_glyphs) |
| 5193 (append_space, extend_face_to_end_of_line): Use make_number when | |
|
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5194 storing or passing integer values as lisp objects. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5195 (set_cursor_from_row, highlight_trailing_whitespace): Use |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5196 INTEGERP, not implicit test against zero, for glyph object. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5197 (try_window_id): Don't use make_number when we want an int value. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5198 |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5199 * xfaces.c (xlfd_symbolic_value): Make last argument a |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5200 Lisp_Object, to be consistent with callers. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5201 (Fbitmap_spec_p): Use XINT to get numeric value of height. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5202 (lface_hash): Apply XFASTINT to lisp values before folding in. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5203 |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5204 * xfns.c (Fx_show_tip): Use make_number to get lisp objects to |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5205 fill in window width and height. Pass an int, not a lisp object, |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5206 as first arg to Finsert. |
|
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5207 |
| 28455 | 5208 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
| 5209 | |
| 28462 | 5210 * xfaces.c (realize_basic_faces): Block input while realizing |
| 5211 the faces. | |
| 5212 | |
| 28455 | 5213 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
| 5214 | |
| 5215 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
| 5216 | |
| 28444 | 5217 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
| 5218 | |
| 5219 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
| 28462 | 5220 or ASCII, handle case that per-char metric is null. |
| 28444 | 5221 |
|
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5222 2000-03-30 Ken Raeburn <raeburn@gnu.org> |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5223 |
|
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
5224 * lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef. |
|
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
5225 |
|
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5226 * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5227 XSUBR, XBUFFER): Verify correct object type before returning |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5228 pointer, using eassert. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5229 * frame.h (XFRAME): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5230 |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5231 * buffer.c (Frename_buffer, Fset_buffer_multibyte, |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5232 swap_out_buffer_local_variables, Fmove_overlay): Don't apply |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5233 XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5234 type. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5235 * data.c (set_internal): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5236 * dispextern.h (WINDOW_WANTS_MODELINE_P, |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5237 WINDOW_WANTS_HEADER_LINE_P): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5238 * fileio.c (auto_save_1): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5239 * insdel.c (check_markers): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5240 * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5241 * undo.c (record_insert): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5242 * vmsproc.c (child_sig): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5243 * window.c (unshow_buffer, window_loop): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5244 * xterm.c (x_erase_phys_cursor): Likewise. |
|
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5245 |
| 28415 | 5246 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
| 5247 | |
| 5248 * xfns.c (free_image_cache): Free the cache structure itself | |
| 5249 last, after all its members have been freed. | |
| 5250 | |
| 5251 * lisp.h (xstrdup): Add prototype. | |
| 5252 | |
| 5253 * alloc.c (xstrdup): Moved here from xfaces.c. | |
| 5254 (allocating_for_lisp): Variable removed. | |
| 5255 (lisp_malloc): Block input around the calls to malloc and | |
| 5256 mem_insert. | |
| 5257 | |
| 5258 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
| 5259 of Fsymbol_value. | |
| 5260 (xstrdup): Moved to alloc.c. | |
| 5261 | |
|
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5262 2000-03-29 Ken Raeburn <raeburn@gnu.org> |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5263 |
|
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5264 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
|
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5265 |
|
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5266 * emacs.c (main): Fix sense of no-loadup test. |
|
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5267 |
|
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5268 * config.in (ENABLE_CHECKING): Undef. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5269 |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5270 * lisp.h (struct interval): Replace "parent" field with a union of |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5271 interval pointer and Lisp_Object; add new bitfield to use as |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5272 discriminant. Change other flag fields to bitfields. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5273 (CHECK): New macro for consistency checking. If ENABLE_CHECKING |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5274 is defined and the supplied test fails, print a message and |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5275 abort. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5276 (eassert): New macro. Use CHECK to provide an assert-like |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5277 facility. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5278 |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5279 * intervals.h (NULL_INTERVAL_P): Now applies only to real interval |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5280 pointers; abort if the value looks like a lisp object. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5281 (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5282 SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5283 Modify for new interval parent definition. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5284 |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5285 * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5286 UNMARK_BALANCE_INTERVALS): Update references that need an |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5287 addressable lisp object in the interval structure. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5288 (die): New function. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5289 (suppress_checking): New variable. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5290 |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5291 * intervals.c (interval_start_pos): Just return 0 if there's no |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5292 parent object. |
|
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5293 |
| 28390 | 5294 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
| 5295 | |
| 5296 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
| 5297 and earlier Emacs versions. | |
| 5298 | |
| 5299 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
| 5300 | |
| 5301 * eval.c (call_debugger): Cancel busy-cursor. | |
| 5302 | |
| 28385 | 5303 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
| 5304 | |
| 5305 * search.c (Freplace_match): Adjust multibyteness of the current | |
| 28386 | 5306 buffer and NEWTEXT. Free allocated memory before signaling an |
| 5307 error. | |
| 28385 | 5308 |
|
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5309 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5310 |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5311 * regex.c (analyse_first): New function obtained by ripping out most |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5312 of re_compile_fastmap and generalizing it a little bit so that it |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5313 can also just return whether a given (sub)pattern can match the empty |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5314 string or not. |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5315 (regex_compile): Use `analyse_first' to decide whether the loop-check |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5316 needs to be done or not for *, +, *? and +? (the loop check is costly |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5317 for non-greedy repetition). |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5318 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
|
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5319 |
| 28375 | 5320 2000-03-28 Dave Love <fx@gnu.org> |
| 5321 | |
| 28379 | 5322 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
| 5323 alpha. | |
| 5324 | |
| 28375 | 5325 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
| 5326 | |
|
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5327 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5328 |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5329 * regex.c (REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5330 an expression. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5331 (enum re_opcode_t): Update description of succeed_n. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5332 (PATFETCH): Always define. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5333 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5334 operators, char classes, shy-groups and intervals). |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5335 Optimize special cases of intervals so as to only use succeed_n and |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5336 jump_n when really needed. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5337 (re_compile_fastmap): Simplify handling of jump_n and succeed_n now |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5338 that we don't have to handle the special cases any more. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5339 Simplify on_failure_jump handling as well. |
|
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5340 |
| 28371 | 5341 2000-03-28 Jason Rumney <jasonr@gnu.org> |
| 5342 | |
| 5343 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
| 5344 | |
| 28348 | 5345 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
| 5346 | |
| 28366 | 5347 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
| 5348 | |
| 5349 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5350 |
| 28366 | 5351 * alloc.c (mark_maybe_object): New function. |
| 5352 (mark_memory): Use it. | |
| 5353 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
| 5354 (setjmp_tested_p, longjmp_done): New variables. | |
| 5355 (test_setjmp): New function. | |
| 5356 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
| 5357 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
| 5358 | |
| 28363 | 5359 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
| 5360 to DEC_TEXT_POS and INC_TEXT_POS. | |
| 5361 | |
| 5362 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
| 5363 with parameter MULTIBYTE_P. | |
| 5364 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5365 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
| 28363 | 5366 MULTIBYTE_P. |
| 5367 | |
| 28359 | 5368 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
| 28366 | 5369 buffers because it looks for multibyte character byte sequences |
| 5370 which don't exist in unibyte text. | |
| 28359 | 5371 |
| 28357 | 5372 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
| 5373 | |
| 28368 | 5374 * xfaces.c (register_color, unregister_color, unregister_colors) |
| 28357 | 5375 [DEBUG_X_COLORS]: New functions. |
| 5376 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
| 5377 | |
| 5378 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
| 5379 | |
| 5380 * xterm.c (x_copy_color): New function. | |
| 5381 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
| 5382 | |
| 5383 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
| 5384 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
| 5385 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
| 5386 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
| 5387 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
| 5388 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
| 5389 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
| 5390 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
| 5391 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
| 5392 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
| 5393 | |
| 28368 | 5394 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
| 5395 names for handling per-buffer variables. | |
| 28357 | 5396 |
| 5397 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
| 5398 instead of MAX_BUFFER_LOCAL_VARS. | |
| 5399 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
| 5400 | |
| 5401 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
| 5402 | |
| 28348 | 5403 * xfns.c (x_specified_cursor_type): New function. |
| 5404 (x_set_cursor_type): Use it. | |
| 5405 | |
| 5406 * buffer.h (struct buffer): Add cursor_type. | |
| 5407 | |
|
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5408 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5409 |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5410 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5411 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
| 28348 | 5412 opcode. |
|
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5413 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5414 (re_match_2_internal): Add code for on_failure_jump_nastyloop when |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5415 executing it as well as when popping it off the stack to find infinite |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5416 loops in non-greedy repetition operators. |
|
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5417 |
| 28320 | 5418 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
| 5419 | |
| 28335 | 5420 * doc.c (Qfunction_documentation): New variable. |
| 5421 (syms_of_doc): Initialize Qfunction_documentation. | |
| 5422 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
| 5423 `function-documentation' property, return a documentation derived | |
| 5424 from that. | |
| 5425 | |
| 28333 | 5426 * buffer.c (syms_of_buffer): Add default-cursor-type. |
| 5427 (init_buffer_once): Don't let cursor_type have a local value | |
| 5428 in every buffer. | |
| 5429 | |
| 28323 | 5430 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
| 5431 on buffer-local value of cursor_type. | |
| 5432 (x_draw_bar_cursor): Add parameter WIDTH. | |
| 5433 | |
| 5434 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
| 5435 (init_buffer_once): Set default cursor_type value to t. | |
| 5436 Mark cursor_type as local everywhere. | |
| 5437 (syms_of_buffer): New per-buffer variable cursor-type. | |
| 5438 | |
| 28320 | 5439 * buffer.h (struct buffer): Remove member local_var_flags, |
| 5440 add local_flags. | |
| 5441 (MAX_BUFFER_LOCAL_VARS): New macro. | |
| 5442 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
| 5443 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
| 5444 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
| 5445 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
| 5446 | |
| 5447 * print.c (print_object): Use new macros for per-buffer | |
| 5448 variables. | |
| 5449 | |
| 5450 * category.c (Fset_category_table): Use new macros for per-buffer | |
| 5451 variables. | |
| 5452 | |
| 5453 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
| 5454 (max_buffer_local_idx): New variable. | |
| 5455 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
| 5456 for new handling of per-buffer variables. | |
| 5457 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
| 5458 (init_buffer_once): Initialize per-buffer vars differently. | |
| 5459 Set max_buffer_local_idx. | |
| 5460 | |
| 5461 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
| 5462 variables. | |
| 5463 | |
| 5464 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
| 5465 variables. | |
| 5466 | |
| 5467 * data.c (do_symval_forwarding, store_symval_forwarding) | |
| 5468 (find_symbol_value, set_internal, default_value, Fset_default) | |
| 5469 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
| 5470 per-buffer variables. | |
| 5471 | |
| 5472 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
| 5473 | |
| 28303 | 5474 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
| 5475 | |
| 28308 | 5476 * xterm.c (x_term_init): Unblock input around call1 of |
| 5477 Qvendor_specific_keysyms. | |
| 5478 | |
| 28303 | 5479 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
| 5480 (find_defun_start): Consider an open parenthesis in column 0 | |
| 5481 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
| 5482 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
| 5483 | |
|
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5484 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
|
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5485 |
|
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5486 * eval.c (Fautoload): Add entry in load-history (if after dump). |
|
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5487 * lread.c (load-history): Update docstring. |
|
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5488 |
| 28294 | 5489 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
| 5490 | |
| 5491 * indent.c (Fvertical_motion): Always use the current buffer. | |
| 5492 Temporarily change the window's buffer, if necessary. | |
| 5493 | |
| 28283 | 5494 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
| 5495 | |
| 5496 * xterm.c (fast_find_position): Make sure not to consider rows | |
| 5497 not visible in the window. | |
| 5498 | |
|
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5499 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
|
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5500 |
|
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5501 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
|
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5502 (re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix. |
|
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5503 |
| 28276 | 5504 2000-03-22 Jason Rumney <jasonr@gnu.org> |
| 5505 | |
| 5506 * w32menu.c (single_submenu): Set help string to NULL if none. | |
| 5507 (w32_menu_show): Set help string correctly. | |
| 5508 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
| 5509 Load SetMenuItemInfoA explicitly. | |
| 5510 (w32_menu_display_help): New function. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5511 |
| 28276 | 5512 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
| 5513 (QCdata): Moved to xdisp.c. | |
| 5514 | |
| 5515 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
| 5516 (Vw32_charset_to_codepage_alist): Removed. | |
| 5517 (Vw32_charset_info_alist): New variable. | |
| 5518 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
| 5519 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
| 5520 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
| 5521 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
| 5522 with TODO comment. | |
| 5523 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
| 5524 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
| 5525 Define Vw32_charset_info_alist and w32_charset symbols. | |
| 5526 | |
| 5527 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
| 5528 | |
| 5529 * makefile.nt (w32bdf.obj): Update dependencies. | |
| 5530 | |
| 5531 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
| 5532 | |
| 5533 * w32fns.c: Include fontset.h after dispextern.h. | |
| 5534 (Fx_create_frame): Do not create fontset. | |
| 5535 (w32_load_system_font): Doc fix. | |
| 5536 (Fx_close_connection): Free full_name if it is not shared. | |
| 5537 | |
| 5538 * w32term.c: Include fontset.h after dispextern.h. | |
| 5539 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
| 5540 updated. | |
| 5541 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
| 5542 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
| 5543 (w32_font_is_double_byte): New function, needs body. | |
| 5544 (x_append_glyph): Set glyph->glyph_not_available_p. | |
| 5545 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
| 5546 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
| 5547 character, convert it to a unibyte character. | |
| 5548 (struct glyph_string): Delete member `charset'. | |
| 5549 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
| 5550 calculating it is found. | |
| 5551 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
| 5552 the case that per char metric is not available correctly. | |
| 5553 (x_fill_glyph_string): Handle the case that the specific glyph is | |
| 5554 not available correctly. | |
| 5555 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
| 5556 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
| 5557 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
| 5558 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
| 5559 fontset. Don't call FS_LOAD_FONT. | |
| 5560 | |
|
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5561 2000-03-22 Ken Raeburn <raeburn@gnu.org> |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5562 |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5563 * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5564 (INT_LISPLIKE): New macro. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5565 (NULL_INTERVAL_P): Use it. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5566 (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5567 SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5568 GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5569 |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5570 * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5571 explicit references to "parent" field of struct interval and |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5572 associated unclean type conversions. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5573 * intervals.c (create_root_interval, root_interval, rotate_right, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5574 rotate_left, balance_possible_root_interval, split_interval_right, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5575 split_interval_left, interval_start_pos, find_interval, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5576 next_interval, previous_interval, update_interval, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5577 adjust_intervals_for_insertion, delete_node, delete_interval, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5578 adjust_intervals_for_deletion, merge_interval_right, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5579 merge_interval_left, reproduce_tree, graft_intervals_into_buffer, |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5580 copy_intervals_to_string): Likewise. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5581 * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5582 Likewise. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5583 * syntax.c (update_syntax_table): Likewise. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5584 |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5585 * intervals.c (reproduce_tree_obj): New function, like |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5586 reproduce_tree but takes a Lisp_Object for the parent. Declare |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5587 with prototype. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5588 (graft_intervals_into_buffer): Use it when appropriate. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5589 (reproduce_tree): Declare with prototype. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5590 (balance_possible_root_interval): Check that the parent is a lisp |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5591 object before trying to examine its type. |
|
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5592 |
| 28267 | 5593 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
| 5594 | |
| 5595 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
| 5596 as strings only if both are known to be strings. | |
| 5597 | |
| 5598 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
| 5599 | |
|
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5600 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5601 |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5602 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5603 definitions for non-Emacs compilation. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5604 (enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5605 outside of `#ifdef emacs'. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5606 (print_partial_compiled_pattern): Update. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5607 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5608 (re_compile_fastmap): Merge handling of charset and charset_not (for |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5609 emacs and non-emacs compilation as well). |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5610 Similarly for (not)categoryspec and (not)syntaxspec. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5611 Don't use the fastmap when reaching `anychar' since the added |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5612 complexity is not justified. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5613 (re_match_2_internal): Merge (not)wordchar (emacs and non-emacs) |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5614 and (not)syntaxspec. Merge (not)categoryspec. |
|
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5615 |
| 28253 | 5616 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
| 5617 | |
| 28255 | 5618 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
| 5619 FACE_FOR_CHAR): Define them differently for the configuration of | |
| 5620 --without-x. | |
| 28253 | 5621 |
| 28242 | 5622 2000-03-21 Dave Love <fx@gnu.org> |
| 5623 | |
| 5624 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
| 5625 doc string. | |
| 5626 | |
| 28238 | 5627 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
| 5628 | |
| 5629 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
| 5630 (lface_fully_specified_p): Don't check contents of | |
| 5631 LFACE_FONT_INDEX because that attribute is optional. | |
| 5632 (realize_x_face): Remove now unwarranted xassert. | |
| 5633 | |
| 28218 | 5634 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
| 5635 | |
| 28219 | 5636 The following changes are to make font selection based on |
| 5637 characters, not charset. In addition, they recover fontset | |
| 5638 facilities while utilizing the new font selection mechanism. | |
| 28218 | 5639 |
| 28233 | 5640 * Makefile.in (fontset.o): Depend on dispextern.h. |
| 5641 | |
| 5642 * alloc.c (mark_face_cache): Don't mark face->registry. | |
| 5643 | |
| 28218 | 5644 * dispextern.h (struct glyph): New member glyph_not_available_p. |
| 5645 Use 22 bits for face_id. | |
| 5646 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
| 5647 (struct face): Delete member registry, new member ascii_face. | |
| 5648 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
| 5649 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
| 5650 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
| 5651 (struct it): Delete member charset, new member | |
| 5652 glyph_not_available_p. | |
| 5653 | |
| 5654 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
| 5655 (struct fontset_info, struct fontset_data): Structs removed. | |
| 5656 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
| 5657 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
| 5658 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
| 5659 (fs_free_face_fontset, fontset_font_pattern, | |
| 5660 face_suitable_for_char_p, face_for_char, | |
| 5661 make_fontset_for_ascii_face): Extern them. | |
| 5662 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
| 5663 (FS_LOAD_FACE_FONT): New macro. | |
| 5664 | |
| 5665 * fontset.c: All codes rewritten or adjusted for the change of | |
| 5666 fontset implementation. Now fontset is represented by char table. | |
| 5667 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
| 5668 removed. | |
| 5669 (my_strcasecmp): Function removed. | |
| 5670 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
| 5671 variables. | |
| 5672 (AREF, ASIZE): New macros. | |
| 5673 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
| 5674 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
| 5675 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
| 5676 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
| 5677 fontset_id_valid_p, font_family_registry, fontset_name, | |
| 5678 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
| 5679 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
| 5680 New functions. | |
| 5681 (fs_load_font): New arg FACE. Caller changed. | |
| 5682 (fs_query_fontset): Argument changed. Caller changed. | |
| 5683 (Fquery_fontset): call fs_query_fontset. | |
| 5684 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
| 5685 Functions removed. | |
| 5686 (clear_fontset_elements, check_registry_encoding, | |
| 5687 check_fontset_name): New functions. | |
| 5688 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
| 5689 to 3. Staticpro and initialize Vfontset_table and | |
| 5690 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
| 5691 | |
| 5692 * frame.h (struct frame): Member `fontset_data' removed. | |
| 5693 (FRAME_FONTSET_DATA): Macro removed. | |
| 5694 | |
| 5695 * frame.c (make_frame): Don't allocate f->fontset_data. | |
| 5696 (Fdelete_frame): Don't free f->fontset_data. | |
| 5697 | |
| 28233 | 5698 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
| 5699 | |
| 28218 | 5700 * xdisp.c (charset_at_position): Function removed. |
| 5701 (init_iterator): Don't set member charset of struct `it'. | |
| 5702 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
| 5703 next_element_from_display_vector, insert_left_trunc_glyphs): | |
| 5704 Likewise. | |
| 5705 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
| 5706 FACE_FOR_CHARSET. | |
| 5707 (get_next_display_element, append_space, | |
| 5708 extend_face_to_end_of_line): Likewise. | |
| 5709 | |
| 5710 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
| 5711 Variables removed. | |
| 5712 (clear_font_table, frame_update_line_height, load_face_font): | |
| 5713 Adjusted for the change of fontset implementation. | |
| 5714 (load_face_fontset_font): Function removed. | |
| 5715 (pixel_point_size): New function. | |
| 5716 (font_list): Argument type changed. Caller changed. | |
| 5717 (LFACE_FONT): New macro. | |
| 5718 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
| 5719 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
| 5720 Lisp_Object. Determine the font name by actually loading a font | |
| 5721 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
| 5722 pattern. Even if a font is not found, don't try alternatives. | |
| 5723 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
| 5724 (set_font_frame_param): If `font' is specified in lface, use it. | |
| 5725 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
| 5726 (lface_same_font_attributes_p): Likewise. | |
| 5727 (make_realized_face): Arguent changed. Caller changed. Set | |
| 5728 face->ascii_face to face itself. | |
| 5729 (free_realized_face): Free face->fontset if face is for ASCII. | |
| 5730 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
| 5731 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
| 5732 (free_realized_multibyte_face): New function. | |
| 5733 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
| 5734 changed. Caller changed. | |
| 5735 (try_font_list): Argument type changed. | |
| 5736 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
| 5737 (choose_face_font): Argument changed. Handle fontset properly. | |
| 5738 (choose_face_fontset_font): Function removed. | |
| 5739 (realize_default_face, realize_named_face): Don't remove the | |
| 5740 former face here. | |
| 5741 (realize_face): Argument changed. Caller changed. Remove face | |
| 5742 with the arg former_face_id in advance. Load font for the new | |
| 5743 face. | |
| 5744 (realize_x_face): Argument changed. Caller changed. For a | |
| 5745 multibyte character, share fontset with base_face. For a single | |
| 5746 byte character, make a new realized fontset. Don't load a font | |
| 5747 here. | |
| 5748 (realize_tty_face): Argument changed. Caller changed. | |
| 5749 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
| 5750 (face_at_buffer_position): Don't check multibyte_p for returning | |
| 5751 DEFAULT_FACE_ID. | |
| 5752 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
| 5753 FACE_SUITABLE_FOR_CHARSET_P. | |
| 5754 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
| 5755 Vface_default_registry. | |
| 5756 | |
| 28233 | 5757 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
| 5758 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
| 28218 | 5759 (x_per_char_metric): Don't try FONT->default_char. Even if |
| 5760 pcm->width is zero, glyph bits may exist. | |
| 5761 (x_encode_char): Always initialize char2b->byte1. | |
| 5762 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
| 5763 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
| 5764 changed. | |
| 5765 (x_append_glyph): Set glyph->glyph_not_available_p. | |
| 5766 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
| 5767 it->charset. Handle the case that per char metric is not | |
| 5768 available. If it->multibyte_p is zero and it->c is a multibyte | |
| 5769 character, convert it to a unibyte character. | |
| 5770 (struct glyph_string): Delete member `charset'. | |
| 5771 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
| 5772 the case that per char metric is not available correctly. | |
| 5773 (x_fill_glyph_string): Handle the case that the specific glyph is | |
| 5774 not available correctly. | |
| 5775 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
| 5776 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
| 5777 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
| 5778 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
| 5779 fontset. Don't call FS_LOAD_FONT. | |
| 5780 | |
| 5781 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
| 5782 (x_create_tip_frame): Likewise. | |
| 5783 (Fx_close_connection): Free full_name of font_info. | |
| 5784 | |
| 5785 * fns.c (optimize_sub_char_table): New function. | |
| 5786 (Foptimize_char_table): New function. | |
| 5787 (syms_of_fns): Defsubr Soptimize_char_table. | |
| 5788 | |
| 28209 | 5789 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
| 5790 | |
| 5791 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
| 5792 only if buffer is displayed in some window. | |
| 5793 | |
| 5794 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
| 5795 (try_window_reusing_current_matrix): Don't call scroll run | |
| 5796 function if run's current and desired position are the same; | |
| 5797 this prevents cursor flickering. | |
| 5798 | |
|
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5799 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5800 |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5801 * regex.h (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5802 |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5803 * regex.c (RE_STRING_CHAR): New macro. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5804 (GET_CHAR_AFER_2): Remove. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5805 (RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5806 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5807 (print_partial_compiled_pattern, re_compile_fastmap) |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5808 (re_match_2_internal): Remove on_failure_jump_exclusive. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5809 (regex_compile): Turn optimizable P+ loops into PP*, so that the |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5810 optimization only need to work for * (ie. can use of_keep_string_jump). |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5811 Remove the special case for .*\n since it is now covered by the general |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5812 optimization. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5813 (re_search_2): Don't bother with `room'. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5814 (skip_one_char): New function. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5815 (skip_noops): Simplify since `memory' is not needed any more. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5816 (mutually_exclusive_p): Restructure slightly to use `switch' and |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5817 add handling for "all" remaining cases. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5818 (re_match_2_internal): Change on_failure_jump_smart to use |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5819 on_failure_keep_string_jump (and redirect the end-of-loop jump) |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5820 rather than on_failure_jump_exclusive. |
|
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5821 |
| 28201 | 5822 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
| 5823 | |
| 5824 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
| 5825 number of bits per RGB because it's everywhere used as the depth | |
| 5826 of the visual. | |
| 5827 | |
| 5828 * term.c (calculate_costs): Remove code dealing with X frames. | |
| 5829 | |
|
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5830 2000-03-19 Richard M. Stallman <rms@gnu.org> |
|
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5831 |
|
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5832 * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte. |
|
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5833 |
| 28194 | 5834 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
| 5835 | |
| 5836 * lread.c (read_integer): Unread the last char not consumed. | |
| 5837 | |
| 28184 | 5838 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
| 5839 | |
| 5840 * xterm.c (x_update_window_cursor): Don't update in frames | |
| 28194 | 5841 which are in the process of being deleted. |
| 28184 | 5842 |
| 28166 | 5843 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
| 5844 | |
| 28176 | 5845 * Makefile.in (mostlyclean): Add `*.core'. |
| 5846 (clean): Add `bootstrap-emacs'. | |
| 5847 | |
| 28166 | 5848 * lread.c (read_integer): New function. |
| 5849 (read1): Support read syntax #o, #x, #b, #r. | |
| 5850 | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5851 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5852 |
| 28166 | 5853 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
| 5854 make sure POINTER_TO_OFFSET gives the same value before and after | |
| 5855 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5856 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5857 (debug): Now only active if > 0 rather than if != 0. |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5858 (DEBUG_*): Update for the new meaning of `debug'. |
| 28166 | 5859 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
| 5860 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
| 5861 in `succeed_n', `jump_n' and `set_number_at'. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5862 (store_op1, store_op2, insert_op1, insert_op2) |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5863 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
| 28166 | 5864 (group_in_compile_stack): Move to after its arg's types are |
| 5865 declared and add a prototype. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5866 (PATFETCH): Define in terms of PATFETCH_RAW. |
| 28166 | 5867 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
| 5868 wrapper. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5869 (QUIT): Redefine as a nop except for NTemacs. |
| 28166 | 5870 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
| 5871 indentation of the greedy-op and shy-group code. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5872 (at_(beg|end)line_loc_p): Fix argument's types. |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5873 (re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc. |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5874 (re_search_2): Use POS_AS_IN_BUFFER. Simplify `room' computation. |
|
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5875 (MATCHING_IN_FIRST_STRING): Remove. |
| 28166 | 5876 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
| 5877 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
| 5878 QUIT unconditionally. | |
|
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5879 |
| 28159 | 5880 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
| 5881 | |
| 5882 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
| 5883 a sole completion. | |
| 5884 | |
| 5885 * process.c (send_process): Add a hint that the function | |
| 5886 can call Lisp code to its comment. | |
| 5887 | |
| 5888 * lread.c (load_dangerous_libraries): New variable. | |
| 5889 (Vbytecomp_version_regexp): New variable. | |
| 5890 (safe_to_load_p): New function. | |
| 5891 (Fload): Handle files not compiled with Emacs specially. | |
| 5892 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
| 5893 | |
| 28139 | 5894 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
| 5895 | |
| 28147 | 5896 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
| 5897 | |
| 5898 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
| 5899 support functions only if HAVE_X11R6_XIM is defined. | |
| 5900 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
| 5901 | |
| 5902 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
| 5903 | |
| 5904 * xfns.c (X_I18N_INHIBITED): Don't define. | |
| 5905 (create_frame_xic): Remove conditional compilation on | |
| 5906 X_I18N_INHIBITED. | |
| 5907 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
| 5908 | |
| 5909 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
| 5910 (HAVE_X11R6_XIM): Define. | |
| 5911 | |
| 5912 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
| 5913 | |
| 28139 | 5914 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
| 5915 If set, call XSynchronize. | |
| 5916 | |
|
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5917 2000-03-13 Stefan Monnier <monnier@cs.yale.edu> |
|
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5918 |
| 28139 | 5919 * regex.c: Declare a new type `re_char' used throughout the code |
| 5920 for the string char type. It's `const unsigned char' to match the | |
| 5921 rest of Emacs. Consistently make sure all pointers to strings use | |
| 5922 it and make sure all pointers into the pattern use `unsigned | |
| 5923 char'. | |
|
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5924 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
| 28139 | 5925 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
| 5926 code duplication. | |
|
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5927 |
|
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5928 * charset.h (GET_CHAR_AFTER_2): Remove. |
|
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5929 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else. |
|
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5930 |
|
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5931 2000-03-12 Ken Raeburn <raeburn@gnu.org> |
|
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5932 |
|
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5933 * Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary |
|
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5934 variable before the invocation of YMF_PASS_LDFLAGS, in case both |
|
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5935 of them try to use backquotes. |
|
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5936 |
| 28122 | 5937 2000-03-12 Dave Love <fx@gnu.org> |
| 5938 | |
| 5939 * unexelf.c: Restore changes of 1999-10-19. | |
| 5940 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
| 5941 fix its type and alignment; copy it from current process. | |
| 5942 | |
| 28098 | 5943 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
| 5944 | |
| 28120 | 5945 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
| 5946 has been found. Fix bug not computing timer's predecessor. | |
| 5947 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5948 * fileio.c (Fread_file_name): Handle case that DIR contains a |
| 28118 | 5949 file name. |
| 5950 | |
| 28109 | 5951 * window.c (Fsave_window_excursion): Doc fix. |
| 5952 | |
| 28098 | 5953 * xfns.c (x_defined_color): Rewritten to use |
| 5954 x_allocate_nearest_color. | |
| 5955 | |
| 28095 | 5956 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
| 5957 | |
| 5958 * msdos.c (vga_installed): New function, code moved from | |
| 5959 dos_set_window_size. | |
| 5960 (Qbar, Qcursor_type, outside_cursor): New variables. | |
| 5961 (syms_of_msdos): Intern and staticpro them. | |
| 5962 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
| 5963 shape used outside Emacs when called for the first time. | |
| 5964 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
| 5965 cursor shape used outside Emacs. | |
| 5966 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
| 5967 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
| 5968 type has changed. | |
| 5969 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
| 5970 parameters specify the cursor. Make qreverse a global | |
| 5971 variable (renamed to Qreverse). | |
| 5972 | |
| 28073 | 5973 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
| 5974 | |
| 5975 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
| 5976 | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5977 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5978 |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5979 This is a big redesign of failure-stack and register handling, prompted |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5980 by bugs revealed when trying to add shy-groups. Overall, what happened |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5981 is that loops are now structured a little differently, groups can be |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5982 shy and the code is a little simpler. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5983 |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5984 * regex.h: Update the copyright. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5985 (RE_SHY_GROUPS): New value. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5986 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5987 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5988 |
| 28073 | 5989 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
| 5990 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
| 5991 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
| 5992 for (start|stop)_memory since they now only take one argument (the | |
| 5993 second has becomes unnecessary). | |
| 5994 (print_partial_compiled_pattern): Adjust for changes in | |
| 5995 re_opcode_t. | |
| 5996 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
| 5997 make debugging a little easier. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5998 (union fail_stack_elt): Make the integer unsigned. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5999 (struct fail_stack_type): Add a `frame' element. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6000 (INIT_FAIL_STACK): Init `frame' as well. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6001 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6002 (DEBUG_PUSH, DEBUG_POP): Remove. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6003 (NUM_REG_ITEMS): Remove. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6004 (NUM_NONREG_ITEMS): Adjust. |
| 28073 | 6005 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
| 6006 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6007 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
| 28073 | 6008 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
| 6009 macros. | |
| 6010 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
| 6011 address pushed is not the destination of the jump but the source | |
| 6012 of it instead. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6013 (NUM_FAILURE_ITEMS): Remove. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6014 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
| 28073 | 6015 registers before the actual failure point). Don't hardcode any |
| 6016 meaning for str==NULL anymore. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6017 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
| 28073 | 6018 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
| 6019 Remove. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6020 (REG_UNSET_VALUE): Use NULL (why not?). |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6021 (compile_range): Remove declaration since it doesn't exist. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6022 (struct compile_stack_elt_t): Remove inner_group_offset. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6023 (old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6024 (regex_grow_registers): Remove dead code. |
|
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6025 (FIXUP_ALT_JUMP): New macro. |
| 28073 | 6026 (regex_compile): Add shy-groups Change loops to use |
| 6027 on_failure_jump_smart&jump instead of | |
| 6028 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
| 6029 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
| 6030 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
| 6031 bother with push_dummy_failure in alternatives since it is now | |
| 6032 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
| 6033 emacs' for (re)allocating the stack. | |
| 6034 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
| 6035 from loop when bufp->can_be_null rather than jumping to `done'. | |
| 6036 Avoid jumping backwards so as to ensure termination. Use | |
| 6037 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
| 6038 backreferences. Remove dead code in handling of `anychar'. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6039 (skip_noops, mutually_exclusive_p): New functions taken from the |
| 28073 | 6040 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
| 6041 improve mutually_exclusive_p to handle ".+\n". | |
| 6042 (lowest_active_reg, highest_active_reg, | |
| 6043 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
| 6044 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
| 6045 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
| 6046 variables. Push register (in `start_memory') on the stack rather | |
| 6047 than storing it in old_reg(start|end). Remove the cycle detection | |
| 6048 from `stop_memory', replaced by the use of on_failure_jump_loop | |
| 6049 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
| 6050 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
| 6051 the case of a loop. Take out code from `maybe_pop_jump' into | |
| 6052 separate functions and adapt it to the semantics of | |
| 6053 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
| 6054 and push_dummy_failure. Remove dummy_failure handling and | |
| 6055 handling of `failures to jump to on_failure_jump' (this last one | |
| 6056 was already dead code, it seems). | |
| 6057 (group_match_null_string_p, alt_match_null_string_p) | |
| 6058 (common_op_match_null_string_p): Remove. | |
|
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6059 |
| 28059 | 6060 2000-03-08 Dave Love <fx@gnu.org> |
| 6061 | |
| 28060 | 6062 * config.in: Don't depend on __STDC__ for volatile. |
| 6063 Add POINTER_TYPE, PTR, PROTOTYPES. | |
| 6064 | |
| 28059 | 6065 * hftctl.c, strftime.c: Use PROTOTYPES. |
| 6066 * eval.c (find_handler_clause): Likewise. | |
| 6067 | |
| 6068 * mem-limits.h: Use POINTER_TYPE. | |
| 6069 | |
| 6070 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
| 6071 (memory_warnings): Declare using POINTER_TYPE. | |
| 6072 | |
| 28046 | 6073 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
| 6074 | |
| 28051 | 6075 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
| 6076 | |
| 28048 | 6077 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
| 6078 collection. | |
| 6079 | |
| 28046 | 6080 * xfns.c: Remove obsolete code in #if 0. |
| 6081 (Fx_focus_frame): New function. | |
| 6082 | |
| 28137 | 6083 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
| 6084 | |
| 6085 * coding.c (coding_category_name): Add coding-category-utf-8, | |
| 6086 coding-category-utf-16-be, coding-category-utf-16-le. | |
| 6087 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
| 6088 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
| 6089 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
| 6090 (detect_coding_utf_8): New function. | |
| 6091 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
| 6092 UTF_16_LOW_SURROGATE_P): New macros. | |
| 6093 (detect_coding_utf_16): New function | |
| 6094 (detect_coding_mask): When priorities are specified, skip any | |
| 6095 categories that have `nil' coding-system. Fix bug of returning | |
| 6096 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
| 6097 returns a mask not set in PRIORITIES. | |
| 6098 (detect_eol_type_in_2_octet_form): New function. | |
| 6099 (detect_eol): selects detect_eol_type_XXX to call according to | |
| 6100 cooding->category_idx. | |
| 6101 (detect_coding_system): Remove `nil' coding-system in the result. | |
| 6102 (Fupdate_coding_systems_internal): Update all coding-categories. | |
| 6103 | |
| 6104 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
| 6105 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
| 6106 macros. | |
| 6107 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
| 6108 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
| 6109 CODING_CATEGORY_IDX_UTF_16_LE. | |
| 6110 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
| 6111 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
| 6112 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
| 6113 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
| 6114 | |
| 28026 | 6115 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
| 6116 | |
| 28037 | 6117 * doc.c (Fdocumentation_property): If value is not a string, |
| 6118 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
| 6119 | |
| 28035 | 6120 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
| 6121 close the display with XtCloseDisplay. This caused a bus error | |
| 6122 on OpenWindows. | |
| 6123 | |
| 28027 | 6124 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
| 6125 complete but not unique. | |
| 28026 | 6126 |
| 28011 | 6127 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
| 6128 | |
| 28014 | 6129 * process.c (send_process): Remove local variable `procname' that |
| 6130 might become invalid when a GC happens. Instead, access the | |
| 6131 process name slot directly. | |
| 6132 | |
| 28011 | 6133 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
| 6134 orig_height if set. | |
| 6135 | |
| 6136 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
| 6137 orig_height if set. | |
| 6138 | |
| 28009 | 6139 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
| 6140 | |
| 6141 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
| 6142 glyph matrices have been freed. | |
| 6143 | |
| 27995 | 6144 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
| 6145 | |
| 28005 | 6146 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
| 28007 | 6147 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
| 28005 | 6148 |
| 6149 * xfns.c (QCdata): Moved to xdisp.c. | |
| 6150 | |
| 6151 * xdisp.c (QCdata): Moved here from xfns.c. | |
| 6152 (syms_of_xdisp): Initialize QCdata. | |
| 6153 | |
| 6154 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
| 6155 | |
| 6156 * window.c (coordinates_in_window): Use | |
| 6157 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
| 6158 FRAME_INTERNAL_BORDER_WIDTH. | |
| 6159 | |
| 27995 | 6160 * xdisp.c (try_window_id): Recompute unchanged information if |
| 28011 | 6161 it is obviously invalid. |
| 27995 | 6162 |
| 6163 * xterm.c (x_term_init): Create a colormap if not using the | |
| 6164 default visual. | |
| 6165 | |
| 6166 * xterm.h (select_visual): Change prototype. | |
| 6167 | |
| 6168 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
| 6169 visual classes. | |
| 6170 (visual_classes): New variable. | |
| 6171 | |
| 27989 | 6172 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
| 6173 | |
| 6174 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
| 6175 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
| 6176 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
| 6177 (x_decode_color): Don't handle allocation of white and black | |
| 6178 specially. | |
| 6179 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
| 6180 XtNcolormap resources. | |
| 6181 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
| 6182 (Fx_create_frame): Initialize color members of x_output structure. | |
| 6183 (xpm_load): Pass colormap to XPM lib. | |
| 6184 | |
| 6185 * xfaces.c (x_free_colors): Access colormap of frame using | |
| 6186 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
| 6187 when default colormap is used. | |
| 6188 | |
| 6189 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
| 6190 structure. Copy colormap if resource `privateColormap' is | |
| 6191 specified (PseudoColor only). | |
| 6192 (x_setup_relief_color): Access colormap of frame using | |
| 6193 FRAME_X_COLORMAP. | |
| 6194 | |
| 6195 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
| 6196 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
| 6197 | |
| 27983 | 6198 2000-03-04 Jason Rumney <jasonr@gnu.org> |
| 6199 | |
| 6200 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
| 6201 other non-platform-specific equivalents. | |
| 27989 | 6202 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
| 27983 | 6203 specific functions and macros as their w32 equivalents where |
| 6204 non-platform-specifics are not available. | |
| 6205 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
| 6206 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
| 6207 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
| 6208 (frame_update_line_height): Use macros to access f->output_data. | |
| 6209 (defined_color): Remove FIXME comments; fixed. | |
| 6210 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
| 6211 into #ifdef blocks. Add WINDOWSNT blocks. | |
| 6212 (Fx_list_fonts): Use macros for accessing font data. | |
| 6213 (set_lface_from_font_name): Different default fonts for X and | |
| 6214 WINDOWSNT. | |
| 6215 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
| 6216 scalable for backward compatibility. | |
| 27989 | 6217 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
| 27983 | 6218 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
| 6219 | |
| 27989 | 6220 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
| 27983 | 6221 syms_of_w32faces. |
| 6222 | |
| 6223 * makefile.nt (w32faces.obj): Remove. | |
| 6224 (xfaces.obj): Add. | |
| 6225 | |
| 27978 | 6226 2000-03-03 Jason Rumney <jasonr@gnu.org> |
| 6227 | |
| 6228 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
| 6229 correct parameters. | |
| 6230 | |
|
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6231 2000-03-03 Ken Raeburn <raeburn@gnu.org> |
|
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6232 |
|
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6233 * unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide |
|
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6234 standard ELF definitions here if the system header does not. |
|
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6235 |
| 27976 | 6236 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
| 6237 | |
| 6238 * xterm.c (PER_CHAR_METRIC): Removed. | |
| 6239 (x_per_char_metric_1, x_default_char): New functions. | |
| 6240 (x_per_char_metric): If font's default char is invalid, return | |
| 6241 metrics of a suitably chosen usable default char. | |
| 6242 (x_draw_glyph_string_foreground): If font has an invalid default | |
| 27989 | 6243 char, replace occurrences of unprintable chars with a suitably |
| 6244 chosen usable default char. | |
| 27976 | 6245 |
| 27965 | 6246 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
| 6247 | |
| 27969 | 6248 * xterm.c (note_mouse_highlight): Return quickly if frame's |
| 6249 glyph matrices have been freed. | |
| 6250 | |
| 6251 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
| 6252 | |
| 27965 | 6253 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
| 6254 | |
| 6255 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
| 6256 x_free_colors. | |
| 6257 | |
| 6258 * dispextern.h (x_free_colors): Add prototype. | |
| 6259 | |
| 6260 * xfaces.c (x_free_colors): New function. | |
| 6261 (unload_color, free_face_colors): Use it. | |
| 6262 | |
| 27958 | 6263 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 6264 | |
| 6265 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
| 6266 | |
| 6267 * window.c [MSDOS]: Include msdos.h. | |
| 6268 | |
| 27954 | 6269 2000-03-02 Dave Love <fx@gnu.org> |
| 6270 | |
| 6271 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
| 6272 | |
| 6273 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
| 6274 set C_OPTIMIZE_SWITCH for gcc. | |
| 6275 | |
| 27942 | 6276 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
| 6277 | |
| 6278 * coding.c (coding_save_composition): Be sure to allocate | |
| 6279 composition data area in coding even if there's no composition in | |
| 6280 the current run. | |
| 6281 | |
| 27938 | 6282 2000-03-01 Jason Rumney <jasonr@gnu.org> |
| 6283 | |
| 6284 * w32term.c: Equivalent changes to those made to xterm.c on | |
| 6285 2000-02-25 and 2000-02-24. | |
| 6286 | |
| 6287 * w32fns.c: Equivalent changes to those made to xfns.c on | |
| 6288 2000-02-25 and 2000-02-21. | |
| 6289 | |
| 6290 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
| 6291 correct line-end convention is followed. | |
| 6292 | |
| 6293 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
| 6294 (single_keymap_panes): Remove code for simulating checkmarks. | |
| 6295 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
| 6296 Remove code for drawing simulated checkmarks. | |
| 6297 (w32_menu_show): make unibyte help string correctly. | |
| 6298 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
| 6299 buttons as radio buttons if possible. | |
| 6300 | |
| 27919 | 6301 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
| 6302 | |
| 27927 | 6303 * sysdep.c (start_of_text): Don't define this function for NetBSD |
| 6304 with ELF. | |
| 6305 | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6306 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
| 27927 | 6307 Don't define. |
| 6308 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
| 6309 (LINKER): Don't undef if __NetBSD__ is defined. | |
| 6310 | |
| 6311 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
| 6312 | |
| 6313 * fileio.c [__NetBSD__]: Define `unix'. | |
| 6314 | |
| 27919 | 6315 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
| 6316 | |
| 27910 | 6317 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
| 6318 | |
| 27914 | 6319 * atimer.c (start_atimer): Don't abort when timers are stopped. |
| 6320 (append_atimer_lists): New function. | |
| 6321 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
| 6322 arbitrary lists of stopped and running atimers. | |
| 6323 | |
| 27910 | 6324 * atimer.c (cancel_atimer): Handle canceling an atimer when |
| 6325 some timers are stopped. | |
| 6326 | |
| 6327 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
| 6328 after canceling it. | |
| 6329 | |
| 6330 * fns.c (maybe_resize_hash_table): Handle case of new size | |
| 6331 coming out as being the same as old size. | |
| 6332 | |
| 27898 | 6333 2000-02-27 Jason Rumney <jasonr@gnu.org> |
| 6334 | |
| 6335 * makefile.nt: Add atimer.h to dependencies. | |
| 6336 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
| 6337 * w32console.c: Only disable window system features for dispextern.h | |
| 6338 (initialize_w32_display): Build a display info for the console. | |
| 6339 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
| 6340 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
| 6341 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
| 6342 as 2 button mice. | |
| 6343 * w32gui.h (struct W32FontStruct): Revert last change after change | |
| 6344 to xdisp.c. | |
| 6345 * w32menu.c (single_submenu): Set up help string. | |
| 6346 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
| 6347 (w32_dialog_show): Set up help string. | |
| 6348 * w32term.c (w32_display_info_for_display): Remove unused function. | |
| 6349 (w32_draw_bitmap): Use pre-built bitmaps. | |
| 6350 (w32_initialize_display_info): New function to initialize parts of | |
| 6351 display info that are common to both GUI and console frames. | |
| 6352 (w32_term_init): Use w32_initialize_display_info. Do not set | |
| 6353 Vw32_num_mouse_buttons here, as it is not called for console | |
| 6354 frames. Build bitmaps for indicating truncated lines etc. | |
| 6355 (x_delete_display): Destroy pre-built bitmaps. | |
| 6356 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
| 6357 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
| 6358 | |
| 27886 | 6359 2000-02-27 Dave Love <fx@gnu.org> |
| 6360 | |
| 6361 * lisp.h: Add a bunch of prototypes. | |
| 6362 | |
| 27878 | 6363 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
| 6364 | |
| 27879 | 6365 * keyboard.c (read_char): Set `usec' correctly. |
| 27878 | 6366 |
| 27876 | 6367 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
| 6368 | |
| 6369 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
| 6370 `lambda', set reg[RRR] to the map index. | |
| 6371 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
| 6372 reg[RRR] to 0. Otherwise, set it to -1. | |
| 6373 | |
| 27875 | 6374 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
| 6375 | |
| 27927 | 6376 * emacs.c (main): Remove code snippet commented out with `//'. |
| 27875 | 6377 |
|
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6378 2000-02-25 Richard M. Stallman <rms@gnu.org> |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6379 |
| 27873 | 6380 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
| 6381 and contains a `:', prepend `/:'. | |
| 6382 | |
| 6383 * window.c (select_window_1): If selected_window is nil, | |
| 6384 don't "swap out" the buffer's point. | |
| 6385 (Fset_window_configuration): Set selected_window to nil | |
| 6386 before calling Fselect_window. | |
| 6387 (unshow_buffer): Don't set point in buffer from window's point | |
| 6388 if another more recently selected window also shows the buffer. | |
| 6389 | |
| 27849 | 6390 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
| 6391 | |
| 27868 | 6392 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
| 6393 | |
| 27866 | 6394 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
| 6395 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
| 6396 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
| 6397 variables. | |
| 6398 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
| 6399 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
| 6400 (hide_busy_cursor): New functions. | |
| 6401 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
| 6402 | |
| 6403 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
| 6404 | |
| 6405 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
| 6406 Fcommand_execute and cancel_busy_cursor after it. | |
| 6407 (timer_check): Remove busy-cursor code. | |
| 6408 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
| 6409 cursor timer. | |
| 6410 | |
| 6411 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
| 6412 | |
| 6413 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
| 6414 Fx_hide_busy_cursor. | |
| 6415 | |
| 6416 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
| 6417 Remove prototyoes. | |
| 6418 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
| 6419 | |
| 6420 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
| 6421 | |
| 6422 * xterm.c (XTread_socket): Remove busy-cursor code. | |
| 6423 | |
| 27856 | 6424 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
| 6425 (build_frame_matrix_from_leaf_window): Put code handling | |
| 6426 glyph row's not being a slice of a frame row in #if 0. | |
| 6427 (sync_window_with_frame_matrix_rows): New function. | |
| 6428 (frame_row_to_window): New function. | |
| 6429 (mirror_line_dance): Handle copies between windows. | |
| 6430 | |
| 27853 | 6431 * lread.c (Fload): Use `xfree' instead of `free'. |
| 6432 (init_obarray): Use `xmalloc' instead of `malloc'. | |
| 6433 | |
| 27849 | 6434 * window.c (Fset_window_buffer): Set WINDOW to the window |
| 6435 after decoding. | |
| 27851 | 6436 (coordinates_in_window): Take frame's internal border width |
| 6437 into account. | |
| 27849 | 6438 |
| 27847 | 6439 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
| 6440 | |
| 6441 * xterm.c (x_display_and_set_cursor): Display cursor of | |
| 6442 non-selected windows depending on the setting of | |
| 6443 cursor_in_non_selected_windows. | |
| 6444 | |
| 6445 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
| 6446 (syms_of_xdisp): DEFVAR_BOOL it. | |
| 6447 | |
| 27820 | 6448 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
| 6449 | |
| 27827 | 6450 * data.c (Fstring_to_number): If number is greater than what |
| 6451 fits into an integer, return a float. | |
| 6452 | |
| 27820 | 6453 * eval.c (specbind): Remove references to |
| 6454 keyword_symbols_constant_flag. | |
| 6455 | |
| 6456 * data.c (keyword_symbols_constant_flag): Removed. | |
| 6457 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
| 6458 keyword_symbols_constant_flag. | |
| 6459 | |
| 6460 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
| 6461 | |
| 27813 | 6462 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
| 6463 | |
| 6464 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
| 6465 (syms_of_syntax): Declare it as a Lisp variable. | |
| 6466 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
| 6467 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
| 6468 nonzero, treat all multibyte characters as symbol. | |
| 27847 | 6469 (init_syntax_once): Give syntax `word' to all multibyte |
| 27813 | 6470 characters. |
| 6471 | |
| 27801 | 6472 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
| 6473 | |
| 27853 | 6474 * frame.c (Fdelete_frame): Don't let echo_area_window remain on |
|
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
6475 a deleted frame. |
| 27801 | 6476 |
| 27799 | 6477 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
| 6478 | |
| 6479 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
| 6480 | |
| 6481 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
| 6482 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
| 6483 | |
| 27796 | 6484 2000-02-21 Dave Love <fx@gnu.org> |
| 6485 | |
| 6486 * frame.c (Vmouse_position_function): New variable. | |
| 6487 (Fmouse_position): Use it. | |
| 6488 (syms_of_frame): Install it. | |
| 6489 | |
| 6490 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
| 6491 | |
| 27790 | 6492 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
| 6493 | |
| 6494 * fileio.c (Finsert_file_contents): Unbind the binding of | |
| 6495 standard-output done by temp_output_buffer_setup. | |
| 27785 | 6496 |
| 6497 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
| 6498 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
| 6499 (specbind, unbind_to): Handle most common case of non-constant | |
| 6500 symbol with trivial value specially. | |
| 6501 | |
| 6502 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
| 6503 | |
|
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6504 2000-02-20 Richard M. Stallman <rms@gnu.org> |
|
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6505 |
|
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6506 * data.c (Fmake_variable_buffer_local): Doc fix. |
|
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6507 Init found_for_buffer to 0. |
|
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6508 (Fmake_variable_frame_local): If the variable has already |
|
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6509 been buffer-local, set the check_frame field. |
|
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6510 |
| 27776 | 6511 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
| 6512 | |
| 6513 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
| 6514 produced for CODING_MODE_LAST_BLOCK requires. | |
| 6515 | |
| 27767 | 6516 2000-02-18 Dave Love <fx@gnu.org> |
| 6517 | |
| 6518 * keyboard.c (echo_keystrokes): Remove declaration. | |
| 6519 (Vecho_keystrokes) New variable. | |
| 6520 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
| 6521 use of float value. | |
| 6522 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
| 6523 | |
| 6524 * lread.c: Undef feature selection macros before defining. | |
| 6525 | |
| 27759 | 6526 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
| 6527 | |
| 6528 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
| 6529 for symbols other than the symbol in question. | |
| 6530 | |
| 27751 | 6531 2000-02-17 Dave Love <fx@gnu.org> |
| 6532 | |
| 6533 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
| 6534 | |
| 27747 | 6535 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
| 6536 | |
| 27749 | 6537 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
| 6538 | |
| 27747 | 6539 * alloc.c (enum mem_type): Compile unconditionally. |
| 6540 | |
| 27744 | 6541 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
| 6542 | |
| 6543 * xfaces.c (tty_defined_color): Don't return faulire indication | |
| 6544 for unspecified-fg and unspecified-bg pseudo-colors. | |
| 6545 | |
| 27726 | 6546 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
| 6547 | |
| 27742 | 6548 * alloc.c (mark_object): Don't mark symbol names in pure space. |
| 6549 (gc_sweep): Don't unmark symbol names in pure space. | |
| 6550 | |
| 6551 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
| 6552 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
| 6553 [GC_MARK_STACK]: New defines. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6554 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
| 27742 | 6555 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
| 6556 | |
| 6557 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
| 6558 | |
| 6559 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
| 6560 allocate_buffer instead of xmalloc. | |
| 6561 | |
| 6562 * alloc.c (toplevel): Include setjmp.h. | |
| 6563 (PURE_POINTER_P): New define. | |
| 6564 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
| 6565 (Vdead) [GC_MARK_STACK]: New variable. | |
| 6566 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
| 6567 GC_MARK_STACK is defined. | |
| 6568 (allocate_buffer): New function. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6569 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
| 27742 | 6570 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
| 6571 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
| 6572 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
| 6573 (MEM_NIL) [GC_MARK_STACK]: New define. | |
| 6574 (struct mem_node) [GC_MARK_STACK]: New structure. | |
| 6575 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
| 6576 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
| 6577 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
| 6578 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
| 6579 (mark_stack) [GC_MARK_STACK]: New functions. | |
| 6580 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
| 6581 (clear_marks): Removed. | |
| 6582 (gc_sweep): Set free conses' car, free floats' type, free | |
| 6583 symbols' function to Vdead. Use lisp_free to free buffers. | |
| 6584 (init_alloc_once): Initialize Vdead. | |
| 6585 (survives_gc_p): Return non-zero for pure objects. | |
| 6586 | |
| 6587 * alloc.c: Add comments throughout the file. | |
| 6588 | |
| 27735 | 6589 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
| 6590 that unblocks alarms. | |
| 6591 | |
| 27729 | 6592 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
| 6593 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
| 6594 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
| 6595 | |
| 27726 | 6596 * frame.c (make_frame): Set frame initiallly to `garbaged'. |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6597 |
| 27720 | 6598 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
| 6599 | |
| 27722 | 6600 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
| 27723 | 6601 avoid infinite error signaling. Allocate sufficient memory for |
| 27722 | 6602 eol_str in the case that eoltype is Lisp_Int. |
| 27720 | 6603 |
|
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6604 2000-02-17 Stefan Monnier <monnier@cs.yale.edu> |
|
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6605 |
|
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6606 * syntax.c (Fforward_comment): Undo the previous change, since cc-mode |
|
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6607 depends on the previous behavior. |
|
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6608 |
| 27710 | 6609 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
| 6610 | |
| 6611 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
| 6612 | |
| 27707 | 6613 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
| 6614 | |
| 6615 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
| 6616 | |
| 6617 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
| 27710 | 6618 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
| 27707 | 6619 write(2). |
| 6620 | |
|
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6621 2000-02-15 Richard M. Stallman <rms@gnu.org> |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6622 |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6623 * data.c (set_internal): Don't make variable buffer-local |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6624 if within a let-binding for the same buffer. |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6625 (let_shadows_buffer_binding_p): New function. |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6626 |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6627 * eval.c (specbind): For buffer-local value, |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6628 record the current buffer also. |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6629 (unbind_to): Cope with that change. |
|
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6630 |
| 27700 | 6631 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
| 6632 | |
| 6633 * window.c (Fsave_window_excursion): Doc fix. | |
| 6634 | |
|
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6635 2000-02-15 Stefan Monnier <monnier@cs.yale.edu> |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6636 |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6637 * syntax.c (back_comment): Make sure we only consider comment-starters |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6638 of the relevant style and return -1 in case of a failure to find the |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6639 beginning of the comment. |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6640 (Fforward_comment): If back_comment fails, go back to the position just |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6641 after the comment-end. |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6642 (scan_lists): Add comment describing a very minor bug. |
|
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6643 |
|
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6644 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
|
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6645 |
|
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6646 * minibuf.c (Ftry_completion, Fall_completions): Add a reference to |
|
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6647 `completion-regexp-list' in the docstring. |
|
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6648 |
| 27696 | 6649 2000-02-14 Dave Love <fx@gnu.org> |
| 6650 | |
| 6651 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
| 6652 | |
|
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6653 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6654 |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6655 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6656 to Emacs' syntax. Also fix the comment about set/not-set meanings |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6657 since Emacs syntax is not the value 0 any more. |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6658 * search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6659 since it's now part of RE_SYNTAX_EMACS. |
|
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6660 |
| 27689 | 6661 2000-02-12 Dave Love <fx@gnu.org> |
| 6662 | |
| 6663 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
| 6664 Alpha. | |
| 6665 | |
| 27687 | 6666 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
| 6667 | |
| 6668 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
| 6669 | |
| 27680 | 6670 2000-02-12 Dave Love <fx@gnu.org> |
| 6671 | |
| 6672 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
| 6673 | |
| 6674 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
| 27687 | 6675 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
| 6676 * s/hpux.h: Don't define HAVE_VFORK. | |
| 27680 | 6677 |
| 6678 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
| 6679 | |
| 6680 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
| 6681 | |
| 6682 * config.in: Add vfork bits. | |
| 6683 | |
| 27672 | 6684 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
| 6685 | |
| 6686 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
| 6687 unwind function to undo the effect of stopping atimers. | |
| 6688 | |
| 6689 * keyboard.c (bind_polling_period): Stop all timers except | |
| 6690 poll_timer. | |
| 6691 | |
| 6692 * atimer.c (stopped_atimers): New variable. | |
| 6693 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
| 6694 New functions. | |
| 6695 | |
| 6696 * atimer.h (stop_other_atimers, run_all_atimers) | |
| 6697 (unwind_stop_other_atimers): Add function prototypes. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6698 |
| 27672 | 6699 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
| 6700 | |
|
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6701 2000-02-11 Ken Raeburn <raeburn@gnu.org> |
|
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6702 |
|
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6703 * Makefile.in (LIBX): Link in tiff library before jpeg, since tiff |
|
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6704 library may depend on jpeg. |
|
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6705 (atimer.o): Depends on atimer.c. |
|
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6706 |
| 27663 | 6707 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
| 6708 | |
| 6709 * insdel.c (del_range_1): Call update_compositions. | |
| 6710 (del_range_both): Call update_compositions just once.. | |
| 6711 | |
| 27660 | 6712 2000-02-10 Dave Love <fx@gnu.org> |
| 6713 | |
| 6714 * xfns.c (create_frame_xic): Fix initialization of automatic | |
| 6715 aggregates for pcc. | |
| 6716 | |
| 27648 | 6717 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
| 6718 | |
| 6719 * ccl.c (CCL_MAKE_CHAR): New macro. | |
| 6720 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
| 6721 registers by CCL_MAKE_CHAR before calling translate_char. | |
| 6722 <CCL_TranslateCharacterConstTbl> Likewise. | |
| 6723 | |
| 27646 | 6724 2000-02-08 Dave Love <fx@gnu.org> |
| 6725 | |
| 6726 * lread.c (__EXTENSIONS__): Define. | |
| 6727 | |
| 27644 | 6728 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
| 6729 | |
| 6730 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
| 6731 | |
| 27641 | 6732 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 6733 | |
| 6734 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
| 6735 the help message. | |
| 6736 | |
| 27639 | 6737 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
| 6738 | |
| 6739 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
| 6740 md, mh, mb, mr, and me to the fake termcap entry. | |
| 6741 | |
|
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6742 2000-02-06 Ken Raeburn <raeburn@gnu.org> |
|
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6743 |
|
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6744 * sound.c (sound_cleanup): Don't call device close routine if the |
|
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6745 function pointer is null. |
|
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6746 |
|
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6747 2000-02-06 Andrew Innes <andrewi@gnu.org> |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6748 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6749 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6750 around image definitions and prototypes. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6751 (gamma_correct) [WINDOWSNT]: New prototype. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6752 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6753 * w32term.c (x_make_frame_visible): Replace call to |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6754 input_poll_signal with poll_for_input. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6755 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6756 * window.c [WINDOWSNT]: Include w32term.h. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6757 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6758 * xdisp.c [WINDOWSNT]: Include w32term.h. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6759 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6760 * makefile.nt: Add dependencies on w32gui.h. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6761 (OBJ1): Include atimer.obj. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6762 ($(BLD)\atimer.obj): New dependency rule. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6763 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6764 * w32.c (sigmask): New function (does nothing). |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6765 (sigunblock): Ditto. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6766 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6767 * frame.c [WINDOWSNT]: Include w32term.h. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6768 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6769 * w32gui.h (struct W32FontStruct): Add ascent and descent slots. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6770 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6771 * lread.c (syms_of_lread): Fix literal newlines. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6772 |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6773 * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6774 the string constant limit (2048 bytes) in MSVC. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6775 (main): Ditto. |
|
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6776 |
| 27620 | 6777 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
| 6778 | |
| 6779 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
| 6780 area. | |
| 6781 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
| 6782 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
| 6783 dispatch the event. | |
| 6784 | |
| 27614 | 6785 2000-02-04 Dave Love <fx@gnu.org> |
| 6786 | |
| 6787 * fileio.c: Remove some unused vars. | |
| 6788 (_GNU_SOURCE): Define (for euidaccess). | |
| 6789 | |
| 6790 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
| 6791 | |
| 6792 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
| 6793 gcpro1, gcpro2. | |
| 6794 (read_minibuf): Deal with allow_props correctly. | |
| 6795 | |
| 27594 | 6796 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
| 6797 | |
| 6798 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
| 6799 | |
|
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6800 2000-02-03 Ken Raeburn <raeburn@gnu.org> |
|
27592
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6801 |
|
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6802 * search.c (compile_pattern): If a cache entry has a nil regexp, |
|
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6803 fill in that entry instead of clobbering a previously cached |
|
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6804 string regexp. |
|
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6805 |
|
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6806 2000-02-02 Ken Raeburn <raeburn@gnu.org> |
|
27591
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6807 |
|
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6808 * puresize.h (BASE_PURESIZE): Increase to 610000. |
|
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6809 |
| 27587 | 6810 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
| 6811 | |
| 6812 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
| 6813 can GC. | |
| 6814 | |
| 27565 | 6815 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
| 6816 | |
| 27567 | 6817 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
| 6818 instead of incrementing ic directly. | |
| 6819 <CCL_WriteExprConst> Likewise. | |
| 6820 <ccl_set_expr>: Set ic to jump_address. | |
| 6821 | |
| 27565 | 6822 * fileio.c (e_write): Fix the handling of |
| 6823 CODING_FINISH_INSUFFICIENT_SRC. | |
| 6824 | |
| 27561 | 6825 2000-02-01 Dave Love <fx@gnu.org> |
| 6826 | |
| 6827 * editfns.c (Fpropertize): Doc fix. | |
| 6828 | |
| 6829 * process.c (Fstart_process): Doc fix. | |
| 6830 | |
| 6831 * eval.c: Fix various doc strings not to duplicate information | |
| 6832 from help-manyarg-func-alist. | |
| 6833 | |
| 6834 * window.c (Fset_window_margins): Don't make interactive. Doc | |
| 6835 fix. | |
| 6836 | |
| 6837 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
| 6838 (Fdocumentation): Use it. | |
| 6839 (syms_of_doc): Define it. | |
| 6840 | |
| 27531 | 6841 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
| 6842 | |
| 27545 | 6843 * xterm.c (xim_open_dpy): Remove unused local variable. |
| 6844 | |
| 27541 | 6845 * emacs.c (USAGE): Use term `display options' instead of `X |
| 6846 options'. | |
| 6847 | |
| 6848 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
| 6849 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
| 6850 | |
| 27531 | 6851 * fns.c (sweep_weak_table): New function. |
| 6852 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
| 6853 is no more change. | |
| 6854 | |
| 27527 | 6855 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
| 6856 | |
| 6857 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
| 6858 that XTread_socket does not crash by trying to call XNoOp on a | |
| 6859 closed display. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6860 |
| 27523 | 6861 2000-01-30 Jason Rumney <jasonr@gnu.org> |
| 6862 | |
| 6863 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
| 6864 Change selected_frame to SELECTED_FRAME (). | |
| 6865 (w32_console_mouse_position): Remove #ifndef MULE from around | |
| 6866 `insist' parameter. | |
| 6867 | |
| 6868 * makefile.nt: Remove dosfns.obj. | |
| 6869 | |
| 6870 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
| 6871 | |
| 6872 * w32fns.c (w32_defined_color): Check for valid frame before | |
| 6873 applying gamma correction. Eliminate dependency on frame elsewhere. | |
| 6874 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
| 6875 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
| 6876 (x_to_w32_font): Doc fix. | |
| 6877 (xlfd_strip_height): New function to strip and return font height. | |
| 6878 (w32_font_match): Compare height separately from rest of xlfd | |
| 6879 spec, using xlfd_strip_height. | |
| 6880 | |
| 6881 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
| 6882 width_in. Use w32_defined_color in place of defined_color. | |
| 6883 | |
| 6884 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
| 6885 merge with xfaces.c. | |
| 6886 (defined_color): Remove FIXME comment. | |
| 6887 (tty_color_name): Provide w32-specific function. | |
| 6888 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
| 6889 | |
| 6890 * w32console.c (turn_on_face, turn_off_face): Removed. | |
| 6891 (w32_face_attributes): New function. | |
| 6892 (Global_variables): Reduce scope where possible. | |
| 6893 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
| 6894 fill attribute. | |
| 6895 (hl_mode): Don't modify text attributes. | |
| 6896 (write_glyphs): Don't do anything if len <= 0. Use | |
| 6897 w32_face_attributes to get attributes for drawing. Write | |
| 6898 terminating codes using char_attr_normal. | |
| 6899 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
| 6900 (update_begin, update_end): Likewise. | |
| 6901 (vga_stdcolor_name): New function. | |
| 6902 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
| 6903 (Fset_screen_color): Remove char_attr_reverse. | |
| 6904 | |
| 27506 | 6905 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
| 6906 | |
| 6907 * xfns.c (xic_set_preeditarea): Take window parameter and | |
| 6908 window-relative pixel-positions. | |
| 6909 | |
| 6910 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
| 6911 is its frame's selected window. | |
| 6912 (xim_instantiate_callback): Likewise. | |
| 6913 | |
| 6914 * xfns.c (x_create_im): Removed. | |
| 6915 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
| 6916 (supported_xim_styles): Renamed from supported_styles. | |
| 6917 (best_xim_style): Renamed from best_style. | |
| 6918 (create_frame_xic): Renamed from xic_create_frame. | |
| 6919 (free_frame_xic): Renamed from xic_destroy_frame. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6920 |
| 27506 | 6921 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
| 6922 | |
| 6923 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
| 6924 our frames, call XFilterEvent with 2nd parameter `None'. | |
| 6925 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
| 6926 returning XBufferOverflow. | |
| 6927 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
| 6928 area. | |
| 6929 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
| 6930 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
| 6931 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
| 6932 (xim_initialize, xim_close) | |
| 6933 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
| 6934 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
| 6935 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
| 6936 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
| 6937 | |
| 6938 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
| 6939 and `xim_styles'. | |
| 6940 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
| 6941 `xic_style' and `xic_xfs'. | |
| 6942 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
| 6943 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
| 6944 (FRAME_XIM): Removed. | |
| 6945 | |
| 6946 * xfns.c (supported_styles): New variable. | |
| 6947 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
| 6948 (xic_create_xfontset, best_style, xic_create_frame) | |
| 6949 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
| 6950 (xic_set_xfontset): New functions. | |
| 6951 | |
| 27491 | 6952 2000-01-28 Dave Love <fx@gnu.org> |
| 6953 | |
| 6954 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
| 6955 | |
| 6956 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
| 6957 | |
| 27473 | 6958 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
| 6959 | |
| 27481 | 6960 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
| 6961 for *scratch* if it already existed. | |
| 6962 | |
| 27473 | 6963 * emacs.c (USAGE): New macro. |
| 6964 (main): Use it to display usage information. | |
| 6965 | |
| 27464 | 6966 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 6967 | |
| 6968 Support for the menu-help feature: | |
| 6969 | |
| 6970 * msdos.h: Change prototypes of XMenuAddSelection and | |
| 6971 XMenuActivate. | |
| 6972 | |
| 6973 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
| 6974 part of the line to the termscript file. | |
| 6975 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
| 6976 (menu_help_message, prev_menu_help_message): New variables. | |
| 6977 (IT_menu_make_room): Make room for the help_text member. | |
| 6978 (IT_menu_display): New argument disp_help; all callers changed. | |
| 6979 If disp_help is non-zero, store the help text of the active menu | |
| 6980 item in menu_help_message. | |
| 6981 (XMenuAddPane): Initialize the help_text member to NULL. | |
| 6982 (XMenuAddSelection): New argument help_text. Store it in the | |
| 6983 XMenu structure. | |
| 6984 (XMenuActivate): New argument help_callback. If the value of | |
| 6985 menu_help_message has changed since the last time, display the | |
| 6986 menu help message text while waiting for the mouse to move. Clear | |
| 6987 the echo area before exiting. | |
| 6988 (XMenuDestroy): Free the help_text member. | |
| 6989 | |
| 27459 | 6990 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
| 6991 | |
| 6992 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
| 6993 XMenuAddSelection. Pass help callback to XMenuActivate. | |
| 6994 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
| 6995 | |
| 27453 | 6996 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 6997 | |
| 6998 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
| 6999 and EMACS_SET_USECS. | |
| 7000 | |
| 27443 | 7001 2000-01-26 Dave Love <fx@gnu.org> |
| 7002 | |
| 27446 | 7003 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
| 7004 | |
| 27443 | 7005 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
| 7006 an error may be signalled. | |
| 7007 | |
| 27439 | 7008 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
| 7009 | |
| 27441 | 7010 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
| 7011 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
| 7012 | |
| 27439 | 7013 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
| 7014 | |
| 27435 | 7015 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
| 7016 | |
| 7017 * charset.c (Fstring): If there is a multibyte char among | |
| 7018 the args, always return a multibyte string. | |
| 7019 | |
| 27433 | 7020 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
| 7021 | |
| 7022 * sysdep.c (sys_select): Turn atimers off and on instead of | |
| 7023 recording and restoring old alarm handler | |
| 7024 | |
| 7025 * process.c (toplevel): Include atimer.h. | |
| 7026 (create_process_1): Rewritten. | |
| 7027 (create_process): Use atimers instead of alarm. | |
| 7028 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
| 7029 of turning off SIGALRM. | |
| 7030 (wait_reading_process_input): Turn off atimers instead off | |
| 7031 calling stop_polling. | |
| 7032 | |
| 7033 * emacs.c (main): Call init_atimer. | |
| 7034 | |
| 7035 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
| 7036 (polling_for_input): Removed because unused. | |
| 7037 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
| 7038 (poll_timer): New variable. | |
| 7039 (poll_for_input, poll_for_input_1): New functions. | |
| 7040 (start_polling, stop_polling): Rewritten. | |
| 7041 | |
| 7042 * keyboard.h (polling_for_input): Removed. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7043 |
| 27433 | 7044 * atimer.h, atimer.c: New files. |
| 7045 | |
| 7046 * Makefile.in (obj): Add atimer.o. | |
| 7047 (atimer.o): New target. | |
| 7048 | |
| 7049 * blockinput.h (pending_atimers): Add extern declaration. | |
| 7050 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
| 7051 | |
| 7052 * lisp.h (popup_activated_flag): Add extern declaration. | |
| 7053 | |
| 7054 * xmenu.c (popup_activated_flag): Make externally visible. | |
| 7055 (popup_activate_callback) [USE_MOTIF]: Increment | |
| 7056 popup_activated_flag. | |
| 7057 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
| 7058 | |
| 7059 * xterm.c (toplevel): Include atimer.h. | |
| 7060 (toolkit_scroll_bar_interaction): New variable. | |
| 7061 (Fxt_process_timeouts): Removed. | |
| 7062 (x_process_timeouts): New function. | |
| 7063 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
| 7064 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
| 7065 (x_make_frame_visible): Call poll_for_input_1 instead of | |
| 7066 input_poll_signal. Don't call alarm. | |
| 7067 (x_initialize): Install timer calling x_process_timeouts. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7068 |
| 27413 | 7069 2000-01-24 Dave Love <fx@gnu.org> |
| 7070 | |
| 27446 | 7071 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
| 27413 | 7072 Don't use -cckr -- apparently not now necessary. |
| 7073 | |
| 27410 | 7074 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
| 7075 | |
| 7076 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
| 7077 screen boundary. | |
| 7078 | |
| 27408 | 7079 2000-01-23 Jason Rumney <jasonr@gnu.org> |
| 7080 | |
| 7081 * w32fns.c (w32_defined_color): Apply gamma correction before | |
| 7082 trying to map to the palette. | |
| 7083 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
| 7084 to w32_clear_rect. | |
| 7085 | |
| 7086 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
| 7087 here. Callers changed to always pass real device context. | |
| 7088 (w32_draw_bitmap): Likewise. | |
| 7089 (w32_get_glyph_overhangs): Likewise. | |
| 7090 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
| 7091 one. | |
| 7092 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
| 7093 pfnSetScrollInfo and SetScrollRange. | |
| 7094 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
| 7095 back into MULE characters after decoding them. | |
| 7096 (x_get_glyph_face_and_encoding): Likewise. | |
| 7097 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
| 7098 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
| 7099 (x_produce_glyphs): Calculate per char metrics for a character | |
| 7100 that we know exists in default font when font_not_found_p is true. | |
| 7101 | |
| 27393 | 7102 2000-01-22 Jason Rumney <jasonr@gnu.org> |
| 7103 | |
| 7104 * makefile.nt (intervals.obj, composite.obj): New modules. | |
| 7105 (composite.h): Added as dependency where appropriate. | |
| 7106 | |
| 7107 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
| 7108 | |
| 7109 * w32term.h (XCharStruct): New struct for emulating X. | |
| 7110 | |
| 7111 * w32console.c (turn_on_face, turn_off_face): New functions. | |
| 7112 (change_line_highlight): New prototype for new redisplay. | |
| 7113 (write_glyphs): Support multibyte text. Support faces. | |
| 7114 | |
| 7115 * w32faces.c: Complete rewrite for new redisplay based on new | |
| 7116 xfaces.c. | |
| 7117 | |
| 7118 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
| 7119 throughout. struct frame * in place of FRAME_PTR. | |
| 7120 Skeleton support for images, toolbars, tooltips from xfns.c. | |
| 7121 (Fx_create_frame): Use system default for default scroll bar | |
| 7122 width. | |
| 7123 (w32_get_arg): Renamed from x_get_arg. | |
| 7124 (Fx_file_dialog): New function. | |
| 7125 (w32_list_fonts): Check cache before asking system. | |
| 7126 (Vw32_enable_synthesized_fonts): New variable. | |
| 7127 (Vw32_enable_italics): Obsolete, removed. | |
| 7128 | |
| 7129 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
| 7130 Use SELECTED_FRAME macro. | |
| 7131 | |
| 7132 * w32menu.c: Add skeleton support for help strings on menus. | |
| 7133 (add_menu_item): Native checkbox and radio support added, but not | |
| 7134 yet enabled due to bugs. | |
| 7135 (push_menu_item): Add parameters type, selection and help. | |
| 7136 Callers updated. | |
| 7137 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
| 7138 | |
| 7139 * w32select.c (Fw32_set_clipboard_data): Update call to | |
| 7140 find_charset_in_str. | |
| 7141 | |
| 7142 * w32term.c: Complete rewrite for new redisplay based on new | |
| 7143 xterm.c with necessary sections merged back in from old w32term.c. | |
| 7144 | |
|
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7145 2000-01-21 Richard M. Stallman <rms@gnu.org> |
|
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7146 |
|
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7147 * data.c (set_internal): Further fix in same criterion. |
|
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7148 |
|
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7149 2000-01-20 Richard M. Stallman <rms@gnu.org> |
|
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7150 |
|
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7151 * data.c (set_internal): Fix the criteria for whether |
|
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7152 to swap out the old cached binding. |
|
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7153 |
| 27366 | 7154 2000-01-19 Dave Love <fx@gnu.org> |
| 7155 | |
| 7156 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
| 7157 | |
| 27354 | 7158 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
| 7159 | |
| 7160 * regex.c (re_compile_fastmap): While checking a range table for | |
| 7161 `charset', skip flag bits for a character class correctly. | |
| 7162 | |
| 27344 | 7163 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
| 7164 | |
| 27347 | 7165 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
| 7166 | |
| 27344 | 7167 * xfns.c (x_window): Call lw_create_widget with new parameter |
| 7168 list. | |
| 7169 | |
| 7170 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
| 7171 because of problems with main window geometry management under | |
| 7172 Lesstif. | |
| 7173 | |
| 7174 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
| 7175 MENU_ITEMS_ITEM_.*. | |
| 7176 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
| 7177 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
| 7178 (single_menu_item, single_submenu, list_of_items): Call | |
| 7179 push_menu_item with new parameter. | |
| 7180 (single_submenu): Set help string in widget value. | |
| 7181 (menu_highlight_callback): New function. | |
| 7182 (set_frame_menubar): Call lw_create_widget with new | |
| 7183 parameter list. | |
| 7184 (xmenu_show, xdialog_show): Ditto. | |
| 7185 | |
| 27316 | 7186 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
| 7187 | |
| 7188 * sound.c (Fplay_sound): Improve doc string. | |
| 7189 | |
|
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7190 2000-01-11 Richard M. Stallman <rms@gnu.org> |
|
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7191 |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7192 * lisp.h (set_internal): Enter the new arg. |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7193 |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7194 * eval.c (specbind): Record buffer-local variables specially, |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7195 indicating which buffer's binding was saved. |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7196 (unbind_to): Restore buffer-local variables specially |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7197 in the proper buffer. |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7198 |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7199 * data.c (set_internal): New arg BUF. |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7200 |
|
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7201 * eval.c (specbind, unbind_to): Pass new arg to set_internal. |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7202 * data.c (Fset): Pass new arg to set_internal. |
|
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7203 * bytecode.c (Fbyte_code): Pass new arg to set_internal. |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7204 |
| 27291 | 7205 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
| 7206 | |
| 7207 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
| 7208 xprintsym. | |
| 7209 | |
|
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7210 2000-01-11 Richard M. Stallman <rms@gnu.org> |
|
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7211 |
|
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7212 * minibuf.c (Ftry_completion): Doc fix. |
|
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7213 |
| 27276 | 7214 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
| 7215 | |
| 7216 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
| 7217 vector, too. | |
| 7218 | |
| 27273 | 7219 2000-01-11 Andreas Schwab <schwab@suse.de> |
| 7220 | |
| 7221 * coding.c (code_convert_region): Initialize total_skip. | |
| 7222 | |
| 27244 | 7223 2000-01-08 Dave Love <fx@gnu.org> |
| 7224 | |
| 7225 * eval.c (Fuser_variable_p): Check customizability too. | |
| 7226 | |
| 27237 | 7227 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
| 7228 | |
| 7229 * minibuf.c (Fcompleting_read): Doc fix. | |
| 7230 | |
| 27158 | 7231 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
| 7232 | |
| 27171 | 7233 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
| 7234 -L /usr/local/lib. | |
| 7235 | |
| 27158 | 7236 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
| 7237 Check that input style is supported before trying to create an | |
| 7238 IC for it. | |
| 7239 (x_window): Call x_create_im. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7240 |
| 27143 | 7241 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
| 7242 | |
| 27155 | 7243 * xfns.c (current_gif_memory_src): New variable. |
| 7244 (gif_load): Record the address of the current memory source | |
| 7245 in current_gif_memory_src. | |
| 7246 (gif_read_from_memory): Use current_gif_memory_src. | |
| 7247 | |
| 27150 | 7248 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
| 7249 macros statement form. | |
| 7250 | |
| 27147 | 7251 * sound.c (struct sound): Renamed from struct sound_file. |
| 7252 (struct sound): Add members `data' and `header_size'. | |
| 7253 (enum sound_attr): Add SOUND_DATA. | |
| 7254 (current_sound, current_sound_device): Variables renamed from | |
| 7255 sound_file and sound_device. | |
| 7256 (parse_sound): Parse :data. | |
| 7257 (parse_sound): Handle sound data in strings. | |
| 7258 (find_sound_type): Function renamed from find_sound_file_type. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7259 (wav_init, au_init): Fail if sound's header_size is smaller than |
| 27147 | 7260 needed header size. |
| 7261 (wav_play, au_play): Play sounds from string data. | |
| 7262 | |
| 27143 | 7263 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
| 7264 | |
| 7265 * lisp.h: Add prototype for allocate_string_data. | |
| 7266 | |
| 7267 * alloc.c (Fgarbage_collect): Return number of live and free | |
| 7268 strings. | |
| 7269 | |
| 7270 * alloc.c (mark_buffer): Remove code in #if 0. | |
| 7271 (gc_sweep): Ditto. | |
| 7272 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
| 7273 (strings_consed): New variable. | |
| 7274 (allocate_string): Set it. | |
| 7275 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
| 7276 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
| 7277 | |
| 7278 * alloc.c: General cleanup in comments etc. Remove conditional | |
| 7279 compilation for `standalone'. | |
| 7280 | |
| 7281 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
| 7282 | |
| 7283 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
| 7284 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
| 7285 (DONT_COPY_FLAG): Removed. | |
| 7286 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
| 7287 (struct sdata, struct sblock): New | |
| 7288 (struct string_block): Rewritten. | |
| 7289 (STRINGS_IN_STRING_BLOCK): New macro. | |
| 7290 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
| 7291 (large_sblocks, string_blocks, string_free_list): New variables. | |
| 7292 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
| 7293 (init_strings): Rewritten. | |
| 7294 (allocate_string, allocate_string_data, compact_small_strings) | |
| 7295 (free_large_strings, sweep_strings): New functions. | |
| 7296 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
| 7297 (struct string_block_head, current_string_block) | |
| 7298 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
| 7299 (STRING_PAD): Removed. | |
| 7300 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
| 7301 (Fgarbage_collect): Don't set mark bit in large strings. | |
| 7302 (mark_object): Mark strings differently. Mark symbol names | |
| 7303 differently. | |
| 7304 (survives_gc_p): Test marked strings differently. | |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7305 (gc_sweep): Sweep strings differently, unmark strings in |
| 27143 | 7306 symbol names. |
| 7307 (compact_strings): Removed. | |
| 7308 | |
| 27138 | 7309 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
| 7310 | |
| 7311 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
| 7312 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
| 7313 | |
| 27127 | 7314 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
| 7315 | |
| 27133 | 7316 * fileio.c (Finsert_file_contents): Signal error if visiting file |
|
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7317 in a non-empty buffer. |
| 27133 | 7318 |
| 27130 | 7319 * term.c (encode_terminal_code): Fix the previous change. |
| 27127 | 7320 |
| 27122 | 7321 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
| 7322 | |
| 7323 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
| 7324 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
| 7325 | |
| 7326 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
| 7327 | |
| 27119 | 7328 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
| 7329 | |
| 7330 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
| 7331 need to test for MSDOS frames. | |
| 7332 | |
| 27116 | 7333 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
| 7334 | |
| 7335 * dosfns.c (unspecified_colors): Remove. | |
| 7336 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
| 7337 unspecified_bg. | |
| 7338 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
| 7339 back-ground colors. | |
| 7340 | |
| 7341 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
| 27680 | 7342 (syms_of_xfaces): Remove their staticpro's. |
| 27116 | 7343 (tty_color_name): Return Lisp strings for unspecified fore- and |
| 7344 back-ground colors. | |
| 7345 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
| 7346 for Qunspecified_{f,b}g. | |
| 7347 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
| 7348 string. | |
| 7349 | |
| 27112 | 7350 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
| 7351 | |
| 7352 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
| 7353 newline only if ending up on a newline. | |
| 7354 (next_element_from_ellipsis): Return success. Handle case of | |
| 7355 displaying no ellipsis. Fix case of ellipsis defined in display | |
| 7356 table. | |
| 7357 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
| 7358 returns 0. | |
| 7359 | |
| 27102 | 7360 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
| 7361 | |
| 7362 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
| 7363 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
| 7364 | |
| 27091 | 7365 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 7366 | |
| 7367 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
| 7368 list of colors renamed to tty-defined-color-alist. | |
| 7369 (tty_color_name): Pass the frame to tty-color-by-index. | |
| 7370 (realize_tty_face): tty-color-alist is now a function which | |
| 7371 accepts the frame as argument. | |
| 7372 | |
| 7373 * term.c (Ftty_display_color_p): Accept an optional argument | |
| 7374 FRAME. | |
| 7375 | |
| 27086 | 7376 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 7377 | |
| 7378 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
| 7379 encode_terminal_code. | |
| 7380 | |
| 27084 | 7381 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 7382 | |
| 7383 * dispnew.c (mode_line_string): Support termcap frames as well. | |
| 7384 | |
| 27067 | 7385 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
| 7386 | |
| 27082 | 7387 * syntax.c (Fforward_word): Undo previous change. |
| 7388 | |
| 7389 * editfns.c (Fconstrain_to_field): Don't constrain if | |
| 7390 inhibit-field-text-motion is non-nil. | |
| 7391 (Fline_beginning_position): Undo previous change. | |
| 7392 (Fline_end_position): Ditto. | |
| 7393 | |
| 7394 * syntax.c (Fforward_word): Notice field boundaries only if | |
| 7395 inhibit-field-text-motion is nil. | |
| 7396 | |
| 7397 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
| 7398 | |
| 7399 * editfns.c (Vinhibit_field_text_motion): New variable. | |
| 7400 (inhibit-field-text-motion): New DEFVAR_LISP. | |
| 7401 (Fline_beginning_position, Fline_end_position): Notice field | |
| 7402 boundaries only if inhibit-field-text-motion is nil. | |
| 7403 | |
| 27072 | 7404 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
| 7405 All calls adjusted. | |
| 7406 (x_build_heuristic_mask): Likewise. | |
| 7407 (xbm_load_image_from_file): Change error output. | |
| 7408 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
| 7409 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
| 7410 | |
| 27067 | 7411 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
| 7412 color indices when accessing raster pixels. | |
| 27070 | 7413 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
| 7414 one of :file or :data. | |
| 7415 (enum pbm_keyword_index): Add PBM_DATA. | |
| 7416 (pbm_format): Add :data. | |
| 7417 (pbm_image_p): Allow either :file or :data. | |
| 7418 (pbm_read_file): New function. | |
| 7419 (pbm_scan_number): Rewritten to read from string. | |
| 7420 (pbm_load): Support :data. | |
| 27067 | 7421 |
| 30727 | 7422 See ChangeLog.8 for earlier changes. |
| 30994 | 7423 |
| 7424 ;; Local Variables: | |
| 31346 | 7425 ;; coding: iso-2022-7bit |
| 30994 | 7426 ;; End: |
