]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years ago* frame.c (validate_x_resource_name): Simplify count usage.
Paul Eggert [Mon, 21 Mar 2011 18:12:38 +0000 (11:12 -0700)]
* frame.c (validate_x_resource_name): Simplify count usage.

This also avoids a warning with gcc -Wstrict-overflow.

13 years agoBetter version of previous patch.
Paul Eggert [Mon, 21 Mar 2011 18:11:03 +0000 (11:11 -0700)]
Better version of previous patch.

13 years ago* frame.c (Fmodify_frame_parameters): Simplify loop counter.
Paul Eggert [Mon, 21 Mar 2011 18:09:45 +0000 (11:09 -0700)]
* frame.c (Fmodify_frame_parameters): Simplify loop counter.

This also avoids a warning with gcc -Wstrict-overflow.

13 years ago* ebrowse.c: Use size_t, not int, for sizes.
Paul Eggert [Mon, 21 Mar 2011 18:03:15 +0000 (11:03 -0700)]
* ebrowse.c: Use size_t, not int, for sizes.

This avoids a warning with gcc -Wstrict-overflow, and works
better for very large objects.
(inbuffer_size): Now size_t.  All uses changed.
(xmalloc, xrealloc, operator_name, process_file): Use size_t for
sizes.  Don't bother testing whether a size_t value can be negative.

13 years ago* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
Paul Eggert [Mon, 21 Mar 2011 16:41:03 +0000 (09:41 -0700)]
* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.

13 years agoetags: In Prolog functions, don't assume int fits in size_t.
Paul Eggert [Mon, 21 Mar 2011 16:40:05 +0000 (09:40 -0700)]
etags: In Prolog functions, don't assume int fits in size_t.

This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
not int, to store sizes.
(prolog_atom): Return 0, not -1, on error.  All callers changed.

13 years agoMerge from gnulib.
Paul Eggert [Mon, 21 Mar 2011 16:26:05 +0000 (09:26 -0700)]
Merge from gnulib.

13 years agoAdd Bug#.
Paul Eggert [Mon, 21 Mar 2011 16:22:16 +0000 (09:22 -0700)]
Add Bug#.

13 years agoupdate-game-score: fix bug with -r
Paul Eggert [Mon, 21 Mar 2011 07:46:53 +0000 (00:46 -0700)]
update-game-score: fix bug with -r

* update-game-score.c (main): Don't set 'scores' to garbage when
-r is specified and scorecount != MAX_SCORES.  This bug was
introduced in the 2002-04-10 change, and was found with gcc
-Wstrict-overflow (GCC 4.5.2, x86-64).

13 years agoAdd Bug#.
Paul Eggert [Mon, 21 Mar 2011 05:50:24 +0000 (22:50 -0700)]
Add Bug#.

13 years agoMerge from trunk and from gnulib stdio.
Paul Eggert [Mon, 21 Mar 2011 05:34:48 +0000 (22:34 -0700)]
Merge from trunk and from gnulib stdio.

13 years agoAutogenerate.
Paul Eggert [Mon, 21 Mar 2011 05:06:47 +0000 (22:06 -0700)]
Autogenerate.

13 years ago* .bzrignore: Add lib/stdio.h.
Paul Eggert [Mon, 21 Mar 2011 05:05:49 +0000 (22:05 -0700)]
* .bzrignore: Add lib/stdio.h.

13 years ago[ChangeLog]
Paul Eggert [Mon, 21 Mar 2011 05:04:41 +0000 (22:04 -0700)]
[ChangeLog]

fakemail: Remove dependency on ignore-value.
* Makefile.in (GNULIB_MODULES): Add stdio.
* lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
imported from gnulib.
[lib-src/ChangeLog]
fakemail: Remove dependency on ignore-value.
This undoes some of the recent fakemail-related changes.
It is made possible due to recent changes to gnulib's stdio module.
* Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
* fakemail.c: Do not include ignore-value.h.
(put_line): Do not use ignore_value.

13 years ago* fileio.c (Fcopy_file): Report error if fchown or fchmod fail.
Paul Eggert [Mon, 21 Mar 2011 02:40:27 +0000 (19:40 -0700)]
* fileio.c (Fcopy_file): Report error if fchown or fchmod fail.

13 years agoFix typo in a README.
Glenn Morris [Mon, 21 Mar 2011 00:28:18 +0000 (17:28 -0700)]
Fix typo in a README.

