summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * INSTALL.BZR: Tweak previous change.Glenn Morris2011-02-271-3/+3
|
* Implement stub emulation of `readlink' for MS-DOS.Eli Zaretskii2011-02-273-0/+21
|\ | | | | | | | | src/msdos.c (readlink) [DJGPP < 2.04]: New stub function. src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.
| * Emulate `readlink' for DJGPP versions before 2.04.Eli Zaretskii2011-02-273-0/+23
| | | | | | | | | | src/msdos.c (readlink) [DJGPP < 2.04]: New stub function. src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.
* | Implement stubs of `readlink' and `symlink' for MS-Windows.Eli Zaretskii2011-02-274-0/+35
| | | | | | | | | | src/w32.c (symlink, readlink): New stub functions. nt/inc/unistd.h (readlink, symlink): Declare prototypes.
* | * INSTALL.BZR: Mention autoreconf.Glenn Morris2011-02-271-0/+4
| |
* | gnus-group.el (gnus-import-other-newsrc-file): New function.Lars Ingebrigtsen2011-02-273-0/+23
| |
* | Merge: Minor cleanups uncovered by gcc warningsPaul Eggert2011-02-267-88/+99
|\ \
| * | * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.Paul Eggert2011-02-262-2/+6
| | | | | | | | | | | | This avoids a gcc warning in some configurations.
| * | * frame.c (x_set_screen_gamma): Rename local to avoid shadowing.Paul Eggert2011-02-262-5/+7
| | |
| * | * frame.h: Avoid gcc -Wmissing-prototypes diagnostics.Paul Eggert2011-02-263-5/+10
| | | | | | | | | | | | | | | (set_menu_bar_lines, x_get_resource_string): New decls. * msdos.c (set_menu_bar_lines): Omit decl.
| * | * dispextern.h (struct glyph): Make u.img_id int, not unsigned.Paul Eggert2011-02-262-1/+6
| | | | | | | | | | | | | | | | | | It's always given int values and used as an int. This suppresses a gcc "comparison of unsigned expression >= 0" warning in some configurations.
| * | * dispnew.c: Rename locals to avoid shadowing.Paul Eggert2011-02-262-28/+33
| | | | | | | | | | | | (update_text_area, scrolling_window, update_frame_1): Rename locals.
| * | * dispnew.c: Fix problem uncovered by gcc -Wunused-variable.Paul Eggert2011-02-262-17/+23
| | | | | | | | | | | | | | | (adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the contexts that actually need it.
| * | * dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.Paul Eggert2011-02-262-30/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | (copy_glyph_row_contents): Remove; not used. (frame_row_to_window, check_current_matrix_flags): (window_change_signal): Now static, since they're not used elsewhere. (check_current_matrix_flags): Surround with "#if 0", since its only use is in a comment. Maybe both the comment and the "#if 0" stuff should be removed?
* | | * lisp/emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.Stefan Monnier2011-02-262-14/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | (pcase-mutually-exclusive-predicates): New var. (pcase--split-consp, pcase--split-pred): Use it. (pcase--split-equal, pcase--split-member): When splitting against a pure predicate, run it to know the outcome. (pcase--u1): Mark vars that are actually used. (pcase--q1): Avoid introducing unused vars.
* | | Adjust previous change to behave as intended.Jay Belanger2011-02-261-7/+7
| | |
* | | * calc/calc-ext.el (calc-init-extensions): Autoload `calc-l-prefix-help'Jay Belanger2011-02-264-2/+14
|/ / | | | | | | | | | | | | | | | | | | instead of `calc-ul-prefix-help'. * calc/calc-math.el (calcFunc-log10): Don't signal an error in symbolic mode. * calc/calc-vec.el (calcFunc-subscr): Don't do anything if the first argument is a variable.
* | * lisp/emacs-lisp/assoc.el: Remove misleading `sort'.Stefan Monnier2011-02-262-5/+11
| | | | | | | | | | | | | | (aput, adelete, amake): Replace `eval' -> `symbol-value'. Suggested by Michael Heerdegen <michael_heerdegen@web.de>. Fixes: debbugs:8126
* | Define nlink_t for w32.Eli Zaretskii2011-02-262-0/+7
| | | | | | | | nt/config.nt (nlink_t): Define.
* | Adapt the MS-DOS build to gnulib import of md5 and filemode.Eli Zaretskii2011-02-268-5/+141
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T) (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T) (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS) (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT) (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT) (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT) (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD) (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO) (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT) (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T) (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H) (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H) (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H) (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H) (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR) (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT) (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H) (WCHAR_T_SUFFIX, WINT_T_SUFFIX, APPLE_UNIVERSAL_BUILD): New edits. ($(MKDIR_P)): Replace with equivalent DOS command. (gl_LIBOBJS): Add md5.o and filemode.o. msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T) (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T) (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T) (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New edits. msdos/depfiles.bat: Create a dummy .Po file only if a file by the same name does not already exist in the deps/ subdirectory. .bzrignore: Ignore new lib/*.in-h files. config.bat: Rename stdint.in.h and sys_stat.in.h. Call depfiles.bat even if lib/deps already exist. src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04. (lstat): Define for DJGPP < 2.04.
| * Test and finish fixing the MS-DOS build.Eli Zaretskii2011-02-262-3/+5
| | | | | | | | | | msdos/sedlib.mk (APPLE_UNIVERSAL_BUILD): New edit. (gl_LIBOBJS): Add md5.o and filemode.o.
| * Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.Eli Zaretskii2011-02-265-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04. (lstat): Define for DJGPP < 2.04. msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T) (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T) (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS) (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT) (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT) (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT) (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD) (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO) (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT) (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T) (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H) (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H) (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H) (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H) (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR) (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT) (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H) (WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits. ($(MKDIR_P)): Replace with equivalent DOS command. msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T) (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T) (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T) (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New edits.
| * .bzrignore: Ignore new lib/*.in-h files.Eli Zaretskii2011-02-261-0/+2
| |
| * Fix the MS-DOS configury due to new gnulib modules.Eli Zaretskii2011-02-264-4/+17
| | | | | | | | | | | | | | config.bat: Rename stdint.in.h and sys_stat.in.h. Call depfiles.bat even if lib/deps already exist. msdos/depfiles.bat: Create a dummy .Po file only if a file by the same name does not already exist in the deps/ subdirectory.
* | Regenerate ja-dic.elAndreas Schwab2011-02-261-3/+2
| |
* | Regenerate autoloadsAndreas Schwab2011-02-262-2/+2
|/
* Fix dependencies following 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.Eli Zaretskii2011-02-262-1/+3
| | | | lib-src/Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
* Fix the MS-Windows build after 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.Eli Zaretskii2011-02-262-6/+29
| | | | | | emacsclient.c (xstrdup) [WINDOWSNT]: Function added back. (w32_getenv): Use xstrdup to return all values in malloc'ed storage.
* Merge: lib-src changes mostly to avoid GCC warningsPaul Eggert2011-02-256-96/+143
|\
| * * ebrowse.c (BROWSE_STRUCT): Remove unused macro.Paul Eggert2011-02-252-1/+1
| |
| * * ebrowse.c (parse_qualified_param_ident_or_type): Make it clearPaul Eggert2011-02-252-1/+8
| | | | | | | | | | to reader (and to the compiler) that the loop always executes at least once. This prevents a warning with recent GCC.
| * * fakemail.c: Include <ignore-value.h>.Paul Eggert2011-02-252-3/+18
| | | | | | | | | | | | | | | | | | (put_line): Explicitly ignore fwrite return value, for benefit of recent glibc + gcc. (close_the_streams): Diagnose output errors instead of merely exiting with nonzero status. (my_fclose, main): Diagnose input errors, and exit with nonzero status. Formerly, input errors were silently ignored.
| * * ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.Paul Eggert2011-02-252-3/+4
| |
| * * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.Paul Eggert2011-02-252-29/+36
| | | | | | | | | | All callers changed. This is cleaner, and avoids GCC warnings about passing NULL to fputs.
| * * emacsclient.c (IF_LINT): New macro.Paul Eggert2011-02-252-2/+14
| | | | | | | | | | (set_local_socket, main): Use it to suppress warnings with GCC -Wuninitialized.
| * * emacsclient.c (xstrdup): Remove; no longer needed.Paul Eggert2011-02-252-23/+14
| | | | | | | | | | | | | | (get_current_dir_name, w32_getenv, get_server_config, find_tty): (set_local_socket, main): Use const char *, not char *, for pointers that are not assigned through.
| * * emacsclient.c (main): Avoid dangling 'if'.Paul Eggert2011-02-252-15/+17
| |
| * * emacsclient.c: Redo local variables to avoid shadowing problems.Paul Eggert2011-02-252-8/+14
| | | | | | | | | | | | (message, socket_status, start_daemon_and_retry_set_socket): Rename locals. (main): Move decl of "i".
| * * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.Paul Eggert2011-02-252-1/+4
| | | | | | | | This avoids an unused-macro warning with some GCC settings.
| * * make-docfile.c (scan_c_file): Refactor local variable decls to make their ↵Paul Eggert2011-02-252-9/+6
| | | | | | | | | | | | scope more accurate and to avoid a GCC -Wuninitialized diagnostic.
| * * make-docfile.c (write_globals): Change char * to char const *Paul Eggert2011-02-252-1/+7
| | | | | | | | | | to avoid a GCC "assignment discards qualifiers" diagnostic in some configurations.
* | Merge changes made in Gnus trunk.Teodor Zlatanov2011-02-254-2/+27
|/ | | | | auth-source.el (auth-source-search): Cache empty result sets. password-cache.el (password-in-cache-p): Convenience function to check if a key is in the cache, even if the value is nil.
* * src/dired.c: Add comment and code explaining magic number.Paul Eggert2011-02-251-1/+5
|
* Fix package uploading for newly made or local archives.Jambunathan K2011-02-252-22/+77
| | | | | | | | | | * emacs-lisp/package-x.el (package--archive-contents-from-url) (package--archive-contents-from-file): New functions. (package-update-news-on-upload): New var. (package-upload-buffer-internal): Extract archive-contents from package-archive-upload-base if it is not found at archive-url. Obey package-update-news-on-upload. (package-upload-buffer, package-upload-file): Doc fix.
* Merge changes made in Gnus trunk.Gnus developers2011-02-255-49/+152
| | | | | | | | | | | | | | | | auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'. (auth-source-netrc-create): Use it. (auth-source-never-save): Remove. nnimap.el (nnimap-stream): Doc fix. (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first. gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection. gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters. auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts. (auth-source-search): Document it. (auth-source-format-prompt): Add utility function. (auth-source-netrc-create): Don't default the user name to user-login-name. Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly). (auth-source-never-save): Add customizable option to never save info. (auth-source-netrc-create): Use it and improve save prompts. Fix help mode excursion.
* Elaborate my most-recent ChangeLog entry.Paul Eggert2011-02-251-1/+2
|
* Regenerate.Paul Eggert2011-02-247-10/+79
|
* * dired.c (Ffile_attributes): Increase size of modes from 10 to 12Paul Eggert2011-02-242-1/+7
|
* Yet more directory-local variables fixes.Glenn Morris2011-02-242-6/+19
| | | | | * lisp/files-x.el (modify-dir-local-variable): Handle dir-locals from the cache, and from non-file sources.
* Fix for another bit of bug#8095, re dir-locals.Glenn Morris2011-02-242-8/+18
| | | | | | * lisp/help-fns.el (describe-variable): Return consistent results when a dir-local from a file came from the cache or did not. If a dir-local has no associated file, say it came from a "directory".