Chong Yidong
26f1ab2426
(QUIT): Check pending_signals instead of interrupt_input_pending. Use
...
process_pending_signals.
2009-01-29 14:35:25 +00:00
Glenn Morris
76b6f70759
Add 2009 to copyright years.
2009-01-08 03:15:17 +00:00
Martin Rudalics
9e61f0d769
(do_switch_frame, Fselect_frame)
...
(Fset_frame_selected_window): Adjust declarations.
2008-11-02 10:39:39 +00:00
Dan Nicolaescu
ff808935f5
* emacs.c (daemon_pipe): Make non-static.
...
(IS_DAEMON): Move definition ...
* lisp.h (IS_DAEMON): ... here.
(daemon_pipe): Declare.
(is_daemon): Remove.
* dispnew.c (init_display): Use IS_DAEMON.
2008-10-28 04:25:11 +00:00
Martin Rudalics
f46684418b
Remove prototype for no_switch_window.
2008-10-21 14:07:04 +00:00
Chong Yidong
c1e4ceb7d7
(Vbefore_init_time, Vafter_init_time): Declare.
2008-10-06 16:17:24 +00:00
Dan Nicolaescu
73fee52267
* lisp.h (is_daemon): Declare.
...
* dispnew.c (init_display): Do not try to initialize the terminal
when running as a daemon.
2008-09-24 19:58:06 +00:00
Adrian Robert
4e6225928e
Dock menu customization, based on a patch by Ken Raeburn, plus some other fixes.
2008-08-05 03:05:14 +00:00
Adrian Robert
07b87a106a
fix popup menu selection return (menu.c); add use of popup_activated under NS (nsmenu.m, xdisp.c); improve comments (lisp.h, s/darwin.h); use FORWARD_SIGNAL_TO_MAIN_THREAD (syssignal.h)
2008-08-04 16:57:44 +00:00
Eli Zaretskii
b86cfd2845
Fix erroneous last commit.
2008-08-02 17:03:34 +00:00
Eli Zaretskii
02db701b5d
Add prototype for directory_files_internal.
2008-08-02 16:20:29 +00:00
Eli Zaretskii
40c5931ce4
(HAVE_PROCFS, LISTPROC, PROCATTR): New defines.
2008-08-02 16:19:03 +00:00
Andreas Schwab
ddaa36e16e
* lisp.h (init_weak_hash_tables, syms_of_font)
...
(xd_read_queued_messages, syms_of_dbusbind): Declare.
(remove_hash_entry): Don't declare.
* eval.c (maybe_call_debugger): Make static and move before use.
* gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT.
* xdisp.c: Include "gtkutil.h" if USE_GTK.
* xterm.h (x_set_frame_alpha): Declare.
2008-07-28 12:25:11 +00:00
Dan Nicolaescu
9e2a264775
Remove support for Mac Carbon.
...
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon
* erc.el: Remove code for Carbon.
Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.
Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.
* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.
* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.
* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.
* xresources.texi: Remove mentions of Mac Carbon.
* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.
Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL: Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Adrian Robert
5a2d7ab6bf
by renaming, get rid of need for hash_remove() redefinitions for NS platform; also, adjust nsgui dependencies in Makefile
2008-07-19 20:45:36 +00:00
Miles Bader
08b3caa982
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1339
2008-07-17 23:18:58 +00:00
Dan Nicolaescu
2749d28e1b
* ecrt0.c: Remove code depending on m68000, not used anymore.
...
* fns.c (hash_remove): Make static.
* lisp.h (hash_remove): Don't prototype.
* m/ibmrs6000.h:
* m/ibms390x.h:
* m/macppc.h: Remove boilerplate comments.
* m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on
Solaris, which does not need them.
* m/vax.h: Remove comments about unsupported systems.
* s/darwin.h: Reorganize ifdefs.
2008-07-17 13:57:13 +00:00
YAMAMOTO Mitsuharu
31edef9d84
(Foverlay_buffer): Add EXFUN.
2008-07-17 09:06:49 +00:00
Dan Nicolaescu
ff841b3047
* m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
...
Remove boilerplate comments.
* m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments.
* m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments.
* lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
2008-07-16 07:42:41 +00:00
Adrian Robert
edfda78355
merging Emacs.app (NeXTstep port)
2008-07-15 18:15:18 +00:00
Dan Nicolaescu
3bfb4d4823
Remove left over code.
2008-07-11 14:20:06 +00:00
Andreas Schwab
7e770c85da
Fix logic in last change.
2008-07-11 11:39:49 +00:00
Dan Nicolaescu
6e5cb96f3d
* lisp.h:
...
* w32heap.c:
* emacs.c:
* alloc.c: Replace all references of NO_UNION_TYPE with
USE_LISP_UNION_TYPE.
* m/xtensa.h (NO_UNION_TYPE):
* m/vax.h (NO_UNION_TYPE):
* m/template.h (NO_UNION_TYPE):
* m/sparc.h (NO_UNION_TYPE):
* m/mips.h (NO_UNION_TYPE):
* m/macppc.h (NO_UNION_TYPE):
* m/m68k.h (NO_UNION_TYPE):
* m/iris4d.h (NO_UNION_TYPE):
* m/intel386.h (NO_UNION_TYPE):
* m/ibms390x.h (NO_UNION_TYPE):
* m/ibms390.h (NO_UNION_TYPE):
* m/ibmrs6000.h (NO_UNION_TYPE):
* m/ia64.h (NO_UNION_TYPE):
* m/hp800.h (NO_UNION_TYPE):
* m/arm.h (NO_UNION_TYPE):
* m/amdx86-64.h (NO_UNION_TYPE):
* m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were
defining it the same.
2008-07-11 02:30:26 +00:00
Kenichi Handa
9ffc8a3a97
EXFUN adjusted for the change of Fstring_to_unibyte.
2008-07-04 02:26:05 +00:00
Jason Rumney
6cf29fe815
Changes from Toru Tsuneyoshi for using Trash can when deleting files.
...
* files.el (backup-extract-version): Handle versioned directories.
(trash-directory): New variable.
(move-file-to-trash): New function.
* cus-start.el (delete-by-moving-to-trash): Declare for custom.
* lisp.h (Qdelete_file, Qdelete_directory): Declare extern.
* fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars.
(syms_of_fileio): Initialize and export them.
(Fdelete_directory, Fdelete_file): Optionally delete via trash.
* w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already.
(Fsystem_move_file_to_trash): New function.
(syms_of_w32fns): Export it to lisp.
2008-07-02 13:19:07 +00:00
Kenichi Handa
c042d659c1
(Fstring_to_unibyte): EXFUN it.
2008-06-25 02:45:09 +00:00
Chong Yidong
febcacdd37
Declare syms_of_menu.
2008-06-08 04:37:34 +00:00
Stefan Monnier
87478b52f9
* window.el (display-buffer-function, special-display-p)
...
(special-display-buffer-names, special-display-regexps)
(special-display-function, same-window-p, same-window-buffer-names)
(same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
(pop-up-frame-function, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, window--splittable-p)
(window--try-to-split-window, window--frame-usable-p)
(even-window-heights, window--even-window-heights)
(window--display-buffer-1, window--display-buffer-2, display-buffer)
(pop-to-buffer): Move from window.c and buffer.c.
(split-window-preferred-horizontally): Remove.
* cus-start.el: Remove corresponding declarations.
* window.c (pop_up_windows, pop_up_frames)
(display_buffer_reuse_frames, Vpop_up_frame_function)
(Vdisplay_buffer_function, Veven_window_heights)
(Vspecial_display_buffer_names, Vspecial_display_regexps)
(Vspecial_display_function, Vsame_window_buffer_names)
(Vsame_window_regexps, split_height_threshold)
(Vsplit_window_preferred_function): Move those vars to window.el.
(display_buffer_1, Fspecial_display_p, Fsame_window_p)
(Fdisplay_buffer): Move those functions to window.el.
(syms_of_window): Remove corresponding declarations.
(display_buffer): New function.
(temp_output_buffer_show, Fother_window_for_scrolling): Use it.
* dispnew.c (Flast_nonminibuf_frame): New function.
* buffer.c (Fpop_to_buffer): Move to window.el.
2008-06-05 18:00:36 +00:00
Stefan Monnier
d0827857e7
* chartab.c (Foptimize_char_table, optimize_sub_char_table):
...
Add a `test' argument so another predicate than `equal' can be used.
(map_sub_char_table): Use `eq' rather than `equal' to merge ranges.
(map_char_table): Remove unused vars `c' and `i'.
* lisp.h (Foptimize_char_table): Adjust declaration.
* charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table.
2008-05-30 21:07:50 +00:00
Stefan Monnier
631248e534
* minibuf.c (keys_of_minibuf): Delete.
...
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
2008-05-22 03:18:18 +00:00
Stefan Monnier
ad97b375e8
* lisp.h (indirect_variable):
...
* data.c (indirect_variable, let_shadows_buffer_binding_p):
Use Lisp_Symbol pointers rather than Lisp_Object. Adjust callers.
* buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
To this end, change calling-convention.
2008-05-19 18:38:55 +00:00
Glenn Morris
b9b1cc1463
Switch to recommended form of GPLv3 permissions notice.
2008-05-15 03:28:14 +00:00
Kenichi Handa
f85064bdd8
(enum pvec_type): New member PREV_FONT.
...
(Fassoc_string): EXFUN it.
2008-05-14 01:39:27 +00:00
Kenichi Handa
94ef4d69c1
(STRING_SET_MULTIBYTE): New macro.
2008-04-17 01:09:57 +00:00
Stefan Monnier
58555d8187
* keyboard.c (pending_funcalls): New var.
...
(timer_check): Run it.
(syms_of_keyboard): Initialize it.
* terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
(Vdelete_terminal_functions): New vars.
(syms_of_terminal): Initialize them.
(Fdelete_terminal): Run delete-terminal-functions.
* xdisp.c (safe_eval): Rewrite.
(safe_call2): New fun.
* frame.c (Qdelete_frame_functions): New var.
(syms_of_frame): Initialize it.
(Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
* lisp.h (safe_call2, pending_funcalls): Declare.
2008-03-29 01:46:10 +00:00
Andreas Schwab
065a118d49
(Fbuffer_list): Declare.
2008-03-17 14:32:31 +00:00
Kim F. Storm
ec9ed378f4
(GLYPH): Change type from int to struct with separate char
...
and face_id members.
(GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros.
(GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg.
(FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ...
(GLYPH_CHAR, GLYPH_FACE): ... these. Change users.
(FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ...
(SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead.
(GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P)
(GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to
handle new Lisp glyph code encoding, either an integer or a cons.
2008-02-27 22:49:15 +00:00
Stefan Monnier
c2e426903c
(Fdelete_terminal): Declare.
2008-02-22 17:27:17 +00:00
Stefan Monnier
915b2a6aa8
Undo last mistakenly commited change.
2008-02-13 22:39:30 +00:00
Stefan Monnier
02dfeba8a4
(smerge-auto-combine-max-separation): New var.
...
(smerge-auto-combine): New fun.
2008-02-13 15:10:57 +00:00
Stefan Monnier
13818c3078
* coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
...
(detect_coding_system):
* lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
(string_char_to_byte, string_byte_to_char, insert_from_gap):
* insdel.c (insert_from_gap):
* fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
(string_char_to_byte, string_byte_to_char, string_make_multibyte)
(string_to_multibyte):
* character.c (chars_in_text, multibyte_chars_in_text):
* fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2008-02-12 21:35:15 +00:00
Stefan Monnier
eac1939a47
(struct Lisp_Misc_Any, struct Lisp_Marker)
...
(struct Lisp_Overlay, struct Lisp_Kboard_Objfwd)
(struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type
rather than `int' for the type of `type'.
2008-02-10 20:09:38 +00:00
Richard M. Stallman
e8455367a4
(ASET): Use AREF, not ASLOT.
2008-02-10 14:01:52 +00:00
Stefan Monnier
4b75ffab30
(ASET): Check bounds.
2008-02-10 03:20:40 +00:00
Dan Nicolaescu
4624371d9a
* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
...
dealing with obsolete variables.
* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.
* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.
* s/msdos.h (DONT_NEED_ENVIRON): Don't define.
* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
2008-02-09 18:03:10 +00:00
Miles Bader
d235ca2ff8
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Kenichi Handa
9bb13d087a
(struct Lisp_Marker): New member need_adjustment.
2008-01-18 07:07:37 +00:00
Michael Olson
944df51178
Fix typo in src/lisp.h
2008-01-13 22:10:51 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00