1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00
Commit graph

12319 commits

Author SHA1 Message Date
Andrew Innes
fe83b953b1 *** empty log message *** 2000-09-14 22:00:54 +00:00
Andrew Innes
7bbaaeddf0 Revert to Unix line endings. 2000-09-14 21:59:59 +00:00
Andrew Innes
3021e8160b *** empty log message *** 2000-09-14 21:51:49 +00:00
Andrew Innes
dfaaaafb67 (w32_per_char_metric): Handle non-TrueType fonts. 2000-09-14 21:34:22 +00:00
Andrew Innes
cf498eda60 Standardize indentation somewhat.
(bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to
cater for differences between shells.
2000-09-14 21:32:40 +00:00
Gerd Moellmann
2a32b5ea15 (x_produce_glyphs): If the distance from the current
position to the next tab stop is less than a canonical character
width, use the tab stop after that.
2000-09-14 20:20:51 +00:00
Dave Love
b4331e964a *** empty log message *** 2000-09-14 19:47:28 +00:00
Dave Love
815add8485 (alloc_buffer_text): Fix xmalloc call. 2000-09-14 19:39:11 +00:00
Gerd Moellmann
085536c273 (handle_fontified_prop): While running fontification
functions, bind `fontification-functions' and
`after-change-functions' to nil.
2000-09-14 19:17:36 +00:00
Gerd Moellmann
ef9e43452f *** empty log message *** 2000-09-14 15:15:16 +00:00
Gerd Moellmann
02bb17d31c Remove everything having to do with the use of mmap. 2000-09-14 15:14:28 +00:00
Gerd Moellmann
39c75ccb52 (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed.
(enlarge_buffer_text): Add prototype.
2000-09-14 15:14:15 +00:00
Gerd Moellmann
b86af064c5 Move allocation with mmap here, from ralloc.c. Change
conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS.
(mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed
from former r_alloc_* functions in ralloc.c.
(mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New
variables.
(MEM_ALIGN) [REL_ALLOC_MMAP]: New macro.
(mmap_init) [REL_ALLOC_MMAP]: New function.
(alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New
functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and
BUFFER_FREE.
2000-09-14 15:14:02 +00:00
Gerd Moellmann
71a7bfa7ee (make_gap): Use enlarge_buffer_text. 2000-09-14 15:13:29 +00:00
Gerd Moellmann
a74c5ec1a4 Change conditional compilation on REL_ALLOC_MMAP to
USE_MMAP_FOR_BUFFERS.
2000-09-14 15:13:18 +00:00
Gerd Moellmann
95f784a935 (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. 2000-09-14 15:13:02 +00:00
Gerd Moellmann
67cdbf1682 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. 2000-09-14 15:12:48 +00:00
Gerd Moellmann
2a494b2d89 (Fplay_sound): Doc fix. 2000-09-13 18:23:03 +00:00
Gerd Moellmann
8c907a5633 Avoid some more compiler warnings.
(parse_tool_bar_item): Ignore cached key bindings.
2000-09-13 11:18:03 +00:00
Gerd Moellmann
f860896845 Add some comments about DOUG_LEA_MALLOC's use of mmap
and allocation of Lisp data.
2000-09-13 09:19:05 +00:00
Gerd Moellmann
d12d0a9b79 Remove conditional compilation on SCALABLE_FONTS.
(Finternal_set_lisp_face_attribute): If frame is 0, set new frame
defaults first.
2000-09-12 14:19:54 +00:00
Gerd Moellmann
6ab70e9a61 *** empty log message *** 2000-09-12 10:59:03 +00:00
Gerd Moellmann
6a69efd78e (Fload): Put code checking for recursive loads in #if 0. 2000-09-12 10:58:42 +00:00
Kenichi Handa
54fa5bc13a Comment fixed.
(MAX_MAP_SET_LEVEL): Increased to 30.
(PUSH_MAPPING_STACK): Enclose with do-while block.
(POP_MAPPING_STACK): Likewise.
(stack_idx_of_map_multiple): New variable.
(CCL_CALL_FOR_MAP_INSTRUCTION): New macro.
(ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol,
call the corresponding CCL program by
CCL_CALL_FOR_MAP_INSTRUCTION.
(ccl_driver) <CCL_MapSingle>: Likewise.
(ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal
with the case where looking up process reaches to the end of
map-set, and call CCL programs as the above change.
2000-09-12 02:30:13 +00:00
Kenichi Handa
63c36c3c74 *** empty log message *** 2000-09-12 02:29:12 +00:00
Gerd Moellmann
8ec8a5ec9e (png_load, jpeg_load): Declare some variables volatile
that might be clobbered by longjmp.
(check_x_display_info, x_decode_color, create_frame_xic)
(Fx_display_backing_store, Fx_display_visual_class)
(x_build_heuristic_mask, pbm_scan_number): Avoid compiler
warnings.
2000-09-11 19:54:11 +00:00
Gerd Moellmann
f74b07059d (init_lread): Set Vloads_in_progress to nil.
(Fload): Show list of recursively loaded files, when signaling an
error.
2000-09-11 13:01:38 +00:00
Gerd Moellmann
7ee3bd7bf8 (Vloads_in_progress): New variable.
(record_load_unwind): New function.
(Fload): Check for recursive loads.
(syms_of_lread): Initialize Vloads_in_progress.
(read_integer, read1): Avoid some compiler warnings.
2000-09-11 12:52:59 +00:00
Gerd Moellmann
093386ca6c (concat, Fsubstring, internal_equal, Fnconc): Avoid some
compiler warnings.
2000-09-11 12:51:13 +00:00
Miles Bader
974e1e5b2a (Fbuffer_string): Doc fix. 2000-09-11 10:48:34 +00:00
Gerd Moellmann
9824c4e39e (mmap_enlarge): Don't return 0 if successful. 2000-09-10 11:19:00 +00:00
Ken Raeburn
6a72fdd12e s/netbsd.h: NO_C_SOURCE->NOT_C_CODE 2000-09-10 01:12:09 +00:00
Gerd Moellmann
28e6fb6637 (CYCLE_CHECK): Don't use the Lisp_Object returned
by Fmemq in a condition.
2000-09-09 13:14:56 +00:00
Stefan Monnier
7f8b6551de *** empty log message *** 2000-09-09 00:50:26 +00:00
Stefan Monnier
cec33c9095 (Finternal_set_lisp_face_attribute): Minor thinko. 2000-09-09 00:18:25 +00:00
Dave Love
460dc922d8 (internal-merge-in-global-face): Fix newline in doc string. 2000-09-08 22:17:17 +00:00
Gerd Moellmann
d1a0288150 (mmap_fd): Remove initializer which can make it
read-only in a dumped Emacs.
(mmap_fd_1): New variable.
(mmap_set_vars): Remove local `fd'.  Save mmap_fd in mmap_fd_1,
restore it from there.
(r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init
unconditionally so that mmap_fd can be initialized there.
(r_alloc_init_fd): Open-coded in r_alloc_init; function removed.
(r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero.
(r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1.
2000-09-08 19:52:57 +00:00
Dave Love
d93c318653 (r_alloc_init_fd): Move. Fix conditional for pcc. 2000-09-08 16:31:11 +00:00
Dave Love
5ad25b24df (r_alloc_init): Conditionalize on SYSTEM_MALLOC, not REL_ALLOC_MMAP. 2000-09-08 16:03:04 +00:00
Gerd Moellmann
c454aac192 *** empty log message *** 2000-09-08 14:20:44 +00:00
Gerd Moellmann
334a2e2a82 (Finternal_merge_in_global_face): Return a Lisp object. 2000-09-08 14:19:31 +00:00
Gerd Moellmann
ae26e27d7d (dump_glyph_row): Fix printf format string.
(display_line, move_it_in_display_line_to): Avoid compiler
warnings.
2000-09-08 14:19:11 +00:00
Dave Love
423193c552 (r_alloc_init_fd): Conditionalize on MAP_ANON. 2000-09-08 14:10:31 +00:00
Dave Love
0460aa783e (REL_ALLOC_MMAP): Define. 2000-09-08 13:57:04 +00:00
Gerd Moellmann
fc653ef2d8 (GC_MARK_STACK, REL_ALLOC_MMAP): Define. 2000-09-08 13:56:53 +00:00
Dave Love
326cdd749d Mention REL_ALLOC_MMAP. 2000-09-08 13:49:15 +00:00
Dave Love
a2c23c923a Don't include string.h (redundant).
(MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined.
[!MAP_ANON]: Include fcntl.h.
(mmap_fd) [REL_ALLOC_MMAP]: New variable.
(r_alloc, r_re_alloc, r_alloc_free)
(mmap_enlarge, mmap_set_vars): Use it.
(r_alloc_init_fd): New function.
(__morecore) [SYSTEM_MALLOC]: Don't declare.
(r_alloc_init): Call r_alloc_init_fd.  Conditionalize stuff on
malloc type.
2000-09-08 13:46:27 +00:00
Gerd Moellmann
3015eec0e8 (Fset_keymap_parent): Check for cycles in keymap
inheritance.
2000-09-08 13:30:21 +00:00
Dave Love
018fc00072 (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]:
Remove vm-limit.o.
2000-09-08 13:14:07 +00:00
Gerd Moellmann
bfe0ee8830 (try_window_id): When trying to locate cursor in
unchanged rows at the top, handle the case that we can't find it.
2000-09-08 09:50:33 +00:00