| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(dumpglyphs): Move definitions out of block containing goto.
Remove redundant code for BIG5.
Use w32_codepage_for_font instead of
w32_codepage_for_charset. Add cast to int where float
operation is assigned to int.
(Vw32_charset_to_codepage_alist): New variable.
(w32_codepage_for_charset): Removed.
(w32_codepage_for_font): New function, replacing
w32_codepage_for_charset.
(syms_of_w32term): Add and initialize
w32-charset-to-codepage-alist.
|
| |
|
|
| |
(w32_to_x_charset): Fix charset mappings.
|
| | |
|
| |
|
|
|
| |
cygwin-compiled applications, because the exact dll name varies
with release. Now only require the name to start "cygwin".
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(ROUND_DOWN): New macros.
(need_to_recreate_heap): Renamed to using_dynamic_heap.
(init_heap): New extern.
(data_region_size):
(recreate_heap):
(read_in_bss):
(map_in_heap):
(round_to_next):
(w32_fatal_reload_error):
(get_section_size): Obsolete externs removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current process.
(round_to_next): Obsolete function removed.
(preload_heap_section): New variable.
(data_region_size): Obsolete variable removed.
(allocate_heap): Modified to determine end of static heap section
used during preload, and use that as initial base address for
dynamic heap instead of hard-coded value.
(sbrk): Remove call to allocate_heap; handled by init_heap. Skip
calls to commit or decommit pages when allocating from static heap
section during preload.
(recreate_heap): Obsolete function removed.
(init_heap): New function to initialize internal sbrk heap
variables. Uses static heap section during preload, otherwise
calls allocate_heap to reserve a heap region dynamically.
(round_heap): Use ROUND_UP macro instead of round_to_next.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static "bss" section is used for heap space during preload, and
bss data is now written to the proper section area when dumping.
(need_to_recreate_heap): Renamed to using_dynamic_heap.
(heap_index_in_executable): Obsolete variable removed.
(data_section): New variable.
(data_start_va): Renamed to data_start.
(data_start_file): Obsolete variable removed.
(bss_section):
(extra_bss_size):
(bss_section_static):
(bss_start_static):
(bss_size_static):
(extra_bss_size_static):
(heap_section): New variables.
(_start): Remove code based on old unexec method. Call init_heap
to initialize sbrk heap.
(close_file_data): Update size of file when closing, so that
unexec doesn't have to work out exact size in advance.
(get_bss_info_from_map_file):
(get_section_size): Obsolete functions removed.
(rva_to_section): Fix minor bug, and add a work-around for a bug
in very old linkers.
(offset_to_section):
(relocate_offset): New functions.
(OFFSET_TO_RVA):
(RVA_TO_OFFSET):
(RVA_TO_SECTION_OFFSET):
(PTR_TO_RVA):
(PTR_TO_OFFSET):
(OFFSET_TO_PTR): New macros.
(get_section_info): Modify to support new unexec method;
determines address ranges in process that need dumping, and COFF
sections where data will be dumped. Allows for static and global
bss data to be in separate ranges. No longer relies on knowledge
of section names.
(copy_executable_and_dump_data_section): Renamed
copy_executable_and_dump_data. Completely rewritten to copy
executable section by section, so that raw data areas can be
expanded to hold dumped data as necessary. Allows for bss data to
be in same section as initialized data. Reduces size of static
heap section to that used during preload.
(dump_bss_and_heap):
(w32_fatal_reload_error):
(read_in_bss):
(map_in_heap): Obsolete functions removed.
(unexec): Rounds off preload heap to nearest page rather than
virtual allocation unit. Modified to match other changes.
|
| |
|
|
| |
data_region_size.
|
| |
|
|
|
| |
($(TEMACS)): Output to TEMACS_TMP from link, use post-link
processor to add static heap section in support of new unexec.
|
| |
|
|
| |
[WINDOWSNT]: Remove explicit pragma.
|
| |
|
|
|
| |
correctly.
(Fencode_sjis_char): Encode Japanese Katakana character correctly.
|
| | |
|
| |
|
|
|
| |
never run the debugger, and don't bother checking the args
to see whether the debugger should be run.
|
| |
|
|
|
|
| |
function-key-map, handle symbol with array as fn def.
In function-key-map, handle symbol with keymap as fn def,
and autoloaded definitions.
|
| | |
|
| |
|
|
|
| |
(syms_of_print): Init and staticpro that.
(temp_output_buffer_setup): Run Qtemp_buffer_setup_hook.
|
| |
|
|
|
|
| |
(del_range_byte): Likewise.
(del_range_both): Likewise.
(del_range_2): Don't call signal_after_change.
|
| |
|
|
| |
Lisp code here.
|
| | |
|
| |
|
|
| |
Handle symbols defined as keymaps, and autoloaded keymaps.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
character. Don't allow to put binary data into the clipboard.
Return zero in case of success, 1 or 2 otherwise.
(get_clipboard_data): Only bail out if the null character is in
the last 32-byte chunk of clipboard data
(Fw16_set_clipboard_data): Make ok and put_status be unsigned. If
they save binary data, print a message in the echo area saying the
text was not put into the clipboard.
|
| | |
|
| |
|
|
| |
_BSD_SOURCE, the latter is always defined.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(menu_bar_one_keymap): Initialize menu_bar_one_keymap_changed_items.
(menu_bar_item): Update and test menu_bar_one_keymap_changed_items.
(syms_of_keyboard): Staticpro and init it.
|
| | |
|
| |
|
|
|
| |
(allocate_vectorlike, make_uninit_multibyte_string): Use that.
(init_alloc_once): Use that.
|
| |
|
|
| |
multibyte in unibyte buffers only.
|
| |
|
|
| |
and pass it to Fmake_sparse_keymap.
|
| |
|
|
|
| |
previous change, for charset_not, wordchar, notwordchar,
categoryspec, notcategoryspec.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use them instead of malloc, xmalloc, and xfree, for Lisp objects.
Don't set allocating_for_lisp in the callers; let lisp_malloc do it.
(n_interval_blocks, n_float_blocks): New variable.
(n_cons_blocks, n_vectors, n_symbol_blocks): New variable.
(n_marker_blocks, n_string_blocks): New variable.
(init_intervals, make_interval): Set a count variable.
Use lisp_malloc instead of setting allocating_for_lisp.
(init_float, make_float, init_cons, Fcons): Likewise.
(allocate_vectorlike, init_symbol, Fmake_symbol): Likewise
(init_marker, allocate_misc, init_strings): Likewise.
(make_uninit_multibyte_string): Likewise.
(gc_sweep, compact_strings): Decrement the count variables.
(uninterrupt_malloc): Don't store Emacs's hooks
into the old_..._hook variables.
|
| |
|
|
| |
even when starting the dumped Emacs.
|
| |
|
|
| |
(Fkey_description): Handle lists like vectors.
|
| |
|
|
| |
not set async_iconified flag though.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
by complete_deferred_msg.
(post_character_message): Cancel all deferred messages when
quit_char is typed, in order to break out of potential deadlocks.
(cancel_all_deferred_msgs): New function.
(complete_deferred_msg): Don't abort if msg not found; may have
been cancelled.
(Fw32_reconstruct_hot_key): Use pre-interned symbols.
(Fw32_send_sys_command): Wait for system command to
complete before returning.
|
| |
|
|
|
|
| |
(create_child): Use it.
(syms_of_ntproc): Defvar it. Also fix docstrings for
w32-start-process-share-console and w32-start-process-show-window.
|
| |
|
|
| |
without prompting.
|
| |
|
|
| |
input-method-exit-on-first-char.
|
| |
|
|
| |
because of the change of the second argument of Fread_char.
|
| |
|
|
|
| |
(Fread_event): Likewise.
(Fread_char_exclusive): Likewise.
|
| |
|
|
| |
range, return nil.
|
| | |
|
| |
|
|
|
| |
string given to a process filter by a coding system used for
decoding the process output.
|
| |
|
|
| |
nonascii-translation-table.
|
| |
|
|
| |
nonascii-translation-table.
|
| |
|
|
| |
nonascii-translation-table.
|
| |
|
|
| |
nonascii-translation-table.
|