Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5027:22179cd0fe15
merge
| author | Ben Wing <ben@xemacs.org> |
|---|---|
| date | Wed, 10 Feb 2010 07:25:19 -0600 |
| parents | 46cf825f6158 680ca8de98a3 |
| children | d2c3bac89ba0 e70a73f9243d efaa6cd845e5 6f2158fa75ed 861f2601a38b |
comparison
equal
deleted
inserted
replaced
| 5026:46cf825f6158 | 5027:22179cd0fe15 |
|---|---|
| 11 * text.h (EXTERNAL_TO_ITEXT): | 11 * text.h (EXTERNAL_TO_ITEXT): |
| 12 (1) Fix up long comment about the internal-external conversion | 12 (1) Fix up long comment about the internal-external conversion |
| 13 macros to reflect the recent changes to the macros. | 13 macros to reflect the recent changes to the macros. |
| 14 | 14 |
| 15 (2) Reformat the macros in text.h so they line up properly. | 15 (2) Reformat the macros in text.h so they line up properly. |
| 16 | |
| 17 2010-02-09 Jerry James <james@xemacs.org> | |
| 18 | |
| 19 * s/hpux11-shr.h: Add license information from Marcus Thiessel. | |
| 20 | |
| 21 2010-02-09 Ben Wing <ben@xemacs.org> | |
| 22 | |
| 23 * dynarr.c (Dynarr_insert_many): | |
| 24 * dynarr.c (Dynarr_delete_many): | |
| 25 * emacs.c: | |
| 26 * emacs.c (pause_so_user_can_read_messages): | |
| 27 * emacs.c (Fkill_emacs): | |
| 28 * emacs.c (guts_of_fatal_error_signal): | |
| 29 * lisp.h: | |
| 30 * lisp.h (INLINE_ERROR_CHECK_ARGS): | |
| 31 * lisp.h (Dynarr_set_length_1): | |
| 32 * lisp.h (Dynarr_set_length): | |
| 33 * lisp.h (Dynarr_pop): | |
| 34 Add ERROR_CHECK_DYNARR, dynarr_checking_assert(). Use it. | |
| 35 Sort existing error-check categories in lisp.h, remove most of the | |
| 36 (unused) assert variations from most categories. Add a long | |
| 37 comment about reorganizing the system by categories and | |
| 38 subcategories. Create ERROR_CHECK_ANY if any error-checking | |
| 39 categories defined, and use it in emacs.c to define | |
| 40 USER_IS_DEVELOPING_XEMACS. | |
| 41 | |
| 42 In emacs.c and cmdloop.c, don't display a message at early | |
| 43 shutdown or fatal shutdown when on Cygwin, only Windows native -- | |
| 44 Cygwin has a working stderr that shows error output. | |
| 45 | |
| 46 Update comment in Dynarr_verify_pos_atp(). | |
| 47 | |
| 48 | |
| 49 2010-02-09 Ben Wing <ben@xemacs.org> | |
| 50 | |
| 51 * syswindows.h: | |
| 52 Create a long comment about build flags such as WIN32_NATIVE, | |
| 53 HAVE_MS_WINDOWS. | |
| 54 | |
| 55 2010-02-09 Ben Wing <ben@xemacs.org> | |
| 56 | |
| 57 * lisp.h: | |
| 58 Disabled inline assert should just use disabled_assert() | |
| 59 not disabled_assert_at_line() otherwise you get compile errors. | |
| 60 (Hasn't bitten us only because no one is currently using inline | |
| 61 asserts -- but this is different in the Unicode-internal repo.) | |
| 62 | |
| 63 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 64 | |
| 65 * charset.h: | |
| 66 * charset.h (Fget_charset): Declare some fake charset defs so | |
| 67 we can compile when non-Mule. | |
| 68 * depend: Rebuild. | |
| 69 | |
| 70 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 71 | |
| 72 * event-Xt.c: | |
| 73 Add comment about simultaneous window-system consoles/devices. | |
| 74 | |
| 75 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 76 | |
| 77 * alloc.c: | |
| 78 Add prototypes for debugging functions. | |
| 79 | |
| 80 * alloc.c (compact_string_chars): Make static. | |
| 81 | |
| 82 * console-x.c (x_initially_selected_for_input): | |
| 83 * console-x.h: | |
| 84 * console-x.h (X_ERROR_OCCURRED): | |
| 85 Delete x_has_keysym() prototype from console-x.c, move to console-x.h. | |
| 86 | |
| 87 * eval.c (multiple_value_call): | |
| 88 Real bug: Fix shadowing local vars. | |
| 89 | |
| 90 * event-unixoid.c (read_event_from_tty_or_stream_desc): | |
| 91 * event-unixoid.c (signal_fake_event): | |
| 92 * lread.c (check_if_suppressed): | |
| 93 * strftime.c (strftime): | |
| 94 Fix stupid global shadowing warnings. | |
| 95 | |
| 96 * event-unixoid.c (signal_fake_event): | |
| 97 * event-unixoid.c (drain_signal_event_pipe): | |
| 98 Use Rawbyte, not char. | |
| 99 | |
| 100 * frame.h: Remove old prototype. | |
| 101 | |
| 102 * gc.c: | |
| 103 * gc.c (show_gc_cursor_and_message): | |
| 104 * gc.c (remove_gc_cursor_and_message): | |
| 105 * gc.c (gc_prepare): | |
| 106 * gc.c (gc_finish_mark): | |
| 107 * gc.c (gc_finalize): | |
| 108 * gc.c (gc_sweep): | |
| 109 * gc.c (gc_finish): | |
| 110 * gc.c (gc_suspend_mark_phase): | |
| 111 * gc.c (gc_resume_mark_phase): | |
| 112 * gc.c (gc_mark): | |
| 113 * gc.c (gc_resume_mark): | |
| 114 Make fns static. | |
| 115 | |
| 116 * glyphs-eimage.c (gif_decode_error_string): | |
| 117 Fix non-prototype. | |
| 118 | |
| 119 * lisp.h: | |
| 120 Hack around global shadowing warnings involving `index'. | |
| 121 | |
| 122 * intl-win32.c (wcsncpy): | |
| 123 * number-gmp.c (bigfloat_to_string): | |
| 124 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | |
| 125 * specifier.c (call_charset_predicate): | |
| 126 * specifier.c (DEFINE_SPECIFIER_TAG_FROB): | |
| 127 Declarations cannot follow statements in standard C. | |
| 128 | |
| 129 * search.c (search_buffer): Fix local shadowing warnings. | |
| 130 | |
| 131 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 132 | |
| 133 * faces.c: | |
| 134 * faces.c (face_property_matching_instance): | |
| 135 * faces.c (ensure_face_cachel_contains_charset): | |
| 136 * faces.h (FACE_FONT): | |
| 137 * lisp.h: | |
| 138 * lisp.h (enum font_specifier_matchspec_stages): | |
| 139 * objects-msw.c: | |
| 140 * objects-msw.c (mswindows_font_spec_matches_charset): | |
| 141 * objects-msw.c (mswindows_find_charset_font): | |
| 142 * objects-tty.c: | |
| 143 * objects-tty.c (tty_font_spec_matches_charset): | |
| 144 * objects-tty.c (tty_find_charset_font): | |
| 145 * objects-xlike-inc.c: | |
| 146 * objects-xlike-inc.c (XFUN): | |
| 147 * objects-xlike-inc.c (xft_find_charset_font): | |
| 148 * objects.c: | |
| 149 * objects.c (font_instantiate): | |
| 150 * objects.c (FROB): | |
| 151 * specifier.c: | |
| 152 * specifier.c (charset_matches_specifier_tag_set_p): | |
| 153 * specifier.c (call_charset_predicate): | |
| 154 * specifier.c (define_specifier_tag): | |
| 155 * specifier.c (Fdefine_specifier_tag): | |
| 156 * specifier.c (setup_charset_initial_specifier_tags): | |
| 157 * specifier.c (specifier_instance_from_inst_list): | |
| 158 * specifier.c (FROB): | |
| 159 * specifier.c (vars_of_specifier): | |
| 160 * specifier.h: | |
| 161 Rename the specifier-font-matching stages in preparation for | |
| 162 eliminating shadowed warnings, some other related fixes from | |
| 163 ben-unicode-internal. | |
| 164 | |
| 165 1. Rename raw enums: | |
| 166 initial -> STAGE_INITIAL | |
| 167 final -> STAGE_FINAL | |
| 168 impossible -> NUM_MATCHSPEC_STAGES | |
| 169 2. Move `enum font_specifier_matchspec_stages' from | |
| 170 specifier.h to lisp.h. | |
| 171 3. Whitespace changes to match coding standards. | |
| 172 4. Eliminate unused second argument STAGE in charset predicates | |
| 173 that don't use it -- the code that calls the charset predicates | |
| 174 is now smart enough to supply the right number of arguments | |
| 175 automatically. | |
| 176 5. Add some long(ish) comments and authorial notices, esp. in | |
| 177 objects.c. | |
| 178 6. In specifier.c, change Vcharset_tag_lists from a vector over | |
| 179 leading bytes to a hash table over charsets. This change is | |
| 180 unnecessary currently but doesn't hurt and will be required | |
| 181 when we merge in Unicode-internal. | |
| 182 7. In specifier.c, extract out the code that calls charset predicates | |
| 183 into a function call_charset_predicate(). | |
| 184 | |
| 185 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 186 | |
| 187 * emacs.c: | |
| 188 * emacs.c (assert_failed): | |
| 189 Fix comments about when inhibit_non_essential_printing_operations | |
| 190 is set and how used. Increment/decrement in assert_failed rather | |
| 191 than just setting/resetting to avoid hosing things in case we're | |
| 192 called when the value is already non-zero. Similarly increment/ | |
| 193 decrement in_assert_failed. | |
| 194 | |
| 195 * gc.c (gc_prepare): | |
| 196 * gc.c (gc_finish): | |
| 197 Increment/decrement inhibit_non_essential_printing_operations | |
| 198 rather than setting/resetting. | |
| 199 | |
| 200 * print.c: | |
| 201 * print.c (debug_out): | |
| 202 * print.c (write_string_to_alternate_debugging_output): | |
| 203 * print.c (restore_inhibit_non_essential_conversion_operations): | |
| 204 * print.c (debug_print_exit): | |
| 205 * print.c (debug_print_enter): | |
| 206 * print.c (debug_prin1): | |
| 207 * print.c (debug_p4): | |
| 208 * print.c (ext_print_begin): | |
| 209 * print.c (ext_print_end): | |
| 210 * print.c (external_debug_print): | |
| 211 * print.c (debug_p3): | |
| 212 * print.c (debug_backtrace): | |
| 213 * print.c (debug_short_backtrace): | |
| 214 * print.c (vars_of_print): | |
| 215 Lots of cleanup. Fix debug_out() so it binds | |
| 216 inhibit_non_essential_printing_operations around it to ensure no | |
| 217 conversion. Remove many other places that set the same var since | |
| 218 the lower-level functions now all do it. A few other places, add | |
| 219 inhibit_non_essential_printing_operations bindings.Extract the | |
| 220 code out that sets up and resets lots of bindings in debug_prin1() | |
| 221 so that debug_backtrace() can use it, and rewrite it to use the | |
| 222 new STORE_VOID_IN_LISP() rather than having to have a single | |
| 223 static opaque structure holding all the bindings (and not handling | |
| 224 reentrancy). Fix raw `char' to be `CIbyte' in the declaration of | |
| 225 `alternate_do_string'. | |
| 226 | |
| 227 * signal.c (check_what_happened): | |
| 228 Fix bug: Don't try to check for QUIT when | |
| 229 inhibit_non_essential_printing_operations or we may screw things | |
| 230 up if QUIT happens during debug printing. | |
| 231 | |
| 232 2010-02-08 Ben Wing <ben@xemacs.org> | |
| 233 | |
| 234 * casetab.c (compute_canon_mapper): | |
| 235 * casetab.c (initialize_identity_mapper): | |
| 236 * casetab.c (compute_up_or_eqv_mapper): | |
| 237 * casetab.c (recompute_case_table): | |
| 238 * casetab.c (set_case_table): | |
| 239 * chartab.c (copy_mapper): | |
| 240 * chartab.c (copy_char_table_range): | |
| 241 * chartab.c (get_range_char_table_1): | |
| 242 * console.c (find_nonminibuffer_frame_not_on_console_predicate): | |
| 243 * console.c (find_nonminibuffer_frame_not_on_console): | |
| 244 * console.c (nuke_all_console_slots): | |
| 245 * device.c: | |
| 246 * device.c (find_nonminibuffer_frame_not_on_device_predicate): | |
| 247 * device.c (find_nonminibuffer_frame_not_on_device): | |
| 248 * dialog-msw.c (dialog_proc): | |
| 249 * dialog-msw.c (handle_question_dialog_box): | |
| 250 * dialog-x.c (maybe_run_dbox_text_callback): | |
| 251 * eval.c: | |
| 252 * eval.c (safe_run_hook_trapping_problems_1): | |
| 253 * eval.c (safe_run_hook_trapping_problems): | |
| 254 * event-msw.c: | |
| 255 * event-msw.c (mswindows_wnd_proc): | |
| 256 * event-msw.c (mswindows_find_frame): | |
| 257 * faces.c (update_face_inheritance_mapper): | |
| 258 * frame-msw.c (mswindows_init_frame_1): | |
| 259 * frame-msw.c (mswindows_get_mouse_position): | |
| 260 * frame-msw.c (mswindows_get_frame_parent): | |
| 261 * glade.c (connector): | |
| 262 * glade.c (Fglade_xml_signal_connect): | |
| 263 * glade.c (Fglade_xml_signal_autoconnect): | |
| 264 * glade.c (Fglade_xml_textdomain): | |
| 265 * glyphs-msw.c (mswindows_subwindow_instantiate): | |
| 266 * glyphs-msw.c (mswindows_widget_instantiate): | |
| 267 * glyphs.c (check_instance_cache_mapper): | |
| 268 * glyphs.c (check_window_subwindow_cache): | |
| 269 * glyphs.c (check_image_instance_structure): | |
| 270 * gui-x.c (snarf_widget_value_mapper): | |
| 271 * gui-x.c (popup_selection_callback): | |
| 272 * gui-x.c (button_item_to_widget_value): | |
| 273 * keymap.c (map_keymap_mapper): | |
| 274 * keymap.c (Fmap_keymap): | |
| 275 * menubar-gtk.c (__torn_off_sir): | |
| 276 * menubar-gtk.c (__activate_menu): | |
| 277 * menubar-gtk.c (menu_convert): | |
| 278 * menubar-gtk.c (__generic_button_callback): | |
| 279 * menubar-gtk.c (menu_descriptor_to_widget_1): | |
| 280 * menubar-msw.c: | |
| 281 * menubar-msw.c (EMPTY_ITEM_ID): | |
| 282 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
| 283 * menubar-x.c (pre_activate_callback): | |
| 284 * menubar-x.c (command_builder_operate_menu_accelerator): | |
| 285 * menubar-x.c (command_builder_find_menu_accelerator): | |
| 286 * print.c (print_internal): | |
| 287 * process-unix.c (close_process_descs_mapfun): | |
| 288 * process.c (get_process_from_usid): | |
| 289 * process.c (init_process_io_handles): | |
| 290 * profile.c (sigprof_handler): | |
| 291 * profile.c (get_profiling_info_timing_maphash): | |
| 292 * profile.c (Fget_profiling_info): | |
| 293 * profile.c (set_profiling_info_timing_maphash): | |
| 294 * profile.c (mark_profiling_info_maphash): | |
| 295 * scrollbar-msw.c (mswindows_create_scrollbar_instance): | |
| 296 * scrollbar-msw.c (mswindows_free_scrollbar_instance): | |
| 297 * scrollbar-msw.c (mswindows_handle_scrollbar_event): | |
| 298 * specifier.c (recompute_cached_specifier_everywhere_mapfun): | |
| 299 * specifier.c (recompute_cached_specifier_everywhere): | |
| 300 * syntax.c (copy_to_mirrortab): | |
| 301 * syntax.c (copy_if_not_already_present): | |
| 302 * syntax.c (update_just_this_syntax_table): | |
| 303 * text.c (new_dfc_convert_now_damn_it): | |
| 304 * text.h (LISP_STRING_TO_EXTERNAL): | |
| 305 * tooltalk.c: | |
| 306 * tooltalk.c (tooltalk_message_callback): | |
| 307 * tooltalk.c (tooltalk_pattern_callback): | |
| 308 * tooltalk.c (Fcreate_tooltalk_message): | |
| 309 * tooltalk.c (Fcreate_tooltalk_pattern): | |
| 310 * ui-byhand.c (__generic_toolbar_callback): | |
| 311 * ui-byhand.c (generic_toolbar_insert_item): | |
| 312 * ui-byhand.c (__emacs_gtk_ctree_recurse_internal): | |
| 313 * ui-byhand.c (Fgtk_ctree_recurse): | |
| 314 * ui-gtk.c (__internal_callback_destroy): | |
| 315 * ui-gtk.c (__internal_callback_marshal): | |
| 316 * ui-gtk.c (Fgtk_signal_connect): | |
| 317 * ui-gtk.c (gtk_type_to_lisp): | |
| 318 * ui-gtk.c (lisp_to_gtk_type): | |
| 319 * ui-gtk.c (lisp_to_gtk_ret_type): | |
| 320 * lisp-disunion.h: | |
| 321 * lisp-disunion.h (NON_LVALUE): | |
| 322 * lisp-union.h: | |
| 323 * lisp.h (LISP_HASH): | |
| 324 Rename: | |
| 325 | |
| 326 LISP_TO_VOID -> STORE_LISP_IN_VOID | |
| 327 VOID_TO_LISP -> GET_LISP_FROM_VOID | |
| 328 | |
| 329 These new names are meant to clearly identify that the Lisp object | |
| 330 is the source and void the sink, and that they can't be used the | |
| 331 other way around -- they aren't exact opposites despite the old | |
| 332 names. The names are also important given the new functions | |
| 333 created just below. Also, clarify comments in lisp-union.h and | |
| 334 lisp-disunion.h about the use of the functions. | |
| 335 | |
| 336 * lisp.h: | |
| 337 New functions STORE_VOID_IN_LISP and GET_VOID_FROM_LISP. These | |
| 338 are different from the above in that the source is a void * | |
| 339 (previously, you had to use make_opaque_ptr()). | |
| 340 | |
| 341 * eval.c (restore_lisp_object): | |
| 342 * eval.c (record_unwind_protect_restoring_lisp_object): | |
| 343 * eval.c (struct restore_int): | |
| 344 * eval.c (restore_int): | |
| 345 * eval.c (record_unwind_protect_restoring_int): | |
| 346 * eval.c (free_pointer): | |
| 347 * eval.c (record_unwind_protect_freeing): | |
| 348 * eval.c (free_dynarr): | |
| 349 * eval.c (record_unwind_protect_freeing_dynarr): | |
| 350 * eval.c (unbind_to_1): | |
| 351 Use STORE_VOID_IN_LISP and GET_VOID_FROM_LISP to eliminate the | |
| 352 use of make_opaque_ptr() and mostly eliminate Lisp consing | |
| 353 entirely in the use of these various record_unwind_protect_* | |
| 354 functions as well as internal_bind_* (e.g. internal_bind_int). | |
| 355 | |
| 356 * tests.c: | |
| 357 * tests.c (Ftest_store_void_in_lisp): | |
| 358 * tests.c (syms_of_tests): | |
| 359 * tests.c (vars_of_tests): | |
| 360 Add an C-assert-style test to test STORE_VOID_IN_LISP and | |
| 361 GET_VOID_FROM_LISP to make sure the same value comes back that | |
| 362 was put in. | |
| 363 | |
| 364 2010-02-09 Vin Shelton <acs@xemacs.org> | |
| 365 | |
| 366 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | |
| 367 Declare hfont at start of a code block. | |
| 368 | |
| 369 * glyphs-eimage.c: Undefine and then redefine FAR around the jpeg | |
| 370 header. | |
| 371 | |
| 372 2010-02-08 Vin Shelton <acs@xemacs.org> | |
| 373 | |
| 374 * nt.c (open_unc_volume): lpRemoteName is an XELPTSTR. | |
| 375 | |
| 376 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | |
| 377 | |
| 378 * lisp.h (Dynarr_verify, Dynarr_verify_mod): | |
| 379 If ERROR_CHECK_STRUCTURES is not defined, cast the argument in | |
| 380 these two macros; fixes the g++ build. | |
| 381 | |
| 382 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | |
| 383 | |
| 384 * fileio.c (Finsert_file_contents_internal): | |
| 385 Only call format-decode if it has a function binding. | |
| 386 (build_annotations): Only call format-annotate-function if it has | |
| 387 a function binding; incidentally only calling #'car-less-than-car | |
| 388 if *it* has a function binding. | |
| 389 (syms_of_fileio): #'car-less-than-car and #'cdr-less-than-cdr are | |
| 390 now in Lisp. | |
| 16 | 391 |
| 17 2010-02-07 Ben Wing <ben@xemacs.org> | 392 2010-02-07 Ben Wing <ben@xemacs.org> |
| 18 | 393 |
| 19 * fns.c: Qlist, Qstring mistakenly declared twice. | 394 * fns.c: Qlist, Qstring mistakenly declared twice. |
| 20 * fns.c (mapcarX): | 395 * fns.c (mapcarX): |
