1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

23349 commits

Author SHA1 Message Date
Stefan Monnier
2bf3a08778 (compute_motion): Typo in last change. 2007-09-27 18:56:16 +00:00
Stefan Monnier
83155776d1 * indent.h:
* indent.c: Use EMACS_INT for ints coming from Elisp data.
2007-09-27 18:49:57 +00:00
Stefan Monnier
bdf5f8ef91 (Fmove_to_column): Use EMACS_INT for buffer positions. 2007-09-27 18:27:48 +00:00
Nick Roberts
1ffe7343fa *** empty log message *** 2007-09-25 09:32:18 +00:00
Jason Rumney
ec8705b639 (make_terminal_frame): Remove special case for WINDOWSNT. 2007-09-25 08:54:10 +00:00
Jason Rumney
da6c83b1f5 (create_w32cons_output): Remove. 2007-09-25 08:53:37 +00:00
Jason Rumney
635e3b291d (init_tty): Call init_sys_modes on WINDOWSNT also. 2007-09-25 08:53:23 +00:00
Jason Rumney
69fb5031b3 (init_sys_modes): Use set_terminal_modes_hook.
(reset_sys_modes): Use reset_terminal_modes_hook.
2007-09-25 08:53:03 +00:00
Stefan Monnier
7351b242ea (do_autoload): Don't output any message. 2007-09-24 08:29:50 +00:00
Juri Linkov
16706228c1 (standard_args): Change priority of "--no-splash"
from 40 to 3.  Add "--no-desktop" with the same priority.
2007-09-24 00:59:41 +00:00
Richard M. Stallman
3ae2e3a37f (gc_sweep): Check cons cell mark bits word by word
and optimize the case where they are all 1.
2007-09-23 15:39:16 +00:00
Glenn Morris
dd1fdb7485 Fix typo. 2007-09-23 02:09:18 +00:00
Glenn Morris
096e8667db Johannes Weiner <hannes at saeurebad.de>
(abs): Define if unknown.
2007-09-23 02:04:23 +00:00
Glenn Morris
7a58fb43f6 Johannes Weiner <hannes at saeurebad.de>
(abs): Don't define abs now it's in lisp.h.
2007-09-23 02:03:36 +00:00
Eli Zaretskii
7804808570 (DEV_TTY): New macro. Provide a definition for MS-Windows.
(FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero.
(Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty)
(init_tty): Use DEV_TTY instead of "/dev/tty".
[WINDOWSNT]: No need to protect from NAME arg being null.
2007-09-22 12:41:29 +00:00
Dan Nicolaescu
23d4cba5c7 * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
* term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning
up the tty state.
2007-09-21 20:19:10 +00:00
Stefan Monnier
71f44e7ad4 * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead.
(gpm_tty): Change its type.
* term.c (term_gpm): Delete.  Use gpm_tty's NULLness instead.
(gpm_tty): Change its type and initialize it.
(Fterm_open_connection): Check the frame is indeed a tty.  Use the new gpm_tty.
(Fterm_close_connection): Use the new gpm_tty.
* keyboard.c (tty_read_avail_input): Use the new gpm_tty.
* sysdep.c (init_sys_modes): term_gpm -> gpm_tty.
2007-09-21 17:10:48 +00:00
Juanma Barranquero
def7fa3452 (x_draw_glyph_string): Use strike_through_color, not underline_color,
to draw strike-through.
2007-09-21 10:57:21 +00:00
Stefan Monnier
273f164cc4 (allocate_terminal): Declare. 2007-09-21 09:03:41 +00:00
Stefan Monnier
ca2d556695 (candidate_window_p): Consider frames that are being placed
by the user as somewhere between visible and iconified.
(window_loop): Prefer windows on the current frame.
(Fselect_window): Move the use of select-frame to the beginning so we
can just delegate all the work (it'll call us back anyway).
2007-09-21 07:59:46 +00:00
Stefan Monnier
6168122d68 (Qdisplay_environment_variable): Delete. 2007-09-21 07:21:02 +00:00
Glenn Morris
a44d9b8b4c (lisp, shortlisp): Remove termdev.elc. 2007-09-21 07:09:48 +00:00
Glenn Morris
f466320b25 *** empty log message *** 2007-09-21 07:09:22 +00:00
Stefan Monnier
c51842ec0f (xbacktrace): Print the arg's address rather than the value
of the first arg, since that value may be a union.
2007-09-21 07:00:04 +00:00
Stefan Monnier
d2bb65982c (child_setup, getenv_internal): Use the frame's `display'
parameter rather than Qdisplay_environment_variable.  If all else
fails, look for DISPLAY in initial-environment.
2007-09-21 06:58:51 +00:00
Glenn Morris
4cefd10eea (emacstool): Remove target. 2007-09-21 03:48:52 +00:00
Glenn Morris
6f022c1954 Adapt for removal of emacstool. 2007-09-21 03:48:43 +00:00
Glenn Morris
ea1bf8c799 Markus Triska <markus.triska at gmx.at>
(x_delete_display): Compile session management conditionally.
2007-09-21 02:41:05 +00:00
Stefan Monnier
db699fc6b6 (getenv_internal_1): New function.
(getenv_internal): Use it.
(Fgetenv_internal): Use it.  Accept an env-list as optional arg.
2007-09-20 22:38:15 +00:00
Stefan Monnier
c5911e5578 (get_terminal): Don't accept integers to represent terminals.
(Fterminal_name, Fterminal_parameters, Fterminal_parameter)
(Fset_terminal_parameter): Work with dead terminals as well.
(Fmodify_terminal_parameters): Remove.
2007-09-20 21:44:06 +00:00
Stefan Monnier
d30a25b306 (get_terminal): Handle terminals.
Make sure the terminal returned is live.
(create_terminal): Use allocate_terminal.
(mark_terminals): Move to alloc.c.
(delete_terminal): Use terminal->name as liveness status.
NULL out fields after freeing their contents.
Don't deallocate the object.
(Fframe_terminal): Use FRAME_TERMINAL.  Return the terminal object
rather than an int.
(Fterminal_live_p): Accept non-integer arguments.
(Fterminal_list): Return terminal objects rather than an ints.
2007-09-20 21:32:12 +00:00
Stefan Monnier
4a729fd84e (enum mem_type): New member for `terminal' objects.
(allocate_terminal): New function.
(mark_maybe_pointer, valid_lisp_object_p, mark_object): Handle terminals.
(mark_terminal): New fun.
(mark_terminals): Move from terminal.c.
2007-09-20 21:28:51 +00:00
Stefan Monnier
59a7bc630d (get_tty_terminal): Don't treat output_initial specially.
(Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints.
(delete_tty): Use terminal->name as liveness status.
2007-09-20 21:27:01 +00:00
Stefan Monnier
597cc809d4 (struct terminal): Make it into a pseudovector.
Remove `deleted' replaced by checking `name's nullness.
2007-09-20 21:26:01 +00:00
Stefan Monnier
f76c8b1ef3 (print_object): Handle terminals. 2007-09-20 21:24:47 +00:00
Stefan Monnier
49e49fb5dd (enum pvec_type): New `terminal' pseudovector.
(XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros.
2007-09-20 21:24:14 +00:00
Stefan Monnier
4e21384348 (make_terminal_frame): Use terminal->name as liveness status. 2007-09-20 21:21:27 +00:00
Stefan Monnier
bcc3646eaa (tty_read_avail_input): Use terminal->name as liveness status. 2007-09-20 21:21:08 +00:00
Stefan Monnier
adc5431652 (w32_delete_terminal): Use terminal->name as liveness status. 2007-09-20 21:19:13 +00:00
Stefan Monnier
89acb56d95 (x_delete_terminal): Use terminal->name as liveness status. 2007-09-20 21:18:47 +00:00
Glenn Morris
eba25e7c2c (Fmake_network_process): Doc fix. 2007-09-20 02:46:49 +00:00
Jason Rumney
2a29c3c1ae (w32_init_fringe, mac_init_fringe): Declare rif argument. 2007-09-19 20:50:40 +00:00
Michaël Cadilhac
ba1cbad789 (detect_eol_type, detect_eol_type_in_2_octet_form):
Fix a C warning regarding variable constness.
2007-09-19 10:02:43 +00:00
Michaël Cadilhac
44342f4b79 (handle_one_xevent): Fix a C warning. 2007-09-19 10:02:13 +00:00
Jason Rumney
334a1195ab (Fx_focus_frame): Rename from Fw32_focus_frame. 2007-09-18 22:15:06 +00:00
Jan Djärv
879ffad913 (gdpy_def): New variable.
(xg_initialize): Initialize gdpy_def.
(xg_display_close): If no other display exists, set gdpy_def to a
new connection.
2007-09-17 08:07:28 +00:00
Jan Djärv
45c94881d5 (xg_get_image_for_pixmap): Always create a GdkPixbuf
when we have no file name for the icon.
(xg_tool_bar_expose_callback): Remove.
(xg_create_tool_bar): Don't connect expose signal to
xg_tool_bar_expose_callback.
(xg_get_file_with_chooser): Move GCPRO1 after declarations.
2007-09-16 09:38:37 +00:00
Andreas Schwab
4d580af2d7 (reset_malloc_hooks): Set the hooks to the previous
values instead of zapping them.
2007-09-16 09:25:45 +00:00
Glenn Morris
aca946f32e (our_memory_fill_input_buffer) <buffer>: Move to file scope and rename
to omfib_buffer for clarity.
(gif_load) <interlace_start, interlace_increment>: Move to file scope.
2007-09-14 07:44:58 +00:00
Glenn Morris
1873795047 (xg_separator_p) <separator_names>: Move to file scope. 2007-09-14 07:36:26 +00:00