13 years agoFix date of merged entry.
Glenn Morris [Mon, 21 Mar 2011 00:20:24 +0000 (17:20 -0700)]
Fix date of merged entry.

13 years ago* autogen/update_autogen: Make bzr commit respect -q option.
Glenn Morris [Mon, 21 Mar 2011 00:08:01 +0000 (17:08 -0700)]
* autogen/update_autogen: Make bzr commit respect -q option.

13 years agoAuto-commit of generated files.
Glenn Morris [Mon, 21 Mar 2011 00:03:58 +0000 (20:03 -0400)]
Auto-commit of generated files.

13 years ago(Re)move autotools generated files from the repository.
Glenn Morris [Sun, 20 Mar 2011 23:58:23 +0000 (16:58 -0700)]
(Re)move autotools generated files from the repository.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html

* autogen/: New directory, to be excluded from releases.
* autogen/copy_autogen, autogen/update_autogen: New scripts.
* autogen/README: New file.
* autogen/aclocal.m4, autogen/config.in, autogen/configure:
* autogen/Makefile.in: Add auto-updated generated files.

* autogen.sh: No longer a no-op, now it tests for autotools
and runs them as necessary.

* configure.in: Defaule maintainer-mode to on.

* aclocal.m4, configure, lib/Makefile.in: Remove files.

* src/config.in: Remove file.

* INSTALL.BZR, admin/make-tarball.txt: Update instructions.

13 years agoAdd Bug#.
Paul Eggert [Sun, 20 Mar 2011 23:56:23 +0000 (16:56 -0700)]
Add Bug#.

13 years ago* emacs.c (Fdaemon_initialized): Do not ignore I/O errors.
Paul Eggert [Sun, 20 Mar 2011 21:03:44 +0000 (14:03 -0700)]
* emacs.c (Fdaemon_initialized): Do not ignore I/O errors.

13 years ago* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
Jay Belanger [Sun, 20 Mar 2011 20:59:29 +0000 (15:59 -0500)]
* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
  units and musical notes.

13 years agoMerge: Use socklen_t, not int, for socket lengths.
Paul Eggert [Sun, 20 Mar 2011 16:55:33 +0000 (09:55 -0700)]
Merge: Use socklen_t, not int, for socket lengths.

13 years agoMerge from gnulib, for socklen_t.
Paul Eggert [Sun, 20 Mar 2011 16:28:22 +0000 (09:28 -0700)]
Merge from gnulib, for socklen_t.

13 years agosrc/minibuf.c: Fix previous change.
Juanma Barranquero [Sun, 20 Mar 2011 13:57:22 +0000 (14:57 +0100)]
src/minibuf.c: Fix previous change.

* minibuf.c (Vcompleting_read_function): Don't declare, global variables
  are now in src/globals.h.
  (syms_of_minibuf): Remove spurious & from previous change.

13 years agoNew variable completing-read-function to customize completing-read
Leo Liu [Sun, 20 Mar 2011 10:35:27 +0000 (18:35 +0800)]
New variable completing-read-function to customize completing-read

13 years ago* emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
Christian Ohler [Sun, 20 Mar 2011 10:17:10 +0000 (21:17 +1100)]
* emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
(ert-delete-all-tests): Use `called-interactively-p' rather than
`interactive-p'.
(ert--make-xrefs-region): Respect END.

13 years agoAdd Bug#8298.
Paul Eggert [Sun, 20 Mar 2011 05:15:59 +0000 (22:15 -0700)]
Add Bug#8298.

13 years ago* process.c (create_process): Use 'volatile' to avoid vfork clobbering.
Paul Eggert [Sun, 20 Mar 2011 03:07:54 +0000 (20:07 -0700)]
* process.c (create_process): Use 'volatile' to avoid vfork clobbering.

13 years ago* process.c (FIRST_PROC_DESC, IF_NON_BLOCKING_CONNECT): Remove unused macros.
Paul Eggert [Sun, 20 Mar 2011 02:48:50 +0000 (19:48 -0700)]
* process.c (FIRST_PROC_DESC, IF_NON_BLOCKING_CONNECT): Remove unused macros.

