comparison src/ChangeLog @ 4962:e813cf16c015

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