aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove codepage macros. Remove redundant BIG5 macros.Geoff Voelker1999-01-191-87/+107
| | | | | | | | | | | | | | (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.
* (x_to_w32_charset): Add iso8859-9.Geoff Voelker1999-01-191-4/+7
| | | | (w32_to_x_charset): Fix charset mappings.
* (re_match_2_internal) [WINDOWSNT & emacs]: Insert QUIT at various places.Richard M. Stallman1999-01-191-0/+13
|
* (w32_executable_type): Relax the check to identifyAndrew Innes1999-01-171-1/+4
| | | | | cygwin-compiled applications, because the exact dll name varies with release. Now only require the name to start "cygwin".
* (ROUND_UP):Andrew Innes1999-01-171-19/+6
| | | | | | | | | | | | | (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.
* (RVA_TO_PTR): Redefine to convert RVA to address inAndrew Innes1999-01-171-104/+69
| | | | | | | | | | | | | | | | | | 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.
* Major rewrite to support cleaner method of dumping; aAndrew Innes1999-01-171-438/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (get_lim_data): Use reserved_heap_size instead ofAndrew Innes1999-01-171-2/+2
| | | | data_region_size.
* (TEMACS_TMP): New macro.Andrew Innes1999-01-171-1/+7
| | | | | ($(TEMACS)): Output to TEMACS_TMP from link, use post-link processor to add static heap section in support of new unexec.
* Include config.h to pick up data layout pragmas.Andrew Innes1999-01-171-2/+4
| | | | [WINDOWSNT]: Remove explicit pragma.
* (Fdecode_sjis_char): Decode Japanese Katakana characterKenichi Handa1999-01-141-9/+27
| | | | | correctly. (Fencode_sjis_char): Encode Japanese Katakana character correctly.
* (syms_of_coding): Doc fix for inhibit-eol-conversion.Dave Love1999-01-111-1/+2
|
* (find_handler_clause): If SIG is nil (memory full error),Richard M. Stallman1999-01-111-4/+13
| | | | | never run the debugger, and don't bother checking the args to see whether the debugger should be run.
* (read_key_sequence): In key-translation-map andRichard M. Stallman1999-01-111-3/+20
| | | | | | function-key-map, handle symbol with array as fn def. In function-key-map, handle symbol with keymap as fn def, and autoloaded definitions.
* (BASE_PURESIZE): Increment to 500000.Richard M. Stallman1999-01-111-1/+1
|
* (Qtemp_buffer_setup_hook): New variable.Richard M. Stallman1999-01-111-6/+21
| | | | | (syms_of_print): Init and staticpro that. (temp_output_buffer_setup): Run Qtemp_buffer_setup_hook.
* (del_range_1): Call signal_after_change.Kenichi Handa1999-01-111-1/+3
| | | | | | (del_range_byte): Likewise. (del_range_both): Likewise. (del_range_2): Don't call signal_after_change.
* (message_dolog): Use insert_1_both to avoid running anyKenichi Handa1999-01-111-14/+18
| | | | Lisp code here.
* (Frequire): Don't fail to unbind bindings.Richard M. Stallman1999-01-061-1/+1
|
* (read_key_sequence): Tell get_keyelt to look handle autoloads.Richard M. Stallman1999-01-061-2/+13
| | | | Handle symbols defined as keymaps, and autoloaded keymaps.
* (search_buffer): Fix previous change.Richard M. Stallman1999-01-061-6/+9
|
* (set_clipboard_data): Terminate the text with a nullEli Zaretskii1999-01-061-16/+39
| | | | | | | | | | 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.
* (IT_write_glyphs): Move constant expression out of the loop.Eli Zaretskii1999-01-061-3/+7
|
* [__GLIBC__ >= 2]: Check __FAVOR_BSD instead ofAndreas Schwab1999-01-041-2/+2
| | | | _BSD_SOURCE, the latter is always defined.
* Delete #if 0 old definitions.Richard M. Stallman1999-01-031-16/+0
|
* (main) [DOUG_LEA_MALLOC]: Don't call r_alloc_reinit.Richard M. Stallman1999-01-021-2/+0
|
* (Ffind_charset_region): Fix doc typo.Richard M. Stallman1999-01-021-1/+1
|
* In each active map, for each menu bar item, use only the first submap.Richard M. Stallman1999-01-021-0/+17
| | | | | | (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.
* [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.Richard M. Stallman1999-01-021-0/+5
|
* (MMAP_MAX_AREAS): New macro.Richard M. Stallman1999-01-021-3/+9
| | | | | (allocate_vectorlike, make_uninit_multibyte_string): Use that. (init_alloc_once): Use that.
* (IT_write_glyphs): Convert unibyte characters toEli Zaretskii1998-12-311-1/+5
| | | | multibyte in unibyte buffers only.
* (Fdefine_prefix_command): Accept a third argument NAMEEli Zaretskii1998-12-311-5/+7
| | | | and pass it to Fmake_sparse_keymap.
* (re_compile_fastmap): Do something similar to theRichard M. Stallman1998-12-301-7/+13
| | | | | previous change, for charset_not, wordchar, notwordchar, categoryspec, notcategoryspec.
* (lisp_malloc, lisp_free): New functions.Richard M. Stallman1998-12-301-56/+103
| | | | | | | | | | | | | | | | | | 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.
* (main): Call memory_warnings and uninterrupt_mallocRichard M. Stallman1998-12-291-8/+7
| | | | even when starting the dumped Emacs.
* (Fsingle_key_description): Handle (control ?x) etc.Richard M. Stallman1998-12-291-12/+36
| | | | (Fkey_description): Handle lists like vectors.
* (x_iconify_frame): Wait for frame to be iconified; doAndrew Innes1998-12-281-3/+1
| | | | not set async_iconified flag though.
* (w32_msg_pump): Ignore WM_NULL message posted to threadAndrew Innes1998-12-281-45/+90
| | | | | | | | | | | | | | 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.
* (Vw32_start_process_inherit_error_mode): New variable.Andrew Innes1998-12-281-8/+22
| | | | | | (create_child): Use it. (syms_of_ntproc): Defvar it. Also fix docstrings for w32-start-process-share-console and w32-start-process-show-window.
* (_start): Force system calls accessing unmounted devices to failAndrew Innes1998-12-281-0/+4
| | | | without prompting.
* (read_char): Don't bindKenichi Handa1998-12-221-1/+0
| | | | input-method-exit-on-first-char.
* (Fcall_interactively) <'C'>: Give Fread_char QnilKenichi Handa1998-12-221-1/+1
| | | | because of the change of the second argument of Fread_char.
* (Fread_char): Change the meaning of the second argument.Kenichi Handa1998-12-221-15/+18
| | | | | (Fread_event): Likewise. (Fread_char_exclusive): Likewise.
* (Fcharset_after): Check range. If POS is out ofKenichi Handa1998-12-221-2/+9
| | | | range, return nil.
* (printchar): Fix previous change.Kenichi Handa1998-12-221-20/+34
|
* (read_process_output): Decide the multibyteness ofKenichi Handa1998-12-221-1/+8
| | | | | string given to a process filter by a coding system used for decoding the process output.
* (copy_text, count_size_as_multibyte): Don't convert 7-bit ASCII characters viaEli Zaretskii1998-12-211-2/+4
| | | | nonascii-translation-table.
* (unibyte_char_to_multibyte): Don't convert 7-bit ASCII characters viaEli Zaretskii1998-12-211-1/+1
| | | | nonascii-translation-table.
* (concat): Don't convert 7-bit ASCII characters viaEli Zaretskii1998-12-211-1/+2
| | | | nonascii-translation-table.
* (IT_write_glyphs): Don't convert 7-bit ASCII characters viaEli Zaretskii1998-12-211-1/+2
| | | | nonascii-translation-table.