]>
git.eshelyaron.com Git - emacs.git/log
Paul Eggert [Mon, 21 Mar 2011 02:40:27 +0000 (19:40 -0700)]
* fileio.c (Fcopy_file): Report error if fchown or fchmod fail.
Paul Eggert [Sun, 20 Mar 2011 23:56:23 +0000 (16:56 -0700)]
Add Bug#.
Paul Eggert [Sun, 20 Mar 2011 21:03:44 +0000 (14:03 -0700)]
* emacs.c (Fdaemon_initialized): Do not ignore I/O errors.
Paul Eggert [Sun, 20 Mar 2011 16:55:33 +0000 (09:55 -0700)]
Merge: Use socklen_t, not int, for socket lengths.
Paul Eggert [Sun, 20 Mar 2011 16:28:22 +0000 (09:28 -0700)]
Merge from gnulib, for socklen_t.
Paul Eggert [Sun, 20 Mar 2011 05:15:59 +0000 (22:15 -0700)]
Add Bug#8298.
Paul Eggert [Sun, 20 Mar 2011 03:07:54 +0000 (20:07 -0700)]
* process.c (create_process): Use 'volatile' to avoid vfork clobbering.
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.
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.
Paul Eggert [Sun, 20 Mar 2011 02:42:34 +0000 (19:42 -0700)]
* process.c (Fnetwork_interface_info): Fix pointer signedness.
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.
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.
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.
Paul Eggert [Sat, 19 Mar 2011 05:07:42 +0000 (22:07 -0700)]
* xftfont.c (xftfont_open): Rename locals to avoid shadowing.
Paul Eggert [Sat, 19 Mar 2011 05:05:19 +0000 (22:05 -0700)]
* xftfont.c (xftfont_shape): Now static, and defined only if needed.
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.
Paul Eggert [Sat, 19 Mar 2011 04:57:02 +0000 (21:57 -0700)]
* ftfont.c (ftfont_list): Remove unused local.
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.
Paul Eggert [Sat, 19 Mar 2011 02:49:10 +0000 (19:49 -0700)]
* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
Paul Eggert [Sat, 19 Mar 2011 02:45:11 +0000 (19:45 -0700)]
* xfont.c (xfont_list_family): Mark var as initialized.
Paul Eggert [Sat, 19 Mar 2011 02:43:47 +0000 (19:43 -0700)]
* xml.c (make_dom): Now static.
Paul Eggert [Sat, 19 Mar 2011 02:42:49 +0000 (19:42 -0700)]
Add Bug#.
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.
Paul Eggert [Sat, 19 Mar 2011 00:58:10 +0000 (17:58 -0700)]
* composite.c (composition_update_it): Mark var as initialized.
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.
Paul Eggert [Sat, 19 Mar 2011 00:16:45 +0000 (17:16 -0700)]
* composite.c (composition_compute_stop_pos): Rename local 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.
Paul Eggert [Fri, 18 Mar 2011 16:42:05 +0000 (09:42 -0700)]
* textprop.c (property_change_between_p): Remove; unused.
Paul Eggert [Fri, 18 Mar 2011 16:40:17 +0000 (09:40 -0700)]
* intervals.c (interval_start_pos): Now static.
Paul Eggert [Fri, 18 Mar 2011 16:39:15 +0000 (09:39 -0700)]
* intervals.h (CHECK_TOTAL_LENGTH): Avoid empty "else".
Paul Eggert [Fri, 18 Mar 2011 07:27:01 +0000 (00:27 -0700)]
Add Bug#.
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.
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.
Paul Eggert [Fri, 18 Mar 2011 06:28:04 +0000 (23:28 -0700)]
* sound.c (alsa_choose_format): Remove unused local var.
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.
Paul Eggert [Fri, 18 Mar 2011 06:25:25 +0000 (23:25 -0700)]
* region-cache.c (insert_cache_boundary): Redo var to avoid shadowing.
Paul Eggert [Fri, 18 Mar 2011 06:22:42 +0000 (23:22 -0700)]
* region-cache.h (pp_cache): New decl, for gcc -Wmissing-prototypes.
Paul Eggert [Fri, 18 Mar 2011 05:56:46 +0000 (22:56 -0700)]
* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.
Paul Eggert [Fri, 18 Mar 2011 05:50:40 +0000 (22:50 -0700)]
Better fix for volatile issue.
Paul Eggert [Fri, 18 Mar 2011 05:09:58 +0000 (22:09 -0700)]
Add Bug#.
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.
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.
Paul Eggert [Fri, 18 Mar 2011 04:45:18 +0000 (21:45 -0700)]
* callproc.c (relocate_fd): Rename locals to avoid shadowing.
Paul Eggert [Fri, 18 Mar 2011 04:43:32 +0000 (21:43 -0700)]
* callproc.c (call_process_cleanup): Now static.
Paul Eggert [Fri, 18 Mar 2011 03:30:24 +0000 (20:30 -0700)]
process.c: Use socklen_t, not int, for socket lengths.
Paul Eggert [Thu, 17 Mar 2011 20:18:59 +0000 (13:18 -0700)]
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
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.
Paul Eggert [Thu, 17 Mar 2011 18:41:30 +0000 (11:41 -0700)]
Change unexec implementations to match prototype.
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.
Paul Eggert [Thu, 17 Mar 2011 16:32:03 +0000 (09:32 -0700)]
Merge from mainline.
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.
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.
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.
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.
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*'.
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.
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.
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".
Paul Eggert [Thu, 17 Mar 2011 02:09:36 +0000 (19:09 -0700)]
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
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.
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.
Paul Eggert [Thu, 17 Mar 2011 01:49:15 +0000 (18:49 -0700)]
Add Bug#.
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.
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.
Paul Eggert [Thu, 17 Mar 2011 00:22:09 +0000 (17:22 -0700)]
* deps.mk (unexalpha.o): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 00:03:31 +0000 (17:03 -0700)]
* unexec.h: New file.
Paul Eggert [Wed, 16 Mar 2011 23:59:54 +0000 (16:59 -0700)]
New file unexec.h, the (simple) interface for unexec.
* deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o):
(unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o):
Depend on unexec.h.
* emacs.c [!defined CANNOT_DUMP]: Include unexec.h.
* unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c:
* unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
Paul Eggert [Wed, 16 Mar 2011 21:47:59 +0000 (14:47 -0700)]
* syntax.c (back_comment, skip_chars): Mark vars as initialized.
Paul Eggert [Wed, 16 Mar 2011 21:43:38 +0000 (14:43 -0700)]
* syntax.c (Fforward_comment, scan_lists): Rename locals to avoid
shadowing.
Paul Eggert [Wed, 16 Mar 2011 21:40:51 +0000 (14:40 -0700)]
* lread.c (Fload, readevalloop, read1): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 21:34:32 +0000 (14:34 -0700)]
* character.h (FETCH_STRING_CHAR_ADVANCE_NO_CHECK, BUF_INC_POS):
Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 21:29:13 +0000 (14:29 -0700)]
* lread.c (read1): Rewrite so as not to use empty "else".
Paul Eggert [Wed, 16 Mar 2011 21:28:29 +0000 (14:28 -0700)]
* print.c (Fredirect_debugging_output): Fix pointer signedess.
Paul Eggert [Wed, 16 Mar 2011 21:27:03 +0000 (14:27 -0700)]
* lisp.h (debug_output_compilation_hack): Add decl here, to avoid
warning when compiling print.c.
Paul Eggert [Wed, 16 Mar 2011 21:23:37 +0000 (14:23 -0700)]
* font.c (font_sort_entities): Mark var as initialized.
Paul Eggert [Wed, 16 Mar 2011 21:14:06 +0000 (14:14 -0700)]
* font.c (font_unparse_fcname): Abort in an "impossible" situation
instead of using an uninitialized var.
Ken Manheimer [Wed, 16 Mar 2011 19:03:06 +0000 (15:03 -0400)]
* allout.el (allout-yank-processing): Adjust for new rebulleting regime so
bullet being yanked is used without prompting the user for a choice.
Stefan Monnier [Wed, 16 Mar 2011 17:34:26 +0000 (13:34 -0400)]
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): New macro.
(print_preprocess, print_object): New macro to fix last change.
Stefan Monnier [Wed, 16 Mar 2011 14:23:26 +0000 (10:23 -0400)]
* src/print.c (print_preprocess): Don't forget font objects.
Paul Eggert [Wed, 16 Mar 2011 08:34:44 +0000 (01:34 -0700)]
* font.c: (font_style_to_value, font_prop_validate_style, font_unparse_fcname):
(font_update_drivers, Ffont_get_glyphs, font_add_log):
Rename or move locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 08:31:20 +0000 (01:31 -0700)]
* character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 08:22:49 +0000 (01:22 -0700)]
* font.c (font_get_spec): Remove; unused.
Paul Eggert [Wed, 16 Mar 2011 08:22:13 +0000 (01:22 -0700)]
* font.c (font_delete_unmatched): Now static.
Paul Eggert [Wed, 16 Mar 2011 08:20:40 +0000 (01:20 -0700)]
* font.c (font_parse_fcname): Remove unused vars.
Paul Eggert [Wed, 16 Mar 2011 08:19:22 +0000 (01:19 -0700)]
* font.c (font_unparse_xlfd): Don't mix pointers to variables with
pointers to constants.
Paul Eggert [Wed, 16 Mar 2011 07:49:54 +0000 (00:49 -0700)]
* fns.c (Ffillarray): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:48:36 +0000 (00:48 -0700)]
* fns.c (require_nesting_list, require_unwind): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:47:02 +0000 (00:47 -0700)]
* floatfns.c (Ffrexp, Fldexp): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:45:34 +0000 (00:45 -0700)]
* floatfns.c (domain_error2): Define only if needed.
Paul Eggert [Wed, 16 Mar 2011 07:44:19 +0000 (00:44 -0700)]
* eval.c (Fdefvar): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:37:10 +0000 (00:37 -0700)]
* alloc.c (mark_backtrace): Move decl from here ...
* lisp.h: ... to here, so that it can be checked.
Paul Eggert [Wed, 16 Mar 2011 07:34:28 +0000 (00:34 -0700)]
* eval.c (lisp_indirect_variable): Name an expression,
to avoid gcc -Wbad-function-cast warning.
Paul Eggert [Wed, 16 Mar 2011 07:30:17 +0000 (00:30 -0700)]
* eval.c (Fdefvar): Rewrite so as not to use empty "else".
Paul Eggert [Wed, 16 Mar 2011 07:28:57 +0000 (00:28 -0700)]
* eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:26:16 +0000 (00:26 -0700)]
* callint.c: Use const pointer when appropriate.
Paul Eggert [Wed, 16 Mar 2011 07:24:57 +0000 (00:24 -0700)]
* callint.c (Fcall_interactively): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:19:04 +0000 (00:19 -0700)]
* callint.c (quotify_arg, quotify_args): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:17:22 +0000 (00:17 -0700)]
* editfns.c (Ftranslate_region_internal): Mark var as initialized.
Paul Eggert [Wed, 16 Mar 2011 07:15:43 +0000 (00:15 -0700)]
* editfns.c: (Fformat_time_string, Fencode_time, Finsert_char):
(Ftranslate_region_internal, Fformat):
Rename or remove local vars to avoid shadowing.
Juanma Barranquero [Wed, 16 Mar 2011 02:13:31 +0000 (03:13 +0100)]
Add warning for obsolete _emacs init file.
* lisp/startup.el (command-line): Warn the user that _emacs is deprecated.
* etc/NEWS: Document warning about _emacs.