aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Implement display-monitor-attributes-list for NS.Jan Djärv2013-05-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (display-monitor-attributes-list): Add NS case. (ns-display-monitor-attributes-list): Declare. * src/nsfns.m: Include IOGraphicsLib.h if Cocoa. (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare. (MonitorInfo): New struct. (free_monitors, ns_screen_name, ns_make_monitor_attribute_list) (Fns_display_monitor_attributes_list): New functions. (display-usable-bounds): Remove. (syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and Qsource.
| * | * xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION.Paul Eggert2013-05-091-0/+7
| | | | | | | | | | | | | | | | | | (GTK_CHECK_VERSION): New macro, if not already defined. All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc. replaced by GTK_CHECK_VERSION.
* | | Fix the setting of buffer-file-coding-system on, for instance, C-x RET c ↵Kenichi Handa2013-05-221-0/+21
|/ / | | | | | | unix RET _FILE_OF_DOS_EOL_TYPE_ RET.
* | * xterm.h (GTK_PREREQ): New macro.Paul Eggert2013-05-081-0/+6
| | | | | | | | | | All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed to use this macro instead, for consistency and clarity.
* | Fix vertical cursor motion when there's a display string with newline at EOL.Eli Zaretskii2013-05-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | src/xdisp.c (row_for_charpos_p): New function, with code of cursor_row_p, but accepts an additional argument CHARPOS instead of using a hardcoded PT. (cursor_row_p): Call row_for_charpos_p with 2nd argument PT. (row_containing_pos): Call row_for_charpos_p instead of partially doing the same. Fixes cursor positioning under longlines-mode when longlines-show-effect includes more than one newline, when moving the cursor vertically up.
* | src/makefile.w32-in (ACL_H): New macro.Juanma Barranquero2013-05-081-0/+5
| | | | | | | | ($(BLD)/fileio.$(O)): Update dependencies.
* | Use Gnulib ACL implementation, for benefit of Solaris etc.Paul Eggert2013-05-071-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Remove -with-acl option, since Gnulib does that for us now. (LIBACL_LIBS): Remove; no longer needed. * lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros, for the benefit of the new ACL implementation. * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O). ($(BLD)/acl-errno-valid.$(O)): New rule. * lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h: * lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c: * lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4: New files, taken from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Add qacl. (GNULIB_TOOL_FLAGS): Do not avoid errno. * etc/NEWS: Emacs is no longer limited to POSIX ACLs. --disable-acl, not --without-acl, since we're now using Gnulib's implementation. * nt/config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL. * nt/inc/ms-w32.h (EOPNOTSUPP): New macro. * src/Makefile.in (LIB_ACL): New macro. (LIBACL_LIBS): Remove. (LIBES): Use LIB_ACL, not LIBACL_LIBS. * src/fileio.c: Include <acl.h>. Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL. (ACL_NOT_WELL_SUPPORTED): Remove. All uses replaced by !acl_errno_valid. (Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling it ourselves. Fixes: debbugs:14295
* | * unexelf.c: Don't assume ElfW (Half) fits in int.Paul Eggert2013-05-071-0/+8
| | | | | | | | | | | | | | (entry_address, find_section, unexec): Use ptrdiff_t, not int, when dealing with ElfW (Half) values, since they can exceed 2**31 on 64-bit OpenBSD hosts. Problem reported privately by Han Boetes. (entry_address): Omit unused NUM arg. All uses changed.
* | * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'Juri Linkov2013-05-071-0/+6
| | | | | | | | | | | | to the string converted from number with `Fnumber_to_string'. Fixes: debbugs:14254
* | * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.Paul Eggert2013-05-071-0/+5
| | | | | | | | This fixes a problem introduced by my previous change.
* | * src/lread.c (readchar): Don't read from a dead buffer. (Bug#14280)Glenn Morris2013-05-071-0/+4
| |
* | * xfns.c: Move misplaced ifndef USE_GTK from previous checkin.Jan Djärv2013-05-071-0/+4
| |
* | Static checking by GCC 4.8.0.Paul Eggert2013-05-061-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors) (x_get_monitor_for_frame, x_make_monitor_attribute_list) (x_get_monitor_attributes_fallback) (x_get_monitor_attributes_xinerama) (x_get_monitor_attributes_xrandr, x_get_monitor_attributes): Define only if USE_GTK. (free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR. (x_get_monitor_attributes_fallback): Omit unused locals. (x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list): Use double, not float, to avoid mixed-mode floating point arithmetic.
* | Add multi-monitor support on X11.YAMAMOTO Mitsuharu2013-05-071-0/+25
| |
* | Fix bug #14241 with posn-at-point at the beginning of an image display prop.Eli Zaretskii2013-05-061-0/+7
| | | | | | | | | | | | | | src/xdisp.c (pos_visible_p): Use the special code for finding the beginning of a display property or overlay for any "replacing" display property, not just for display strings. This solves incorrect reporting of position by posn-at-point.
* | * unexelf.c: Fix some 32-bit integer problems, notably when debugging.Paul Eggert2013-05-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>. Verify that ElfW (Half) fits in int. (fatal): Use same signature as lisp.h. (UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can configure and build with -DUNEXELF_DEBUG without worrying about other modules that use DEBUG. (DEBUG_LOG) [UNEXELF_DEBUG]: New macro. All debug code that prints possibly-wide integers now uses it instead of plain fprintf. (entry_address): New function, which avoids problems with 32-bit overflow on 64-bit hosts. (OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it. (round_up): Don't assume the remainder fits in int. (find_section): Use bool for boolean. Simplify debug code. (unexec): Don't assume file sizes fit in int or size_t. Omit unnecessary trailing newline in 'fatal' format. Use strerror rather than outputting decimal error number. Remove unused code when emacs is not defined; this file relies on Emacs now. Don't assume e_phnum and e_shnum are positive.
* | * regex.c: Fix problems when DEBUG is defined.Paul Eggert2013-05-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (extract_number, extract_number_and_incr): Define regardless of whether DEBUG is defined; that's simpler and makes the code less likely to go stale in the normal case when DEBUG is not defined. Return int rather than taking an int * arg. All callers changed. (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4): Remove, replacing with ... (DEBUG_PRINT): New macro. All callers changed. (DEBUG_COMPILES_ARGUMENTS): New macro. (print_fastmap, print_partial_compiled_pattern) [DEBUG]: (print_compiled_pattern, print_double_string) [DEBUG]: Use prototype rather than old-style definition. (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]: (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]: (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]: (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]: Don't assume ptrdiff_t, size_t, and long are the same width as int. (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t. This matters only when DEBUG is defined.
* | Fix bug #14306 with whitespace mode together with linum-mode.Eli Zaretskii2013-05-051-0/+7
| | | | | | | | | | | | | | src/xdisp.c (set_iterator_to_next): Set the ignore_overlay_strings_at_pos_p flag only if we are _really_ iterating over an overlay string, as indicated by the current.overlay_string_index member.
* | * nsmenu.m (ns_update_menubar): Move initialization of submenuTitleJan Djärv2013-05-051-0/+5
| | | | | | | | | | | | to where it is used, to avoid autorelease issues. Fixes: debbugs:14050
* | `write-region-inhibit-fsync' defaults to noninteractive.Paul Eggert2013-05-041-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | * cmdargs.texi (Initial Options): * files.texi (Customize Save): Document this. * etc/NEWS: Document this. * src/fileio.c (syms_of_fileio): Implement this. * src/filelock.c (create_lock_file): If symbolic links don't work, so we use a regular file as a lock file, do not fsync the lock file; it's not needed. Fixes: debbugs:14273
* | * lisp/simple.el (read-expression-map): Use completion-at-point.Stefan Monnier2013-05-041-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Move the declaration from C. (read-minibuffer, eval-minibuffer): Move from C. (completion-setup-function): Avoid minibuffer-completion-contents. * src/minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp. (syms_of_minibuf): Adjust accodingly. * src/lread.c (Fread): * src/callint.c (Fcall_interactively): Adjust calls accordingly. Fixes: debbugs:14255
* | Fix bug #14062 with assertion violations on MS-Windows.Eli Zaretskii2013-05-041-0/+9
| | | | | | | | | | | | | | | | src/dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that w->contents is a buffer before computing everything else. Use parentheses to disambiguate last part of the condition. src/w32fns.c (w32_wnd_proc): Remove temporary code used to trap assertion violations.
* | * src/nsfns.m (ns_tooltip): Initialize.David Reitter2013-05-011-0/+4
| |
* | Fix bug #14287 with decoding EOL by *-dos coding systems.Eli Zaretskii2013-04-281-0/+5
| | | | | | | | | | src/coding.c (decode_coding_gap): Don't remove the character before a newline unless it's a CR character.
* | * dispextern.h (struct face): Move enum face_underline_typeDan Nicolaescu2013-04-281-0/+5
| | | | | | | | earlier so that bitfields can be in the same word.
* | * nsfns.m (handlePanelKeys): New function.Jan Djärv2013-04-281-0/+7
| | | | | | | | | | | | | | | | (EmacsOpenPanel:performKeyEquivalent:) (EmacsSavePanel:performKeyEquivalent:): Call handlePanelKeys to handle arrows/function/control and copy/paste keys. Fixes: debbugs:14296
* | * src/callint.c (Fcall_interactively): Call `Qread_number' forJuri Linkov2013-04-281-0/+6
| | | | | | | | | | | | | | | | | | interactive code letter `n' instead of using duplicate code. * lisp/subr.el (read-number): Doc fix about using it by interactive code letter `n'. Fixes: debbugs:14254
* | * systime.h (make_timeval): Declare as 'const'.Paul Eggert2013-04-271-0/+4
| |
* | merge trunkKenichi Handa2013-04-271-0/+5
|\ \
| * | Port better to AIX.Paul Eggert2013-04-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (CFLAGS): Append -O if the user did not specify CFLAGS, we did not already infer an optimization option, and -O works. AIX xlc needs -O, otherwise garbage collection doesn't work. * src/lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too, to pacify AIX xlc. Fixes: debbugs:14258
* | | font.c (font_open_entity): Always open a font of manageable size.Kenichi Handa2013-04-271-0/+5
|/ /
* | coding.c (decode_coding_iso_2022): When an invalid escape sequence is ↵Kenichi Handa2013-04-251-0/+6
| | | | | | | | encountered, reset the invocation and designation status to the safest one.
* | * Makefile.in (bootstrap-clean): Remove stamp-h1 too.Paul Eggert2013-04-211-0/+5
| | | | | | | | Without this fix, "make distclean" leaves stamp-h1 behind.
* | Better full-screen frame support on MS-Windows.Erik Charlebois2013-04-201-0/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (w32_fullscreen_rect): New function to compute the window rectangle for the given fullscreen mode. (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no longer tunes the window size. This keeps the window's edges flush with the screen and allows the taskbar to hide itself in fullboth. src/w32term.c (w32fullscreen_hook): 'fullboth' now shows without window decorations and uses the entire screen. src/w32term.h (w32_fullscreen_rect) Add prototype. (struct w32_output): Replace normal_width, normal_height, normal_top, and normal_left members with a single normal_placement struct. (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP): Remove macros. (FRAME_NORMAL_PLACEMENT): New macro. Fixes: debbugs:14180
* | | Fix typos in ChangeLogs.Juanma Barranquero2013-04-161-4/+4
| | |
* | | src/minibuf.c (Ftest_completion): Silence compiler warning.Juanma Barranquero2013-04-161-0/+4
| | |
* | | ChangeLog for the last commit.Eli Zaretskii2013-04-151-1/+1
| | |
* | | More debugging code to investigate bug #14062.Eli Zaretskii2013-04-151-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (w32_wnd_proc): Add more assertions to investigate bug#14062. src/frame.h (WINDOW_FRAME): Protect macro and its argument with parentheses. src/dispextern.h (CURRENT_MODE_LINE_HEIGHT) (CURRENT_HEADER_LINE_HEIGHT, WINDOW_WANTS_MODELINE_P) (WINDOW_WANTS_HEADER_LINE_P): Protect macro arguments with parentheses where appropriate.
* | | * keyboard.c (timer_start_idle): Remove no-longer-used local.Paul Eggert2013-04-141-0/+4
| | |
* | | Improve doc strings of left/right-margin/fringe-width.Eli Zaretskii2013-04-141-0/+7
| | | | | | | | | | | | | | | | | | | | | src/buffer.c (syms_of_buffer) <left-margin-width, right-margin-width> <left-fringe-width, right-fringe-width, fringes-outside-margins>: Mention in the doc string that setting these variables takes effect only after a call to set-window-buffer. (Bug#14200)
* | | Fix vertical cursor motion when there are overlay strings at EOL.Eli Zaretskii2013-04-131-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/indent.c (Fvertical_motion): Don't consider display strings on overlay strings as display strings on the buffer position we started from. This prevents vertical cursor motion from jumping more than one line when there's an overlay string with a display property at end of line. Reported by Karl Chen <Karl.Chen@quarl.org> in http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html.
* | | * src/window.c (select_window): `record_buffer' even if window isStefan Monnier2013-04-121-12/+17
| | | | | | | | | | | | | | | | | | already selected. Fixes: debbugs:14191
* | | Fix bug #14170 with window-end returning a stale value.Eli Zaretskii2013-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug was introduced in 2012-10-15T09:03:56Z!rudalics@gmx.at while solving bug #12600. src/window.c (Fwindow_end): Test more flags, including the buffer's last_overlay_modified flag, to determine whether the window's display is really up-to-date. Prevents the function from returning a stale value. (Fwindow_line_height): Fix the test for up-to-date-ness of the current matrix.
* | | Fix bug #13864 with flickering of TTY frames in an emacslient session.Eli Zaretskii2013-04-101-0/+7
| | | | | | | | | | | | | | | | | | | | | src/frame.c (do_switch_frame): Mark the TTY frame we switch to as garbaged only if it is not already the top frame on its TTY. This prevents flickering due to constant redrawing of TTY frames when there are GUI frames open in the same session.
* | | * src/keyboard.c (timer_start_idle): Call internal-timer-start-idle insteadStefan Monnier2013-04-101-0/+5
|/ / | | | | | | | | | | | | | | | | | | of marking the idle timers directly. * lisp/emacs-lisp/timer.el (timer--check): New function. (timer--time, timer-set-function, timer-event-handler): Use it. (timer-set-idle-time): Simplify. (timer--activate): CSE. (timer-event-handler): Give more info in error message. (internal-timer-start-idle): New function, moved from C.
* | * src/minibuf.c (Ftest_completion): Ignore non-string/symbol keys in hashStefan Monnier2013-04-091-0/+5
| | | | | | | | | | | | tables. Fixes: debbugs:14054
* | * src/window.c (select_window): Don't record_buffer while the invariant isStefan Monnier2013-04-081-0/+7
| | | | | | | | | | | | | | temporarily broken. * src/fns.c (Fdelq): Don't assume !NILP => CONSP. Fixes: debbugs:14161
* | Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows.Eli Zaretskii2013-04-071-0/+4
| | | | | | | | | | | | src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. Fixes: debbugs:13702
* | Ignore additional platform-specific ACL errors (Bug#13702).Romain Francoise2013-04-071-0/+6
| | | | | | | | | | * fileio.c (ACL_NOT_WELL_SUPPORTED): New macro copied from gnulib. (Fcopy_file, Fset_file_acl) [HAVE_POSIX_ACL]: Use it.
* | * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checkingJan Djärv2013-04-071-0/+5
| | | | | | | | f->output_data.ns.