aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff.Paul Eggert2011-03-061-0/+4
| | | | Add a FIXME comment, since the code still doesn't look right.
* current_column: Now returns EMACS_INT, fixing some iftc.Paul Eggert2011-03-061-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * bytecode.c (Fbyte_code): Don't cast current_column () to int. * cmds.c (internal_self_insert): Likewise. * indent.c (Fcurrent_column): Likewise. * keymap.c (describe_command): Likewise. * minibuf.c (read_minibuf): Likewise. * indent.c (Fcurrent_indentation): Don't cast position_indentation () to int. * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): Likewise. * cmds.c (internal_self_insert): Declare locals to be EMACS_INT, not int or double, if they might contain a column number. * indent.c (current_column, Findent_to, indented_beyond_p): (compute_motion, vmotion): Likewise. * keymap.c (describe_command): Likewise. * xdisp.c (pint2str): Likewise. * indent.c (last_known_column): Now EMACS_INT, not int. * minibuf.c (minibuf_prompt_width): Likewise. * indent.c (current_column, current_column_1, position_indentation): Return EMACS_INT, not double. * lisp.h (current_column): Likewise. * indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double. All callers changed. * lisp.h (indented_beyond_p): Likewise.
* * xdisp.c (redisplay_window): Likewise.Paul Eggert2011-03-061-0/+1
|
* * minibuf.c (minibuf_prompt, minibuf_prompt_width): Move herePaul Eggert2011-03-061-0/+5
| | | | | | from xdisp.c, and make static, since these are used only here. * window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width): Remove decls.
* * cmds.c (internal_self_insert): Reindent to match Emacs style.Paul Eggert2011-03-061-0/+2
|
* * xdisp.c (SKIP_GLYPHS): Removed unused macro.Paul Eggert2011-03-061-0/+1
|
* * xdisp.c (update_window_cursor): Now static, since it's not used elsewhere.Paul Eggert2011-03-061-0/+1
|
* * xdisp.c (produce_glyphless_glyph): Make a pointer "const"Paul Eggert2011-03-061-0/+2
| | | | since it might point to immutable storage.
* * xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.Paul Eggert2011-03-061-0/+1
|
* Merge from mainline.Paul Eggert2011-03-051-7/+19
|\
| * Fix typos.Juanma Barranquero2011-03-061-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/srecode/el.srt: Fix typo. * lisp/allout.el (allout-init, allout-prefixed-keybindings) (allout-unprefixed-keybindings): * lisp/progmodes/prolog.el (prolog-find-term): Fix typos in docstrings. * lisp/org/org.el (org-blank-before-new-entry, org-context-in-file-links) (org-refile-targets, org-log-repeat, org-insert-link) (org-speed-command-default-hook, org-speed-command-hook) (org-in-regexps-block-p, org-yank-generic, org-goto-first-child): Fix typos in docstrings. (org-toggle-pretty-entities): Fix typo in message.
| * Doc fixes for bug#5567 (tiny change)Michael Shields2011-03-051-0/+4
| | | | | | | | | | * lisp/window.el (one-window-p, walk-windows, display-buffer): Doc fixes. * src/window.c (Fnext_window): Doc (and comment) fixes.
| * * nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.Chong Yidong2011-03-051-0/+4
| |
| * ChangeLog fix.Glenn Morris2011-03-051-1/+1
| |
| * * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.Ken Brown2011-03-021-0/+4
| |
* | * xdisp.c: Rename or move local decls to avoid shadowing.Paul Eggert2011-03-051-0/+11
|/ | | | | | | | | | (init_iterator, handle_fontified_prop, handle_single_display_spec): (message_dolog, message_with_string, redisplay_internal): (redisplay_window, try_window_reusing_current_matrix, try_window_id): (compute_line_metrics, highlight_trailing_whitespace, cursor_row_p): (display_line, display_string, rows_from_pos_range): (mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame): Rename or move local decls.
* Merge: Work around some portability problems with symlinks.Paul Eggert2011-03-011-0/+13
|\
| * Merge from mainline.Paul Eggert2011-03-011-0/+52
| |\ | |/ |/|
| * * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, andPaul Eggert2011-02-251-0/+3
| | | | | | | | | | 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-251-0/+3
| |
| * Merge from mainline.Paul Eggert2011-02-241-0/+26
| |\
| * | [ChangeLog]Paul Eggert2011-02-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Avoid recording dead buffers in buffer-list frame param (Bug#7898).Chong Yidong2011-02-271-0/+6
| | | | | | | | | | | | | | | | | | * 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-271-0/+4
|\ \ \ | | | | | | | | | | | | | | | | 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-271-0/+6
| | | | | | | | | | | | | | | | | | | | 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-271-0/+4
| | | | | | | | | | | | | | | | | | | | 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-261-0/+3
| | | | | | | | | | | | | | | | This avoids a gcc warning in some configurations.
* | | | * frame.c (x_set_screen_gamma): Rename local to avoid shadowing.Paul Eggert2011-02-261-0/+2
| | | |
* | | | * frame.h: Avoid gcc -Wmissing-prototypes diagnostics.Paul Eggert2011-02-261-0/+4
| | | | | | | | | | | | | | | | | | | | (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-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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-261-0/+5
| | | | | | | | | | | | | | | | (update_text_area, scrolling_window, update_frame_1): Rename locals.
* | | | * dispnew.c: Fix problem uncovered by gcc -Wunused-variable.Paul Eggert2011-02-261-0/+4
| | | | | | | | | | | | | | | | | | | | (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-261-0/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | (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-261-0/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | * dired.c (Ffile_attributes): Increase size of modes from 10 to 12Paul Eggert2011-02-241-0/+6
| |
* | Fix handling of bar cursors in NS terminal.Ben Key2011-02-231-0/+10
| | | | | | | | | | | | | | | | * 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-231-0/+5
| | | | | | | | Obey escapeflag for hash tables as well.
* | Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.Glenn Morris2011-02-221-0/+5
|\ \ | |/ |/|
| * merge emacs-23Kenichi Handa2011-02-231-0/+6
| |\
| | * Fix font size handling.Kenichi Handa2011-02-221-0/+6
| | |
| * | merge emacs-23Kenichi Handa2011-02-221-0/+4
| |\ \ | | |/
| | * * Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.Chong Yidong2011-02-191-0/+4
| | | | | | | | | | | | See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00715.html
| * | Fix font-size handling bug.Kenichi Handa2011-02-171-0/+6
| |/
* | * dired.c (Ffile_attributes): Simplify and avoid #ifdef.Paul Eggert2011-02-221-0/+4
| |
* | * src/lread.c (openp): Correct Boolean typo in last commit.Wolfgang Jenkner2011-02-221-2/+5
| |
* | * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to ↵Adrian Robert2011-02-221-0/+6
| | | | | | | | emacs, treat as unmodified (go to input manager processing).
* | src/ChangeLog: Fix typos.Juanma Barranquero2011-02-221-23/+20
| |
* | [ChangeLog]Paul Eggert2011-02-211-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-0/+10
|\ \