1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Eli Zaretskii
20ee919eb4 eol-mnemonic-* variables are now strings, not characters. 1999-01-27 10:09:55 +00:00
Eli Zaretskii
7722baf9b3 (syms_of_coding): eol-mnemonic-* variables are now
strings, not characters.
1999-01-27 10:08:13 +00:00
Eli Zaretskii
d24715e869 (decode_mode_spec_coding): Display the EOL type as a string. 1999-01-27 10:06:21 +00:00
Richard M. Stallman
7e8e59d0cd (main): Up-date copyright. 1999-01-26 22:09:40 +00:00
Dave Love
94c7a21474 (syms_of_coding): Doc fix for inhibit-eol-conversion. 1999-01-25 19:00:50 +00:00
Andreas Schwab
bfa8ca433a (Fsignal): Move comment to avoid confusing make-docfile. 1999-01-25 09:20:43 +00:00
Richard M. Stallman
7589a1d97e (x_set_frame_parameters): gcpro as needed. 1999-01-25 01:37:58 +00:00
Dave Love
c0218e1b54 Comment about unibyte. 1999-01-24 22:37:36 +00:00
Richard M. Stallman
0afc861ba9 (read_key_sequence): Fix previous change. 1999-01-24 20:08:10 +00:00
Richard M. Stallman
cf591cc18b (same_x_server): Detect treat ":0" and "unix:0"
as the same.  Treat "myname:0" as the same as those two.
1999-01-24 20:07:05 +00:00
Richard M. Stallman
e18e6130fa (x_handle_selection_clear): Don't clear the
selection if Emacs still owns it through a different display.
1999-01-24 20:06:34 +00:00
Karl Heuer
ccf89641df (scan_sexps_forward): Delete duplicate code
to set prev_from_syntax, above start of main loop.
At startinstring, check syntax when checking for a match.
1999-01-22 21:57:43 +00:00
Geoff Voelker
33d52f9c45 (Vw32_bdf_filename_alist): New variable.
(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.
1999-01-22 19:59:22 +00:00
Geoff Voelker
65c4903c49 (W32_TEXTOUT): New macro.
(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.
1999-01-22 19:58:37 +00:00
Geoff Voelker
25d9ec8cc4 (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_MAX_WIDTH):
Support BDF fonts.
1999-01-22 19:58:23 +00:00
Geoff Voelker
640ea3c512 Include w32bdf.h.
(W32FontStruct) Add bdf element.
1999-01-22 19:58:10 +00:00
Geoff Voelker
f0cd15b5cd Add w32bdf.c and w32bdf.h. 1999-01-22 19:58:01 +00:00
Geoff Voelker
7b416d4284 Initial revision 1999-01-22 19:42:26 +00:00
Andrew Innes
15682d2416 (temacs): Use del to delete file, not rm. 1999-01-21 12:12:24 +00:00
Geoff Voelker
a1b9438c25 Remove codepage macros. Remove redundant BIG5 macros.
(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.
1999-01-19 22:25:33 +00:00
Geoff Voelker
a4e691eeeb (x_to_w32_charset): Add iso8859-9.
(w32_to_x_charset): Fix charset mappings.
1999-01-19 22:25:08 +00:00
Richard M. Stallman
27c3b45d28 (re_match_2_internal) [WINDOWSNT & emacs]: Insert QUIT at various places. 1999-01-19 03:24:03 +00:00
Andrew Innes
a7325b562f (w32_executable_type): Relax the check to identify
cygwin-compiled applications, because the exact dll name varies
with release.  Now only require the name to start "cygwin".
1999-01-17 19:24:42 +00:00
Andrew Innes
a5352d98bb (ROUND_UP):
(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.
1999-01-17 19:23:52 +00:00
Andrew Innes
30d2b1c27b (RVA_TO_PTR): Redefine to convert RVA to address in
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.
1999-01-17 19:22:55 +00:00
Andrew Innes
5b79dba5b9 Major rewrite to support cleaner method of dumping; a
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.
1999-01-17 19:21:24 +00:00
Andrew Innes
3bc2366f3c (get_lim_data): Use reserved_heap_size instead of
data_region_size.
1999-01-17 19:18:38 +00:00
Andrew Innes
ea01f00222 (TEMACS_TMP): New macro.
($(TEMACS)): Output to TEMACS_TMP from link, use post-link
processor to add static heap section in support of new unexec.
1999-01-17 19:17:43 +00:00
Andrew Innes
cfe8de4370 Include config.h to pick up data layout pragmas.
[WINDOWSNT]: Remove explicit pragma.
1999-01-17 19:16:08 +00:00
Kenichi Handa
55ab7be3ac (Fdecode_sjis_char): Decode Japanese Katakana character
correctly.
(Fencode_sjis_char): Encode Japanese Katakana character correctly.
1999-01-14 01:20:35 +00:00
Dave Love
f07f4a2430 (syms_of_coding): Doc fix for inhibit-eol-conversion. 1999-01-11 21:21:03 +00:00
Richard M. Stallman
9b942ebd48 (find_handler_clause): If SIG is nil (memory full error),
never run the debugger, and don't bother checking the args
to see whether the debugger should be run.
1999-01-11 18:09:31 +00:00
Richard M. Stallman
c700c260e6 (read_key_sequence): In key-translation-map and
function-key-map, handle symbol with array as fn def.
In function-key-map, handle symbol with keymap as fn def,
and autoloaded definitions.
1999-01-11 15:30:06 +00:00
Richard M. Stallman
bbd25f47ef (BASE_PURESIZE): Increment to 500000. 1999-01-11 15:27:08 +00:00
Richard M. Stallman
d9c21094c7 (Qtemp_buffer_setup_hook): New variable.
(syms_of_print): Init and staticpro that.
(temp_output_buffer_setup): Run Qtemp_buffer_setup_hook.
1999-01-11 15:26:11 +00:00
Kenichi Handa
9c36993afd (del_range_1): Call signal_after_change.
(del_range_byte): Likewise.
(del_range_both): Likewise.
(del_range_2): Don't call signal_after_change.
1999-01-11 11:42:52 +00:00
Kenichi Handa
a45dc86eeb (message_dolog): Use insert_1_both to avoid running any
Lisp code here.
1999-01-11 11:42:52 +00:00
Richard M. Stallman
41857307a6 (Frequire): Don't fail to unbind bindings. 1999-01-06 23:55:31 +00:00
Richard M. Stallman
e83f6bb074 (read_key_sequence): Tell get_keyelt to look handle autoloads.
Handle symbols defined as keymaps, and autoloaded keymaps.
1999-01-06 23:54:44 +00:00
Richard M. Stallman
5ffaf437c9 (search_buffer): Fix previous change. 1999-01-06 22:46:20 +00:00
Eli Zaretskii
0265f89f7c (set_clipboard_data): Terminate the text with a null
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.
1999-01-06 10:14:25 +00:00
Eli Zaretskii
52d38ab2d9 (IT_write_glyphs): Move constant expression out of the loop. 1999-01-06 10:08:24 +00:00
Andreas Schwab
55a2e19e03 [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
_BSD_SOURCE, the latter is always defined.
1999-01-04 12:10:38 +00:00
Richard M. Stallman
c782ad7a64 Delete #if 0 old definitions. 1999-01-03 16:36:41 +00:00
Richard M. Stallman
0f5c40c7b0 (main) [DOUG_LEA_MALLOC]: Don't call r_alloc_reinit. 1999-01-02 21:53:05 +00:00
Richard M. Stallman
38f02ede3f (Ffind_charset_region): Fix doc typo. 1999-01-02 20:00:29 +00:00
Richard M. Stallman
759860a6af In each active map, for each menu bar item, use only the first submap.
(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.
1999-01-02 00:11:36 +00:00
Richard M. Stallman
e0a6ee5e19 [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. 1999-01-02 00:10:53 +00:00
Richard M. Stallman
81d492d5da (MMAP_MAX_AREAS): New macro.
(allocate_vectorlike, make_uninit_multibyte_string): Use that.
(init_alloc_once): Use that.
1999-01-02 00:10:26 +00:00
Eli Zaretskii
aff4381d9a (IT_write_glyphs): Convert unibyte characters to
multibyte in unibyte buffers only.
1998-12-31 16:32:53 +00:00