Kim F. Storm [Wed, 17 Sep 2003 21:32:35 +0000 (21:32 +0000)]
(Fnetwork_interface_list, Fnetwork_interface_info):
Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns.
(Fnetwork_interface_info): Check that ifreq struct has required
fields before accessing them; this requires that those fields are
defined as macros, which may be too restrictive on some platforms,
but it is better than failing on other platforms.
(syms_of_process): Only defsubr above fns when included.
Kim F. Storm [Tue, 16 Sep 2003 23:05:24 +0000 (23:05 +0000)]
(Fset_process_sentinel): Add sentinel to childp plist
for network process.
(socket_options): Add `:' prefix to option names. Add optbit field.
(set_socket_option): Remove no_error arg and special handling of s < 0.
Return 1<<optbit for known option, 0 for unknown.
Do not interpret 0 as false for boolean option (only nil).
Pass failed option and value to report_file_error.
(Fset_network_process_options): Replaced by Fset_network_process_option.
(Fset_network_process_option): New function to set just one option.
(Fmake_network_process): Allow :coding arg to be a cons.
Allow :server arg to be an integer specifying backlog size.
Remove :options arg, and allow options to be specified directly
as :KEY, VALUE pairs. Parse these options before binding socket.
As before, :reuseaddr t is default for a server process, but this
can now be disabled by specifying :reuseaddr nil.
(Fnetwork_interface_info): Rename from Fget_network_interface_info.
(init_process): Availability of network options is now checked with
simpler syntax (featurep 'make-network-process :OPTION); use loop to
setup features.
(syms_of_process): Fix defsubr's for the replaced functions.
(recentf-exclude): Accept predicates too.
(recentf-file-readable-p): New function.
(recentf-include-p): Handle predicates in recentf-exclude.
(recentf-add-file): Doc fix. Use recentf-file-readable-p.
(recentf-cleanup): Likewise.
(recentf-save-list): Use write-file to handle backup of recentf-save-file.
Stefan Monnier [Thu, 11 Sep 2003 23:52:41 +0000 (23:52 +0000)]
(VALBITS): Don't remove 1 for the markbit.
(union Lisp_Object): Use unsigned int for types. Remove markbit.
(MARKBIT): Remove 1 from VALBITS so we still use same old val.
(XTYPE): Use unsigned right-shift.
(XMARKBIT, XMARK, XUNMARK): Remove.
Alex Schroeder [Wed, 10 Sep 2003 19:51:01 +0000 (19:51 +0000)]
2003-09-10 Mario Lang <mlang@delysid.org>
Update Commentary and Copyright.
(battery-linux-proc-acpi): Fix a bug in %b which made "!" never
appear due to wrong ordering of the expressions in `or'.
Eli Zaretskii [Mon, 8 Sep 2003 19:01:57 +0000 (19:01 +0000)]
Ensure that recentf correctly update the menu bar:
(recentf-menu-path,recentf-menu-before): Doc fix.
(recentf-menu-bar): New function.
(recentf-clear-data): Use it
(recentf-update-menu): Likewise. Use easy-menu-add-item instead
of easy-menu-change.
Eli Zaretskii [Sat, 6 Sep 2003 19:28:08 +0000 (19:28 +0000)]
(battery-linux-proc-acpi): New function.
(battery-status-function): Modified default value calculation to also
check for availability of ACPI.
(battery-echo-area-format): Ditto.
(battery-mode-line-format): Ditto.
Nick Roberts [Thu, 4 Sep 2003 22:34:47 +0000 (22:34 +0000)]
(gud-display1): Use gud-call to prevent extra prompt
being displayed in GUD buffer.
(gdb-idle-input-queue): Remove var. Use just one queue.
(gdb-enqueue-idle-input,gdb-dequeue-idle-input): Remove
functions. Use just one queue.
(gdb-prompt, gdb-subprompt, def-gdb-auto-update-trigger)
(gdb-invalidate-assembler, gdb-get-current-frame): Modify
functions. Use just one queue.
Dave Love [Thu, 4 Sep 2003 16:59:00 +0000 (16:59 +0000)]
(cp-make-translation-table)
(cp-valid-codes): Made defsubsts.
(cp-fix-safe-chars): Deleted.
(mule-diag): Don't require.
(windows-1251, windows-1252): Removed to cyrillic.el/european.el.
(top-level): Check for defined coding system when defining
cp... aliases. Change w32-add-charset-info test to avoid warning.
(non-iso-charset-alist): Defvar when compiling.
(cp-make-coding-system): Doc fix.