aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Better distinguish infinite from invalid timesPaul Eggert2015-02-081-0/+10
| | | | | | | | | | | | | | | | | | * editfns.c (check_time_validity): New function. (decode_time_components): Return int, not bool. Return -1 (not 0) if the time is out of range. All callers changed. (lisp_time_struct, lisp_seconds_argument): Distinguish better between time overflow and invalid time values.
* | Minor tweaks to frame_size_history_addPaul Eggert2015-02-081-0/+9
| | | | | | | | | | | | | | | | * frame.c (frame_size_history_add): Don't assume length fits in 'int'. Prefer XCAR and XCDR to Fcar and Fcdr when the arg is a cons. (Fframe_after_make_frame): Simplify. * gtkutil.c: Remove commented-out code. * xfns.c (Fx_create_frame): Fix indenting.
* | Fix a thinko in frame-parameter (Bug#19802)Eli Zaretskii2015-02-081-0/+6
| | | | | | | | | | src/frame.c (Fframe_parameter): Don't replace a non-nil value of foreground-color or background-color parameters with a nil value.
* | * src/data.c (Findirect_function): Don't signal an errorStefan Monnier2015-02-081-25/+29
| | | | | | | | | | | | * src/data.c (Findirect_function): Like `symbol-function', don't signal an error for void functions any more. * lisp/subr.el (indirect-function): Change advertised calling convention.
* | Try to improve handling of fullwidth/-height frames.Martin Rudalics2015-02-071-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.el (frame-notice-user-settings): Update `frame-size-history'. (make-frame): Update `frame-size-history'. Call `frame-after-make-frame'. * faces.el (face-set-after-frame-default): Remove call to frame-can-run-window-configuration-change-hook. * frame.c (frame_size_history_add): New function. (frame_inhibit_resize): Consider frame_inhibit_implied_resize only after frame's after_make_frame slot is true. Inhibit resizing fullwidth-/height frames in one direction only. Update frame_size_history. (adjust_frame_size): Call frame_size_history_add. (make_frame): Initalize after_make_frame slot. (Fmake_terminal_frame): Adjust adjust_frame_size call. (Fcan_run_window_configuration_change_hook): Rename to Fframe_after_make_frame. Set after_make_frame slot. Return second argument. (x_set_frame_parameters): Postpone handling fullscreen parameter until after width and height parameters have been set. Apply width and height changes only if can_x_set_window_size is true. Update frame_size_history. (Qadjust_frame_size_1, Qadjust_frame_size_2) (Qadjust_frame_size_3, QEmacsFrameResize, Qframe_inhibit_resize) (Qx_set_fullscreen, Qx_check_fullscreen, Qx_set_window_size_1) (Qxg_frame_resized, Qxg_frame_set_char_size_1) (Qxg_frame_set_char_size_2, Qxg_frame_set_char_size_3) (Qxg_change_toolbar_position, Qx_net_wm_state) (Qx_handle_net_wm_state, Qtb_size_cb, Qupdate_frame_tool_bar) (Qfree_frame_tool_bar): New symbol for updating frame_size_history. (Qtip_frame, Qterminal_frame): New symbols. (Vframe_adjust_size_history): Rename to frame_size_history. * frame.h (struct frame): Rename can_run_window_configuration_change_hook slot to after_make_frame. (frame_size_history_add): Extern. * gtkutil.c (xg_frame_resized): Call frame_size_history_add. Don't set FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT here. (xg_frame_set_char_size): Try to preserve the status of fullwidth/-height frames. Call frame_size_history_add. (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar) (xg_change_toolbar_position): Call frame_size_history_add. * w32fns.c (x_change_tool_bar_height): Handle frame's fullscreen status. (Fx_create_frame): Process fullscreen parameter after frame has been resized. (x_create_tip_frame): Pass Qtip_frame to adjust_frame_size. (Fx_frame_geometry): Don't pollute pure storage. * w32term.c (w32_read_socket): For WM_WINDOWPOSCHANGED, WM_ACTIVATE and WM_ACTIVATEAPP set frame's visibility before calling w32fullscreen_hook. For WM_DISPLAYCHANGE call w32fullscreen_hook immediately. (x_fullscreen_adjust, x_check_fullscreen): Remove. (w32fullscreen_hook): Call change_frame_size just as with a "normal" frame resize operation. Call do_pending_window_change. (x_set_window_size): Try to handle fullwidth and fullheight more accurately. Don't rely on w32_enable_frame_resize_hack. (w32_enable_frame_resize_hack): Remove variable. * widget.c (EmacsFrameResize): Remove dead code. Call frame_size_history_add * window.c (run_window_configuration_change_hook): Check f->after_make_frame instead of f->can_run_window_configuration_change_hook. * xfns.c (x_change_tool_bar_height): Handle frame's fullscreen status. (Fx_create_frame): Process fullscreen parameter after frame has been resized. (Fx_frame_geometry): Don't pollute pure storage. * xterm.c (x_net_wm_state, x_handle_net_wm_state): Call frame_size_history_add. (do_ewmh_fullscreen): Handle x_frame_normalize_before_maximize. (x_check_fullscreen): Count in menubar when calling XResizeWindow. Wait for ConfigureNotify event. Call frame_size_history_add. (x_set_window_size_1): Remove PIXELWISE argument. Try to handle changing a fullheight frame's width or a fullwidth frame's height. Call frame_size_history_add. (x_set_window_size): Simplify xg_frame_set_char_size and x_set_window_size_1 calls. (x_frame_normalize_before_maximize): New variable.
* | Remove no-longer-used cursor_in_echo_area codePaul Eggert2015-02-061-0/+9
| | | | | | | | | | | | | | | | * dispnew.c (set_window_cursor_after_update, update_frame_1): Remove checks for negative cursor_in_echo_area, since this var is a boolean, and has been a boolean for some time. Simplify. * dispnew.c (init_display): * xdisp.c (message3_nolog, vmessage): Use bool for boolean.
* | Add (:documentation <form>) for dynamically-generated docstringsStefan Monnier2015-02-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el: (byte-compile-initial-macro-environment): Use macroexp-progn. (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all. (byte-compile-file-form-defvar-function): Rename from byte-compile-file-form-define-abbrev-table. (defvaralias, byte-compile-file-form-custom-declare-variable): Use it. (byte-compile): Use byte-compile-top-level rather than byte-compile-lambda so we can compile non-values. (byte-compile-form): Add warnings for failed uses of lexical vars via quoted symbols. (byte-compile-unfold-bcf): Improve message for failed inlining. (byte-compile-make-closure): Handle new format of internal-make-closure for dynamically-generated docstrings. * lisp/emacs-lisp/cconv.el (cconv--convert-function): Add `docstring' argument. (cconv-convert): Use it to handle the new (:documentation ...) form. (cconv-analyze-form): Handle the new (:documentation ...) form. * src/eval.c (Ffunction): Handle the new (:documentation ...) form. (syms_of_eval): Declare `:documentation'.
* | Remove recently added BUFFER arg of `window-text-pixel-size'.Martin Rudalics2015-02-051-0/+5
| | | | | | | | | | | | | | * xdisp.c (Fwindow_text_pixel_size): Remove optional BUFFER argument added on 2015-02-01. * display.texi (Size of Displayed Text): Remove description of optional argument BUFFER of `window-text-pixel-size'.
* | Remove no-longer-used two_byte_p calculationsPaul Eggert2015-02-031-0/+8
| | | | | | | | | | | | | | * dispextern.h (struct glyph_string): Remove member two_byte_p. All uses removed. * xdisp.c (get_glyph_face_and_encoding): Remove arg two_byte_p. All callers changed.
* | Omit unnecessary var if GTK or NSPaul Eggert2015-02-021-0/+6
| | | | | | | | | | * frame.c, frame.h (frame_default_tool_bar_height) [USE_GTK||HAVE_NS]: Now a constant zero on these platforms.
* | Give `window-text-pixel-size' optional BUFFER argument.Martin Rudalics2015-02-011-0/+4
| | | | | | | | | | | | | | | | [This reinstalls commit 1d1162479caf1fdf48564f1486fa84e3cdacaa9b, which I mistakenly reverted. --eggert] * xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER. * display.texi (Size of Displayed Text): Describe optional argument BUFFER of `window-text-pixel-size'.
* | Revert changes installed by xwidgets mergePaul Eggert2015-02-011-21/+0
| |
* | Give `window-text-pixel-size' optional BUFFER argument.Martin Rudalics2015-02-011-0/+4
| | | | | | | | | | | | * xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER. * display.texi (Size of Displayed Text): Describe optional argument BUFFER of `window-text-pixel-size'.
* | Better changelog for xwidgetsJoakim Verona2015-02-011-1/+1
| |
* | NEWS entry and Changelog xwidgetsJoakim Verona2015-02-011-0/+17
| |
* | Avoid aborts when keyboard-coding-system is raw-text (Bug#19532)Eli Zaretskii2015-01-311-0/+9
| | | | | | | | | | | | | | src/coding.c (raw_text_coding_system_p): New function. src/keyboard.c (read_decoded_event_from_main_queue): Use it when the keyboard coding-system is 'raw-text'. src/coding.h (raw_text_coding_system_p): Add prototype.
* | Don't reimplement move-if-change badlyAndreas Schwab2015-01-311-0/+6
| | | | | | | | | | | | * Makefile.in (gl-stamp): Generate globals.h through the use of move-if-change. (globals.h): Replace with empty command.
* | Fix while-no-input loops (Bug#19547)Eli Zaretskii2015-01-311-0/+4
| | | | | | | | | | | | src/keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT and ICONIFY_EVENT for the purposes of breaking while-no-input loops.
* | Fix last commit, which confused WINDOWSNT with MSDOS.Eli Zaretskii2015-01-311-0/+6
| | | | | | | | | | | | src/dired.c (read_dirent): Correct the "MSDOS hacks" hack: the special code for errno = ENOENT or EACCES is needed for WINDOWSNT, not for MSDOS.
* | Simplify read_dirent's MSDOS hacksPaul Eggert2015-01-301-0/+7
| | | | | | | | | | | | * dired.c (read_dirent): Simplify by removing the need for the DIR_ENTRY argument. All callers changed. This separates the MS-DOS idiosyncrasies better from the rest of the code.
* | # ChangeLog fixesGlenn Morris2015-01-301-30/+17
| | | | | | | | | | Merged ChangeLog entries go to the top, with the date of the merge. It's a simple rule.
* | Fix error messages when readdir cannot open a directory on MS-WindowsEli Zaretskii2015-01-301-0/+9
| | | | | | | | | | | | | | | | | | src/dired.c (read_dirent): Accept an additional argument FIRST_ENTRY. If readdir fails with ENOENT or EACCES the first time it is called, report the error as if it happened in open_directory. (directory_files_internal, file_name_completion): Adjust callers or read_dirent.
* | Refactor calls to opendir for simplicityPaul Eggert2015-01-291-0/+6
| | | | | | | | | | * dired.c (open_directory): Accept Lisp_Object, not char *, for dirname. Signal an error if the open fails. All callers changed.
* | Report readdir failuresPaul Eggert2015-01-291-0/+10
| | | | | | | | | | | | | | | | | | Previously, on non-MS-Windows platforms the code treated most readdir failures as EOF. This was incorrect, e.g., when readdir fails with errno == EOVERFLOW. Signal an error instead. * dired.c (read_dirent): New function, which signals an error when readdir fails. (directory_files_internal, file_name_completion): Use it.
* | Merge from origin/emacs-24Paul Eggert2015-01-291-0/+12
|\ \ | |/ | | | | | | | | | | ad588af Improve the fix for bug #19701 Conflicts: src/ChangeLog
| * Improve the fix for bug #19701Eli Zaretskii2015-01-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | src/dired.c (directory_files_internal, file_name_completion) [WINDOWSNT]: Signal an error when errno is set non-zero by 'readdir', regardless of its value. src/w32.c (sys_readdir): Set errno to ENOENT when the directory doesn't exist and to EACCES when it's not accessible to the current user. Set errno to zero when FindNextFile exhausts the directory, so that callers don't interpret that as an error and don't signal a file-error. (open_unc_volume): Set errno to ENOENT if WNetOpenEnum fails.
* | Commit src/ChangeLog for previous commit.Eli Zaretskii2015-01-291-0/+13
| |
* | Use bool, not int, to track face changesPaul Eggert2015-01-281-0/+8
| | | | | | | | | | | | | | * xfaces.c (face_change): Rename from face_change_count, and change from int to bool. The var is now true (instead of nonzero) if attributes have changed; this is simpler. All uses changed. Fixes: bug#19698
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsFabián Ezequiel Gallina2015-01-281-0/+4
|\ \
| * | Tighten up the tagcode used for eieio and cl-struct objectsStefan Monnier2015-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function slot of the tag symbol to :quick-object-witness-check. (eieio-object-p): Use :quick-object-witness-check. (eieio--generic-tagcode): Use cl--generic-struct-tag. * lisp/emacs-lisp/cl-preloaded.el: New file. * lisp/emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused. (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits. (cl--make-usage-args): Strip away &aux args. (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2. (cl-the, cl-check-type): Use macroexp-let2 and cl-typep. (cl-defstruct): Use `declare' and cl-struct-define. * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function. (cl--generic-struct-tagcode): Use it to tighten the tagcode. * lisp/loadup.el: Load cl-preloaded. * src/lisp.mk (lisp): Add cl-preloaded.
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+13
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9664def Signal a file-error from directory-files on MS-Windows (Bug#19701) fd4e65e Added missing test for previous commit 5485e3e5 python.el: New non-global state dependent indentation engine. 3b23e6a Fix the description of --insert command-line option (Bug#19694) 7a7e594 Add a cross-reference in ELisp manual. (Bug#19668) b4f4075 Fixes: debbugs:19660 83b3c31 * test/automated/regexp-tests.el: Require regexp-opt Conflicts: lisp/progmodes/python.el
| * | Signal a file-error from directory-files on MS-Windows (Bug#19701)Eli Zaretskii2015-01-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | src/dired.c (directory_files_internal) [WINDOWSNT]: If readdir returns NULL and errno is ENOTDIR, behave as if opendir failed to open the directory. src/w32.c (sys_readdir): If FindFirstFile fails because the directory doesn't exist, set errno to ENOTDIR.
| * | Fixes: debbugs:19660Jan D2015-01-241-0/+4
| | | | | | | | | | | | * nsterm.m (drawRect:): Add block/unblock_input.
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | 8ee825c doc/emacs/programs.texi (Custom C Indent): Fix a typo. (Bug#19647) 88ba49f Fix coding.c subscript error 3ea1b31 Prevent artist-mode from creating runaway timers (Bug#6130).
| * | Fix coding.c subscript errorPaul Eggert2015-01-211-0/+4
| | | | | | | | | | | | | | | * coding.c (CODING_ISO_INVOKED_CHARSET): Avoid undefined behavior if CODING_ISO_INVOCATION returns negative.
| * | Backport: correct old fix for GTK font selectionPaul Eggert2015-01-201-0/+6
| | | | | | | | | | | | | | | * gtkutil.c (xg_get_font): Fix off-by-2 typo. Fixes: bug#3228
| * | Backport from trunk of bug 19531.Jan D2015-01-211-0/+4
| | | | | | | | | | | | | | | | | | Fixes: debbugs:19531 * nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt.
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 24aacfc Improve documentation of buttons (Bug#19628) 52ae3db doc/lispref/text.texi (Clickable Text): Improve indexing. (Bug#19629) 310f707 lisp/button.el (button-activate, push-button): Doc fix. (Bug#19628) 3ee38f2 Disallow w32 builds --without-toolkit-scroll-bars. e6518fc Fix display of images in R2L screen lines b0af674 Use u+05f4 in TUTORIAL.he.
| * | Fix display of images in R2L screen linesEli Zaretskii2015-01-171-0/+6
| | | | | | | | | | | | | | | | | | src/xdisp.c (produce_image_glyph): Fix display of images in R2L screen lines: prepend the new glyph to the ones already there instead of appending it.
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | a3505cb doc/lispref/variables.texi (Creating Buffer-Local): Improve indexing (Bug#19608) d132c7b erc-backend.el: Give hook-name a default value of nil and add-to-list unconditionally. Fixes debbugs:19363 61cc7bf Fix support of non-ASCII frame titles on MS-Windows (Bug#19590) 1e5902a * filenotify.el (file-notify--descriptor): Do not cons for remote files. b1ea160 Handle watching of several files in the same directory for inotify.
| * | Fix support of non-ASCII frame titles on MS-Windows (Bug#19590)Eli Zaretskii2015-01-141-0/+7
| | | | | | | | | | | | | | | | | | | | | src/w32fns.c (w32_set_title_bar_text): New function, including support for titles with non-ASCII characters outside of the current system codepage. (x_set_name, x_set_title): Use it.
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+10
|\ \ \ | |/ / | | | | | | | | | | | | b544ab5 Fix return value of vertical-motion at ZV (Bug#19553) 1f179ea Fix encoding of I/O in net-utils.el for MS-Windows. (Bug#19458) 70f298f Fix the description of -nl in --help text. (Bug#19542)
| * | Fix return value of vertical-motion at ZV (Bug#19553)Eli Zaretskii2015-01-101-0/+5
| | | | | | | | | | | | | | | src/indent.c (Fvertical_motion): Return zero if we started from ZV and there's an overlay after-string there.
| * | Fix the description of -nl in --help text. (Bug#19542)Eli Zaretskii2015-01-091-0/+5
| | | | | | | | | | | | src/emacs.c (usage_message): Fix the description of the -nl switch.
| * | Fix line-move-visual's following of column in R2L lines (backport from trunk).Eli Zaretskii2015-01-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/simple.el (line-move-visual): When converting X pixel coordinate to temporary-goal-column, adjust the value for right-to-left screen lines. This fixes vertical-motion, next/prev-line, etc. src/dispnew.c (buffer_posn_from_coords): Fix the value of the column returned for right-to-left screen lines. (Before the change on 2014-12-30, the incorrectly-computed X pixel coordinate concealed this bug.) (cherry picked from commit 5fbd17e369ca30a47ab8a2eda0b2f2ea9b690bb4) Conflicts: lisp/simple.el
* | | Merge from origin/emacs-24Fabián Ezequiel Gallina2015-01-281-0/+17
|\ \ \ | |/ / | | / | |/ |/| | | | | d279e66 Fix assertion violations in try_window_id (Bug#19511) 031eadc Fix dired quoting bug with "Hit`N`Hide" 5981b4b More doc fixes for bug#19502 -- make documentation less X-specific. 143516c src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502)
| * Fix assertion violations in try_window_id (Bug#19511)Eli Zaretskii2015-01-051-0/+8
| | | | | | | | | | | | | | src/xdisp.c (move_it_to, try_cursor_movement): Don't use the window end information if the window_end_valid flag is unset. (try_window_id): If the call to display_line invalidated the window end information, give up the try_window_id optimization.
| * More doc fixes for bug#19502 -- make documentation less X-specific.Eli Zaretskii2015-01-041-0/+4
| | | | | | | | | | | | | | | | | | doc/lispref/frames.texi (Display Feature Testing): Make the description of x-server-version and x-server-vendor less X-specific. Make doc strings on X and w32 identical. src/w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix. src/xfns.c (Fx_server_version, Fx_server_vendor): Doc fix.
| * src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502)Eli Zaretskii2015-01-041-0/+5
| |
| * Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | | | | | Run admin/update-copyright.