comparison src/ChangeLog @ 4965:d79e9cc6aeca

Fix lots of ChangeLog duplication
author Ben Wing <ben@xemacs.org>
date Mon, 01 Feb 2010 13:36:26 -0600
parents 1f509f82c8c9
children 48b63cd88a21
comparison
equal deleted inserted replaced
4964:1f509f82c8c9 4965:d79e9cc6aeca
1 2010-02-01 Ben Wing <ben@xemacs.org> 1 2010-02-01 Ben Wing <ben@xemacs.org>
2 2
3 * alloc.c (common_init_alloc_early): 3 * alloc.c (common_init_alloc_early):
4 Fix compiler breakage. 4 Fix compiler breakage.
5
6 2010-02-01 Ben Wing <ben@xemacs.org>
7
8 * objects-gtk-impl.h:
9 * objects-gtk-impl.h (XCOLOR_INSTANCE_GTK_COLOR):
10 * objects-gtk-impl.h (XFONT_INSTANCE_GTK_FONT):
11 * objects-x-impl.h (XCOLOR_INSTANCE_X_COLOR):
12 * objects-x-impl.h (XFONT_INSTANCE_X_FONT):
13 Define XCOLOR_INSTANCE_X_COLOR, XCOLOR_INSTANCE_GTK_COLOR,
14 XFONT_INSTANCE_X_FONT, XFONT_INSTANCE_GTK_FONT for convenience
15 purposes. Fixes compile bug in redisplay-xlike-inc.c.
5 16
6 2010-01-29 Ben Wing <ben@xemacs.org> 17 2010-01-29 Ben Wing <ben@xemacs.org>
7 18
8 * lisp.h: 19 * lisp.h:
9 * objects.h (set_face_boolean_attached_to): 20 * objects.h (set_face_boolean_attached_to):
10 Use lisp.h for EXFUN of Fregexp_quote, that's what it's for. 21 Use lisp.h for EXFUN of Fregexp_quote, that's what it's for.
22
23 2010-02-01 Ben Wing <ben@xemacs.org>
24
25 * compiler.h:
26 Create a USED() macro to force unused-var warnings to go away,
27 in certain cases where it's inconvenient to do otherwise (e.g.
28 when THIS_IS_GTK in redisplay-xlike-inc.c).
29
30 * console-x.h:
31 Remove unneeded decls, make some static.
32
33 * redisplay-xlike-inc.c:
34 * console-xlike-inc.h: New file. Include defns from
35 redisplay-xlike-inc.c that may be useful in other XLIKE files.
36 Correct the handling of colors and font-style setting functions
37 in the xlike defns. Lots of fixes in the GTK-specific defns.
38
39 * depend: Regenerate.
40
41 * event-xlike-inc.c:
42 * event-xlike-inc.c (USE_UNICODE_MAP):
43 * event-xlike-inc.c (endif):
44 * gccache-gtk.c:
45 * gtk-glue.c (xemacs_list_to_gtklist):
46 * gtk-glue.c (xemacs_gtklist_to_list):
47 * gtk-glue.c (FROB):
48 * gtk-glue.c (face_to_gc):
49 * gtk-glue.c (face_to_style):
50 * gtk-glue.c (gdk_event_to_emacs_event):
51 * gtk-xemacs.h (struct _GtkXEmacs):
52 * gtk-xemacs.h (struct _GtkXEmacsClass):
53 * objects-xlike-inc.c:
54 Cosmetic, comment fixes.
55
56 * glyphs.c (pixmap_to_lisp_data):
57 Unused var fixes.
58
59
60 * gtk-glue.c:
61 * gccache-gtk.c:
62 * gtk-xemacs.c:
63 * gtk-xemacs.h:
64 * objects-xlike-inc.c:
65 * ui-gtk.c:
66 * ui-gtk.h:
67 * xgccache.c:
68 * xgccache.c (GC_CACHE_SIZE):
69 * xgccache.h:
70 Misc include-file fixes.
71
72 * objects-xlike-inc.c (XFUN):
73 * objects-xlike-inc.c (xlistfonts_checking_charset):
74 Combine some ifdeffed stuff using defs in console-xlike-inc.h.
75
76 * redisplay-gtk.c:
77 * redisplay-gtk.c (THIS_IS_GTK):
78 * redisplay-gtk.c (XLIKE_bevel_area):
79 * redisplay-gtk.c (XLIKE_ring_bell):
80 * redisplay-gtk.c (gdk_draw_text_image):
81 Fix numerous compile problems. Delete gtk_output_shadows(),
82 which mostly duplicates generic bevel_modeline(). Fix up
83 gtk_bevel_modeline() into XLIKE_bevel_area() and make use of
84 the style var properly to set the appropriate GTK constant.
85
86 * redisplay-x.c:
87 * redisplay-x.c (XLIKE_window_output_begin):
88 * redisplay-x.c (XLIKE_window_output_end):
89 * redisplay-x.c (XLIKE_bevel_area):
90 * redisplay-x.c (x_output_shadows):
91 * redisplay-x.c (XLIKE_ring_bell):
92 Make x_output_shadows be static. Change the defn of various
93 functions to look like XLIKE_foo() so it matches the calling
94 convention elsewhere.
95
96 * redisplay-xlike-inc.c:
97 * redisplay-xlike-inc.c (NEED_GCCACHE_H):
98 * redisplay-xlike-inc.c (XLIKE_text_width):
99 * redisplay-xlike-inc.c (XLIKE_get_gc):
100 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
101 * redisplay-xlike-inc.c (XFT_FROB_LISP_COLOR):
102 * redisplay-xlike-inc.c (XLIKE_output_xlike_pixmap):
103 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
104 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
105 * redisplay-xlike-inc.c (XLIKE_flash):
106 Lots of header fixes. Lots of stuff moved to console-xlike-inc.h.
107 Use XFUN() to generate function names instead of directly
108 calling XLIKE_PASTE(). Remove unnecessary prototypes.
109 Unify calls to text_width funs. Make XLIKE_get_gc non-static
110 since it's called from gtk. Change the color-function calls
111 and fill-style-setting calls to match the changes in
112 console-xlike-inc.h. Use USED() to avoid some warnings.
113
114 * symsinit.h:
115 Sort the prototypes, and add a fun `sort-symsinit' in a comment
116 that does the sorting (using sort-regexp-fields).
117
118 * symsinit.h (init_number):
119
120
121 * sysgtk.h: New file, wraps the various GTK headers.
122 * sysgdkx.h: New file, wraps <gtk/gdkx.h>. Keep this separate to
123 * event-gtk.h: Delete. Combine stuff into console-gtk.h.
124 help isolate X-specific code from GTK.
125
126 * device-gtk.c:
127 * event-gtk.c:
128 * console-gtk.h:
129 * frame-gtk.c:
130 * gccache-gtk.c:
131 * gccache-gtk.h:
132 * glyphs-gtk.c (gtk_colorize_image_instance):
133 * glyphs-gtk.h:
134 * gtk-xemacs.h:
135 * objects-gtk.c:
136 * objects-gtk.c (MAX_FONT_COUNT):
137 * ui-gtk.h:
138 Use sysgtk.h or sysgdkx.h instead of directly including GTK
139 headers. Don't include event-gtk.h.
140
141 2010-02-01 Ben Wing <ben@xemacs.org>
142
143 * abbrev.c (abbrev_match_mapper):
144 * buffer.h (CANON_TABLE_OF):
145 * buffer.h:
146 * editfns.c (Fchar_equal):
147 * minibuf.c (scmp_1):
148 * text.c (qxestrcasecmp_i18n):
149 * text.c (qxestrncasecmp_i18n):
150 * text.c (qxetextcasecmp):
151 * text.c (qxetextcasecmp_matching):
152 Create new macro CANONCASE that converts to a canonical mapping
153 and use it to do caseless comparisons instead of DOWNCASE.
154
155 * alloc.c:
156 * alloc.c (cons_equal):
157 * alloc.c (vector_equal):
158 * alloc.c (string_equal):
159 * bytecode.c (compiled_function_equal):
160 * chartab.c (char_table_entry_equal):
161 * chartab.c (char_table_equal):
162 * data.c (weak_list_equal):
163 * data.c (weak_box_equal):
164 * data.c (ephemeron_equal):
165 * device-msw.c (equal_devmode):
166 * elhash.c (hash_table_equal):
167 * events.c (event_equal):
168 * extents.c (properties_equal):
169 * extents.c (extent_equal):
170 * faces.c:
171 * faces.c (face_equal):
172 * faces.c (face_hash):
173 * floatfns.c (float_equal):
174 * fns.c:
175 * fns.c (bit_vector_equal):
176 * fns.c (plists_differ):
177 * fns.c (Fplists_eq):
178 * fns.c (Fplists_equal):
179 * fns.c (Flax_plists_eq):
180 * fns.c (Flax_plists_equal):
181 * fns.c (internal_equal):
182 * fns.c (internal_equalp):
183 * fns.c (internal_equal_0):
184 * fns.c (syms_of_fns):
185 * glyphs.c (image_instance_equal):
186 * glyphs.c (glyph_equal):
187 * glyphs.c (glyph_hash):
188 * gui.c (gui_item_equal):
189 * lisp.h:
190 * lrecord.h (struct lrecord_implementation):
191 * marker.c (marker_equal):
192 * number.c (bignum_equal):
193 * number.c (ratio_equal):
194 * number.c (bigfloat_equal):
195 * objects.c (color_instance_equal):
196 * objects.c (font_instance_equal):
197 * opaque.c (equal_opaque):
198 * opaque.c (equal_opaque_ptr):
199 * rangetab.c (range_table_equal):
200 * specifier.c (specifier_equal):
201 Add a `foldcase' param to the equal() method and use it to implement
202 `equalp' comparisons. Also add to plists_differ(), although we
203 don't currently use it here.
204
205 Rewrite internal_equalp(). Implement cross-type vector comparisons.
206 Don't implement our own handling of numeric promotion -- just use
207 the `=' primitive.
208
209 Add internal_equal_0(), which takes a `foldcase' param and calls
210 either internal_equal() or internal_equalp().
211
212 * buffer.h:
213 When given a 0 for buffer (which is the norm when functions don't
214 have a specific buffer available), use the current buffer's table,
215 not `standard-case-table'; otherwise the current settings are
216 ignored.
217
218 * casetab.c:
219 * casetab.c (set_case_table):
220 When handling old-style vectors of 256 in `set-case-table' don't
221 overwrite the existing table! Instead create a new table and
222 populate.
223
224 * device-msw.c (sync_printer_with_devmode):
225 * lisp.h:
226 * text.c (lisp_strcasecmp_ascii):
227 Rename lisp_strcasecmp to lisp_strcasecmp_ascii and use
228 lisp_strcasecmp_i18n for caseless comparisons in some places.
229
230 * elhash.c:
231 Delete unused lisp_string_hash and lisp_string_equal().
232
233 * events.h:
234 * keymap-buttons.h:
235 * keymap.h:
236 * keymap.c (keymap_lookup_directly):
237 * keymap.c (keymap_store):
238 * keymap.c (FROB):
239 * keymap.c (key_desc_list_to_event):
240 * keymap.c (describe_map_mapper):
241 * keymap.c (INCLUDE_BUTTON_ZERO):
242 New file keymap-buttons.h; use to handle buttons 1-26 in place of
243 duplicating code 26 times.
244
245 * frame-gtk.c (allocate_gtk_frame_struct):
246 * frame-msw.c (mswindows_init_frame_1):
247 Fix some comments about internal_equal() in redisplay that don't
248 apply any more.
249
250 * keymap-slots.h:
251 * keymap.c:
252 New file keymap-slots.h. Use it to notate the slots in a keymap
253 structure, similar to frameslots.h or coding-system-slots.h.
254
255 * keymap.c (MARKED_SLOT):
256 * keymap.c (keymap_equal):
257 * keymap.c (keymap_hash):
258 Implement.
259
260 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
261
262 * symbols.c (Fspecial_operator_p, syms_of_symbols):
263 * eval.c (print_subr, Finteractive_p, Ffuncall)
264 (Ffunction_min_args, Ffunction_max_args, vars_of_eval):
265 * editfns.c:
266 * data.c (Fsubr_max_args):
267 * doc.c (Fbuilt_in_symbol_file):
268 Change "special form" to "special operator" in our sources.
269
270 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
271
272 * search.c (search_buffer):
273 When checking the octets of c for identity, don't compare the
274 same octet with itself. Thank you Ben Wing!
275
276 2010-01-30 Ben Wing <ben@xemacs.org>
277
278 * intl-auto-encap-win32.c:
279 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
280 * intl-auto-encap-win32.c (qxeExtractIconEx):
281 * intl-auto-encap-win32.c (qxeCreateMDIWindow):
282 * intl-auto-encap-win32.c (qxeCreateWindowStation):
283 * intl-auto-encap-win32.c (qxeDdeCreateStringHandle):
284 * intl-auto-encap-win32.c (qxeAbortSystemShutdown):
285 * intl-auto-encap-win32.c (qxeRegConnectRegistry):
286 * intl-auto-encap-win32.c (qxeGetICMProfile):
287 * intl-auto-encap-win32.h:
288 Rebuild.
289
290 * intl-encap-win32.c:
291 * intl-encap-win32.c (qxeUpdateICMRegKey):
292 Delete manual definitions of functions with former errors in
293 Cygwin headers but no longer. Use "override" with some functions
294 where Cygwin or VS6 accidentally omits a const declaration or
295 includes an extra one. Use "no" on SendMessageTimeout, which
296 has an error in the VS6 prototype (you could manually fix this
297 with an ifdef to split the Cygwin vs. VS6 calls, if we ever
298 actually used this function).
299
300 2010-01-30 Aidan Kehoe <kehoea@parhasard.net>
301
302 * search.c (search_buffer):
303 Don't use Boyer-Moore for case-insensitive search if the search
304 pattern contains repeated Ibytes and the corresponding character
305 has case information (or, equivalently, if one of its case
306 equivalents would contain repeated Ibytes).
307
308 2010-01-28 Jerry James <james@xemacs.org>
309
310 * Makefile.in.in: Remove internationalization rules, since the
311 lib-src programs they invoke are now gone.
312
313 2010-01-29 Ben Wing <ben@xemacs.org>
314
315 * search.c (boyer_moore): Fix longstanding bug involving
316 searching for Control-1 chars; code was trying to directly
317 extract the last byte in the textual representation of a char
318 from an Ichar (and doing it in a buggy fashion) rather than
319 just converting the Ichar to text and looking at the last byte.
11 320
12 2010-01-28 Ben Wing <ben@xemacs.org> 321 2010-01-28 Ben Wing <ben@xemacs.org>
13 322
14 * syswindows.h: 323 * syswindows.h:
15 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks 324 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks
681 2010-01-26 Ben Wing <ben@xemacs.org> 990 2010-01-26 Ben Wing <ben@xemacs.org>
682 991
683 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs 992 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs
684 to check a specific file. 993 to check a specific file.
685 994
686 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
687
688 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
689 Be more careful to return integers in their canonical forms here,
690 and to give the same answer all the time when treating a rational
691 that is itself is an integer as a ratio.
692
693 2010-01-24 Ben Wing <ben@xemacs.org> 995 2010-01-24 Ben Wing <ben@xemacs.org>
694 996
695 * chartab.c (decode_char_table_range): 997 * chartab.c (decode_char_table_range):
696 * extents.c (extent_fragment_update): 998 * extents.c (extent_fragment_update):
697 * objects-msw.c (initialize_font_instance): 999 * objects-msw.c (initialize_font_instance):
1023 errors under C++ and/or Visual Studio 6. 1325 errors under C++ and/or Visual Studio 6.
1024 1326
1025 2010-01-27 Ben Wing <ben@xemacs.org> 1327 2010-01-27 Ben Wing <ben@xemacs.org>
1026 1328
1027 * casetab.c: Typo in comment. 1329 * casetab.c: Typo in comment.
1028
1029 2010-01-18 Ben Wing <ben@xemacs.org>
1030
1031 * redisplay-gtk.c:
1032 * redisplay-gtk.c (gtk_bevel_area):
1033 * redisplay-x.c:
1034 * redisplay-x.c (THIS_IS_X):
1035 * redisplay-xlike-inc.c:
1036 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
1037 * redisplay-xlike-inc.c (XLIKE_text_width):
1038 * redisplay-xlike-inc.c (XLIKE_output_display_block):
1039 * redisplay-xlike-inc.c (XLIKE_get_gc):
1040 * redisplay-xlike-inc.c (XLIKE_output_string):
1041 * redisplay-xlike-inc.c (XLIKE_OUTPUT_XLIKE_PIXMAP):
1042 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
1043 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
1044 * redisplay-xlike-inc.c (XLIKE_output_blank):
1045 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line):
1046 * redisplay-xlike-inc.c (XLIKE_clear_region):
1047 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor):
1048 * redisplay-xlike-inc.c (XLIKE_clear_frame_window):
1049 * redisplay-xlike-inc.c (XLIKE_clear_frame):
1050 * redisplay-xlike-inc.c (XLIKE_flash):
1051 * redisplay-xlike-inc.c (console_type_create_redisplay_XLIKE):
1052 Move lots more code into redisplay-xlike-inc.c. Use macros to
1053 isolate the code that differs among X vs. GTK, to reduce the need
1054 for ifdefs in the middle of the code. Now, redisplay-x.c and
1055 redisplay-gtk.c only contain a few functions whose implementation
1056 is completely different from one to the other, or which are not
1057 present at all in one of them.
1058
1059 GTK code not currently tested, but it has bitrotted somewhat
1060 any. Doing this will help keep it less bitrotty.
1061
1062 * depend: Regenerate.
1063
1064 2010-01-18 Ben Wing <ben@xemacs.org>
1065
1066 * redisplay-xlike-inc.c:
1067 * redisplay-xlike-inc.c (separate_textual_runs_nomule):
1068 * redisplay-xlike-inc.c (separate_textual_runs_xft_nomule):
1069 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule):
1070 * redisplay-xlike-inc.c (separate_textual_runs_mule):
1071 Break separate_textual_runs_* functions from redisplay-x.c.
1072 (Code in redisplay-gtk.c should have been identical but was
1073 bit-rotted.)
1074
1075 * redisplay-gtk.c:
1076 * redisplay-x.c:
1077 Delete code, replace with include statement.
1078
1079 * depend: Regenerate.
1080
1081 2010-01-18 Ben Wing <ben@xemacs.org>
1082
1083 * lisp.h:
1084 * print.c:
1085 New variable `in_debug_print'.
1086
1087 * alloc.c:
1088 * alloc.c (free_managed_lcrecord):
1089 If gc_in_progress and in_debug_print, just return instead of
1090 crashing. This only happens when the programmer calls debug_print()
1091 or a variation inside of a debugger, and is probably already
1092 diagnosing a crash.
1093
1094 * print.c (struct debug_bindings):
1095 * print.c (debug_prin1_exit):
1096 * print.c (debug_prin1):
1097 At entrance, record the old value of in_debug_print in the
1098 debug_bindings, set up an unwind-protect to restore the old value,
1099 and set in_debug_print to 1. In the unwind-protect, restore the
1100 old value.
1101
1102
1103 2010-01-16 Ben Wing <ben@xemacs.org>
1104
1105 * win32.c (mswindows_read_link_1):
1106 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we
1107 haven't linked with the appropriate libraries.
1108
1109 2010-01-15 Ben Wing <ben@xemacs.org>
1110
1111 * doprnt.c (emacs_doprnt_1):
1112 Cosmetic: Use Qunbound, not Qnil as second arg to call to
1113 syntax_error() to get cleaner error message.
1114
1115 2010-01-15 Ben Wing <ben@xemacs.org>
1116
1117 * intl-encap-win32.c:
1118 Add `review' lines for all functions seen in the headers that we
1119 process but not yet associated with an encapsulation command.
1120 These will cause an error to be signaled if these functions are
1121 used.
1122 * intl-auto-encap-win32.c:
1123 * intl-auto-encap-win32.h:
1124 Regenerate.
1125
1126 2010-01-15 Ben Wing <ben@xemacs.org>
1127
1128 * intl-auto-encap-win32.c:
1129 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
1130 * intl-auto-encap-win32.c (qxeShellExecuteEx):
1131 * intl-auto-encap-win32.c (qxeSHFileOperation):
1132 * intl-auto-encap-win32.c (qxeSHQueryRecycleBin):
1133 * intl-auto-encap-win32.c (qxeSHEmptyRecycleBin):
1134 * intl-auto-encap-win32.c (qxeWNetAddConnection):
1135 * intl-auto-encap-win32.c (qxeWNetAddConnection2):
1136 * intl-auto-encap-win32.c (qxeWNetAddConnection3):
1137 * intl-auto-encap-win32.c (qxeWNetCancelConnection):
1138 * intl-auto-encap-win32.c (qxeWNetCancelConnection2):
1139 * intl-auto-encap-win32.c (qxeWNetGetConnection):
1140 * intl-auto-encap-win32.c (qxeWNetUseConnection):
1141 * intl-auto-encap-win32.c (qxeWNetConnectionDialog1):
1142 * intl-auto-encap-win32.c (qxeWNetDisconnectDialog1):
1143 * intl-auto-encap-win32.c (qxeWNetOpenEnum):
1144 * intl-auto-encap-win32.c (qxeWNetEnumResource):
1145 * intl-auto-encap-win32.c (qxeWNetGetUniversalName):
1146 * intl-auto-encap-win32.c (qxeWNetGetUser):
1147 * intl-auto-encap-win32.c (qxeWNetGetProviderName):
1148 * intl-auto-encap-win32.c (qxeWNetGetNetworkInformation):
1149 * intl-auto-encap-win32.c (qxeWNetGetLastError):
1150 * intl-auto-encap-win32.c (qxeMultinetGetConnectionPerformance):
1151 * intl-auto-encap-win32.c (qxeAppendMenu):
1152 * intl-auto-encap-win32.c (qxeCopyAcceleratorTable):
1153 * intl-auto-encap-win32.c (qxeDlgDirSelectComboBoxEx):
1154 * intl-auto-encap-win32.c (qxeEnumDesktops):
1155 * intl-auto-encap-win32.c (qxeEnumWindowStations):
1156 * intl-auto-encap-win32.c (qxeGetClassInfo):
1157 * intl-auto-encap-win32.c (qxeGetClassLong):
1158 * intl-auto-encap-win32.c (qxeGetClassName):
1159 * intl-auto-encap-win32.c (qxeGetKeyboardLayoutName):
1160 * intl-auto-encap-win32.c (qxeGetWindowLong):
1161 * intl-auto-encap-win32.c (qxeGetUserObjectInformation):
1162 * intl-auto-encap-win32.c (qxeGetWindowTextLength):
1163 * intl-auto-encap-win32.c (qxeGrayString):
1164 * intl-auto-encap-win32.c (qxeInsertMenu):
1165 * intl-auto-encap-win32.c (qxeSetProp):
1166 * intl-auto-encap-win32.c (qxeEnumICMProfiles):
1167 * intl-auto-encap-win32.c (qxeExtTextOut):
1168 * intl-auto-encap-win32.c (qxeSetICMProfile):
1169 * intl-auto-encap-win32.c (qxeTextOut):
1170 * intl-auto-encap-win32.c (qxeSHGetPathFromIDList):
1171 * intl-auto-encap-win32.c (qxeFindText):
1172 * intl-auto-encap-win32.c (qxeReplaceText):
1173 * intl-auto-encap-win32.c (qxeImmInstallIME):
1174 * intl-auto-encap-win32.c (qxeImmGetDescription):
1175 * intl-auto-encap-win32.c (qxeImmGetIMEFileName):
1176 * intl-auto-encap-win32.c (qxeImmGetCompositionString):
1177 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
1178 * intl-auto-encap-win32.c (qxeImmGetCandidateList):
1179 * intl-auto-encap-win32.c (qxeImmGetGuideLine):
1180 * intl-auto-encap-win32.c (qxeImmConfigureIME):
1181 * intl-auto-encap-win32.c (qxeImmEscape):
1182 * intl-auto-encap-win32.c (qxeImmGetConversionList):
1183 * intl-auto-encap-win32.c (qxeImmRegisterWord):
1184 * intl-auto-encap-win32.c (qxeImmUnregisterWord):
1185 * intl-auto-encap-win32.c (qxeImmEnumRegisterWord):
1186 * intl-auto-encap-win32.c (qxesndPlaySound):
1187 * intl-auto-encap-win32.c (qxePlaySound):
1188 * intl-auto-encap-win32.c (qxewaveOutGetErrorText):
1189 * intl-auto-encap-win32.c (qxewaveInGetErrorText):
1190 * intl-auto-encap-win32.c (qxemidiOutGetErrorText):
1191 * intl-auto-encap-win32.c (qxemidiInGetErrorText):
1192 * intl-auto-encap-win32.c (qxemmioStringToFOURCC):
1193 * intl-auto-encap-win32.c (qxemmioInstallIOProc):
1194 * intl-auto-encap-win32.c (qxemmioOpen):
1195 * intl-auto-encap-win32.c (qxemmioRename):
1196 * intl-auto-encap-win32.c (qxemciSendCommand):
1197 * intl-auto-encap-win32.c (qxemciSendString):
1198 * intl-auto-encap-win32.c (qxemciGetDeviceID):
1199 * intl-auto-encap-win32.c (qxemciGetErrorString):
1200 * intl-auto-encap-win32.h:
1201 * intl-auto-encap-win32.h (qxemciGetErrorString):
1202 Regenerate these files from Cygwin headers.
1203
1204 * intl-encap-win32.c:
1205 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems
1206 when building --with-msw=no on Cygwin.
1207
1208 Fixes for Cygwin headers:
1209 -- Comment out IME.H, non-existent in Cygwin.
1210 -- Make MessageBoxIndirect a `no' (don't encapsulate but generate
1211 error if used) because it has a structure parameter that needs
1212 to be A/W split but is declared as FOO*, and our parser can't
1213 split this.
1214
1215 2010-01-15 Ben Wing <ben@xemacs.org>
1216
1217 * Makefile.in.in:
1218 Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY)
1219 instead of only when we build support for the GUI portion of
1220 MS-Windows (HAVE_MS_WINDOWS).
1221
1222 Cosmetic: Use WIN32_ANY in place of equivalent
1223 (WIN32_NATIVE or CYGWIN).
1224
1225 2010-01-15 Ben Wing <ben@xemacs.org>
1226
1227 * emacs.c:
1228 * emacs.c (debug_can_access_memory):
1229 When checking for bad memory, we need to read all bytes from memory;
1230 try even harder to avoid the possibility that a super-optimizing
1231 compiler will optimize away the memory reads.
1232
1233 2010-01-15 Ben Wing <ben@xemacs.org>
1234
1235 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
1236 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN):
1237 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT):
1238 Declare some temporary pointer variables const to avoid compile
1239 errors under C++ and/or Visual Studio 6.
1240
1241 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
1242
1243 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
1244 Be more careful to return integers in their canonical forms here,
1245 and to give the same answer all the time when treating a rational
1246 that is itself is an integer as a ratio.
1247
1248 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
1249
1250 Fix problems with #'eql, extended number types, and the hash table
1251 implementation; change the Bintegerp bytecode to fixnump semantics
1252 even on bignum builds, since #'integerp can have a fast
1253 implementation in terms of #'fixnump for most of its extant uses,
1254 but not vice-versa.
1255
1256 * lisp.h: Always #include number.h; we want the macros provided in
1257 it, even if the various number types are not available.
1258 * number.h (NON_FIXNUM_NUMBER_P): New macro, giving 1 when its
1259 argument is of non-immediate number type. Equivalent to FLOATP if
1260 WITH_NUMBER_TYPES is not defined.
1261
1262 * elhash.c (lisp_object_eql_equal, lisp_object_eql_hash):
1263 Use NON_FIXNUM_NUMBER_P in these functions, instead of FLOATP,
1264 giving more correct behaviour in the presence of the extended
1265 number types.
1266 * bytecode.c (Bfixnump, execute_optimized_program):
1267 Rename Bintegerp to Bfixnump; change its semantics to reflect the
1268 new name on builds with bignum support.
1269
1270 * data.c (Ffixnump, Fintegerp, syms_of_data, vars_of_data):
1271 Always make #'fixnump available, even on non-BIGNUM builds;
1272 always implement #'integerp in this file, even on BIGNUM builds.
1273 Move most-positive-fixnum, most-negative-fixnum here from
1274 number.c, so they are Lisp constants even on builds without number
1275 types, and attempts to change or bind them error.
1276 Use the NUMBERP and INTEGERP macros even on builds without
1277 extended number types.
1278 * data.c (fixnum_char_or_marker_to_int):
1279 Rename this function from integer_char_or_marker_to_int, to better
1280 reflect the arguments it accepts.
1281
1282 * number.c (Fevenp, Foddp, syms_of_number):
1283 Never provide #'integerp in this file. Remove #'oddp,
1284 #'evenp; their implementations are overridden by those in cl.el.
1285 * number.c (vars_of_number):
1286 most-positive-fixnum, most-negative-fixnum are no longer here.
1287
1288 2010-02-01 Ben Wing <ben@xemacs.org>
1289
1290 * compiler.h:
1291 Create a USED() macro to force unused-var warnings to go away,
1292 in certain cases where it's inconvenient to do otherwise (e.g.
1293 when THIS_IS_GTK in redisplay-xlike-inc.c).
1294
1295 * console-x.h:
1296 Remove unneeded decls, make some static.
1297
1298 * redisplay-xlike-inc.c:
1299 * console-xlike-inc.h: New file. Include defns from
1300 redisplay-xlike-inc.c that may be useful in other XLIKE files.
1301 Correct the handling of colors and font-style setting functions
1302 in the xlike defns. Lots of fixes in the GTK-specific defns.
1303
1304 * depend: Regenerate.
1305
1306 * event-xlike-inc.c:
1307 * event-xlike-inc.c (USE_UNICODE_MAP):
1308 * event-xlike-inc.c (endif):
1309 * gccache-gtk.c:
1310 * gtk-glue.c (xemacs_list_to_gtklist):
1311 * gtk-glue.c (xemacs_gtklist_to_list):
1312 * gtk-glue.c (FROB):
1313 * gtk-glue.c (face_to_gc):
1314 * gtk-glue.c (face_to_style):
1315 * gtk-glue.c (gdk_event_to_emacs_event):
1316 * gtk-xemacs.h (struct _GtkXEmacs):
1317 * gtk-xemacs.h (struct _GtkXEmacsClass):
1318 * objects-xlike-inc.c:
1319 Cosmetic, comment fixes.
1320
1321 * glyphs.c (pixmap_to_lisp_data):
1322 Unused var fixes.
1323
1324
1325 * gtk-glue.c:
1326 * gccache-gtk.c:
1327 * gtk-xemacs.c:
1328 * gtk-xemacs.h:
1329 * objects-xlike-inc.c:
1330 * ui-gtk.c:
1331 * ui-gtk.h:
1332 * xgccache.c:
1333 * xgccache.c (GC_CACHE_SIZE):
1334 * xgccache.h:
1335 Misc include-file fixes.
1336
1337 * objects-xlike-inc.c (XFUN):
1338 * objects-xlike-inc.c (xlistfonts_checking_charset):
1339 Combine some ifdeffed stuff using defs in console-xlike-inc.h.
1340
1341 * redisplay-gtk.c:
1342 * redisplay-gtk.c (THIS_IS_GTK):
1343 * redisplay-gtk.c (XLIKE_bevel_area):
1344 * redisplay-gtk.c (XLIKE_ring_bell):
1345 * redisplay-gtk.c (gdk_draw_text_image):
1346 Fix numerous compile problems. Delete gtk_output_shadows(),
1347 which mostly duplicates generic bevel_modeline(). Fix up
1348 gtk_bevel_modeline() into XLIKE_bevel_area() and make use of
1349 the style var properly to set the appropriate GTK constant.
1350
1351 * redisplay-x.c:
1352 * redisplay-x.c (XLIKE_window_output_begin):
1353 * redisplay-x.c (XLIKE_window_output_end):
1354 * redisplay-x.c (XLIKE_bevel_area):
1355 * redisplay-x.c (x_output_shadows):
1356 * redisplay-x.c (XLIKE_ring_bell):
1357 Make x_output_shadows be static. Change the defn of various
1358 functions to look like XLIKE_foo() so it matches the calling
1359 convention elsewhere.
1360
1361 * redisplay-xlike-inc.c:
1362 * redisplay-xlike-inc.c (NEED_GCCACHE_H):
1363 * redisplay-xlike-inc.c (XLIKE_text_width):
1364 * redisplay-xlike-inc.c (XLIKE_get_gc):
1365 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
1366 * redisplay-xlike-inc.c (XFT_FROB_LISP_COLOR):
1367 * redisplay-xlike-inc.c (XLIKE_output_xlike_pixmap):
1368 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
1369 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
1370 * redisplay-xlike-inc.c (XLIKE_flash):
1371 Lots of header fixes. Lots of stuff moved to console-xlike-inc.h.
1372 Use XFUN() to generate function names instead of directly
1373 calling XLIKE_PASTE(). Remove unnecessary prototypes.
1374 Unify calls to text_width funs. Make XLIKE_get_gc non-static
1375 since it's called from gtk. Change the color-function calls
1376 and fill-style-setting calls to match the changes in
1377 console-xlike-inc.h. Use USED() to avoid some warnings.
1378
1379 * symsinit.h:
1380 Sort the prototypes, and add a fun `sort-symsinit' in a comment
1381 that does the sorting (using sort-regexp-fields).
1382
1383 * symsinit.h (init_number):
1384
1385
1386 * sysgtk.h: New file, wraps the various GTK headers.
1387 * sysgdkx.h: New file, wraps <gtk/gdkx.h>. Keep this separate to
1388 * event-gtk.h: Delete. Combine stuff into console-gtk.h.
1389 help isolate X-specific code from GTK.
1390
1391 * device-gtk.c:
1392 * event-gtk.c:
1393 * console-gtk.h:
1394 * frame-gtk.c:
1395 * gccache-gtk.c:
1396 * gccache-gtk.h:
1397 * glyphs-gtk.c (gtk_colorize_image_instance):
1398 * glyphs-gtk.h:
1399 * gtk-xemacs.h:
1400 * objects-gtk.c:
1401 * objects-gtk.c (MAX_FONT_COUNT):
1402 * ui-gtk.h:
1403 Use sysgtk.h or sysgdkx.h instead of directly including GTK
1404 headers. Don't include event-gtk.h.
1405
1406 2010-02-01 Ben Wing <ben@xemacs.org>
1407
1408 * abbrev.c (abbrev_match_mapper):
1409 * buffer.h (CANON_TABLE_OF):
1410 * buffer.h:
1411 * editfns.c (Fchar_equal):
1412 * minibuf.c (scmp_1):
1413 * text.c (qxestrcasecmp_i18n):
1414 * text.c (qxestrncasecmp_i18n):
1415 * text.c (qxetextcasecmp):
1416 * text.c (qxetextcasecmp_matching):
1417 Create new macro CANONCASE that converts to a canonical mapping
1418 and use it to do caseless comparisons instead of DOWNCASE.
1419
1420 * alloc.c:
1421 * alloc.c (cons_equal):
1422 * alloc.c (vector_equal):
1423 * alloc.c (string_equal):
1424 * bytecode.c (compiled_function_equal):
1425 * chartab.c (char_table_entry_equal):
1426 * chartab.c (char_table_equal):
1427 * data.c (weak_list_equal):
1428 * data.c (weak_box_equal):
1429 * data.c (ephemeron_equal):
1430 * device-msw.c (equal_devmode):
1431 * elhash.c (hash_table_equal):
1432 * events.c (event_equal):
1433 * extents.c (properties_equal):
1434 * extents.c (extent_equal):
1435 * faces.c:
1436 * faces.c (face_equal):
1437 * faces.c (face_hash):
1438 * floatfns.c (float_equal):
1439 * fns.c:
1440 * fns.c (bit_vector_equal):
1441 * fns.c (plists_differ):
1442 * fns.c (Fplists_eq):
1443 * fns.c (Fplists_equal):
1444 * fns.c (Flax_plists_eq):
1445 * fns.c (Flax_plists_equal):
1446 * fns.c (internal_equal):
1447 * fns.c (internal_equalp):
1448 * fns.c (internal_equal_0):
1449 * fns.c (syms_of_fns):
1450 * glyphs.c (image_instance_equal):
1451 * glyphs.c (glyph_equal):
1452 * glyphs.c (glyph_hash):
1453 * gui.c (gui_item_equal):
1454 * lisp.h:
1455 * lrecord.h (struct lrecord_implementation):
1456 * marker.c (marker_equal):
1457 * number.c (bignum_equal):
1458 * number.c (ratio_equal):
1459 * number.c (bigfloat_equal):
1460 * objects.c (color_instance_equal):
1461 * objects.c (font_instance_equal):
1462 * opaque.c (equal_opaque):
1463 * opaque.c (equal_opaque_ptr):
1464 * rangetab.c (range_table_equal):
1465 * specifier.c (specifier_equal):
1466 Add a `foldcase' param to the equal() method and use it to implement
1467 `equalp' comparisons. Also add to plists_differ(), although we
1468 don't currently use it here.
1469
1470 Rewrite internal_equalp(). Implement cross-type vector comparisons.
1471 Don't implement our own handling of numeric promotion -- just use
1472 the `=' primitive.
1473
1474 Add internal_equal_0(), which takes a `foldcase' param and calls
1475 either internal_equal() or internal_equalp().
1476
1477 * buffer.h:
1478 When given a 0 for buffer (which is the norm when functions don't
1479 have a specific buffer available), use the current buffer's table,
1480 not `standard-case-table'; otherwise the current settings are
1481 ignored.
1482
1483 * casetab.c:
1484 * casetab.c (set_case_table):
1485 When handling old-style vectors of 256 in `set-case-table' don't
1486 overwrite the existing table! Instead create a new table and
1487 populate.
1488
1489 * device-msw.c (sync_printer_with_devmode):
1490 * lisp.h:
1491 * text.c (lisp_strcasecmp_ascii):
1492 Rename lisp_strcasecmp to lisp_strcasecmp_ascii and use
1493 lisp_strcasecmp_i18n for caseless comparisons in some places.
1494
1495 * elhash.c:
1496 Delete unused lisp_string_hash and lisp_string_equal().
1497
1498 * events.h:
1499 * keymap-buttons.h:
1500 * keymap.h:
1501 * keymap.c (keymap_lookup_directly):
1502 * keymap.c (keymap_store):
1503 * keymap.c (FROB):
1504 * keymap.c (key_desc_list_to_event):
1505 * keymap.c (describe_map_mapper):
1506 * keymap.c (INCLUDE_BUTTON_ZERO):
1507 New file keymap-buttons.h; use to handle buttons 1-26 in place of
1508 duplicating code 26 times.
1509
1510 * frame-gtk.c (allocate_gtk_frame_struct):
1511 * frame-msw.c (mswindows_init_frame_1):
1512 Fix some comments about internal_equal() in redisplay that don't
1513 apply any more.
1514
1515 * keymap-slots.h:
1516 * keymap.c:
1517 New file keymap-slots.h. Use it to notate the slots in a keymap
1518 structure, similar to frameslots.h or coding-system-slots.h.
1519
1520 * keymap.c (MARKED_SLOT):
1521 * keymap.c (keymap_equal):
1522 * keymap.c (keymap_hash):
1523 Implement.
1524
1525 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
1526
1527 * symbols.c (Fspecial_operator_p, syms_of_symbols):
1528 * eval.c (print_subr, Finteractive_p, Ffuncall)
1529 (Ffunction_min_args, Ffunction_max_args, vars_of_eval):
1530 * editfns.c:
1531 * data.c (Fsubr_max_args):
1532 * doc.c (Fbuilt_in_symbol_file):
1533 Change "special form" to "special operator" in our sources.
1534
1535 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
1536
1537 * search.c (search_buffer):
1538 When checking the octets of c for identity, don't compare the
1539 same octet with itself. Thank you Ben Wing!
1540
1541 2010-01-30 Ben Wing <ben@xemacs.org>
1542
1543 * intl-auto-encap-win32.c:
1544 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
1545 * intl-auto-encap-win32.c (qxeExtractIconEx):
1546 * intl-auto-encap-win32.c (qxeCreateMDIWindow):
1547 * intl-auto-encap-win32.c (qxeCreateWindowStation):
1548 * intl-auto-encap-win32.c (qxeDdeCreateStringHandle):
1549 * intl-auto-encap-win32.c (qxeAbortSystemShutdown):
1550 * intl-auto-encap-win32.c (qxeRegConnectRegistry):
1551 * intl-auto-encap-win32.c (qxeGetICMProfile):
1552 * intl-auto-encap-win32.h:
1553 Rebuild.
1554
1555 * intl-encap-win32.c:
1556 * intl-encap-win32.c (qxeUpdateICMRegKey):
1557 Delete manual definitions of functions with former errors in
1558 Cygwin headers but no longer. Use "override" with some functions
1559 where Cygwin or VS6 accidentally omits a const declaration or
1560 includes an extra one. Use "no" on SendMessageTimeout, which
1561 has an error in the VS6 prototype (you could manually fix this
1562 with an ifdef to split the Cygwin vs. VS6 calls, if we ever
1563 actually used this function).
1564
1565 2010-01-30 Aidan Kehoe <kehoea@parhasard.net>
1566
1567 * search.c (search_buffer):
1568 Don't use Boyer-Moore for case-insensitive search if the search
1569 pattern contains repeated Ibytes and the corresponding character
1570 has case information (or, equivalently, if one of its case
1571 equivalents would contain repeated Ibytes).
1572
1573 2010-01-28 Jerry James <james@xemacs.org>
1574
1575 * Makefile.in.in: Remove internationalization rules, since the
1576 lib-src programs they invoke are now gone.
1577
1578 2010-01-29 Ben Wing <ben@xemacs.org>
1579
1580 * search.c (boyer_moore): Fix longstanding bug involving
1581 searching for Control-1 chars; code was trying to directly
1582 extract the last byte in the textual representation of a char
1583 from an Ichar (and doing it in a buggy fashion) rather than
1584 just converting the Ichar to text and looking at the last byte.
1585
1586 2010-01-28 Ben Wing <ben@xemacs.org>
1587
1588 * syswindows.h:
1589 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks
1590 (i.e. Visual Studio et al.).
1591
1592 2010-01-27 Aidan Kehoe <kehoea@parhasard.net>
1593
1594 * number.c (Fdenominator):
1595 Oops, change #else to #endif here; thank you Vin Shelton, thank
1596 you Robert Delius Royar.
1597
1598 2010-01-28 Ben Wing <ben@xemacs.org>
1599
1600 * device-x.c (x_init_device):
1601 * emodules.c (emodules_load):
1602 * emodules.c (emodules_doc_subr):
1603 * emodules.c (emodules_doc_sym):
1604 * emodules.h:
1605 Make the externally-called functions emodules_doc_sym() and
1606 emodules_doc_subr() take Ascbyte * pointers since they're usually
1607 passed string constants and we can't guarantee the encoding if
1608 it's not ASCII. Fix pointer type in calls to dll_variable(), etc.
1609
1610 2010-01-27 Ben Wing <ben@xemacs.org>
1611
1612 * lread.c (vars_of_lread):
1613 Turn on load-ignore-out-of-date-elc-files by default.
1614
1615 2010-01-27 Ben Wing <ben@xemacs.org>
1616
1617 * event-unixoid.c (read_event_from_tty_or_stream_desc):
1618 Don't try to write one byte into a four-byte variable, leaving
1619 the rest undefined. This is a recipe for crashing.
1620
1621 2010-01-27 Ben Wing <ben@xemacs.org>
1622
1623 * .gdbinit.in.in:
1624 * README:
1625 * abbrev.c (write_abbrev):
1626 * abbrev.c (describe_abbrev):
1627 * alloc.c (make_extstring):
1628 * alloc.c (build_istring):
1629 * alloc.c (build_cistring):
1630 * alloc.c (build_ascstring):
1631 * alloc.c (build_extstring):
1632 * alloc.c (build_msg_istring):
1633 * alloc.c (build_defer_istring):
1634 * buffer.c (Fgenerate_new_buffer_name):
1635 * buffer.c (init_buffer_2):
1636 * console-tty.c (tty_init_console):
1637 * console-x.c (get_display_arg_connection):
1638 * console-x.c (x_perhaps_init_unseen_key_defaults):
1639 * database.c (dbm_map):
1640 * database.c (dbm_get):
1641 * database.c (berkdb_get):
1642 * database.c (berkdb_map):
1643 * device-gtk.c (FROB_PIXMAP):
1644 * device-gtk.c (Fgtk_style_info):
1645 * device-msw.c (msprinter_default_printer):
1646 * device-msw.c (sync_printer_with_devmode):
1647 * device-x.c (coding_system_of_xrm_database):
1648 * device-x.c (x_init_device):
1649 * device-x.c (signal_if_x_error):
1650 * device-x.c (Fx_get_resource):
1651 * device-x.c (Fx_server_vendor):
1652 * device-x.c (Fx_get_font_path):
1653 * dialog-x.c (maybe_run_dbox_text_callback):
1654 * doc.c (extract_object_file_name):
1655 * doc.c (unparesseuxify_doc_string):
1656 * doc.c (get_doc_string):
1657 * doc.c (get_object_file_name):
1658 * doc.c (Fdocumentation):
1659 * doc.c (Fsnarf_documentation):
1660 * doc.c (Fsubstitute_command_keys):
1661 * editfns.c (init_editfns):
1662 * editfns.c (Ftemp_directory):
1663 * editfns.c (Fuser_login_name):
1664 * editfns.c (Fuser_real_login_name):
1665 * editfns.c (Fuser_home_directory):
1666 * editfns.c (Fformat_time_string):
1667 * editfns.c (Fcurrent_time_string):
1668 * editfns.c (Fcurrent_time_zone):
1669 * emacs.c:
1670 * emacs.c (main_1):
1671 * emodules.c (Flist_modules):
1672 * emodules.c (emodules_load):
1673 * emodules.c (emodules_doc_sym):
1674 * emodules.c (vars_of_module):
1675 * event-Xt.c (x_has_keysym):
1676 * event-gtk.c (emacs_gtk_format_magic_event):
1677 * event-gtk.c (dragndrop_data_received):
1678 * event-gtk.c (gtk_reset_key_mapping):
1679 * event-msw.c (mswindows_dde_callback):
1680 * event-msw.c (mswindows_wnd_proc):
1681 * faces.c (complex_vars_of_faces):
1682 * file-coding.c (find_coding_system):
1683 * file-coding.c (setup_eol_coding_systems):
1684 * file-coding.c (make_coding_system_1):
1685 * file-coding.c (snarf_coding_system):
1686 * fileio.c:
1687 * fileio.c (lisp_strerror):
1688 * fileio.c (Ffile_name_directory):
1689 * fileio.c (Ffile_name_as_directory):
1690 * fileio.c (Fdirectory_file_name):
1691 * fileio.c (if):
1692 * fileio.c (Ffile_symlink_p):
1693 * fileio.c (Fencrypt_string):
1694 * fileio.c (Fdecrypt_string):
1695 * filelock.c (lock_file):
1696 * filelock.c (Ffile_locked_p):
1697 * floatfns.c (matherr):
1698 * font-mgr.c (build_fcapi_string):
1699 * font-mgr.c (make_xlfd_font_regexp):
1700 * frame-msw.c (mswindows_window_id):
1701 * frame-msw.c (mswindows_frame_property):
1702 * frame-x.c:
1703 * frame-x.c (color_to_string):
1704 * frame-x.c (maybe_set_frame_title_format):
1705 * frame-x.c (x_cde_transfer_callback):
1706 * frame-x.c (Fx_window_id):
1707 * glade.c (connector):
1708 * glade.c (Fglade_xml_textdomain):
1709 * glade.c (syms_of_glade):
1710 * glyphs-eimage.c (jpeg_instantiate):
1711 * glyphs-eimage.c (png_instantiate):
1712 * glyphs-eimage.c (tiff_instantiate):
1713 * glyphs-gtk.c (font_instantiate):
1714 * glyphs-gtk.c (BUILD_GLYPH_INST):
1715 * glyphs-x.c (x_locate_pixmap_file):
1716 * glyphs-x.c (font_instantiate):
1717 * glyphs-x.c (x_widget_property):
1718 * glyphs-x.c (BUILD_GLYPH_INST):
1719 * glyphs.c (print_image_instance):
1720 * glyphs.c (bitmap_to_lisp_data):
1721 * glyphs.c (pixmap_to_lisp_data):
1722 * gpmevent.c (turn_off_gpm):
1723 * gpmevent.c (Fgpm_enabled_p):
1724 * gpmevent.c (Fgpm_enable):
1725 * gtk-glue.c (__make_string_mapper):
1726 * gtk-glue.c (xemacs_gtklist_to_list):
1727 * gtk-xemacs.c (FROB_FACE):
1728 * gtk-xemacs.c (xemacs_gtk_convert_color):
1729 * hpplay.c (player_error_internal):
1730 * hpplay.c (myHandler):
1731 * insdel.c (buffer_insert_ascstring_1):
1732 * insdel.h:
1733 * insdel.h (buffer_insert_ascstring):
1734 * intl.c (Fcurrent_locale):
1735 * intl.c (Fset_current_locale):
1736 * keymap.c (make_key_description):
1737 * keymap.c (Ftext_char_description):
1738 * keymap.c (describe_command):
1739 * keymap.c (describe_map):
1740 * lisp.h:
1741 * lread.c:
1742 * lread.c (locate_file_in_directory_mapper):
1743 * lread.c (locate_file_construct_suffixed_files_mapper):
1744 * mule-charset.c (Fmake_charset):
1745 * nt.c (Fmswindows_short_file_name):
1746 * nt.c (Fmswindows_long_file_name):
1747 * objects-gtk.c (__get_gtk_font_truename):
1748 * objects-gtk.c (__gtk_font_list_internal):
1749 * objects-msw.c (font_enum_callback_2):
1750 * objects-msw.c (create_hfont_from_font_spec):
1751 * objects-msw.c (mswindows_font_list):
1752 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2):
1753 * objects-tty.c (tty_initialize_font_instance):
1754 * objects-x.c (x_font_truename):
1755 * objects-x.c (x_font_instance_truename):
1756 * objects-x.c (x_font_instance_properties):
1757 * objects-x.c (x_font_list):
1758 * print.c (write_cistring):
1759 * print.c (print_vector_internal):
1760 * print.c (print_cons):
1761 * process-nt.c (nt_canonicalize_host_name):
1762 * process-unix.c (unix_create_process):
1763 * process-unix.c (unix_canonicalize_host_name):
1764 * process.c (status_message):
1765 * process.c (status_notify):
1766 * process.c (init_xemacs_process):
1767 * process.c (syms_of_process):
1768 * redisplay-tty.c (term_get_fkeys_1):
1769 * redisplay-tty.c (CONDITIONAL_REASSIGN):
1770 * search.c (compile_pattern_1):
1771 * select-common.h (selection_data_to_lisp_data):
1772 * select-gtk.c (atom_to_symbol):
1773 * select-gtk.c (PROCESSING_GTK_CODE):
1774 * select-msw.c (mswindows_get_foreign_selection):
1775 * select-x.c (x_atom_to_symbol):
1776 * select-x.c (Fx_get_cutbuffer_internal):
1777 * symbols.c (intern_istring):
1778 * symbols.c (intern):
1779 * symbols.c (intern_converting_underscores_to_dashes):
1780 * symbols.c (Fintern):
1781 * sysdep.c (init_system_name):
1782 * sysdll.c (dll_error):
1783 * sysdll.c (dll_open):
1784 * syswindows.h:
1785 * syswindows.h (build_tstr_string):
1786 * tests.c (DFC_CHECK_LENGTH):
1787 * tests.c (DFC_CHECK_CONTENT):
1788 * tests.c (DFC_RESULT_PASS):
1789 * tests.c (Ftest_data_format_conversion):
1790 * text.c:
1791 * text.c (new_dfc_convert_now_damn_it):
1792 * text.h:
1793 * text.h (build_wext_string):
1794 * tooltalk.c (tt_build_c_string):
1795 * tooltalk.c (Ftooltalk_default_procid):
1796 * tooltalk.c (Ftooltalk_default_session):
1797 * tooltalk.c (init_tooltalk):
1798 * ui-byhand.c (Fgtk_clist_get_text):
1799 * ui-byhand.c (Fgtk_clist_get_pixtext):
1800 * ui-byhand.c (Fgtk_label_get):
1801 * ui-byhand.c (Fgtk_notebook_query_tab_label_packing):
1802 * ui-gtk.c (emacs_gtk_object_printer):
1803 * ui-gtk.c (emacs_gtk_boxed_printer):
1804 * ui-gtk.c (gtk_type_to_lisp):
1805 * ui-gtk.c (symbol_to_enum):
1806 * ui-gtk.c (enum_to_symbol):
1807 * unexaix.c (report_error):
1808 * unexaix.c (ERROR0):
1809 * unexec.c (report_error):
1810 * unexec.c (ERROR0):
1811 * unicode.c (unicode_to_ichar):
1812 * win32.c (tstr_to_local_file_format):
1813 * win32.c (Fmswindows_cygwin_to_win32_path):
1814 * win32.c (struct read_link_hash):
1815 * xemacs.def.in.in:
1816
1817 Rename:
1818
1819 write_c_string -> write_cistring
1820 build_intstring -> build_istring
1821 build_string -> build_cistring
1822 build_ext_string -> build_extstring
1823 make_ext_string -> make_extstring
1824 buffer_insert_c_string -> buffer_insert_ascstring
1825 intern_int -> intern_istring
1826
1827 These functions have been renamed so that the naming harmonizes
1828 with the typedefs for strings: `cistring' along with CIbyte *,
1829 `istring' along with Ibyte *, `extstring' along with Extbyte *,
1830 `ascstring' along with Ascbyte *.
1831
1832 Also make buffer_insert_ascstring take Ascbyte * and assert
1833 that its argument is ASCII.
1834
1835 2010-01-26 Ben Wing <ben@xemacs.org>
1836
1837 * alloc.c:
1838 * alloc.c (build_ascstring):
1839 * alloc.c (build_msg_cistring):
1840 * alloc.c (staticpro_1):
1841 * alloc.c (staticpro_name):
1842 * alloc.c (staticpro_nodump_1):
1843 * alloc.c (staticpro_nodump_name):
1844 * alloc.c (unstaticpro_nodump_1):
1845 * alloc.c (mcpro_1):
1846 * alloc.c (mcpro_name):
1847 * alloc.c (object_memory_usage_stats):
1848 * alloc.c (common_init_alloc_early):
1849 * alloc.c (init_alloc_once_early):
1850 * buffer.c (print_buffer):
1851 * buffer.c (vars_of_buffer):
1852 * buffer.c (common_init_complex_vars_of_buffer):
1853 * buffer.c (init_initial_directory):
1854 * bytecode.c (invalid_byte_code):
1855 * bytecode.c (print_compiled_function):
1856 * bytecode.c (mark_compiled_function):
1857 * chartab.c (print_table_entry):
1858 * chartab.c (print_char_table):
1859 * config.h.in:
1860 * console-gtk.c:
1861 * console-gtk.c (gtk_device_to_console_connection):
1862 * console-gtk.c (gtk_semi_canonicalize_console_connection):
1863 * console-gtk.c (gtk_canonicalize_console_connection):
1864 * console-gtk.c (gtk_semi_canonicalize_device_connection):
1865 * console-gtk.c (gtk_canonicalize_device_connection):
1866 * console-stream.c (stream_init_frame_1):
1867 * console-stream.c (vars_of_console_stream):
1868 * console-stream.c (init_console_stream):
1869 * console-x.c (x_semi_canonicalize_console_connection):
1870 * console-x.c (x_semi_canonicalize_device_connection):
1871 * console-x.c (x_canonicalize_device_connection):
1872 * console-x.h:
1873 * data.c (eq_with_ebola_notice):
1874 * data.c (Fsubr_interactive):
1875 * data.c (Fnumber_to_string):
1876 * data.c (digit_to_number):
1877 * device-gtk.c (gtk_init_device):
1878 * device-msw.c (print_devmode):
1879 * device-x.c (x_event_name):
1880 * dialog-msw.c (handle_directory_dialog_box):
1881 * dialog-msw.c (handle_file_dialog_box):
1882 * dialog-msw.c (vars_of_dialog_mswindows):
1883 * doc.c (weird_doc):
1884 * doc.c (Fsnarf_documentation):
1885 * doc.c (vars_of_doc):
1886 * dumper.c (pdump):
1887 * dynarr.c:
1888 * dynarr.c (Dynarr_realloc):
1889 * editfns.c (Fuser_real_login_name):
1890 * editfns.c (get_home_directory):
1891 * elhash.c (print_hash_table_data):
1892 * elhash.c (print_hash_table):
1893 * emacs.c (main_1):
1894 * emacs.c (vars_of_emacs):
1895 * emodules.c:
1896 * emodules.c (_emodules_list):
1897 * emodules.c (Fload_module):
1898 * emodules.c (Funload_module):
1899 * emodules.c (Flist_modules):
1900 * emodules.c (find_make_module):
1901 * emodules.c (attempt_module_delete):
1902 * emodules.c (emodules_load):
1903 * emodules.c (emodules_doc_subr):
1904 * emodules.c (emodules_doc_sym):
1905 * emodules.c (syms_of_module):
1906 * emodules.c (vars_of_module):
1907 * emodules.h:
1908 * eval.c (print_subr):
1909 * eval.c (signal_call_debugger):
1910 * eval.c (build_error_data):
1911 * eval.c (signal_error):
1912 * eval.c (maybe_signal_error):
1913 * eval.c (signal_continuable_error):
1914 * eval.c (maybe_signal_continuable_error):
1915 * eval.c (signal_error_2):
1916 * eval.c (maybe_signal_error_2):
1917 * eval.c (signal_continuable_error_2):
1918 * eval.c (maybe_signal_continuable_error_2):
1919 * eval.c (signal_ferror):
1920 * eval.c (maybe_signal_ferror):
1921 * eval.c (signal_continuable_ferror):
1922 * eval.c (maybe_signal_continuable_ferror):
1923 * eval.c (signal_ferror_with_frob):
1924 * eval.c (maybe_signal_ferror_with_frob):
1925 * eval.c (signal_continuable_ferror_with_frob):
1926 * eval.c (maybe_signal_continuable_ferror_with_frob):
1927 * eval.c (syntax_error):
1928 * eval.c (syntax_error_2):
1929 * eval.c (maybe_syntax_error):
1930 * eval.c (sferror):
1931 * eval.c (sferror_2):
1932 * eval.c (maybe_sferror):
1933 * eval.c (invalid_argument):
1934 * eval.c (invalid_argument_2):
1935 * eval.c (maybe_invalid_argument):
1936 * eval.c (invalid_constant):
1937 * eval.c (invalid_constant_2):
1938 * eval.c (maybe_invalid_constant):
1939 * eval.c (invalid_operation):
1940 * eval.c (invalid_operation_2):
1941 * eval.c (maybe_invalid_operation):
1942 * eval.c (invalid_change):
1943 * eval.c (invalid_change_2):
1944 * eval.c (maybe_invalid_change):
1945 * eval.c (invalid_state):
1946 * eval.c (invalid_state_2):
1947 * eval.c (maybe_invalid_state):
1948 * eval.c (wtaerror):
1949 * eval.c (stack_overflow):
1950 * eval.c (out_of_memory):
1951 * eval.c (print_multiple_value):
1952 * eval.c (issue_call_trapping_problems_warning):
1953 * eval.c (backtrace_specials):
1954 * eval.c (backtrace_unevalled_args):
1955 * eval.c (Fbacktrace):
1956 * eval.c (warn_when_safe):
1957 * event-Xt.c (modwarn):
1958 * event-Xt.c (modbarf):
1959 * event-Xt.c (check_modifier):
1960 * event-Xt.c (store_modifier):
1961 * event-Xt.c (emacs_Xt_format_magic_event):
1962 * event-Xt.c (describe_event):
1963 * event-gtk.c (dragndrop_data_received):
1964 * event-gtk.c (store_modifier):
1965 * event-gtk.c (gtk_reset_modifier_mapping):
1966 * event-msw.c (dde_eval_string):
1967 * event-msw.c (Fdde_alloc_advise_item):
1968 * event-msw.c (mswindows_dde_callback):
1969 * event-msw.c (FROB):
1970 * event-msw.c (emacs_mswindows_format_magic_event):
1971 * event-stream.c (external_debugging_print_event):
1972 * event-stream.c (execute_help_form):
1973 * event-stream.c (vars_of_event_stream):
1974 * events.c (print_event_1):
1975 * events.c (print_event):
1976 * events.c (event_equal):
1977 * extents.c (print_extent_1):
1978 * extents.c (print_extent):
1979 * extents.c (vars_of_extents):
1980 * faces.c (print_face):
1981 * faces.c (complex_vars_of_faces):
1982 * file-coding.c:
1983 * file-coding.c (print_coding_system):
1984 * file-coding.c (print_coding_system_in_print_method):
1985 * file-coding.c (default_query_method):
1986 * file-coding.c (find_coding_system):
1987 * file-coding.c (make_coding_system_1):
1988 * file-coding.c (chain_print):
1989 * file-coding.c (undecided_print):
1990 * file-coding.c (gzip_print):
1991 * file-coding.c (vars_of_file_coding):
1992 * file-coding.c (complex_vars_of_file_coding):
1993 * fileio.c:
1994 * fileio.c (report_file_type_error):
1995 * fileio.c (report_error_with_errno):
1996 * fileio.c (report_file_error):
1997 * fileio.c (barf_or_query_if_file_exists):
1998 * fileio.c (vars_of_fileio):
1999 * floatfns.c (matherr):
2000 * fns.c (print_bit_vector):
2001 * fns.c (Fmapconcat):
2002 * fns.c (add_suffix_to_symbol):
2003 * fns.c (add_prefix_to_symbol):
2004 * frame-gtk.c:
2005 * frame-gtk.c (Fgtk_window_id):
2006 * frame-x.c (def):
2007 * frame-x.c (x_cde_transfer_callback):
2008 * frame.c:
2009 * frame.c (Fmake_frame):
2010 * gc.c (show_gc_cursor_and_message):
2011 * gc.c (vars_of_gc):
2012 * glyphs-eimage.c (png_instantiate):
2013 * glyphs-eimage.c (tiff_instantiate):
2014 * glyphs-gtk.c (gtk_print_image_instance):
2015 * glyphs-msw.c (mswindows_print_image_instance):
2016 * glyphs-x.c (x_print_image_instance):
2017 * glyphs-x.c (update_widget_face):
2018 * glyphs.c (make_string_from_file):
2019 * glyphs.c (print_image_instance):
2020 * glyphs.c (signal_image_error):
2021 * glyphs.c (signal_image_error_2):
2022 * glyphs.c (signal_double_image_error):
2023 * glyphs.c (signal_double_image_error_2):
2024 * glyphs.c (xbm_mask_file_munging):
2025 * glyphs.c (pixmap_to_lisp_data):
2026 * glyphs.h:
2027 * gui.c (gui_item_display_flush_left):
2028 * hpplay.c (player_error_internal):
2029 * hpplay.c (myHandler):
2030 * intl-win32.c:
2031 * intl-win32.c (langcode_to_lang):
2032 * intl-win32.c (sublangcode_to_lang):
2033 * intl-win32.c (Fmswindows_get_locale_info):
2034 * intl-win32.c (lcid_to_locale_mule_or_no):
2035 * intl-win32.c (mswindows_multibyte_to_unicode_print):
2036 * intl-win32.c (complex_vars_of_intl_win32):
2037 * keymap.c:
2038 * keymap.c (print_keymap):
2039 * keymap.c (ensure_meta_prefix_char_keymapp):
2040 * keymap.c (Fkey_description):
2041 * keymap.c (Ftext_char_description):
2042 * lisp.h:
2043 * lisp.h (struct):
2044 * lisp.h (DECLARE_INLINE_HEADER):
2045 * lread.c (Fload_internal):
2046 * lread.c (locate_file):
2047 * lread.c (read_escape):
2048 * lread.c (read_raw_string):
2049 * lread.c (read1):
2050 * lread.c (read_list):
2051 * lread.c (read_compiled_function):
2052 * lread.c (init_lread):
2053 * lrecord.h:
2054 * marker.c (print_marker):
2055 * marker.c (marker_equal):
2056 * menubar-msw.c (displayable_menu_item):
2057 * menubar-x.c (command_builder_operate_menu_accelerator):
2058 * menubar.c (vars_of_menubar):
2059 * minibuf.c (reinit_complex_vars_of_minibuf):
2060 * minibuf.c (complex_vars_of_minibuf):
2061 * mule-charset.c (Fmake_charset):
2062 * mule-charset.c (complex_vars_of_mule_charset):
2063 * mule-coding.c (iso2022_print):
2064 * mule-coding.c (fixed_width_query):
2065 * number.c (bignum_print):
2066 * number.c (ratio_print):
2067 * number.c (bigfloat_print):
2068 * number.c (bigfloat_finalize):
2069 * objects-msw.c:
2070 * objects-msw.c (mswindows_color_to_string):
2071 * objects-msw.c (mswindows_color_list):
2072 * objects-tty.c:
2073 * objects-tty.c (tty_font_list):
2074 * objects-tty.c (tty_find_charset_font):
2075 * objects-xlike-inc.c (xft_find_charset_font):
2076 * objects-xlike-inc.c (endif):
2077 * print.c:
2078 * print.c (write_istring):
2079 * print.c (write_ascstring):
2080 * print.c (Fterpri):
2081 * print.c (Fprint):
2082 * print.c (print_error_message):
2083 * print.c (print_vector_internal):
2084 * print.c (print_cons):
2085 * print.c (print_string):
2086 * print.c (printing_unreadable_object):
2087 * print.c (print_internal):
2088 * print.c (print_float):
2089 * print.c (print_symbol):
2090 * process-nt.c (mswindows_report_winsock_error):
2091 * process-nt.c (nt_canonicalize_host_name):
2092 * process-unix.c (unix_canonicalize_host_name):
2093 * process.c (print_process):
2094 * process.c (report_process_error):
2095 * process.c (report_network_error):
2096 * process.c (make_process_internal):
2097 * process.c (Fstart_process_internal):
2098 * process.c (status_message):
2099 * process.c (putenv_internal):
2100 * process.c (vars_of_process):
2101 * process.h:
2102 * profile.c (vars_of_profile):
2103 * rangetab.c (print_range_table):
2104 * realpath.c (vars_of_realpath):
2105 * redisplay.c (vars_of_redisplay):
2106 * search.c (wordify):
2107 * search.c (Freplace_match):
2108 * sheap.c (sheap_adjust_h):
2109 * sound.c (report_sound_error):
2110 * sound.c (Fplay_sound_file):
2111 * specifier.c (print_specifier):
2112 * symbols.c (Fsubr_name):
2113 * symbols.c (do_symval_forwarding):
2114 * symbols.c (set_default_buffer_slot_variable):
2115 * symbols.c (set_default_console_slot_variable):
2116 * symbols.c (store_symval_forwarding):
2117 * symbols.c (default_value):
2118 * symbols.c (defsymbol_massage_name_1):
2119 * symbols.c (defsymbol_massage_name_nodump):
2120 * symbols.c (defsymbol_massage_name):
2121 * symbols.c (defsymbol_massage_multiword_predicate_nodump):
2122 * symbols.c (defsymbol_massage_multiword_predicate):
2123 * symbols.c (defsymbol_nodump):
2124 * symbols.c (defsymbol):
2125 * symbols.c (defkeyword):
2126 * symbols.c (defkeyword_massage_name):
2127 * symbols.c (check_module_subr):
2128 * symbols.c (deferror_1):
2129 * symbols.c (deferror):
2130 * symbols.c (deferror_massage_name):
2131 * symbols.c (deferror_massage_name_and_message):
2132 * symbols.c (defvar_magic):
2133 * symeval.h:
2134 * symeval.h (DEFVAR_SYMVAL_FWD):
2135 * sysdep.c:
2136 * sysdep.c (init_system_name):
2137 * sysdll.c:
2138 * sysdll.c (MAYBE_PREPEND_UNDERSCORE):
2139 * sysdll.c (dll_function):
2140 * sysdll.c (dll_variable):
2141 * sysdll.c (dll_error):
2142 * sysdll.c (dll_open):
2143 * sysdll.c (dll_close):
2144 * sysdll.c (image_for_address):
2145 * sysdll.c (my_find_image):
2146 * sysdll.c (search_linked_libs):
2147 * sysdll.h:
2148 * sysfile.h:
2149 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
2150 * syswindows.h:
2151 * tests.c (DFC_CHECK_LENGTH):
2152 * tests.c (DFC_CHECK_CONTENT):
2153 * tests.c (Ftest_hash_tables):
2154 * text.c (vars_of_text):
2155 * text.h:
2156 * tooltalk.c (tt_opnum_string):
2157 * tooltalk.c (tt_message_arg_ival_string):
2158 * tooltalk.c (Ftooltalk_default_procid):
2159 * tooltalk.c (Ftooltalk_default_session):
2160 * tooltalk.c (init_tooltalk):
2161 * tooltalk.c (vars_of_tooltalk):
2162 * ui-gtk.c (Fdll_load):
2163 * ui-gtk.c (type_to_marshaller_type):
2164 * ui-gtk.c (Fgtk_import_function_internal):
2165 * ui-gtk.c (emacs_gtk_object_printer):
2166 * ui-gtk.c (emacs_gtk_boxed_printer):
2167 * unicode.c (unicode_to_ichar):
2168 * unicode.c (unicode_print):
2169 * unicode.c (unicode_query):
2170 * unicode.c (vars_of_unicode):
2171 * unicode.c (complex_vars_of_unicode):
2172 * win32.c:
2173 * win32.c (mswindows_report_process_error):
2174 * window.c (print_window):
2175 * xemacs.def.in.in:
2176
2177 BASIC IDEA: Further fixing up uses of char * and CIbyte *
2178 to reflect their actual semantics; Mule-izing some code;
2179 redoing of the not-yet-working code to handle message translation.
2180
2181 Clean up code to handle message-translation (not yet working).
2182 Create separate versions of build_msg_string() for working with
2183 Ibyte *, CIbyte *, and Ascbyte * arguments. Assert that Ascbyte *
2184 arguments are pure-ASCII. Make build_msg_string() be the same
2185 as build_msg_ascstring(). Create same three versions of GETTEXT()
2186 and DEFER_GETTEXT(). Also create build_defer_string() and
2187 variants for the equivalent of DEFER_GETTEXT() when building a
2188 string. Remove old CGETTEXT(). Clean up code where GETTEXT(),
2189 DEFER_GETTEXT(), build_msg_string(), etc. was being called and
2190 introduce some new calls to build_msg_string(), etc. Remove
2191 GETTEXT() from calls to weird_doc() -- we assume that the
2192 message snarfer knows about weird_doc(). Remove uses of
2193 DEFER_GETTEXT() from error messages in sysdep.c and instead use
2194 special comments /* @@@begin-snarf@@@ */ and /* @@@end-snarf@@@ */
2195 that the message snarfer presumably knows about.
2196 * objects-gtk-impl.h:
2197 * objects-gtk-impl.h (XCOLOR_INSTANCE_GTK_COLOR):
2198 * objects-gtk-impl.h (XFONT_INSTANCE_GTK_FONT):
2199 * objects-x-impl.h (XCOLOR_INSTANCE_X_COLOR):
2200 * objects-x-impl.h (XFONT_INSTANCE_X_FONT):
2201 Define XCOLOR_INSTANCE_X_COLOR, XCOLOR_INSTANCE_GTK_COLOR,
2202 XFONT_INSTANCE_X_FONT, XFONT_INSTANCE_GTK_FONT for convenience
2203 purposes. Fixes compile bug in redisplay-xlike-inc.c.
2204
2205 2010-02-01 Ben Wing <ben@xemacs.org>
2206
2207 * compiler.h:
2208 Create a USED() macro to force unused-var warnings to go away,
2209 in certain cases where it's inconvenient to do otherwise (e.g.
2210 when THIS_IS_GTK in redisplay-xlike-inc.c).
2211
2212 Create build_ascstring() and use it in many instances in place
2213 of build_string(). The purpose of having Ascbyte * variants is
2214 to make the code more self-documenting in terms of what sort of
2215 semantics is expected for char * strings. In fact in the process
2216 of looking for uses of build_string(), much improperly Mule-ized
2217 was discovered.
2218
2219 Mule-ize a lot of code as described in previous paragraph,
2220 e.g. in sysdep.c.
2221
2222 Make the error functions take Ascbyte * strings and fix up a
2223 couple of places where non-pure-ASCII strings were being passed in
2224 (file-coding.c, mule-coding.c, unicode.c). (It's debatable whether
2225 we really need to make the error functions work this way. It
2226 helps catch places where code is written in a way that message
2227 translation won't work, but we may well never implement message
2228 translation.)
2229
2230 Make staticpro() and friends take Ascbyte * strings instead of
2231 raw char * strings. Create a const_Ascbyte_ptr dynarr type
2232 to describe what's held by staticpro_names[] and friends,
2233 create pdump descriptions for const_Ascbyte_ptr dynarrs, and
2234 use them in place of specially-crafted staticpro descriptions.
2235
2236 Mule-ize certain other functions (e.g. x_event_name) by correcting
2237 raw use of char * to Ascbyte *, Rawbyte * or another such type,
2238 and raw use of char[] buffers to another type (usually Ascbyte[]).
2239
2240 Change many uses of write_c_string() to write_msg_string(),
2241 write_ascstring(), etc.
2242
2243 Mule-ize emodules.c, emodules.h, sysdll.h.
2244
2245 Fix some un-Mule-ized code in intl-win32.c.
2246
2247 A comment in event-Xt.c and the limitations of the message
2248 snarfer (make-msgfile or whatever) is presumably incorrect --
2249 it should be smart enough to handle function calls spread over
2250 more than one line. Clean up code in event-Xt.c that was
2251 written awkwardly for this reason.
2252
2253 In config.h.in, instead of NEED_ERROR_CHECK_TYPES_INLINES,
2254 create a more general XEMACS_DEFS_NEEDS_INLINE_DECLS to
2255 indicate when inlined functions need to be declared in
2256 xemacs.defs.in.in, and make use of it in xemacs.defs.in.in.
2257 We need to do this because postgresql.c now calls qxestrdup(),
2258 which is an inline function.
2259
2260 Make nconc2() and other such functions MODULE_API and put
2261 them in xemacs.defs.in.in since postgresql.c now uses them.
2262
2263 Clean up indentation in lread.c and a few other places.
2264
2265 In text.h, document ASSERT_ASCTEXT_ASCII() and
2266 ASSERT_ASCTEXT_ASCII_LEN(), group together the stand-in
2267 encodings and add some more for DLL symbols, function and
2268 variable names, etc.
2269
2270 2010-01-26 Ben Wing <ben@xemacs.org>
2271
2272 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs
2273 to check a specific file.
2274
2275 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
2276
2277 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
2278 Be more careful to return integers in their canonical forms here,
2279 and to give the same answer all the time when treating a rational
2280 that is itself is an integer as a ratio.
2281
2282 2010-01-24 Ben Wing <ben@xemacs.org>
2283
2284 * chartab.c (decode_char_table_range):
2285 * extents.c (extent_fragment_update):
2286 * objects-msw.c (initialize_font_instance):
2287 * process.c (Fgetenv):
2288 * redisplay-output.c (get_next_display_block):
2289 Fix warnings about possible use of uninitialized vars.
2290
2291 * compiler.h:
2292 * compiler.h (REGISTER):
2293 * event-stream.c (is_scrollbar_event):
2294 * window.c (window_scrollbar_width):
2295 * window.c (window_scrollbar_height):
2296 * window.c (window_left_window_gutter_width):
2297 * window.c (window_right_window_gutter_width):
2298 Add USED_IF_SCROLLBARS. Use it to fix warnings about unused
2299 vars when --with-scrollbars=no.
2300
2301 * config.h.in:
2302 Change comment to explain better why DECLARE_INLINE_HEADER
2303 is needed.
2304
2305 * dialog-msw.c:
2306 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
2307 * emacs.c (main_1):
2308 * event-msw.c (struct mswin_message_debug):
2309 * event-msw.c (debug_output_mswin_message):
2310 * font-mgr.c:
2311 * font-mgr.c (Ffc_config_filename):
2312 * glyphs-msw.c (struct):
2313 * glyphs-msw.c (bitmap_table):
2314 * glyphs-x.c (update_widget_face):
2315 * intl-win32.c (struct lang_to_string):
2316 * intl-win32.c (lang_to_string_table):
2317 * nas.c:
2318 * objects-xlike-inc.c:
2319 * objects-xlike-inc.c (xft_find_charset_font):
2320 * syswindows.h:
2321 * win32.c (mswindows_output_last_error):
2322 Fix g++ 4.3 complaints about implicit conversions of string
2323 literals (const char *) to char *.
2324
2325 * lisp.h:
2326 G++ 4.3 needs #include <limits> to avoid errors about min/max.
2327
2328 * lisp.h (disabled_assert_with_message):
2329 Use disabled_assert* whenever asserts are disabled. Rewrite
2330 disabled_assert* to avoid complaints about unused vars by
2331 pretending to use the vars but casting them to (void).
2332 Remove code that defined assert() weirdly if DEBUG_XEMACS but
2333 not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically
2334 when DEBUG_XEMACS, and if the user has forced it off, then
2335 so be it.
2336
2337 * lisp.h (SYMBOL_KEYWORD):
2338 Put some of the combined `extern Lisp_Object's back under
2339 the file they are declared in. Cosmetic fix.
2340
2341 * number.h:
2342 Remove `extern Lisp_Object' decls that duplicate lisp.h,
2343 since they have different C vs. C++ linkage.
2344
2345 2010-01-21 Ben Wing <ben@xemacs.org>
2346
2347 * Makefile.in.in:
2348 Oops. Use two hashes for comments in Makefile.in.in.
2349
2350 2010-01-20 Ben Wing <ben@xemacs.org>
2351
2352 * symbols.c:
2353 Add long comment about the types of magic symbols, and the various
2354 declarations that go along with them.
2355
2356 2010-01-20 Ben Wing <ben@xemacs.org>
2357
2358 * .gdbinit.in.in:
2359 Moved here from etc/.gdbinit.in.
2360 Put @srcdir@ in various places rather than just `..' whenever
2361 Makefile.in.in does so. Fixes various strange crashes and errors
2362 than occur when using `..'.
2363 * Makefile.in.in (config-changed):
2364 Add target, useful when building both Unicode-internal and
2365 old-Mule workspaces using --srcdir and don't run configure before
2366 switching from one to the other.
2367
2368 2010-01-20 Ben Wing <ben@xemacs.org>
2369
2370 * lrecord.h:
2371 * lrecord.h (enum lrecord_type):
2372 * lrecord.h (struct lrecord_implementation):
2373 Clean up description of finalizer methods. Clean up and expand
2374 the long comment at the top of lrecord.h. Add a section about why
2375 New-GC requires a bunch of new internal objects to be created (not
2376 completely understood).
2377
2378 2010-01-20 Ben Wing <ben@xemacs.org>
2379
2380 * lisp.h:
2381 Disable error-checking code in Dynarr_at and related lookup
2382 functions. It leads to a crash in the glyph-cachels code under
2383 Cygwin 1.7 and GCC 3.4.4. I assume this is a compiler bug since
2384 the code in question doesn't (or shouldn't) modify anything.
2385 Changing the code from inline to non-inline didn't help.
2386
2387 2010-01-19 Ben Wing <ben@xemacs.org>
2388
2389 * console-impl.h (struct console_methods):
2390 * console-stream.c (stream_text_width):
2391 * redisplay-msw.c (mswindows_output_string):
2392 * redisplay-msw.c (mswindows_text_width):
2393 * redisplay-tty.c (tty_text_width):
2394 * redisplay-xlike-inc.c (XLIKE_text_width):
2395 * redisplay-xlike-inc.c (XLIKE_output_string):
2396 * redisplay.c:
2397 * redisplay.c (redisplay_window_text_width_ichar_string):
2398 * redisplay.c (redisplay_text_width_string):
2399 Change the text_width method to take a window instead of a frame.
2400 Needed for Unicode-internal.
2401
2402 2010-01-18 Ben Wing <ben@xemacs.org>
2403
2404 * redisplay-gtk.c:
2405 * redisplay-gtk.c (gtk_bevel_area):
2406 * redisplay-x.c:
2407 * redisplay-x.c (THIS_IS_X):
2408 * redisplay-xlike-inc.c:
2409 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
2410 * redisplay-xlike-inc.c (XLIKE_text_width):
2411 * redisplay-xlike-inc.c (XLIKE_output_display_block):
2412 * redisplay-xlike-inc.c (XLIKE_get_gc):
2413 * redisplay-xlike-inc.c (XLIKE_output_string):
2414 * redisplay-xlike-inc.c (XLIKE_OUTPUT_XLIKE_PIXMAP):
2415 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
2416 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
2417 * redisplay-xlike-inc.c (XLIKE_output_blank):
2418 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line):
2419 * redisplay-xlike-inc.c (XLIKE_clear_region):
2420 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor):
2421 * redisplay-xlike-inc.c (XLIKE_clear_frame_window):
2422 * redisplay-xlike-inc.c (XLIKE_clear_frame):
2423 * redisplay-xlike-inc.c (XLIKE_flash):
2424 * redisplay-xlike-inc.c (console_type_create_redisplay_XLIKE):
2425 Move lots more code into redisplay-xlike-inc.c. Use macros to
2426 isolate the code that differs among X vs. GTK, to reduce the need
2427 for ifdefs in the middle of the code. Now, redisplay-x.c and
2428 redisplay-gtk.c only contain a few functions whose implementation
2429 is completely different from one to the other, or which are not
2430 present at all in one of them.
2431
2432 GTK code not currently tested, but it has bitrotted somewhat
2433 any. Doing this will help keep it less bitrotty.
2434
2435 * depend: Regenerate.
2436
2437 2010-01-18 Ben Wing <ben@xemacs.org>
2438
2439 * redisplay-xlike-inc.c:
2440 * redisplay-xlike-inc.c (separate_textual_runs_nomule):
2441 * redisplay-xlike-inc.c (separate_textual_runs_xft_nomule):
2442 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule):
2443 * redisplay-xlike-inc.c (separate_textual_runs_mule):
2444 Break separate_textual_runs_* functions from redisplay-x.c.
2445 (Code in redisplay-gtk.c should have been identical but was
2446 bit-rotted.)
2447
2448 * redisplay-gtk.c:
2449 * redisplay-x.c:
2450 Delete code, replace with include statement.
2451
2452 * depend: Regenerate.
2453
2454 2010-01-18 Ben Wing <ben@xemacs.org>
2455
2456 * lisp.h:
2457 * print.c:
2458 New variable `in_debug_print'.
2459
2460 * alloc.c:
2461 * alloc.c (free_managed_lcrecord):
2462 If gc_in_progress and in_debug_print, just return instead of
2463 crashing. This only happens when the programmer calls debug_print()
2464 or a variation inside of a debugger, and is probably already
2465 diagnosing a crash.
2466
2467 * print.c (struct debug_bindings):
2468 * print.c (debug_prin1_exit):
2469 * print.c (debug_prin1):
2470 At entrance, record the old value of in_debug_print in the
2471 debug_bindings, set up an unwind-protect to restore the old value,
2472 and set in_debug_print to 1. In the unwind-protect, restore the
2473 old value.
2474
2475
2476 2010-01-16 Ben Wing <ben@xemacs.org>
2477
2478 * win32.c (mswindows_read_link_1):
2479 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we
2480 haven't linked with the appropriate libraries.
2481
2482 2010-01-15 Ben Wing <ben@xemacs.org>
2483
2484 * doprnt.c (emacs_doprnt_1):
2485 Cosmetic: Use Qunbound, not Qnil as second arg to call to
2486 syntax_error() to get cleaner error message.
2487
2488 2010-01-15 Ben Wing <ben@xemacs.org>
2489
2490 * intl-encap-win32.c:
2491 Add `review' lines for all functions seen in the headers that we
2492 process but not yet associated with an encapsulation command.
2493 These will cause an error to be signaled if these functions are
2494 used.
2495 * intl-auto-encap-win32.c:
2496 * intl-auto-encap-win32.h:
2497 Regenerate.
2498
2499 2010-01-15 Ben Wing <ben@xemacs.org>
2500
2501 * intl-auto-encap-win32.c:
2502 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
2503 * intl-auto-encap-win32.c (qxeShellExecuteEx):
2504 * intl-auto-encap-win32.c (qxeSHFileOperation):
2505 * intl-auto-encap-win32.c (qxeSHQueryRecycleBin):
2506 * intl-auto-encap-win32.c (qxeSHEmptyRecycleBin):
2507 * intl-auto-encap-win32.c (qxeWNetAddConnection):
2508 * intl-auto-encap-win32.c (qxeWNetAddConnection2):
2509 * intl-auto-encap-win32.c (qxeWNetAddConnection3):
2510 * intl-auto-encap-win32.c (qxeWNetCancelConnection):
2511 * intl-auto-encap-win32.c (qxeWNetCancelConnection2):
2512 * intl-auto-encap-win32.c (qxeWNetGetConnection):
2513 * intl-auto-encap-win32.c (qxeWNetUseConnection):
2514 * intl-auto-encap-win32.c (qxeWNetConnectionDialog1):
2515 * intl-auto-encap-win32.c (qxeWNetDisconnectDialog1):
2516 * intl-auto-encap-win32.c (qxeWNetOpenEnum):
2517 * intl-auto-encap-win32.c (qxeWNetEnumResource):
2518 * intl-auto-encap-win32.c (qxeWNetGetUniversalName):
2519 * intl-auto-encap-win32.c (qxeWNetGetUser):
2520 * intl-auto-encap-win32.c (qxeWNetGetProviderName):
2521 * intl-auto-encap-win32.c (qxeWNetGetNetworkInformation):
2522 * intl-auto-encap-win32.c (qxeWNetGetLastError):
2523 * intl-auto-encap-win32.c (qxeMultinetGetConnectionPerformance):
2524 * intl-auto-encap-win32.c (qxeAppendMenu):
2525 * intl-auto-encap-win32.c (qxeCopyAcceleratorTable):
2526 * intl-auto-encap-win32.c (qxeDlgDirSelectComboBoxEx):
2527 * intl-auto-encap-win32.c (qxeEnumDesktops):
2528 * intl-auto-encap-win32.c (qxeEnumWindowStations):
2529 * intl-auto-encap-win32.c (qxeGetClassInfo):
2530 * intl-auto-encap-win32.c (qxeGetClassLong):
2531 * intl-auto-encap-win32.c (qxeGetClassName):
2532 * intl-auto-encap-win32.c (qxeGetKeyboardLayoutName):
2533 * intl-auto-encap-win32.c (qxeGetWindowLong):
2534 * intl-auto-encap-win32.c (qxeGetUserObjectInformation):
2535 * intl-auto-encap-win32.c (qxeGetWindowTextLength):
2536 * intl-auto-encap-win32.c (qxeGrayString):
2537 * intl-auto-encap-win32.c (qxeInsertMenu):
2538 * intl-auto-encap-win32.c (qxeSetProp):
2539 * intl-auto-encap-win32.c (qxeEnumICMProfiles):
2540 * intl-auto-encap-win32.c (qxeExtTextOut):
2541 * intl-auto-encap-win32.c (qxeSetICMProfile):
2542 * intl-auto-encap-win32.c (qxeTextOut):
2543 * intl-auto-encap-win32.c (qxeSHGetPathFromIDList):
2544 * intl-auto-encap-win32.c (qxeFindText):
2545 * intl-auto-encap-win32.c (qxeReplaceText):
2546 * intl-auto-encap-win32.c (qxeImmInstallIME):
2547 * intl-auto-encap-win32.c (qxeImmGetDescription):
2548 * intl-auto-encap-win32.c (qxeImmGetIMEFileName):
2549 * intl-auto-encap-win32.c (qxeImmGetCompositionString):
2550 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
2551 * intl-auto-encap-win32.c (qxeImmGetCandidateList):
2552 * intl-auto-encap-win32.c (qxeImmGetGuideLine):
2553 * intl-auto-encap-win32.c (qxeImmConfigureIME):
2554 * intl-auto-encap-win32.c (qxeImmEscape):
2555 * intl-auto-encap-win32.c (qxeImmGetConversionList):
2556 * intl-auto-encap-win32.c (qxeImmRegisterWord):
2557 * intl-auto-encap-win32.c (qxeImmUnregisterWord):
2558 * intl-auto-encap-win32.c (qxeImmEnumRegisterWord):
2559 * intl-auto-encap-win32.c (qxesndPlaySound):
2560 * intl-auto-encap-win32.c (qxePlaySound):
2561 * intl-auto-encap-win32.c (qxewaveOutGetErrorText):
2562 * intl-auto-encap-win32.c (qxewaveInGetErrorText):
2563 * intl-auto-encap-win32.c (qxemidiOutGetErrorText):
2564 * intl-auto-encap-win32.c (qxemidiInGetErrorText):
2565 * intl-auto-encap-win32.c (qxemmioStringToFOURCC):
2566 * intl-auto-encap-win32.c (qxemmioInstallIOProc):
2567 * intl-auto-encap-win32.c (qxemmioOpen):
2568 * intl-auto-encap-win32.c (qxemmioRename):
2569 * intl-auto-encap-win32.c (qxemciSendCommand):
2570 * intl-auto-encap-win32.c (qxemciSendString):
2571 * intl-auto-encap-win32.c (qxemciGetDeviceID):
2572 * intl-auto-encap-win32.c (qxemciGetErrorString):
2573 * intl-auto-encap-win32.h:
2574 * intl-auto-encap-win32.h (qxemciGetErrorString):
2575 Regenerate these files from Cygwin headers.
2576
2577 * intl-encap-win32.c:
2578 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems
2579 when building --with-msw=no on Cygwin.
2580
2581 Fixes for Cygwin headers:
2582 -- Comment out IME.H, non-existent in Cygwin.
2583 -- Make MessageBoxIndirect a `no' (don't encapsulate but generate
2584 error if used) because it has a structure parameter that needs
2585 to be A/W split but is declared as FOO*, and our parser can't
2586 split this.
2587
2588 2010-01-15 Ben Wing <ben@xemacs.org>
2589
2590 * Makefile.in.in:
2591 Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY)
2592 instead of only when we build support for the GUI portion of
2593 MS-Windows (HAVE_MS_WINDOWS).
2594
2595 Cosmetic: Use WIN32_ANY in place of equivalent
2596 (WIN32_NATIVE or CYGWIN).
2597
2598 2010-01-15 Ben Wing <ben@xemacs.org>
2599
2600 * emacs.c:
2601 * emacs.c (debug_can_access_memory):
2602 When checking for bad memory, we need to read all bytes from memory;
2603 try even harder to avoid the possibility that a super-optimizing
2604 compiler will optimize away the memory reads.
2605
2606 2010-01-15 Ben Wing <ben@xemacs.org>
2607
2608 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
2609 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN):
2610 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT):
2611 Declare some temporary pointer variables const to avoid compile
2612 errors under C++ and/or Visual Studio 6.
2613
2614 2010-01-27 Ben Wing <ben@xemacs.org>
2615
2616 * casetab.c: Typo in comment.
2617
2618 2010-01-18 Ben Wing <ben@xemacs.org>
2619
2620 * redisplay-gtk.c:
2621 * redisplay-gtk.c (gtk_bevel_area):
2622 * redisplay-x.c:
2623 * redisplay-x.c (THIS_IS_X):
2624 * redisplay-xlike-inc.c:
2625 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
2626 * redisplay-xlike-inc.c (XLIKE_text_width):
2627 * redisplay-xlike-inc.c (XLIKE_output_display_block):
2628 * redisplay-xlike-inc.c (XLIKE_get_gc):
2629 * redisplay-xlike-inc.c (XLIKE_output_string):
2630 * redisplay-xlike-inc.c (XLIKE_OUTPUT_XLIKE_PIXMAP):
2631 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
2632 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
2633 * redisplay-xlike-inc.c (XLIKE_output_blank):
2634 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line):
2635 * redisplay-xlike-inc.c (XLIKE_clear_region):
2636 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor):
2637 * redisplay-xlike-inc.c (XLIKE_clear_frame_window):
2638 * redisplay-xlike-inc.c (XLIKE_clear_frame):
2639 * redisplay-xlike-inc.c (XLIKE_flash):
2640 * redisplay-xlike-inc.c (console_type_create_redisplay_XLIKE):
2641 Move lots more code into redisplay-xlike-inc.c. Use macros to
2642 isolate the code that differs among X vs. GTK, to reduce the need
2643 for ifdefs in the middle of the code. Now, redisplay-x.c and
2644 redisplay-gtk.c only contain a few functions whose implementation
2645 is completely different from one to the other, or which are not
2646 present at all in one of them.
2647
2648 GTK code not currently tested, but it has bitrotted somewhat
2649 any. Doing this will help keep it less bitrotty.
2650
2651 * depend: Regenerate.
2652
2653 2010-01-18 Ben Wing <ben@xemacs.org>
2654
2655 * redisplay-xlike-inc.c:
2656 * redisplay-xlike-inc.c (separate_textual_runs_nomule):
2657 * redisplay-xlike-inc.c (separate_textual_runs_xft_nomule):
2658 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule):
2659 * redisplay-xlike-inc.c (separate_textual_runs_mule):
2660 Break separate_textual_runs_* functions from redisplay-x.c.
2661 (Code in redisplay-gtk.c should have been identical but was
2662 bit-rotted.)
2663
2664 * redisplay-gtk.c:
2665 * redisplay-x.c:
2666 Delete code, replace with include statement.
2667
2668 * depend: Regenerate.
2669
2670 2010-01-18 Ben Wing <ben@xemacs.org>
2671
2672 * lisp.h:
2673 * print.c:
2674 New variable `in_debug_print'.
2675
2676 * alloc.c:
2677 * alloc.c (free_managed_lcrecord):
2678 If gc_in_progress and in_debug_print, just return instead of
2679 crashing. This only happens when the programmer calls debug_print()
2680 or a variation inside of a debugger, and is probably already
2681 diagnosing a crash.
2682
2683 * print.c (struct debug_bindings):
2684 * print.c (debug_prin1_exit):
2685 * print.c (debug_prin1):
2686 At entrance, record the old value of in_debug_print in the
2687 debug_bindings, set up an unwind-protect to restore the old value,
2688 and set in_debug_print to 1. In the unwind-protect, restore the
2689 old value.
2690
2691
2692 2010-01-16 Ben Wing <ben@xemacs.org>
2693
2694 * win32.c (mswindows_read_link_1):
2695 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we
2696 haven't linked with the appropriate libraries.
2697
2698 2010-01-15 Ben Wing <ben@xemacs.org>
2699
2700 * doprnt.c (emacs_doprnt_1):
2701 Cosmetic: Use Qunbound, not Qnil as second arg to call to
2702 syntax_error() to get cleaner error message.
2703
2704 2010-01-15 Ben Wing <ben@xemacs.org>
2705
2706 * intl-encap-win32.c:
2707 Add `review' lines for all functions seen in the headers that we
2708 process but not yet associated with an encapsulation command.
2709 These will cause an error to be signaled if these functions are
2710 used.
2711 * intl-auto-encap-win32.c:
2712 * intl-auto-encap-win32.h:
2713 Regenerate.
2714
2715 2010-01-15 Ben Wing <ben@xemacs.org>
2716
2717 * intl-auto-encap-win32.c:
2718 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
2719 * intl-auto-encap-win32.c (qxeShellExecuteEx):
2720 * intl-auto-encap-win32.c (qxeSHFileOperation):
2721 * intl-auto-encap-win32.c (qxeSHQueryRecycleBin):
2722 * intl-auto-encap-win32.c (qxeSHEmptyRecycleBin):
2723 * intl-auto-encap-win32.c (qxeWNetAddConnection):
2724 * intl-auto-encap-win32.c (qxeWNetAddConnection2):
2725 * intl-auto-encap-win32.c (qxeWNetAddConnection3):
2726 * intl-auto-encap-win32.c (qxeWNetCancelConnection):
2727 * intl-auto-encap-win32.c (qxeWNetCancelConnection2):
2728 * intl-auto-encap-win32.c (qxeWNetGetConnection):
2729 * intl-auto-encap-win32.c (qxeWNetUseConnection):
2730 * intl-auto-encap-win32.c (qxeWNetConnectionDialog1):
2731 * intl-auto-encap-win32.c (qxeWNetDisconnectDialog1):
2732 * intl-auto-encap-win32.c (qxeWNetOpenEnum):
2733 * intl-auto-encap-win32.c (qxeWNetEnumResource):
2734 * intl-auto-encap-win32.c (qxeWNetGetUniversalName):
2735 * intl-auto-encap-win32.c (qxeWNetGetUser):
2736 * intl-auto-encap-win32.c (qxeWNetGetProviderName):
2737 * intl-auto-encap-win32.c (qxeWNetGetNetworkInformation):
2738 * intl-auto-encap-win32.c (qxeWNetGetLastError):
2739 * intl-auto-encap-win32.c (qxeMultinetGetConnectionPerformance):
2740 * intl-auto-encap-win32.c (qxeAppendMenu):
2741 * intl-auto-encap-win32.c (qxeCopyAcceleratorTable):
2742 * intl-auto-encap-win32.c (qxeDlgDirSelectComboBoxEx):
2743 * intl-auto-encap-win32.c (qxeEnumDesktops):
2744 * intl-auto-encap-win32.c (qxeEnumWindowStations):
2745 * intl-auto-encap-win32.c (qxeGetClassInfo):
2746 * intl-auto-encap-win32.c (qxeGetClassLong):
2747 * intl-auto-encap-win32.c (qxeGetClassName):
2748 * intl-auto-encap-win32.c (qxeGetKeyboardLayoutName):
2749 * intl-auto-encap-win32.c (qxeGetWindowLong):
2750 * intl-auto-encap-win32.c (qxeGetUserObjectInformation):
2751 * intl-auto-encap-win32.c (qxeGetWindowTextLength):
2752 * intl-auto-encap-win32.c (qxeGrayString):
2753 * intl-auto-encap-win32.c (qxeInsertMenu):
2754 * intl-auto-encap-win32.c (qxeSetProp):
2755 * intl-auto-encap-win32.c (qxeEnumICMProfiles):
2756 * intl-auto-encap-win32.c (qxeExtTextOut):
2757 * intl-auto-encap-win32.c (qxeSetICMProfile):
2758 * intl-auto-encap-win32.c (qxeTextOut):
2759 * intl-auto-encap-win32.c (qxeSHGetPathFromIDList):
2760 * intl-auto-encap-win32.c (qxeFindText):
2761 * intl-auto-encap-win32.c (qxeReplaceText):
2762 * intl-auto-encap-win32.c (qxeImmInstallIME):
2763 * intl-auto-encap-win32.c (qxeImmGetDescription):
2764 * intl-auto-encap-win32.c (qxeImmGetIMEFileName):
2765 * intl-auto-encap-win32.c (qxeImmGetCompositionString):
2766 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
2767 * intl-auto-encap-win32.c (qxeImmGetCandidateList):
2768 * intl-auto-encap-win32.c (qxeImmGetGuideLine):
2769 * intl-auto-encap-win32.c (qxeImmConfigureIME):
2770 * intl-auto-encap-win32.c (qxeImmEscape):
2771 * intl-auto-encap-win32.c (qxeImmGetConversionList):
2772 * intl-auto-encap-win32.c (qxeImmRegisterWord):
2773 * intl-auto-encap-win32.c (qxeImmUnregisterWord):
2774 * intl-auto-encap-win32.c (qxeImmEnumRegisterWord):
2775 * intl-auto-encap-win32.c (qxesndPlaySound):
2776 * intl-auto-encap-win32.c (qxePlaySound):
2777 * intl-auto-encap-win32.c (qxewaveOutGetErrorText):
2778 * intl-auto-encap-win32.c (qxewaveInGetErrorText):
2779 * intl-auto-encap-win32.c (qxemidiOutGetErrorText):
2780 * intl-auto-encap-win32.c (qxemidiInGetErrorText):
2781 * intl-auto-encap-win32.c (qxemmioStringToFOURCC):
2782 * intl-auto-encap-win32.c (qxemmioInstallIOProc):
2783 * intl-auto-encap-win32.c (qxemmioOpen):
2784 * intl-auto-encap-win32.c (qxemmioRename):
2785 * intl-auto-encap-win32.c (qxemciSendCommand):
2786 * intl-auto-encap-win32.c (qxemciSendString):
2787 * intl-auto-encap-win32.c (qxemciGetDeviceID):
2788 * intl-auto-encap-win32.c (qxemciGetErrorString):
2789 * intl-auto-encap-win32.h:
2790 * intl-auto-encap-win32.h (qxemciGetErrorString):
2791 Regenerate these files from Cygwin headers.
2792
2793 * intl-encap-win32.c:
2794 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems
2795 when building --with-msw=no on Cygwin.
2796
2797 Fixes for Cygwin headers:
2798 -- Comment out IME.H, non-existent in Cygwin.
2799 -- Make MessageBoxIndirect a `no' (don't encapsulate but generate
2800 error if used) because it has a structure parameter that needs
2801 to be A/W split but is declared as FOO*, and our parser can't
2802 split this.
2803
2804 2010-01-15 Ben Wing <ben@xemacs.org>
2805
2806 * Makefile.in.in:
2807 Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY)
2808 instead of only when we build support for the GUI portion of
2809 MS-Windows (HAVE_MS_WINDOWS).
2810
2811 Cosmetic: Use WIN32_ANY in place of equivalent
2812 (WIN32_NATIVE or CYGWIN).
2813
2814 2010-01-15 Ben Wing <ben@xemacs.org>
2815
2816 * emacs.c:
2817 * emacs.c (debug_can_access_memory):
2818 When checking for bad memory, we need to read all bytes from memory;
2819 try even harder to avoid the possibility that a super-optimizing
2820 compiler will optimize away the memory reads.
2821
2822 2010-01-15 Ben Wing <ben@xemacs.org>
2823
2824 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
2825 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN):
2826 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT):
2827 Declare some temporary pointer variables const to avoid compile
2828 errors under C++ and/or Visual Studio 6.
2829 1330
2830 2010-01-24 Aidan Kehoe <kehoea@parhasard.net> 1331 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
2831 1332
2832 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number): 1333 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
2833 Be more careful to return integers in their canonical forms here, 1334 Be more careful to return integers in their canonical forms here,