1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
Commit graph

23675 commits

Author SHA1 Message Date
Miles Bader
e5e76c0431 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-943
2007-12-06 00:46:18 +00:00
Michael Albinus
96faeb40c2 * dbusbind.c (xd_read_message): Return value is a Lisp_Object.
Move check for Vdbus_registered_functions_table to
xd_read_queued_messages.
(xd_read_queued_messages): Protect xd_read_message calls by
internal_condition_case_1.
2007-12-05 21:53:40 +00:00
Miles Bader
79f10da0c3 Add arch tagline 2007-12-04 22:41:47 +00:00
Michael Albinus
39abdd4a8a * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Renamed from
Qdbus_system_bus and Qdbus_session_bus, respectively.
(Vdbus_intern_symbols): Removed.
(Vdbus_registered_functions_table): New hash table.
(XD_SYMBOL_INTERN_SYMBOL): Removed.
(xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
Rewritten in order to manage registered functions by hash table
Vdbus_registered_functions_table.
2007-12-04 21:29:40 +00:00
Glenn Morris
07562bde72 Regenerate. 2007-12-04 07:18:27 +00:00
Jan Djärv
7ba3065747 Update URL to Window Manager Specification in comment. 2007-12-03 09:35:19 +00:00
Richard M. Stallman
0277bfa1a4 (make_process): Initialize pty_flag to 0. 2007-12-03 00:41:15 +00:00
Michael Albinus
033b73e2e0 * config.in (HAVE_DBUS): Add.
* Makefile.in: (HAVE_DBUS): Add D-Bus definitions if defined.
(ALL_CFLAGS): Add ${DBUS_CFLAGS}.
(obj): Add $(DBUS_OBJ).
(LIBES): Add $(DBUS_LIBS).
(dbusbind.o): New target.

* dbusbind.c: New file.

* emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.

* keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
(Qdbus_event) New Lisp symbol.
(kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
(gobble_input): Call xd_read_queued_messages, reading D-Bus
messages.
(keys_of_keyboard ): Define dbus-event.

* termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
2007-12-02 16:23:40 +00:00
Jason Rumney
44b1dc2e97 (xbm_load) [WINDOWSNT]: Shuffle the bits of directly specified XBMs. 2007-12-02 16:18:47 +00:00
Richard M. Stallman
d0f44b7145 (syms_of_xdisp) <scroll-conservatively>: Doc fix. 2007-12-01 22:44:08 +00:00
Jason Rumney
30b7f3e6d0 (w32_face_attributes): Comment previous change. 2007-12-01 15:57:41 +00:00
Jason Rumney
f1e8dcf11a *** empty log message *** 2007-12-01 15:15:47 +00:00
Richard M. Stallman
39d0bf7466 (syms_of_search) <inhibit-changing-match-data>: Doc fix. 2007-12-01 06:59:12 +00:00
Jason Rumney
f442d34883 (w32_face_attributes): Don't use color indexes that are out of range.
Only reverse the default colors.
2007-11-30 17:15:46 +00:00
Jason Rumney
f3157c6585 (vga_stdcolor_name): Remove. 2007-11-30 13:57:57 +00:00
Jason Rumney
09320d303e (w32con_ins_del_lines, scroll_line): Clip to window.
(w32con_reset_terminal_modes): Clear screen buffer.
(vga_stdcolor_name): Remove.
2007-11-30 13:57:21 +00:00
Jason Rumney
8d05ec5127 (map_tty_color, tty_color_name): Remove special case for WINDOWSNT. 2007-11-30 13:56:27 +00:00
YAMAMOTO Mitsuharu
959116ef2c (emacs_close) [MAC_OSX && HAVE_CARBON]:
Use mac_try_close_socket.
2007-11-30 08:20:08 +00:00
YAMAMOTO Mitsuharu
6bfb1e350d (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]:
New variable.
(mac_try_close_socket) [MAC_OSX]: New function.
[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]:
Update cfsockets_for_select.  Replace invalid CFRunLoop source.
2007-11-30 08:19:36 +00:00
Jason Rumney
b510360c6b Leave HAVE_WINDOW_SYSTEM defined.
(w32_face_attributes): Use Vtty_defined_color_alist to determine
if the terminal colors are initialized.
(unspecified_fg, unspecified_bg): Remove unused declarations.
2007-11-29 21:57:25 +00:00
Andreas Schwab
4b7ab1c4bc (apply_modifiers): Fix typo. 2007-11-29 11:49:23 +00:00
Richard M. Stallman
4bb6c266e4 (Fcurrent_local_map): Doc fix. 2007-11-29 01:08:57 +00:00
Glenn Morris
9485484afb Petr Salinger <Petr.Salinger at seznam.cz>: New file. 2007-11-28 08:16:55 +00:00
Glenn Morris
aa44cd8453 Petr Salinger <Petr.Salinger at seznam.cz>: New file. 2007-11-28 08:16:41 +00:00
Stefan Monnier
cc648cef36 (Fget_buffer_create, Fmake_indirect_buffer): Don't cast redundantly. 2007-11-28 04:46:22 +00:00
Stefan Monnier
21ec2c4365 (KEY_TO_CHAR): New macro.
(parse_modifiers, apply_modifiers): Accept integer arguments.
(read_key_sequence): Use them to unify the "shift->unshift" mapping
for chars and symbol keys.
After doing such remapping, apply function-key-map again.
2007-11-28 04:45:32 +00:00
YAMAMOTO Mitsuharu
7aee2da725 (unrelocate): New argument BASE. Use it instead of
reloc_base.
(copy_dysymtab): Compute relocation base here.
(rebase_reloc_address) [__ppc64__]: New function.
(copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be
changed.
2007-11-27 08:30:34 +00:00
Dan Nicolaescu
73e72da43b * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
byte compiler.
(cperl-mode): Use with-no-warnings for setting vc-header-alist.

* progmodes/idlwave.el (idlwave-shell-get-path-info)
(idlwave-shell-temp-file, idlwave-shell-is-running)
(widget-value, comint-dynamic-complete-filename, Info-goto-node):
* progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion)
(idlwave-all-method-classes, idlwave-all-method-keyword-classes)
(idlwave-beginning-of-statement, idlwave-best-rinfo-assoc)
(idlwave-class-found-in, idlwave-class-or-superclass-with-tag)
(idlwave-completing-read, idlwave-current-routine)
(idlwave-downcase-safe, idlwave-entry-find-keyword)
(idlwave-expand-keyword, idlwave-find-class-definition)
(idlwave-find-inherited-class, idlwave-find-struct-tag)
(idlwave-get-buffer-visiting, idlwave-in-quote)
(idlwave-make-full-name, idlwave-members-only)
(idlwave-popup-select, idlwave-routine-source-file)
(idlwave-routines, idlwave-sintern-class)
(idlwave-sintern-keyword, idlwave-sintern-method)
(idlwave-sintern-routine-or-method)
(idlwave-substitute-link-target, idlwave-sys-dir)
(idlwave-this-word, idlwave-what-module-find-class)
(idlwave-where):
* progmodes/idlw-complete-structtag.el (idlwave-shell-buffer):
* mail/uce.el (rmail-msg-is-pruned)
(rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend)
(rmail-toggle-header):
* mail/sendmail.el (dired-view-file, dired-get-filename):
* mail/rmailkwd.el (rmail-maybe-set-message-counters)
(rmail-display-labels, rmail-msgbeg)
(rmail-set-message-deleted-p, rmail-message-labels-p)
(rmail-show-message, mail-comma-list-regexp)
(mail-parse-comma-list):
* mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg)
(rmail-summary-mark-undeleted, rmail-summary-mark-deleted)
(rfc822-addresses, mail-abbrev-make-syntax-table)
(mail-sendmail-delimit-header, mail-header-end):
* mail/hashcash.el (message-narrow-to-headers-or-head)
(message-fetch-field, message-goto-eoh)
(message-narrow-to-headers):
* vc.el (view-mode-exit): Declare as functions.

* mail/vms-pmail.el:
* vmsproc.el:
* vms-patch.el: Don't byte compile these files, they don't work.

* Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not
compiled anymore.
2007-11-27 06:57:07 +00:00
Jason Rumney
0a7a6051a9 (sys_spawnve): Quote args with wildcards. 2007-11-26 23:04:09 +00:00
Andreas Schwab
dd9b000442 (list_processes_1): Fix indentation level of the
command column.
2007-11-26 09:57:22 +00:00
Andreas Schwab
d3c0009d30 (list_processes_1): Fix indentation level of the
command column.
2007-11-26 09:56:47 +00:00
Andreas Schwab
254693ff3d *** empty log message *** 2007-11-26 09:56:30 +00:00
YAMAMOTO Mitsuharu
b2411edf93 (copy_data_segment): Also copy __gcc_except_tab and __objc_* sections.
(unrelocate) [_LP64]: Set relocation base to address of data segment.
2007-11-24 08:51:24 +00:00
Andreas Schwab
ff6e6ac839 (Fformat): Handle %c specially since it requires the
argument to be of type int.
2007-11-23 13:27:46 +00:00
Andreas Schwab
89df6fc6bd (Fformat): Handle %c specially since it requires the
argument to be of type int.
2007-11-23 13:27:34 +00:00
Stefan Monnier
f7cf8b2009 (main): Call init_editfns before init_process, since
init_process sets Vprocess_connection_type depending on OS release
2007-11-23 04:17:56 +00:00
Stefan Monnier
8787dd7335 (do_symval_forwarding): Use same code as in find_symbol_value.
(find_symbol_value): Use do_symval_forwarding.
2007-11-22 20:29:48 +00:00
Stefan Monnier
569c11e306 (set_internal): Set the value in the `cons-cell' (for
Buffer_Local_values) not only for frame-local variables.
2007-11-22 19:48:57 +00:00
Andreas Schwab
6af1696d06 (print_object): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:16:09 +00:00
Andreas Schwab
959e1b49b1 (Fsingle_key_description): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:44 +00:00
Andreas Schwab
dfa3bb7a61 (Fnumber_to_string): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:24 +00:00
Jan Djärv
1fbf538610 (update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
2007-11-22 08:40:20 +00:00
Jan Djärv
d4ad8c0488 (update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
2007-11-22 08:35:57 +00:00
Dan Nicolaescu
7c401d155d * term.c: Include stdarg.h.
(fatal): Implement using varargs.
* lisp.h (fatal): Add argument types. (Restore 2005-09-30 change).
2007-11-22 01:01:26 +00:00
Stefan Monnier
64e16c3c22 * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.
* data.c (store_symval_forwarding): Get type from buffer_objfwd.
Update call to buffer_slot_type_mismatch.
* buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
(buffer_slot_type_mismatch): Update.
* buffer.c (buffer_local_types): Remove.
(buffer_slot_type_mismatch): Get the symbol and type as arguments.
(defvar_per_buffer): Set the type in the buffer_objfwd.
2007-11-21 20:59:47 +00:00
Miles Bader
d4aa48db8e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Jason Rumney
6152361fcb (init_display) [WINDOWSNT]: Hardcode terminal_type. 2007-11-21 03:46:31 +00:00
Jason Rumney
bdae054022 (w32con_write_glyphs): Remove unused variables. 2007-11-21 03:46:15 +00:00
Dan Nicolaescu
b951420f70 (mac_term_init): Call add_keyboard_wait_descriptor. 2007-11-20 18:14:19 +00:00
Dan Nicolaescu
202c09a889 * term/mac-win.el (x-setup-function-keys): Only setup
local-function-key-map if it has not been setup already for the
current frame. Move the suspend-emacs processing here.

* s/darwin.h (MULTI_KBOARD): Remove.

* macfns.c (x_create_tip_frame, Fx_create_frame)
(x_create_tip_frame): Don't deal with MULTI_KBOARD.
2007-11-20 17:58:52 +00:00