13 years ago* process.c (process_send_signal): Add cast to avoid pointer signedness problem.
Paul Eggert [Sun, 20 Mar 2011 02:45:19 +0000 (19:45 -0700)]
* process.c (process_send_signal): Add cast to avoid pointer signedness problem.

13 years ago* process.c (Fnetwork_interface_info): Fix pointer signedness.
Paul Eggert [Sun, 20 Mar 2011 02:42:34 +0000 (19:42 -0700)]
* process.c (Fnetwork_interface_info): Fix pointer signedness.

13 years ago* process.c (Fmake_network_process): Define label "retry_connect" only if needed.
Paul Eggert [Sun, 20 Mar 2011 02:41:23 +0000 (19:41 -0700)]
* process.c (Fmake_network_process): Define label "retry_connect" only if needed.

13 years ago* process.c: Rename or move locals to avoid shadowing.
Paul Eggert [Sun, 20 Mar 2011 02:40:14 +0000 (19:40 -0700)]
* process.c: Rename or move locals to avoid shadowing.

(list_processes_1, Fmake_network_process):
(read_process_output_error_handler, exec_sentinel_error_handler):
Rename or move locals.

13 years agoMake tparam.h and terminfo.c consistent.
Paul Eggert [Sat, 19 Mar 2011 22:46:50 +0000 (15:46 -0700)]
Make tparam.h and terminfo.c consistent.

* cm.c (tputs, tgoto, BC, UP): Remove extern decls.  Include
tparam.h instead, since it declares them.
* cm.h (PC): Remove extern decl; tparam.h now does this.
* deps.mk (cm.o, terminfo.o): Depend on tparam.h.
* terminfo.c: Include tparam.h, to check interfaces.
(tparm): Make 1st arg a const pointer in decl.  Put it at top level.
(tparam): Adjust signature to match interface in tparam.h;
this removes some undefined behavior.  Check that outstring and len
are zero, which they always are with Emacs.
* tparam.h (PC, BC, UP): New extern decls.

