Mercurial > hg > xemacs-beta
view netinstall/resource.h @ 5146:88bd4f3ef8e4
make lrecord UID's have a separate UID space for each object, resurrect debug SOE code in extents.c
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-03-15 Ben Wing <ben@xemacs.org>
* alloc.c:
* alloc.c (c_readonly):
* alloc.c (deadbeef_memory):
* alloc.c (make_compiled_function):
* alloc.c (make_button_data):
* alloc.c (make_motion_data):
* alloc.c (make_process_data):
* alloc.c (make_timeout_data):
* alloc.c (make_magic_data):
* alloc.c (make_magic_eval_data):
* alloc.c (make_eval_data):
* alloc.c (make_misc_user_data):
* alloc.c (noseeum_make_marker):
* alloc.c (ADDITIONAL_FREE_string):
* alloc.c (common_init_alloc_early):
* alloc.c (init_alloc_once_early):
* bytecode.c (print_compiled_function):
* bytecode.c (mark_compiled_function):
* casetab.c:
* casetab.c (print_case_table):
* console.c:
* console.c (print_console):
* database.c (print_database):
* database.c (finalize_database):
* device-msw.c (sync_printer_with_devmode):
* device-msw.c (print_devmode):
* device-msw.c (finalize_devmode):
* device.c:
* device.c (print_device):
* elhash.c:
* elhash.c (print_hash_table):
* eval.c (print_multiple_value):
* eval.c (mark_multiple_value):
* events.c (deinitialize_event):
* events.c (print_event):
* events.c (event_equal):
* extents.c:
* extents.c (soe_dump):
* extents.c (soe_insert):
* extents.c (soe_delete):
* extents.c (soe_move):
* extents.c (extent_fragment_update):
* extents.c (print_extent_1):
* extents.c (print_extent):
* extents.c (vars_of_extents):
* frame.c:
* frame.c (print_frame):
* free-hook.c:
* free-hook.c (check_free):
* glyphs.c:
* glyphs.c (print_image_instance):
* glyphs.c (print_glyph):
* gui.c:
* gui.c (copy_gui_item):
* hash.c:
* hash.c (NULL_ENTRY):
* hash.c (KEYS_DIFFER_P):
* keymap.c (print_keymap):
* keymap.c (MARKED_SLOT):
* lisp.h:
* lrecord.h:
* lrecord.h (LISP_OBJECT_UID):
* lrecord.h (set_lheader_implementation):
* lrecord.h (struct old_lcrecord_header):
* lstream.c (print_lstream):
* lstream.c (finalize_lstream):
* marker.c (print_marker):
* marker.c (marker_equal):
* mc-alloc.c (visit_all_used_page_headers):
* mule-charset.c:
* mule-charset.c (print_charset):
* objects.c (print_color_instance):
* objects.c (print_font_instance):
* objects.c (finalize_font_instance):
* opaque.c (print_opaque):
* opaque.c (print_opaque_ptr):
* opaque.c (equal_opaque_ptr):
* print.c (internal_object_printer):
* print.c (enum printing_badness):
* rangetab.c (print_range_table):
* rangetab.c (range_table_equal):
* specifier.c (print_specifier):
* specifier.c (finalize_specifier):
* symbols.c:
* symbols.c (print_symbol_value_magic):
* tooltalk.c:
* tooltalk.c (print_tooltalk_message):
* tooltalk.c (print_tooltalk_pattern):
* window.c (print_window):
* window.c (debug_print_window):
(1) Make lrecord UID's have a separate UID space for each object.
Otherwise, with 20-bit UID's, we rapidly wrap around, especially
when common objects like conses and strings increment the UID value
for every object created. (Originally I tried making two UID spaces,
one for objects that always print readably and hence don't display
the UID, and one for other objects. But certain objects like markers
for which a UID is displayed are still generated rapidly enough that
UID overflow is a serious issue.) This also has the advantage of
making UID values smaller, hence easier to remember -- their main
purpose is to make it easier to keep track of different objects of
the same type when debugging code. Make sure we dump lrecord UID's
so that we don't have problems with pdumped and non-dumped objects
having the same UID.
(2) Display UID's consistently whenever an object (a) doesn't
consistently print readably (objects like cons and string, which
always print readably, can't display a UID), and (b) doesn't
otherwise have a unique property that makes objects of a
particular type distinguishable. (E.g. buffers didn't and still
don't print an ID, but the buffer name uniquely identifies the
buffer.) Some types, such as event, extent, compiled-function,
didn't always (or didn't ever) display an ID; others (such as
marker, extent, lstream, opaque, opaque-ptr, any object using
internal_object_printer()) used to display the actual machine
pointer instead.
(3) Rename NORMAL_LISP_OBJECT_UID to LISP_OBJECT_UID; make it work
over all Lisp objects and take a Lisp object, not a struct pointer.
(4) Some misc cleanups in alloc.c, elhash.c.
(5) Change code in events.c that "deinitializes" an event so that
it doesn't increment the event UID counter in the process. Also
use deadbeef_memory() to overwrite memory instead of doing the same
with custom code. In the process, make deadbeef_memory() in
alloc.c always available, and delete extraneous copy in mc-alloc.c.
Also capitalize all uses of 0xDEADBEEF. Similarly in elhash.c
call deadbeef_memory().
(6) Resurrect "debug SOE" code in extents.c. Make it conditional
on DEBUG_XEMACS and on a `debug-soe' variable, rather than on
SOE_DEBUG. Make it output to stderr, not stdout.
(7) Delete some custom print methods that were identical to
external_object_printer().
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 15 Mar 2010 16:35:38 -0500 |
parents | 943eaba38521 |
children |
line wrap: on
line source
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by res.rc // #define IDS_ROOT_SLASH 1 #define IDS_ROOT_SPACE 2 #define IDS_CWD_NONEMPTY 3 #define IDS_MIRROR_LST 6 #define IDS_DIALOG_FAILED 7 #define IDS_CYGWIN_FUNC_MISSING 8 #define IDS_DOWNLOAD_SHORT 9 #define IDS_ERR_OPEN_WRITE 10 #define IDS_SETUPINI_MISSING 11 #define IDS_OLD_SETUPINI 12 #define IDS_ERR_RENAME 13 #define IDS_NOTHING_INSTALLED 14 #define IDS_INSTALL_COMPLETE 15 #define IDS_ERR_OPEN_READ 16 #define IDS_ROOT_ABSOLUTE 17 #define IDS_DOWNLOAD_COMPLETE 18 #define IDS_CVSID 19 #define IDS_NOLOGFILE 20 #define IDS_UNINSTALL_COMPLETE 21 #define IDS_WININET 22 #define IDS_ERR_CHDIR 23 #define IDS_OLD_SETUP_VERSION 24 #define IDS_DOWNLOAD_FAILED 25 #define IDS_DOWNLOAD_INCOMPLETE 26 #define IDS_INSTALL_INCOMPLETE 27 #define IDS_ROOT_NOCYGWIN 28 #define IDS_CREATE_DIR 29 #define IDD_ROOT 101 #define IDD_SOURCE 102 #define IDD_OTHER_URL 103 #define IDD_SITE 104 #define IDD_NET 105 #define IDD_DLSTATUS 106 #define IDD_S_LOAD_INI 107 #define IDD_S_FROM_CWD 108 #define IDD_CHOOSE 109 #define IDD_S_DOWNLOAD 110 #define IDD_S_INSTALL 111 #define IDD_INSTATUS 112 #define IDD_DESKTOP 113 #define IDD_PROXY_AUTH 114 #define IDD_S_POSTINSTALL 115 #define IDD_NET_AUTH 116 #define IDD_SPLASH 117 #define IDB_SPIN 118 #define IDB_RTARROW 119 #define IDI_SPIN 120 #define IDI_XEMACS 121 #define IDD_LOCAL_DIR 122 #define IDB_CHECK_YES 123 #define IDB_CHECK_NO 124 #define IDB_CHECK_NA 125 #define IDB_GNU 126 #define IDD_UNINSTALL 127 #define IDC_SOURCE_DOWNLOAD 1000 #define IDC_SOURCE_NETINST 1001 #define IDC_SOURCE_CWD 1002 #define IDC_ROOT_DIR 1003 #define IDC_ROOT_BROWSE 1004 #define IDC_ROOT_TEXT 1005 #define IDC_ROOT_BINARY 1006 #define IDC_URL_LIST 1007 #define IDC_SITE_NEXT 1008 #define IDC_BACK 1009 #define IDC_OTHER_URL 1010 #define IDC_NET_IE5 1011 #define IDC_NET_DIRECT 1012 #define IDC_NET_PROXY 1013 #define IDC_PROXY_HOST 1014 #define IDC_PROXY_PORT 1015 #define IDC_PROXY_USER 1016 #define IDC_DLS_PROGRESS 1019 #define IDC_DLS_URL 1020 #define IDC_DLS_RATE 1021 #define IDC_INS_PKG 1022 #define IDC_INS_FILE 1023 #define IDC_INS_DISKFULL 1024 #define IDC_INS_IPROGRESS 1025 #define IDC_INS_PPROGRESS 1026 #define IDC_ROOT_SYSTEM 1028 #define IDC_ROOT_USER 1029 #define IDC_NET_USER 1030 #define IDC_NET_PASSWD 1031 #define IDC_VERSION 1033 #define IDC_LISTVIEW_POS 1034 #define IDC_CHOOSE_FULLPART 1035 #define IDC_CHOOSE_EXP 1036 #define IDC_CHOOSE_CURR 1037 #define IDC_CHOOSE_PREV 1038 #define IDC_CHOOSE_LIST 1039 #define IDC_INS_ACTION 1040 #define IDC_ROOT_DESKTOP 1041 #define IDC_ROOT_MENU 1042 #define IDC_LOCAL_DIR_BROWSE 1043 #define IDC_TXT_TYPE 1043 #define IDC_LOCAL_DIR 1044 #define IDC_JAVA_TYPE 1044 #define IDC_INSTALL_NATIVE 1045 #define IDC_C_TYPE 1045 #define IDC_INSTALL_CYGWIN 1046 #define IDC_CPP_TYPE 1046 #define IDC_UNINS_PKG 1047 #define IDC_ELISP_TYPE 1047 #define IDC_UNINS_FILE 1048 #define IDC_IDL_TYPE 1048 #define IDC_UNINS_DISKFULL 1049 #define IDC_UNINS_IPROGRESS 1050 #define IDC_UNINS_PPROGRESS 1051 #define IDC_UNINS_ACTION 1052 #define IDC_STATIC -1 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NO_MFC 1 #define _APS_3D_CONTROLS 1 #define _APS_NEXT_RESOURCE_VALUE 127 #define _APS_NEXT_COMMAND_VALUE 40003 #define _APS_NEXT_CONTROL_VALUE 1050 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif