aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce some of the many, many variant spellings of NeXTstep.Glenn Morris2011-03-031-1/+1
| | | | http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00986.html
* * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.Ken Brown2011-03-022-1/+5
|
* Merge: Work around some portability problems with symlinks.Paul Eggert2011-03-013-28/+47
|\
| * Merge from mainline.Paul Eggert2011-03-0118-102/+186
| |\ | |/ |/|
| * * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, andPaul Eggert2011-02-252-0/+9
| | | | | | | | | | generate a special message for it. Suggested by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
| * Simplify symlink portability workaround.Paul Eggert2011-02-252-19/+3
| |
| * Merge from mainline.Paul Eggert2011-02-247-53/+67
| |\
| * | [ChangeLog]Paul Eggert2011-02-223-28/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around some portability problems with symlinks. * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink. * configure.in (lstat, HAVE_LSTAT): Remove special hack. * lib/lstat.c, lib/readlink.c, lib/stat.c, lib/symlink.c: * m4/dos.m4, m4/lstat.m4, m4/readlink.m4, m4/stat.m4, m4/symlink.m4: New files, automatically generated from gnulib. * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk: * lib/stdlib.in.h, m4/gl-comp.m4, m4/stdlib_h.m4: Regenerate. 2011-02-22 Paul Eggert <eggert@cs.ucla.edu> [src/ChangeLog] Work around some portability problems with symlinks. * fileio.c (Frename_file, Fmake_symbolic_link, Ffile_symlink_p): Simplify the code by assuming that the readlink and symlink calls exist, even if they always fail on this host. (Ffile_readable_p): Likewise, for fifos. * config.in: Regenerate.
* | | Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.Glenn Morris2011-02-277-10/+10
|\ \ \
| * | | Fix typos.Juanma Barranquero2011-02-237-10/+10
| | | |
| * | | Fix typo "comand".Glenn Morris2011-02-221-1/+1
| | | |
| * | | Fix spelling of "precede".Glenn Morris2011-02-221-1/+1
| | | |
| * | | Fix spelling of "supersede".Glenn Morris2011-02-223-5/+5
| | | |
| * | | Comment spelling fix.Glenn Morris2011-02-221-1/+1
| | | |
| * | | Remove bogus duplicate ChangeLog entry from ↵Glenn Morris2011-02-221-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2010-06-01T13:47:14Z!lekktu@gmail.com. No need to merge this to trunk.
* | | | Avoid recording dead buffers in buffer-list frame param (Bug#7898).Chong Yidong2011-02-272-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (store_frame_param): Don't store value directly in buffer_list and buried_buffer_list; copy the list and remove dead buffers.
* | | | 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-272-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | src/w32.c (symlink, readlink): New stub functions. nt/inc/unistd.h (readlink, symlink): Declare prototypes.
* | | | | * 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?
* | | | Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.Eli Zaretskii2011-02-262-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | * src/dired.c: Add comment and code explaining magic number.Paul Eggert2011-02-251-1/+5
| |_|/ |/| |
* | | * dired.c (Ffile_attributes): Increase size of modes from 10 to 12Paul Eggert2011-02-242-1/+7
| | |
* | | Fix handling of bar cursors in NS terminal.Ben Key2011-02-233-23/+41
| | | | | | | | | | | | | | | | | | | | | | | | * nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument directly, for bar cursors. * xdisp.c (set_frame_cursor_types): Don't write an undefined value into the frame's cursor_width.
* | | * src/print.c (print_object): Never print old-style backquotes.Stefan Monnier2011-02-232-26/+11
| | | | | | | | | | | | Obey escapeflag for hash tables as well.
* | | Fix some mis-spellings of "precede" that are not in emacs-23 branch.Glenn Morris2011-02-221-1/+1
| | |
* | | Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.Glenn Morris2011-02-222-2/+7
|\ \ \ | |/ / | | / | |/ |/|
| * merge emacs-23Kenichi Handa2011-02-231-0/+6
| |\
| | * Fix font size handling.Kenichi Handa2011-02-222-2/+8
| | |
| * | merge emacs-23Kenichi Handa2011-02-222-1/+5
| |\ \ | | |/
| | * * Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.Chong Yidong2011-02-192-1/+5
| | | | | | | | | | | | See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00715.html
| * | Fix font-size handling bug.Kenichi Handa2011-02-172-2/+8
| |/
* | * dired.c (Ffile_attributes): Simplify and avoid #ifdef.Paul Eggert2011-02-222-11/+6
| |
* | * src/lread.c (openp): Correct Boolean typo in last commit.Wolfgang Jenkner2011-02-222-3/+6
| |
* | * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to ↵Adrian Robert2011-02-222-0/+7
| | | | | | | | emacs, treat as unmodified (go to input manager processing).
* | src/ChangeLog: Fix typos.Juanma Barranquero2011-02-221-23/+20
| |
* | [ChangeLog]Paul Eggert2011-02-217-54/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assume S_ISLNK etc. work, since gnulib supports this. * Makefile.in (GNULIB_MODULES): Add sys_stat. * configure.in: Check for lstat and set HAVE_LSTAT=0 if not. Pretend to be using the gnulib lstat module for benefit of sys/stat.h. * configure, lib/Makefile.in, lib/gnulib.mk: Regenerate. [lib-src/ChangeLog] Assume S_ISLNK etc. work, since gnulib supports this. * etags.c (S_ISREG): Remove. [src/ChangeLog] Assume S_ISLNK etc. work, since gnulib supports this. * config.in: Regenerate. * dired.c (lstat): Remove. (file_name_completion): Assume S_ISDIR works. (file_name_completion_stat): Assume S_ISLNK works. Do not bother calling stat unless lstat says it's a symlink. * fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove. (Fcopy_file): Assume S_ISREG and S_ISLNK work. (check_writable, Ffile_writable_p, Fset_file_times): Assume S_ISDIR works. (Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether fifos exist. (Ffile_regular_p, Finsert_file_contents): Assumes S_ISREG works. * filelock.c (S_ISLNK): Remove. * lread.c (openp): Assume S_ISDIR works. * xrdb.c (S_ISDIR): Remove.
* | Adapt MS-Windows build to import of filemode.c from gnulib.Eli Zaretskii2011-02-212-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH) (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG) (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT) (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define. (lstat): Define to stat. lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from src/makefile.w32-in and adapt. Depend on stamp_BLD. (GNULIBOBJS): Add $(BLD)/filemode.$(O). src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to lib/makefilw.w32-in. ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h. (GLOBAL_SOURCES): Remove filemode.c. (OBJ1): Remove $(BLD)/filemode.$(O). lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O)) ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)): Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
* | Import filemode module from gnulib.Paul Eggert2011-02-216-251/+27
|\ \
| * \ Merge from mainline.Paul Eggert2011-02-202-8/+13
| |\ \ | |/ / |/| |
| * | * dired.c: Include <filemode.h> at top level.Paul Eggert2011-02-201-2/+2
| | |
| * | Import filemode module from gnulib.Paul Eggert2011-02-205-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib. * deps.mk (dired.o): Depend on ../lib/filemode.h, too. (filemode.o): Remove; this is now in ../lib. * dired.c: Include <filemode.h>. (filemodestring): Remove now-redundant decl. * config.in: Regenerate. 2011-02-20 Paul Eggert <eggert@cs.ucla.edu>
| * | Import filemode module from gnulib.Paul Eggert2011-02-201-245/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .bzrignore: Add lib/sys/. * Makefile.in (GNULIB_MODULES): Add filemode. * lib/Makefile.am (MOSTLYCLEANDIRS): New macro. * lib/filemode.c: Renamed from src/filemode.c and regenerated from gnulib. This adds support for some more file types, e.g., Cray DMF migrated files. * lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c. * lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4: * m4/sys_stat_h.m4: New files, generated from gnulib. * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate. 2011-02-20 Paul Eggert <eggert@cs.ucla.edu>
* | | Fix the MS-Windows build due to import of md5 from gnulib.Christoph Scholtes2011-02-202-8/+13
|/ / | | | | | | | | | | | | | | | | src/makefile.w32-in: Remove md5.$(O). ($(BLD)/md5.$(O)): Remove prerequisites, moved to lib/makefile.w32-in. ($(BLD)/fns.$(O)): Depend on $(EMACS_ROOT)/lib/md5.h and on stamp_BLD. lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from src/makefile.w32-in.