13 years agoAdd error for dired-create-directory on existing file (Bug#8246).
Chong Yidong [Sat, 19 Mar 2011 22:07:41 +0000 (18:07 -0400)]
Add error for dired-create-directory on existing file (Bug#8246).

* lisp/dired-aux.el (dired-create-directory): Signal an error if the
directory already exists.

13 years agoFix facemenu to populate buffer inside the with-help-window call.
Chong Yidong [Sat, 19 Mar 2011 21:37:21 +0000 (17:37 -0400)]
Fix facemenu to populate buffer inside the with-help-window call.
See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01193.html

* facemenu.el (list-colors-display): Call list-faces-display from
inside with-help-window.
(list-colors-print): Use display property to align the final
column, instead of checking window-width.

13 years agoMerge changes from emacs-23 branch
Chong Yidong [Sat, 19 Mar 2011 18:49:31 +0000 (14:49 -0400)]
Merge changes from emacs-23 branch

13 years agoFix tar package handling, and clean up package-subdirectory-regexp usage.
Chong Yidong [Sat, 19 Mar 2011 18:27:55 +0000 (14:27 -0400)]
Fix tar package handling, and clean up package-subdirectory-regexp usage.

* lisp/startup.el (package-subdirectory-regexp): Move from package.el.
Omit \\` and \\', and let callers add them.

* lisp/emacs-lisp/package.el (package-strip-version)
(package-load-all-descriptors): Add \\` and \\' to
package-subdirectory-regexp before using it.
(package-untar-buffer): New arg DIR; ensure that file untars only
into this expected directory.  Remove superfluous delete-region.
(package-unpack): Caller changed.
(package-tar-file-info): Use package-subdirectory-regexp.

13 years agoBackport fix for Bug#8219 from trunk.
Chong Yidong [Sat, 19 Mar 2011 16:42:53 +0000 (12:42 -0400)]
Backport fix for Bug#8219 from trunk.

* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
(BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219).
These macros can no longer be used for assignment.

* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign
struct members directly, instead of using BUF_BEGV etc.
(record_buffer_markers, fetch_buffer_markers): New functions for
recording and fetching special buffer markers.
(set_buffer_internal_1, set_buffer_temp): Use them.

* lread.c (unreadchar): Use SET_BUF_PT_BOTH.

* insdel.c (adjust_point): Use SET_BUF_PT_BOTH.

* intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH.
(get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH.

* xdisp.c (hscroll_window_tree):
(reconsider_clip_changes): Use PT instead of BUF_PT.

13 years agoFix emerge.el on MS-Windows and MS-DOS.
Eli Zaretskii [Sat, 19 Mar 2011 09:30:56 +0000 (11:30 +0200)]
Fix emerge.el on MS-Windows and MS-DOS.

 lisp/emerge.el (emerge-metachars): Separate value for ms-dos and
 windows-nt systems.
 (emerge-protect-metachars): Quote correctly for ms-dos and
 windows-nt systems.

13 years ago* xftfont.c (xftfont_open): Rename locals to avoid shadowing.
Paul Eggert [Sat, 19 Mar 2011 05:07:42 +0000 (22:07 -0700)]
* xftfont.c (xftfont_open): Rename locals to avoid shadowing.

13 years ago* xftfont.c (xftfont_shape): Now static, and defined only if needed.
Paul Eggert [Sat, 19 Mar 2011 05:05:19 +0000 (22:05 -0700)]
* xftfont.c (xftfont_shape): Now static, and defined only if needed.

13 years ago* ftfont.c: (get_adstyle_property, ftfont_pattern_entity):
Paul Eggert [Sat, 19 Mar 2011 05:03:30 +0000 (22:03 -0700)]
* ftfont.c: (get_adstyle_property, ftfont_pattern_entity):

(ftfont_lookup_cache, ftfont_open, ftfont_anchor_point):
Rename locals to avoid shadowing.

13 years ago* ftfont.c (ftfont_list): Remove unused local.
Paul Eggert [Sat, 19 Mar 2011 04:57:02 +0000 (21:57 -0700)]
* ftfont.c (ftfont_list): Remove unused local.

13 years ago* ftfont.c (ftfont_otf_capability, ftfont_shape): Omit decls if not needed.
Paul Eggert [Sat, 19 Mar 2011 04:56:15 +0000 (21:56 -0700)]
* ftfont.c (ftfont_otf_capability, ftfont_shape): Omit decls if not needed.

(OTF_TAG_SYM): Omit macro if not needed.

13 years agoFix typos.
Juanma Barranquero [Sat, 19 Mar 2011 03:58:45 +0000 (04:58 +0100)]
Fix typos.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Sat, 19 Mar 2011 03:22:14 +0000 (04:22 +0100)]
src/makefile.w32-in: Update dependencies.

13 years ago* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
Paul Eggert [Sat, 19 Mar 2011 02:49:10 +0000 (19:49 -0700)]
* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.

13 years ago* xfont.c (xfont_list_family): Mark var as initialized.
Paul Eggert [Sat, 19 Mar 2011 02:45:11 +0000 (19:45 -0700)]
* xfont.c (xfont_list_family): Mark var as initialized.

13 years ago* xml.c (make_dom): Now static.
Paul Eggert [Sat, 19 Mar 2011 02:43:47 +0000 (19:43 -0700)]
* xml.c (make_dom): Now static.

13 years agoAdd Bug#.
Paul Eggert [Sat, 19 Mar 2011 02:42:49 +0000 (19:42 -0700)]
Add Bug#.

13 years ago* composite.c (find_automatic_composition): Mark vars as initialized, with a FIXME.
Paul Eggert [Sat, 19 Mar 2011 01:02:49 +0000 (18:02 -0700)]
* composite.c (find_automatic_composition): Mark vars as initialized, with a FIXME.

13 years ago* composite.c (composition_update_it): Mark var as initialized.
Paul Eggert [Sat, 19 Mar 2011 00:58:10 +0000 (17:58 -0700)]
* composite.c (composition_update_it): Mark var as initialized.

13 years agognus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
Julien Danjou [Sat, 19 Mar 2011 00:48:04 +0000 (00:48 +0000)]
gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
 (gnus-buffer-live-p): Check that buffer is not nil.

13 years ago* composite.c (composition_reseat_it): Remove unused locals.
Paul Eggert [Sat, 19 Mar 2011 00:18:31 +0000 (17:18 -0700)]
* composite.c (composition_reseat_it): Remove unused locals.

(find_automatic_composition, composition_adjust_point): Likewise.

13 years ago* composite.c (composition_compute_stop_pos): Rename local to
Paul Eggert [Sat, 19 Mar 2011 00:16:45 +0000 (17:16 -0700)]
* composite.c (composition_compute_stop_pos): Rename local to

avoid shadowing.

13 years agocharacter.h: Rename locals to avoid shadowing.
Paul Eggert [Sat, 19 Mar 2011 00:12:53 +0000 (17:12 -0700)]
character.h: Rename locals to avoid shadowing.

* character.h (PREV_CHAR_BOUNDARY, FETCH_STRING_CHAR_ADVANCE):
(FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE, FETCH_CHAR_ADVANCE):
(FETCH_CHAR_ADVANCE_NO_CHECK, INC_POS, DEC_POS, BUF_INC_POS):
(BUF_DEC_POS): Be more systematic about renaming local temporaries
to avoid shadowing.

13 years ago* vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
Stefan Monnier [Fri, 18 Mar 2011 19:52:05 +0000 (15:52 -0400)]
* vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
diff-mode-shared-map.
(diff-mode-shared-map): Re-introduce some bindings that were problematic.

Fixes: debbugs:8284
13 years ago* textprop.c (property_change_between_p): Remove; unused.
Paul Eggert [Fri, 18 Mar 2011 16:42:05 +0000 (09:42 -0700)]
* textprop.c (property_change_between_p): Remove; unused.

13 years ago* intervals.c (interval_start_pos): Now static.
Paul Eggert [Fri, 18 Mar 2011 16:40:17 +0000 (09:40 -0700)]
* intervals.c (interval_start_pos): Now static.

13 years ago* intervals.h (CHECK_TOTAL_LENGTH): Avoid empty "else".
Paul Eggert [Fri, 18 Mar 2011 16:39:15 +0000 (09:39 -0700)]
* intervals.h (CHECK_TOTAL_LENGTH): Avoid empty "else".

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Fri, 18 Mar 2011 13:45:04 +0000 (13:45 +0000)]
Merge changes made in Gnus trunk.

message.texi (Various Commands): Document format specs in the ellipsis.
time-date.el (format-seconds): Use assoc instead of assoc-string to avoid warning on XEmacs.
gnus-art.el: Require mouse, which the build bot seems to say is needed.
gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously.
time-date.el (format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist in XEmacs.
gnus-group.el (gnus-group-list-ticked): New function.
 (gnus-group-make-menu-bar): Provide a menu entry for it.
 (gnus-group-list-map): Provide a binding for it.
shr.el (shr-visit-file): New command.
nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable servers.

13 years agoAdd Bug#.
Paul Eggert [Fri, 18 Mar 2011 07:27:01 +0000 (00:27 -0700)]
Add Bug#.

13 years ago* atimer.c (start_atimer, append_atimer_lists, set_alarm): Rename
Paul Eggert [Fri, 18 Mar 2011 06:48:05 +0000 (23:48 -0700)]
* atimer.c (start_atimer, append_atimer_lists, set_alarm): Rename

locals to avoid shadowing.

13 years ago* sound.c (wav_play): Initialize a variable to 0, to prevent undefined behavior.
Paul Eggert [Fri, 18 Mar 2011 06:42:43 +0000 (23:42 -0700)]
* sound.c (wav_play): Initialize a variable to 0, to prevent undefined behavior.

13 years ago* sound.c (alsa_choose_format): Remove unused local var.
Paul Eggert [Fri, 18 Mar 2011 06:28:04 +0000 (23:28 -0700)]
* sound.c (alsa_choose_format): Remove unused local var.

13 years ago* sound.c (wav_play, au_play, Fplay_sound_internal):
Paul Eggert [Fri, 18 Mar 2011 06:27:08 +0000 (23:27 -0700)]
* sound.c (wav_play, au_play, Fplay_sound_internal):

Fix pointer signedness.

13 years ago* region-cache.c (insert_cache_boundary): Redo var to avoid shadowing.
Paul Eggert [Fri, 18 Mar 2011 06:25:25 +0000 (23:25 -0700)]
* region-cache.c (insert_cache_boundary): Redo var to avoid shadowing.

13 years ago* region-cache.h (pp_cache): New decl, for gcc -Wmissing-prototypes.
Paul Eggert [Fri, 18 Mar 2011 06:22:42 +0000 (23:22 -0700)]
* region-cache.h (pp_cache): New decl, for gcc -Wmissing-prototypes.

13 years ago* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.
Paul Eggert [Fri, 18 Mar 2011 05:56:46 +0000 (22:56 -0700)]
* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.

13 years agoBetter fix for volatile issue.
Paul Eggert [Fri, 18 Mar 2011 05:50:40 +0000 (22:50 -0700)]
Better fix for volatile issue.

13 years agoAdd Bug#.
Paul Eggert [Fri, 18 Mar 2011 05:09:58 +0000 (22:09 -0700)]
Add Bug#.

13 years ago* sysdep.c (sys_subshell): Use 'volatile' to avoid vfork clobbering.
Paul Eggert [Fri, 18 Mar 2011 05:06:34 +0000 (22:06 -0700)]
* sysdep.c (sys_subshell): Use 'volatile' to avoid vfork clobbering.

Before, this 'volatile' was incorrectly IF_LINTted out.

13 years ago* lisp.h (child_setup): Now NO_RETURN unless DOS_NT.
Paul Eggert [Fri, 18 Mar 2011 04:58:44 +0000 (21:58 -0700)]
* lisp.h (child_setup): Now NO_RETURN unless DOS_NT.

This should get cleaned up, so that child_setup has the
same signature on all platforms.

13 years ago* callproc.c (relocate_fd): Rename locals to avoid shadowing.
Paul Eggert [Fri, 18 Mar 2011 04:45:18 +0000 (21:45 -0700)]
* callproc.c (relocate_fd): Rename locals to avoid shadowing.

13 years ago* callproc.c (call_process_cleanup): Now static.
Paul Eggert [Fri, 18 Mar 2011 04:43:32 +0000 (21:43 -0700)]
* callproc.c (call_process_cleanup): Now static.

13 years agoprocess.c: Use socklen_t, not int, for socket lengths.
Paul Eggert [Fri, 18 Mar 2011 03:30:24 +0000 (20:30 -0700)]
process.c: Use socklen_t, not int, for socket lengths.

13 years agoRestore failure returns to unexaix.c, unexcoff.c, unexcw.c
Paul Eggert [Thu, 17 Mar 2011 20:18:59 +0000 (13:18 -0700)]
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c

13 years agoUpdate MS-Windows dependencies after 2011-03-17T18:41:30Z!eggert@cs.ucla.edu.
Eli Zaretskii [Thu, 17 Mar 2011 19:55:40 +0000 (21:55 +0200)]
Update MS-Windows dependencies after 2011-03-17T18:41:30Z!eggert@cs.ucla.edu.

 src/makefile.w32-in ($(BLD)/unexw32.$(O)): Depend on $(SRC)/unexec.h.

13 years agoChange unexec implementations to match prototype.
Paul Eggert [Thu, 17 Mar 2011 18:41:30 +0000 (11:41 -0700)]
Change unexec implementations to match prototype.

13 years agoMerge: Fix more problems found by GCC 4.5.2's static checks.
Paul Eggert [Thu, 17 Mar 2011 16:51:42 +0000 (09:51 -0700)]
Merge: Fix more problems found by GCC 4.5.2's static checks.

13 years agoMerge from mainline.
Paul Eggert [Thu, 17 Mar 2011 16:32:03 +0000 (09:32 -0700)]
Merge from mainline.

13 years agosrc/xfaces.c (Fx_load_color_file): Read color file from absolute filename.
Juanma Barranquero [Thu, 17 Mar 2011 15:44:02 +0000 (16:44 +0100)]
src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.

Fixes: debbugs:8250
13 years agomm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline.
Julien Danjou [Thu, 17 Mar 2011 11:30:27 +0000 (11:30 +0000)]
mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline.
gnus-art.el (article-hide-list-identifiers): Use gnus-group-get-list-identifiers.
* gnus-sum.el (gnus-group-get-list-identifiers): New function.
 (gnus-summary-remove-list-identifiers): Use gnus-group-get-list-identifiers to get regexp.
 (gnus-select-newsgroup, gnus-summary-insert-subject, gnus-summary-insert-articles): Call gnus-summary-remove-list-identifiers unconditionally.

13 years ago* process.c (make_serial_process_unwind, send_process_trap):
Paul Eggert [Thu, 17 Mar 2011 05:18:33 +0000 (22:18 -0700)]
* process.c (make_serial_process_unwind, send_process_trap):

(sigchld_handler): Now static.

13 years ago* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
Paul Eggert [Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)]
* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.

That way, the code declares only the vars that it needs.
* s/aix4-2.h (PTY_ITERATION): Declare iteration vars.
* s/cygwin.h (PTY_ITERATION): Likewise.
* s/darwin.h (PTY_ITERATION): Likewise.
* s/gnu-linux.h (PTY_ITERATION): Likewise.

13 years ago* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.
Paul Eggert [Thu, 17 Mar 2011 02:36:27 +0000 (19:36 -0700)]
* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.

* process.c (allocate_pty): Don't declare stb unless it's needed.

13 years agolisp/custom.el: Trivial fixes.
Juanma Barranquero [Thu, 17 Mar 2011 02:30:27 +0000 (03:30 +0100)]
lisp/custom.el: Trivial fixes.

* custom.el (custom-known-themes): Reflow docstring.
  (custom-theme-load-path): Fix typo in docstring.
  (load-theme): Fix typo in error message.
  (custom-available-themes, custom-variable-theme-value):
  Use `let', not `let*'.

13 years ago* lisp/calc-units.el (calcFunc-lupquant): Rename from
Jay Belanger [Thu, 17 Mar 2011 02:25:36 +0000 (21:25 -0500)]
* lisp/calc-units.el (calcFunc-lupquant): Rename from
  `calcFunc-pquant' (fixing previous commit).
  (calcFunc-lufquant): Rename from `calcFunc-fquant'
  (fixing previous commit).

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.

13 years ago* bytecode.c (CONSTANTLIM): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 02:18:00 +0000 (19:18 -0700)]
* bytecode.c (CONSTANTLIM): Remove; unused.

