aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--lisp/ChangeLog90
-rw-r--r--src/ChangeLog116
3 files changed, 103 insertions, 114 deletions
diff --git a/ChangeLog b/ChangeLog
index e29f94f6963..3a286305035 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,15 @@
12004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * Makefile.in (maintainer-clean): Clean in the lisp dir as well.
4 (bootstrap): Use the new boostrap-prepare target in lisp.
5
12004-02-18 Kim F. Storm <storm@cua.dk> 62004-02-18 Kim F. Storm <storm@cua.dk>
2 7
3 * INSTALL.CVS: Add info about ssh/cvs related problems and 8 * INSTALL.CVS: Add info about ssh/cvs related problems and work-around.
4 work-around.
5 9
62004-02-16 Eli Zaretskii <eliz@elta.co.il> 102004-02-16 Eli Zaretskii <eliz@elta.co.il>
7 11
8 * make-dist: Don't link index.*perm and permute-index into 12 * make-dist: Don't link index.*perm and permute-index into tempdir.
9 tempdir.
10 13
112004-02-14 Jonathan Yavner <jyavner@member.fsf.org> 142004-02-14 Jonathan Yavner <jyavner@member.fsf.org>
12 15
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 13c64e0d929..97ce6765792 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -29,8 +29,7 @@
29 (desktop-clear-preserve-buffers): Remove redundant info in 29 (desktop-clear-preserve-buffers): Remove redundant info in
30 docstring already shown by the obsolescence message. 30 docstring already shown by the obsolescence message.
31 (desktop-truncate, desktop-internal-v2s) 31 (desktop-truncate, desktop-internal-v2s)
32 (desktop-value-to-string): Change argument name to match 32 (desktop-value-to-string): Change argument name to match docstring.
33 docstring.
34 33
35 * emulation/tpu-edt.el (tpu-set-mark): Fix typo in docstring. 34 * emulation/tpu-edt.el (tpu-set-mark): Fix typo in docstring.
36 35
@@ -49,16 +48,14 @@
49 Version 2.0.39 of Tramp released. 48 Version 2.0.39 of Tramp released.
50 49
51 * net/tramp.el (tramp-handle-file-local-copy) 50 * net/tramp.el (tramp-handle-file-local-copy)
52 (tramp-handle-write-region, tramp-open-connection-rsh): Variable 51 (tramp-handle-write-region, tramp-open-connection-rsh):
53 name typo. Small change. From Patrick Tullmann 52 Variable name typo. Small change. From Patrick Tullmann
54 <tullmann@flux.utah.edu>. 53 <tullmann@flux.utah.edu>.
55 (tramp-process-connection-type): New variable. 54 (tramp-process-connection-type): New variable.
56 (tramp-maybe-open-connection): Use it. 55 (tramp-maybe-open-connection): Use it.
57 (tramp-do-copy-or-rename-via-buffer): Handle KEEP-DATE arg, if 56 (tramp-do-copy-or-rename-via-buffer): Handle KEEP-DATE arg if possible.
58 possible.
59 (tramp-touch): Set last-modified time of a remote file. 57 (tramp-touch): Set last-modified time of a remote file.
60 (tramp-handle-write-region): Say which function is used when 58 (tramp-handle-write-region): Say which function is used when encoding.
61 encoding.
62 59
632004-02-29 Michael Albinus <Michael.Albinus@alcatel.de> 602004-02-29 Michael Albinus <Michael.Albinus@alcatel.de>
64 61
@@ -74,7 +71,7 @@
74 output. If it was received chunkwise, there have been problems. 71 output. If it was received chunkwise, there have been problems.
75 Remove the "prompt not found" error message; it is obvious. 72 Remove the "prompt not found" error message; it is obvious.
76 Simplify algorithm. 73 Simplify algorithm.
77 (tramp-smb-process-running): Removed. Since we acknowledge the 74 (tramp-smb-process-running): Remove. Since we acknowledge the
78 virtual prompt for shares, there's no need for distinction of 75 virtual prompt for shares, there's no need for distinction of
79 reading shares (process ends afterwards) and interactive mode of 76 reading shares (process ends afterwards) and interactive mode of
80 smblient. 77 smblient.
@@ -84,23 +81,21 @@
84 (tramp-smb-maybe-open-connection): Set `process-connection-type' 81 (tramp-smb-maybe-open-connection): Set `process-connection-type'
85 to 'pty. Suggested by Piet van Oostrum <piet@cs.uu.nl>. 82 to 'pty. Suggested by Piet van Oostrum <piet@cs.uu.nl>.
86 (top-level): Setting default value in `tramp-default-method-alist' 83 (top-level): Setting default value in `tramp-default-method-alist'
87 corrected. Order of USER and HOST have been wrong. Nobody 84 corrected. Order of USER and HOST have been wrong.
88 claimed for months ... 85 Nobody complaimed for months ...
89 (tramp-smb-maybe-open-connection): Use 86 (tramp-smb-maybe-open-connection): Use `tramp-process-connection-type'.
90 `tramp-process-connection-type'. 87 (tramp-smb-open-connection): Clear password cache if login has failed.
91 (tramp-smb-open-connection): Clear password cache if login has 88
92 failed. 89 * net/tramp.el (tramp-completion-mode) Don't check for 'xemacs' but
93
94 * net/tramp.el (tramp-completion-mode) Don't check for 'xemacs but
95 `tramp-unified-filenames'. 90 `tramp-unified-filenames'.
96 (tramp-completion-mode): Make test for XEmacs explicitely. 91 (tramp-completion-mode): Make test for XEmacs explicitely.
97 `event-to-character' can exists in Emacs packages too. Reported 92 `event-to-character' can exists in Emacs packages too.
98 by Matt Swift <swift@alum.mit.edu>. 93 Reported by Matt Swift <swift@alum.mit.edu>.
99 (tramp-buffer-name): Buffer name must contain the user if exists. 94 (tramp-buffer-name): Buffer name must contain the user if exists.
100 Reported by Adrian Phillips <a.phillips@met.no>. 95 Reported by Adrian Phillips <a.phillips@met.no>.
101 (tramp-do-copy-or-rename-file): Handle out-of-band methods. Call 96 (tramp-do-copy-or-rename-file): Handle out-of-band methods.
102 `tramp-do-copy-or-rename-file-out-of-band' this case. 97 Call `tramp-do-copy-or-rename-file-out-of-band' this case.
103 (tramp-do-copy-or-rename-file-out-of-band): Renamed from 98 (tramp-do-copy-or-rename-file-out-of-band): Rename from
104 `tramp-do-copy-or-rename-file-one-local', because it handles also 99 `tramp-do-copy-or-rename-file-one-local', because it handles also
105 the case both files use the same out-of-band method. 100 the case both files use the same out-of-band method.
106 Implementation added. 101 Implementation added.
@@ -116,16 +111,16 @@
116 (tramp-completion-function-alist): It's a defvar now, because we 111 (tramp-completion-function-alist): It's a defvar now, because we
117 want to apply the optimized `tramp-set-completion-function' 112 want to apply the optimized `tramp-set-completion-function'
118 instead of a static list. 113 instead of a static list.
119 (tramp-set-completion-function): Implementation tuned. Avoid 114 (tramp-set-completion-function): Implementation tuned.
120 double entries, and entries where the function or the 115 Avoid double entries, and entries where the function or the
121 file/directory doesn't exist. 116 file/directory doesn't exist.
122 (tramp-parse-shostkeys, tramp-parse-sknownhosts): New functions 117 (tramp-parse-shostkeys, tramp-parse-sknownhosts): New functions
123 for SSH2. 118 for SSH2.
124 (tramp-file-name-handler-alist): Add `dired-compress-file' entry. 119 (tramp-file-name-handler-alist): Add `dired-compress-file' entry.
125 (tramp-handle-dired-compress-file): New function. 120 (tramp-handle-dired-compress-file): New function.
126 (tramp-async-proc): New variable. 121 (tramp-async-proc): New variable.
127 (tramp-handle-shell-command): Adding asynchronous processes. They 122 (tramp-handle-shell-command): Adding asynchronous processes.
128 are far from being perfect, but it works at least for 123 They are far from being perfect, but it works at least for
129 `find-grep-dired' and `find-name-dired' in Emacs 21.4. 124 `find-grep-dired' and `find-name-dired' in Emacs 21.4.
130 (top-level): Require password.el if visible. Should be mandatory 125 (top-level): Require password.el if visible. Should be mandatory
131 once No Gnus has found its way into (X)Emacs. 126 once No Gnus has found its way into (X)Emacs.
@@ -133,8 +128,8 @@
133 `read-passwd' otherwise. `ange-ftp-read-passwd' isn't used as 128 `read-passwd' otherwise. `ange-ftp-read-passwd' isn't used as
134 fallback any longer. 129 fallback any longer.
135 (tramp-clear-passwd): New function. 130 (tramp-clear-passwd): New function.
136 (tramp-process-actions, tramp-process-multi-actions): Clear 131 (tramp-process-actions, tramp-process-multi-actions):
137 password cache if login has failed. 132 Clear password cache if login has failed.
138 133
139 * net/tramp-ftp.el (Commentary): Remove pointer to EFS. It has 134 * net/tramp-ftp.el (Commentary): Remove pointer to EFS. It has
140 its own module. 135 its own module.
@@ -165,8 +160,7 @@
165 relative directory names. 160 relative directory names.
166 (dired-at-point-prompter): Treat directories as a directory, get 161 (dired-at-point-prompter): Treat directories as a directory, get
167 the directory component from files. 162 the directory component from files.
168 (ffap-string-at-point): Return string from region if region is 163 (ffap-string-at-point): Return string from region if region is active.
169 active.
170 (ffap-file-at-point): Remove redundant code. 164 (ffap-file-at-point): Remove redundant code.
171 165
1722004-02-28 Kim F. Storm <storm@cua.dk> 1662004-02-28 Kim F. Storm <storm@cua.dk>
@@ -186,8 +180,8 @@
186 (gdb-put-breakpoint-icon): New defun which displays a breakpoint 180 (gdb-put-breakpoint-icon): New defun which displays a breakpoint
187 icon in fringe (if available), or else as icon or text in display 181 icon in fringe (if available), or else as icon or text in display
188 margin. Creates necessary icons in breakpoint-bitmap, 182 margin. Creates necessary icons in breakpoint-bitmap,
189 breakpoint-enabled-icon, and/or breakpoint-disabled-icon. Also 183 breakpoint-enabled-icon, and/or breakpoint-disabled-icon.
190 make left window margin if required. 184 Also make left window margin if required.
191 (gdb-remove-breakpoint-icons): New defun to remove breakpoint 185 (gdb-remove-breakpoint-icons): New defun to remove breakpoint
192 icons inserted by gdb-put-breakpoint-icon. Remove left margin if 186 icons inserted by gdb-put-breakpoint-icon. Remove left margin if
193 no longer needed. 187 no longer needed.
@@ -198,7 +192,7 @@
1982004-02-27 Kevin Ryde <user42@zip.com.au> 1922004-02-27 Kevin Ryde <user42@zip.com.au>
199 193
200 * info-look.el: In scheme-mode symbol regexp, disallow backquote and 194 * info-look.el: In scheme-mode symbol regexp, disallow backquote and
201 comma, so that it DTRT in macros. 195 comma, so that it DTRT in macros.
202 196
2032004-02-27 Markus Rost <rost@mathematik.uni-bielefeld.de> 1972004-02-27 Markus Rost <rost@mathematik.uni-bielefeld.de>
204 198
@@ -216,11 +210,10 @@
216 210
217 * font-lock.el (font-lock-comment-face, font-lock-string-face) 211 * font-lock.el (font-lock-comment-face, font-lock-string-face)
218 (font-lock-keyword-face, font-lock-function-name-face) 212 (font-lock-keyword-face, font-lock-function-name-face)
219 (font-lock-variable-name-face, font-lock-constant-face): Use 213 (font-lock-variable-name-face, font-lock-constant-face):
220 `min-colors'. 214 Use `min-colors'.
221 215
222 * isearch.el (isearch, isearch-lazy-highlight-face): Use 216 * isearch.el (isearch, isearch-lazy-highlight-face): Use `min-colors'.
223 `min-colors'.
224 217
2252004-02-25 Vinicius Jose Latorre <viniciusjl@ig.com.br> 2182004-02-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
226 219
@@ -237,8 +230,8 @@
237 * ebnf-abn.el: New file, implements an ABNF parser. 230 * ebnf-abn.el: New file, implements an ABNF parser.
238 231
239 * ebnf2ps.el: Doc fix. Accept ABNF (Augmented BNF). New arrow shapes: 232 * ebnf2ps.el: Doc fix. Accept ABNF (Augmented BNF). New arrow shapes:
240 semi-up-hollow, semi-up-full, semi-down-hollow and semi-down-full. Fix 233 semi-up-hollow, semi-up-full, semi-down-hollow and semi-down-full.
241 a bug on productions like test = {"test"}* | ( "tt" ["test"] ). 234 Fix a bug on productions like test = {"test"}* | ( "tt" ["test"] ).
242 Reported by Markus Dreyer <mdreyer@ix.urz.uni-heidelberg.de>. 235 Reported by Markus Dreyer <mdreyer@ix.urz.uni-heidelberg.de>.
243 (ebnf-version): New version number (4.0). 236 (ebnf-version): New version number (4.0).
244 (ebnf-print-directory, ebnf-print-file, ebnf-spool-directory) 237 (ebnf-print-directory, ebnf-print-file, ebnf-spool-directory)
@@ -284,10 +277,9 @@
284 (gdb-var-delete): Make interactive (really). 277 (gdb-var-delete): Make interactive (really).
285 (gdb-edit-value): Make non-interactive. 278 (gdb-edit-value): Make non-interactive.
286 279
287 * progmodes/gud.el (gud-install-speedbar-variables): Bind 280 * progmodes/gud.el (gud-speedbar-menu-items):
288 gdb-var-delete to "D". 281 Add gdb-var-delete and, indirectly, gdb-edit-value.
289 (gud-speedbar-menu-items): Add gdb-var-delete and, indirectly, 282 (gud-install-speedbar-variables): Bind gdb-var-delete to "D".
290 gdb-edit-value.
291 (gud-speedbar-buttons): Remove gdb-var-delete from tag-line. 283 (gud-speedbar-buttons): Remove gdb-var-delete from tag-line.
292 (gud-gdb-marker-filter): Add comment for annotations. 284 (gud-gdb-marker-filter): Add comment for annotations.
293 285
@@ -306,8 +298,7 @@
3062004-02-21 Stephen Compall <s11@member.fsf.org> 2982004-02-21 Stephen Compall <s11@member.fsf.org>
307 299
308 * saveplace.el (save-place-forget-unreadable-files) 300 * saveplace.el (save-place-forget-unreadable-files)
309 (save-place-save-skipped, save-place-skip-check-regexp): New 301 (save-place-save-skipped, save-place-skip-check-regexp): New vars.
310 defcustoms.
311 (save-place-forget-unreadable-files): New function. 302 (save-place-forget-unreadable-files): New function.
312 (save-place-alist-to-file): Use it to filter out files that are 303 (save-place-alist-to-file): Use it to filter out files that are
313 no longer readable. 304 no longer readable.
@@ -339,7 +330,7 @@
339 330
3402004-02-20 John Wiegley <johnw@newartisans.com> 3312004-02-20 John Wiegley <johnw@newartisans.com>
341 332
342 * eshell/em-pred.el (eshell-modifier-alist): Changed the "eval 333 * eshell/em-pred.el (eshell-modifier-alist): Change the "eval
343 again" modifier from 'e' to 'E', since 'e' is also used by the 334 again" modifier from 'e' to 'E', since 'e' is also used by the
344 "file extension" modifier. 335 "file extension" modifier.
345 336
@@ -358,8 +349,8 @@
358 349
359 * gdb-ui.el (gdb-use-colon-colon-notation): Set default to nil for 350 * gdb-ui.el (gdb-use-colon-colon-notation): Set default to nil for
360 case of variables defined in compound statements. 351 case of variables defined in compound statements.
361 (gdb-setup-windows, gdb-source-info, gdb-source-info): Simplify 352 (gdb-setup-windows, gdb-source-info, gdb-source-info):
362 constructions using switch-to-buffer. 353 Simplify constructions using switch-to-buffer.
363 354
3642004-02-19 Simon Josefsson <jas@extundo.com> 3552004-02-19 Simon Josefsson <jas@extundo.com>
365 356
@@ -447,7 +438,7 @@
447 * rmail-spam-filter.el: (vm-use-spam-filter) 438 * rmail-spam-filter.el: (vm-use-spam-filter)
448 (rsf-min-region-length-added-to-spam-list): New variables. 439 (rsf-min-region-length-added-to-spam-list): New variables.
449 (rsf-bbdb-auto-delete-spam-bbdb-entries): Rename from 440 (rsf-bbdb-auto-delete-spam-bbdb-entries): Rename from
450 rmail-bbdb-auto-delete-spam-entries. Added cc: to recipients for 441 rmail-bbdb-auto-delete-spam-entries. Add cc: to recipients for
451 spam testing. Don't delete spam message if automatic deletion 442 spam testing. Don't delete spam message if automatic deletion
452 after output via variable rmail-delete-after-output is turned on. 443 after output via variable rmail-delete-after-output is turned on.
453 (rsf-bbdb-dont-create-entries-for-deleted-messages): Rename from 444 (rsf-bbdb-dont-create-entries-for-deleted-messages): Rename from
@@ -617,6 +608,7 @@
617 (diff, diff-backup): Use it. 608 (diff, diff-backup): Use it.
618 (diff): Clean up the args construction. Use backquote. 609 (diff): Clean up the args construction. Use backquote.
619 Use listp instead of consp to avoid putting a nil arg. 610 Use listp instead of consp to avoid putting a nil arg.
611 (diff): Add a revert-buffer function.
620 612
6212004-02-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 6132004-02-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
622 614
diff --git a/src/ChangeLog b/src/ChangeLog
index 48fc3e13114..557856da811 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * editfns.c (Ftranslate_region): Lisp_Object/int mixup.
4
12004-03-02 Richard M. Stallman <rms@gnu.org> 52004-03-02 Richard M. Stallman <rms@gnu.org>
2 6
3 * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. 7 * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc.
@@ -30,7 +34,7 @@
30 (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. 34 (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
31 (display_line): Use overlay_arrow_at_row to check multiple 35 (display_line): Use overlay_arrow_at_row to check multiple
32 overlay arrows, and get relevant overlay-arrow-string and 36 overlay arrows, and get relevant overlay-arrow-string and
33 overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. 37 overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly.
34 (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. 38 (produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
35 (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. 39 (syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
36 40
@@ -70,11 +74,11 @@
70 74
712004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 752004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
72 76
73 * xfns.c (x_window): Fixed indentation. 77 * xfns.c (x_window): Fix indentation.
74 78
75 * xterm.c (x_calc_absolute_position): Call x_real_positions 79 * xterm.c (x_calc_absolute_position): Call x_real_positions
76 to get WM window sizes and use those to calculate position. 80 to get WM window sizes and use those to calculate position.
77 (x_set_offset): Removed code commented out. 81 (x_set_offset): Remove code commented out.
78 82
792004-02-28 Miles Bader <miles@gnu.org> 832004-02-28 Miles Bader <miles@gnu.org>
80 84
@@ -132,9 +136,9 @@
132 136
133 * xsmfns.c (x_session_check_input): Remove numchars arg. 137 * xsmfns.c (x_session_check_input): Remove numchars arg.
134 138
135 * xterm.c (x_focus_changed, x_detect_focus_change): Remove 139 * xterm.c (x_focus_changed, x_detect_focus_change):
136 numchars arg. Always store event into bufp arg. Return nothing. 140 Remove numchars arg. Always store event into bufp arg.
137 Callers changed accordingly. 141 Return nothing. Callers changed accordingly.
138 (glyph_rect): Simplify. 142 (glyph_rect): Simplify.
139 (STORE_KEYSYM_FOR_DEBUG): New macro. 143 (STORE_KEYSYM_FOR_DEBUG): New macro.
140 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. 144 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
@@ -166,8 +170,7 @@
166 170
1672004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1712004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
168 172
169 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework 173 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'.
170 QuickTime'.
171 174
172 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 175 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
173 macgui.h). 176 macgui.h).
@@ -182,13 +185,11 @@
182 (Bitmap): Remove typedef. 185 (Bitmap): Remove typedef.
183 (Pixmap): Change int to GWorldPtr. 186 (Pixmap): Change int to GWorldPtr.
184 187
185 * macmenu.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 188 * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
186 macgui.h).
187 189
188 * macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 190 * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
189 macgui.h). 191 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
190 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New 192 New #define to extract 16-bit depth color components from unsigned
191 #define to extract 16-bit depth color components from unsigned
192 long representation. 193 long representation.
193 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel 194 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel
194 colors used for masks. 195 colors used for masks.
@@ -204,11 +205,11 @@
204 (ZPixmap): New #define for compatibility with xfns.c. 205 (ZPixmap): New #define for compatibility with xfns.c.
205 (XGetImage, XPutPixel, XGetPixel, XDestroyImage) 206 (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
206 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) 207 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
207 (find_image_fsspec, image_load_qt_1, image_load_quicktime): New 208 (find_image_fsspec, image_load_qt_1, image_load_quicktime):
208 functions. 209 New functions.
209 (four_corners_best, x_create_x_image_and_pixmap) 210 (four_corners_best, x_create_x_image_and_pixmap)
210 (x_destroy_x_image, unwind_create_frame, x_disable_image, 211 (x_destroy_x_image, unwind_create_frame, x_disable_image)
211 (x_edge_detection, init_color_table, colors_in_color_table, 212 (x_edge_detection, init_color_table, colors_in_color_table)
212 (lookup_rgb_color, lookup_pixel_color, postprocess_image) 213 (lookup_rgb_color, lookup_pixel_color, postprocess_image)
213 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) 214 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image)
214 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) 215 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors)
@@ -227,14 +228,13 @@
227 (enum pbm_keyword_index, pbm_format, enum png_keyword_index) 228 (enum pbm_keyword_index, pbm_format, enum png_keyword_index)
228 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) 229 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format)
229 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) 230 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p)
230 (enum gif_keyword_index, gif_format, gif_image_p): Sync with 231 (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c.
231 xfns.c.
232 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with 232 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with
233 #if 0. 233 #if 0.
234 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with 234 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with
235 #if 0. Free white_relief.gc and black_relief.gc. 235 #if 0. Free white_relief.gc and black_relief.gc.
236 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): New 236 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection):
237 functions (from xfns.c). 237 New functions (from xfns.c).
238 (Fx_create_frame): Record unwind_create_frame. 238 (Fx_create_frame): Record unwind_create_frame.
239 (Fxw_display_color_p): Use dpyinfo->color_p. 239 (Fxw_display_color_p): Use dpyinfo->color_p.
240 (Fx_display_grayscale_p, Fx_display_planes): Don't use 240 (Fx_display_grayscale_p, Fx_display_planes): Don't use
@@ -246,14 +246,13 @@
246 (Fimage_size, Fimage_mask_p, four_corners_best, image_background) 246 (Fimage_size, Fimage_mask_p, four_corners_best, image_background)
247 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) 247 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image)
248 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) 248 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges)
249 (image_background_transparent): New function (from xfns.c). Use 249 (image_background_transparent): New function (from xfns.c).
250 PIX_MASK_DRAW/PIX_MASK_RETAIN. 250 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
251 (image_load_quicktime): Add declaration. 251 (image_load_quicktime): Add declaration.
252 [MAC_OSX] (image_load_quartz2d): Likewise. 252 [MAC_OSX] (image_load_quartz2d): Likewise.
253 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. 253 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef.
254 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. 254 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable.
255 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New 255 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs.
256 functions.
257 (xbm_load_image_from_file, x_laplace_read_row) 256 (xbm_load_image_from_file, x_laplace_read_row)
258 (x_laplace_write_row, pbm_read_file): Remove functions. 257 (x_laplace_write_row, pbm_read_file): Remove functions.
259 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) 258 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p)
@@ -262,23 +261,22 @@
262 (lookup_rgb_color): Don't lookup color table. Just do gamma 261 (lookup_rgb_color): Don't lookup color table. Just do gamma
263 correction. 262 correction.
264 (COLOR_INTENSITY): New #define (from xfns.c). 263 (COLOR_INTENSITY): New #define (from xfns.c).
265 (x_disable_image): New function (from xfns.c). Use 264 (x_disable_image): New function (from xfns.c).
266 PIX_MASK_DRAW/PIX_MASK_RETAIN. 265 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
267 (x_build_heuristic_mask): Sync with xfns.c. Use 266 (x_build_heuristic_mask): Sync with xfns.c.
268 PIX_MASK_DRAW/PIX_MASK_RETAIN. 267 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
269 (HAVE_PBM): Remove #ifdef. 268 (HAVE_PBM): Remove #ifdef.
270 (pbm_load): Sync with xfns.c. Set img->width and img->height 269 (pbm_load): Sync with xfns.c. Set img->width and img->height
271 before IMAGE_BACKGROUND. 270 before IMAGE_BACKGROUND.
272 (png_image_p, png_load): Don't enclose declarations with #if 271 (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG.
273 HAVE_PNG.
274 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): 272 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p):
275 Don't enclose with #if HAVE_PNG. 273 Don't enclose with #if HAVE_PNG.
276 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a 274 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a
277 symbol _CGImageCreateWithPNGDataProvider is defined. Otherwise 275 symbol _CGImageCreateWithPNGDataProvider is defined.
278 use image_load_quicktime. 276 Otherwise use image_load_quicktime.
279 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. 277 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime.
280 [HAVE_PNG] (png_load): Sync with xfns.c. Use 278 [HAVE_PNG] (png_load): Sync with xfns.c.
281 PIX_MASK_DRAW/PIX_MASK_RETAIN. 279 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
282 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if 280 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if
283 HAVE_JPEG. 281 HAVE_JPEG.
284 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) 282 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type)
@@ -291,11 +289,10 @@
291 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) 289 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type)
292 (tiff_image_p): Don't enclose with #if HAVE_TIFF. 290 (tiff_image_p): Don't enclose with #if HAVE_TIFF.
293 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. 291 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime.
294 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): New 292 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler):
295 functions (from xfns.c). 293 New functions (from xfns.c).
296 [HAVE_TIFF] (tiff_load): Sync with xfns.c. 294 [HAVE_TIFF] (tiff_load): Sync with xfns.c.
297 (gif_image_p, gif_load): Don't enclose declarations with #if 295 (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF.
298 HAVE_GIF.
299 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): 296 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p):
300 Don't enclose with #if HAVE_GIF. 297 Don't enclose with #if HAVE_GIF.
301 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is 298 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is
@@ -312,12 +309,11 @@
312 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 309 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
313 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. 310 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p.
314 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 311 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
315 HAVE_PNG. Call EnterMovies to support animated gifs. Call 312 HAVE_PNG. Call EnterMovies to support animated gifs.
316 init_image_func_pointer to bind a symbol 313 Call init_image_func_pointer to bind a symbol
317 _CGImageCreateWithPNGDataProvider if it is defined. 314 _CGImageCreateWithPNGDataProvider if it is defined.
318 315
319 * macterm.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 316 * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
320 macgui.h).
321 (x_draw_bar_cursor): Sync declaration with xterm.c. 317 (x_draw_bar_cursor): Sync declaration with xterm.c.
322 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) 318 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area)
323 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen 319 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen
@@ -325,16 +321,16 @@
325 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. 321 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc.
326 (mac_draw_line_to_pixmap, XCreatePixmap) 322 (mac_draw_line_to_pixmap, XCreatePixmap)
327 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) 323 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap)
328 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): New 324 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap):
329 functions. 325 New functions.
330 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: Use 326 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]:
331 GetPortBitMapForCopyBits instead of the cast to Bitmap *. Cast 327 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
332 bits to char *. 328 Cast bits to char *.
333 (reflect_byte): New function (from w32fns.c). 329 (reflect_byte): New function (from w32fns.c).
334 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits 330 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits
335 due to byte alignment. 331 due to byte alignment.
336 (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use 332 (mac_scroll_area) [TARGET_API_MAC_CARBON]:
337 GetPortBitMapForCopyBits instead of the cast to Bitmap *. 333 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
338 (XSetForeground): Remove static (now used in macfns.c). 334 (XSetForeground): Remove static (now used in macfns.c).
339 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). 335 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c).
340 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. 336 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c.
@@ -352,18 +348,16 @@
352 (x_free_frame_resources): New funcion (from xterm.c). 348 (x_free_frame_resources): New funcion (from xterm.c).
353 (XTread_socket): Call handle_tool_bar_click if mouse up/down event 349 (XTread_socket): Call handle_tool_bar_click if mouse up/down event
354 occurs in tool bar area. 350 occurs in tool bar area.
355 (mac_initialize_display_info): Remove dpyinfo->n_cbits. Set 351 (mac_initialize_display_info): Remove dpyinfo->n_cbits.
356 dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. 352 Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth.
357 Initialize image cache. 353 Initialize image cache.
358 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): 354 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match):
359 Enclose unused functions with #if 0. 355 Enclose unused functions with #if 0.
360 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. 356 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables.
361 (decode_mac_font_name): New function to apply code conversions 357 (decode_mac_font_name): New function to apply code conversions
362 from a mac font name to an XLFD font name according to its script 358 from a mac font name to an XLFD font name according to its script code.
363 code.
364 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD 359 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD
365 font name to a mac font name according to REGISTRY and ENCODING 360 font name to a mac font name according to REGISTRY and ENCODING fields.
366 fields.
367 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font 361 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font
368 whose name starts with `.'. 362 whose name starts with `.'.
369 (init_font_name_table): Use decode_mac_font_name. Add both 363 (init_font_name_table): Use decode_mac_font_name. Add both
@@ -422,8 +416,8 @@
422 416
423 * emacs.c (USAGE1): Split into two halves. 417 * emacs.c (USAGE1): Split into two halves.
424 (USAGE2): Second half of the old USAGE1. 418 (USAGE2): Second half of the old USAGE1.
425 (USAGE3): Renamed from USAGE2. 419 (USAGE3): Rename from USAGE2.
426 (USAGE4): Renamed from USAGE3. 420 (USAGE4): Rename from USAGE3.
427 421
4282004-02-21 Juri Linkov <juri@jurta.org> 4222004-02-21 Juri Linkov <juri@jurta.org>
429 423
@@ -446,8 +440,8 @@
446 in one call to read_socket_hook. Value is 8. 440 in one call to read_socket_hook. Value is 8.
447 (read_avail_input): Separate and rework handling of read_socket_hook 441 (read_avail_input): Separate and rework handling of read_socket_hook
448 and non-read_socket_hook cases. Use smaller input_event buffer 442 and non-read_socket_hook cases. Use smaller input_event buffer
449 in read_socket_hook case, and repeat if full buffer is read. Use 443 in read_socket_hook case, and repeat if full buffer is read.
450 new local variable 'discard' to skip input after C-g. 444 Use new local variable 'discard' to skip input after C-g.
451 In non-read_socket_hook case, just use a single input_event, and 445 In non-read_socket_hook case, just use a single input_event, and
452 call kbd_buffer_store_event on the fly for each character. 446 call kbd_buffer_store_event on the fly for each character.
453 447