aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fsignal): Move comment to avoid confusing make-docfile.Andreas Schwab1999-01-251-2/+2
|
* (x_set_frame_parameters): gcpro as needed.Richard M. Stallman1999-01-251-0/+12
|
* Comment about unibyte.Dave Love1999-01-241-0/+6
|
* (read_key_sequence): Fix previous change.Richard M. Stallman1999-01-241-9/+9
|
* (same_x_server): Detect treat ":0" and "unix:0"Richard M. Stallman1999-01-241-0/+28
| | | | as the same. Treat "myname:0" as the same as those two.
* (x_handle_selection_clear): Don't clear theRichard M. Stallman1999-01-241-1/+21
| | | | selection if Emacs still owns it through a different display.
* (scan_sexps_forward): Delete duplicate codeKarl Heuer1999-01-221-2/+9
| | | | | to set prev_from_syntax, above start of main loop. At startinstring, check syntax when checking for a match.
* (Vw32_bdf_filename_alist): New variable.Geoff Voelker1999-01-221-100/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | (x_destroy_bitmap): Returns void not int. (x_set_border_pixel): Returns void. (w32_load_bdf_font): New function. (w32_load_system_font): New function, was w32_load_font. List fonts before loading. Explicitly set encoding for SJIS fonts. Set default_ascent to 0 as comment indicates. (w32_load_font): Call w32_load_system_font and w32_load_bdf_font. (w32_unload_font): Support BDF fonts. (w32_to_x_charset): Fix mappings to avoid wildcard mismatches. Autodetect whether to use koi8-r instead of iso8859-5. Associate "ksc5601.1987" with HANGUEL_CHARSET. Associate "ksc5601.1992" with JOHAB_CHARSET. (x_to_w32_charset): Make consistent with w32_to_x_charset. (w32_to_x_font): Add resolution. (x_to_w32_font): Use font resolution to calculate height if supplied. (w32_font_match): Handle wildcards anywhere within field. (enumfont_t): Remove unused head pointer. (enum_font_cb2): Dereference elfLogFont. (w32_list_bdf_fonts): New function. (w32_list_fonts): Use one_w32_dispay_info instead of insisting on valid frame. Remove MessageBox. Support BDF fonts. (Fw32_find_bdf_fonts): New function. (syms_of_w32fns): Add Vw32_bdf_filename_alist and Sw32_find_bdf_fonts.
* (W32_TEXTOUT): New macro.Geoff Voelker1999-01-221-165/+122
| | | | | | | | | | (dumpglyphs): Support BDF fonts. Use W32_TEXTOUT macro. Simplify baseline calculation. Detect SJIS by font, not glyph. Call SetTextAlign. (syms_of_w32term): Remove "jisx0212-sjis" from w32-charset-to-codepage-alist. Replace "ksc5601" with "ksc5601.1987" in w32-charset-to-codepage-alist. Add "ksc5601.1992' to w32-charset-to-codepage-alist.
* (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_MAX_WIDTH):Geoff Voelker1999-01-221-4/+9
| | | | Support BDF fonts.
* Include w32bdf.h.Geoff Voelker1999-01-221-0/+2
| | | | (W32FontStruct) Add bdf element.
* Add w32bdf.c and w32bdf.h.Geoff Voelker1999-01-221-1/+15
|
* Initial revisionGeoff Voelker1999-01-222-0/+678
|
* (temacs): Use del to delete file, not rm.Andrew Innes1999-01-211-1/+1
|
* 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.