(METER_CODE, Bscan_buffer, Bread_char, Bset_mark):
Define only if needed.

13 years ago* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
Paul Eggert [Thu, 17 Mar 2011 02:11:29 +0000 (19:11 -0700)]
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".

13 years ago* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 02:09:36 +0000 (19:09 -0700)]
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.

13 years ago* unexelf.c: Use a different way to cause a compilation error if anyone uses
Paul Eggert [Thu, 17 Mar 2011 02:07:47 +0000 (19:07 -0700)]
* unexelf.c: Use a different way to cause a compilation error if anyone uses

n rather than nn, a way that does not involve shadowing.

13 years ago* unexelf.c (unexec): Name an expression,
Paul Eggert [Thu, 17 Mar 2011 01:52:35 +0000 (18:52 -0700)]
* unexelf.c (unexec): Name an expression,

to avoid gcc -Wbad-function-cast warning.

13 years agoAdd Bug#.
Paul Eggert [Thu, 17 Mar 2011 01:49:15 +0000 (18:49 -0700)]
Add Bug#.

13 years ago* lisp/calc/README: Mention musical notes.
Jay Belanger [Thu, 17 Mar 2011 01:30:08 +0000 (20:30 -0500)]
* lisp/calc/README: Mention musical notes.

* lisp/calc-units.el (calc-lu-quant): Rename from
  `calc-logunits-quantity'.
  (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
  (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
  (calc-db): Rename from `calc-dblevel'.
  (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
  (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
  (calc-np): Rename from `calc-nplevel'.
  (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
  (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
  (calc-lu-plus): Rename from `calc-logunits-add'.
  (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
  (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
  (calc-lu-minus): Rename from `calc-logunits-sub'.
  (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
  (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
  (calc-lu-times): Rename from `calc-logunits-mul'.
  (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
  (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
  (calc-lu-divide): Rename from `calc-logunits-div'.
  (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
  (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.

* lisp/calc/calc.el   (calc-lu-power-reference): Rename from
  `calc-logunits-power-reference'.
  (calc-lu-field-reference): Rename from
  `calc-logunits-field-reference'.

* lisp/calc/calc-help (calc-l-prefix-help): Mention musical note functions.

* doc/misc/calc.texi (Logarithmic Units): Update the function names.

13 years ago* lisp/minibuffer.el (completion-all-sorted-completions):
Stefan Monnier [Thu, 17 Mar 2011 00:43:54 +0000 (20:43 -0400)]
* lisp/minibuffer.el (completion-all-sorted-completions):
Use :completion-cycle-penalty text property if present.

13 years ago* deps.mk (unexalpha.o): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 00:22:09 +0000 (17:22 -0700)]
* deps.mk (unexalpha.o): Remove; unused.