1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

18277 commits

Author SHA1 Message Date
Steven Tamm
50bf76732b Support Tooltips with the Carbon emacs port.
Some code cleanup using helper macros.
2004-05-30 00:18:41 +00:00
Richard M. Stallman
08fd12516b *** empty log message *** 2004-05-29 16:26:16 +00:00
Richard M. Stallman
e3d5ca1ed1 (truncate_undo_list): New arg LIMITSIZE. 2004-05-29 16:20:47 +00:00
Richard M. Stallman
ae6a9bfec9 (undo_outer_limit): New variable.
(syms_of_alloc): Defvar it.
(Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list.
2004-05-29 16:19:41 +00:00
Richard M. Stallman
924ee4e288 (truncate_undo_list): Update decl. 2004-05-29 16:18:41 +00:00
Richard M. Stallman
ab349c191f (lisp_align_malloc): Check for base == 0 regardless of HAVE_POSIX_MEMALIGN.
Clean up HAVE_POSIX_MEMALIGN handling of `err'.
2004-05-29 16:10:27 +00:00
Stefan Monnier
227ef0ff6c *** empty log message *** 2004-05-29 00:01:42 +00:00
Stefan Monnier
c37adf23e8 Undo Kim's recent changes and fix the same bug differently.
(marker_blocks_pending_free): Remove.
(Fgarbage_collect): Sweep after cleaning up undo-lists.
Mark the undo lists after claning them up.
Don't free block in marker_blocks_pending_free.
(mark_buffer): Don't mark undo_list.
(gc_sweep): Sweep hash-tables and strings first.
Do free marker blocks that are empty.
2004-05-29 00:00:17 +00:00
Stefan Monnier
034a611363 *** empty log message *** 2004-05-28 22:54:58 +00:00
Stefan Monnier
e2543b02bf (print_partial_compiled_pattern): Add missing 'break'
after 'case wordend'.  For symbeg and symend, print to stderr,
like the other cases.
2004-05-28 22:28:09 +00:00
Noah Friedman
33594a8d34 process.c (Fdelete_process): Do not call remove_process. 2004-05-28 21:58:31 +00:00
Stefan Monnier
ce50a84705 *** empty log message *** 2004-05-28 21:15:08 +00:00
Stefan Monnier
b40ea20a66 (struct backtrace): Remove.
(Fgarbage_collect): Use the new mark_backtrace.
2004-05-28 20:59:14 +00:00
Stefan Monnier
4ce0541e44 (mark_backtrace): New function. 2004-05-28 20:54:39 +00:00
Stefan Monnier
7292839d01 (run_exit_minibuf_hook): New function.
(read_minibuf_unwind): Don't run exit-minibuffer-hook any more.
(read_minibuf): Use separate unwind handler to run exit-minibuf-hook.
2004-05-28 20:52:05 +00:00
Miles Bader
54212d2e6b Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-345
Tweak source regexps so that building in place won't cause problems
2004-05-28 01:55:45 +00:00
Kim F. Storm
6c0afe12c9 (back_to_previous_visible_line_start): Skip backwards
over display properties, e.g. images, that replace buffer text.
2004-05-26 22:11:29 +00:00
Kim F. Storm
1e8dae36db *** empty log message *** 2004-05-26 22:10:26 +00:00
Kim F. Storm
6b67a5180d (marker_blocks_pending_free): New var.
(gc_sweep): Store free marker blocks on that list.
(Fgarbage_collect): Free them after undo-list cleanup.
2004-05-25 11:18:07 +00:00
Kim F. Storm
1566f511f1 (wait_reading_process_input): Check connect_wait_mask
before actually accepting connection in case it has already been
accepted due to recursion.
2004-05-25 11:17:43 +00:00
Kim F. Storm
846faa3b2c *** empty log message *** 2004-05-25 11:17:03 +00:00
Kenichi Handa
6239a668ad (Fset_safe_terminal_coding_system_internal): Set
suppress_error in safe_terminal_coding, not terminal_coding.
2004-05-23 23:56:57 +00:00
Richard M. Stallman
71d5a208a4 *** empty log message *** 2004-05-22 22:23:13 +00:00
Richard M. Stallman
69623621a4 (Fmake_string): Doc fix. 2004-05-22 22:22:38 +00:00
Richard M. Stallman
02f28bbdce (clone_per_buffer_values): Copy the alist of local vars,
and the alist pairs too.
2004-05-22 22:20:51 +00:00
Richard M. Stallman
69fe4180e4 (casify_object): Return OBJ unchanged if not real char. 2004-05-22 22:19:28 +00:00
Richard M. Stallman
73ccc85434 (main): Update copyright year. 2004-05-22 22:18:30 +00:00
Richard M. Stallman
abd5b7f2f0 (Fread_file_name): Expand DIR if not absolute. 2004-05-22 22:17:17 +00:00
Richard M. Stallman
017e09acc2 (del_range_2, replace_range): Don't write an anchor if the gap is empty. 2004-05-22 22:15:37 +00:00
Richard M. Stallman
6924d3b7d3 (try_scrolling): If scroll-up-aggressively or scroll-down-aggressively
is small but positive, put point near the screen edge.
2004-05-22 22:11:24 +00:00
Juanma Barranquero
f63fd14ef3 (Fdefine_key): Doc fix. 2004-05-22 01:52:56 +00:00
Kim F. Storm
080e18b104 (struct backtrace): Add debug_on_exit member.
(Fcommand_execute): Clear it.
2004-05-21 23:36:38 +00:00
Kim F. Storm
0dbaecd24a (struct backtrace): Add debug_on_exit member.
(Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep.
Identify those markers as Lisp_Misc_Free objects.  Clear car and cdr of
the removed cons cells.
(mark_object): Undo previous change - disallow Lisp_Misc_Free objects.
(gc_sweep): Clear cons_blocks before sweeping strings, so we don't have
any cons cells pointing to unallocated stings.
Do not lisp_free any marker blocks, as there may still be pointers
to them from buffer undo lists at this stage of GC.
2004-05-21 23:36:10 +00:00
Kim F. Storm
4d12067c77 *** empty log message *** 2004-05-21 23:35:24 +00:00
Luc Teirlinck
931285e29d (lookup_char_property): Do not prematurely return nil. 2004-05-20 17:33:35 +00:00
Stefan Monnier
669fa600c6 Add support for new '\_<' and '\_>' regexp operators, matching the
beginning and ends of symbols.
* regex.c (enum syntaxcode): Add Ssymbol.
(init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
(re_opcode_t): New opcodes `symbeg' and `symend'.
(print_partial_compiled_pattern): Print the new opcodes properly.
(regex_compile): Parse the new operators.
(analyse_first): Skip symbeg and symend (they match only the empty string).
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
\sw; `symbeg' is mutually exclusive with \S_ and \Sw.
(re_match_2_internal): Match symbeg and symend.
2004-05-19 16:38:34 +00:00
Stefan Monnier
29f89fe7ea (trivial_regexp_p): \_ is no longer a trivial regexp. 2004-05-19 16:32:59 +00:00
Kim F. Storm
cfcde636be (xsymbol): Fix last change. 2004-05-19 09:49:33 +00:00
Kim F. Storm
0d8c2e5cc3 *** empty log message *** 2004-05-19 09:41:38 +00:00
David Ponce
9a6a4c4079 (print): Reset print_depth before to call print_object. 2004-05-19 07:38:57 +00:00
Stefan Monnier
0001e96851 (xprintstr): New fun.
(xstring, xprintsym): Use it.
2004-05-19 01:22:06 +00:00
Stefan Monnier
acba5cae3e (create_child): Use INTMASK. 2004-05-18 22:09:25 +00:00
Jason Rumney
6dd6baa5df Fix last change for non USE_LISP_UNION_TYPE case. 2004-05-18 20:26:26 +00:00
Jason Rumney
f3c4ec7415 (display_x_get_resource, vga_stdcolor_name): Add prototype. 2004-05-18 19:55:30 +00:00
Jason Rumney
24ee97634d (add_menu_item, w32_menu_display_help) [USE_LISP_UNION_TYPE]: Cast
from Lisp_Object using i member.
2004-05-18 19:53:08 +00:00
Jason Rumney
7cb010ed71 Prefix RIF functions with w32con_ to avoid namespace clash with term.c. 2004-05-18 19:48:51 +00:00
Stefan Monnier
74c35a48a7 (Fgarbage_collect): Do all the marking before flushing
unmarked elements of the undo list.
2004-05-18 16:22:46 +00:00
Eli Zaretskii
4d0b9a0a45 (DECL_ALIGN): Remove restriction on MS-DOS systems. 2004-05-18 13:52:57 +00:00
Eli Zaretskii
6be49c3aa8 (syms_of_msdos): Initialize dos-unsupported-char-glyph with make_number.
(IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph with XINT.
2004-05-18 13:36:32 +00:00
Jason Rumney
3ae12c8dc6 [USE_LSB_TAG]: Don't check heap location. 2004-05-18 07:53:53 +00:00