summaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* ChangeLog fixesGlenn Morris2014-01-163-4/+4
* Spelling fixes.Paul Eggert2014-01-151-1/+1
* src/ChangeLog: Fix typos.Eli Zaretskii2014-01-151-2/+2
* ChangeLog fixesGlenn Morris2014-01-1410-54/+49
* Space before paren, updating recent change.Paul Eggert2014-01-141-1/+1
* Fix MinGW64 porting problem with _setjmp....Reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing the old _setjmp and _longjmp. All uses changed. Paul Eggert2014-01-132-13/+23
* Correctly handle reaching the end of the interval tree. (Bug#15344)Daniel Colascione2014-01-132-0/+18
|\
* | Fix bug when resizing mini window (Bug#16424)....* xdisp.c (resize_mini_window): Round height to a multiple of frame's line height. Fix bug in calculation of window start position (Bug#16424). Martin Rudalics2014-01-132-2/+8
* | * macfont.m: Include termchar.h....(CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND) (CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND) (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modified from *_WITH_GC_* to take face and f as parameters. (macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly. Use *_WITH_FACE_*, and pass face as parameter. Fixes: debbugs:16425 Jan Djärv2014-01-132-12/+28
|/
* Make GTK+ menus work correctly with the Unity global menuDaniel Colascione2014-01-124-14/+44
|\
| * Fix changelogDaniel Colascione2014-01-121-0/+3
| * Make GTK+ menus work correctly with Unity global menuDaniel Colascione2014-01-124-14/+41
* | composite.c (composition_update_it): Fix indexing of LGSTRING_CHAR (Bug#15984).Kenichi Handa2014-01-132-1/+6
* | Fix minor build problems related to MinGW64.... configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is "MINGW64" as well. nt/inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64. src/unexw32.c (_start) [__MINGW64__]: Define to __start. Fabrice Popineau2014-01-112-0/+11
* | Fix bug #16347 with updating redisplay of company-mode's "tooltip".... src/xdisp.c (try_window_id): Don't use this function's optimizations if overlays in the buffer displayed by the window have changed since last redisplay. (message_dolog): Fix indentation. Eli Zaretskii2014-01-112-1/+14
* | src/xdisp.c (try_window_id): Update commentary.Eli Zaretskii2014-01-111-2/+9
* | Fix doc-string of frame_resize_pixelwise....* frame.c (frame_resize_pixelwise): Fix doc-string. Martin Rudalics2014-01-112-4/+13
* | Fix handling of internal borders (Bug#16348)....* dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove internal border width from pixel width of windows. (change_frame_size_1): Don't return early when frame's pixel size changes - we still have to record the new sizes in the frame structure. * w32fns.c (x_set_tool_bar_lines): Clear internal border width also when toolbar gets larger. * window.c (check_frame_size): Include internal_border_width in check. * xdisp.c (Ftool_bar_height): Fix doc-string typo. * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In non-toolkit/non-GTK version clear internal border. * xterm.c (x_clear_under_internal_border): New function for non-toolkit/non-GTK version. (x_after_update_window_line): In non-toolkit/non-GTK version don't do that. (handle_one_xevent, x_set_window_size): Call x_clear_under_internal_border in non-toolkit/non-GTK version. * xterm.h (x_clear_under_internal_border): Extern it. Martin Rudalics2014-01-118-35/+106
* | ChangeLog fixesGlenn Morris2014-01-103-14/+14
|/
* Spelling fixes....* mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. * woman.el (woman-mark-horizontal-position): Rename from woman-mark-horizonal-position. Use changed. Paul Eggert2014-01-091-1/+1
* Fix misdisplay of interlaced GIFs with libgif5....* image.c (gif_load): libgif5 deinterlaces for us, so don't do it again. Fixes: debbugs:16372 Paul Eggert2014-01-072-1/+7
* Fix bug #16129 with slow and incorrect redisplay in follow-mode.... src/xdisp.c (redisplay_window): Don't skip window redisplay if the last value of point is not equal to buffer's point. Eli Zaretskii2014-01-062-1/+7
* Spelling fixes....* calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): * emacs-lisp/debug.el (cancel-debug-on-entry): * epg.el (epg-error-to-string): * files.el (recover-file): * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): * mail/emacsbug.el (report-emacs-bug-hook): * mail/sendmail.el (mail-recover): * ses.el (ses-yank-resize): * term/ns-win.el (ns-print-buffer): Spelling fixes in diagnostics, mostly for "canceled" with one L. * epg.el (epg-key-capability-alist): Rename from misspelled version. All uses changed. * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name. Paul Eggert2014-01-055-5/+5
* Spelling fix.Paul Eggert2014-01-041-1/+1
* Spelling fixes....* lib-src/Makefile.in (regex.o): Remove reference to no-longer-used macros CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a misspelling anyway.... * src/nsterm.h (updateCollectionBehavior): Rename from updateCollectionBehaviour. All uses changed. Paul Eggert2014-01-043-5/+9
* Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343)....Problem and proposed patch reported by Ulrich Mueller; this patch uses a somewhat-different approach. * configure.ac (SETFATTR): New variable. * src/Makefile.in (SETFATTR): New macro. (temacs$(EXEEXT)): Use it. Paul Eggert2014-01-042-3/+12
* Fix maximization behavior on Windows (Bug#16300)....Fix maximization behavior on Windows (Bug#16300). * w32fns.c (w32_fullscreen_rect): Don't handle FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially. * w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead of SetWindowPos. Restore last placement also when leaving FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH. Call ShowWindow in all but the FULLSCREEN_BOTH case. Martin Rudalics2014-01-043-15/+25
* Port to C89....* data.c (arithcompare_driver): * fileio.c (Fcar_less_than_car): * fns.c (internal_equal): * frame.c (delete_frame): * lisp.h (enum More_Lisp_Bits): * lread.c (read1): Avoid C99 constructs that don't work in C89. * data.c (ULL_MAX, count_trailing_zeros_ll): New macros, to port to C89, which doesn't have 'long long'. (count_trailing_zero_bits): Use them. Paul Eggert2014-01-027-10/+33
* Whitespace fixes for recently-added code.Paul Eggert2014-01-021-2/+3
* Remove the dynamic-docstring-function feature....* emacs-lisp/advice.el (ad--make-advised-docstring): Change args. Ignore function-documentation property when getting documentation. (ad-activate-advised-definition): Use function-documentation generate the docstring. (ad-make-advised-definition): Don't call ad-make-advised-definition-docstring. (ad-make-advised-definition-docstring, ad-advised-definition-p): Delete functions. * emacs-lisp/nadvice.el (advice--make-docstring): Change args. (advice--docstring): Delete variable. (advice--make-1): Leave the docstring empty. (advice-add): Use function-documentation for advised docstring. * progmodes/sql.el (sql-help): Use function-documentation instead of dynamic-docstring-function property. No need to autoload now. (sql--help-docstring): New variable. (sql--make-help-docstring): Use it. * doc.c (Fdocumentation): Remove dynamic-docstring-function. Chong Yidong2014-01-032-15/+4
* Further adjust frame/window scrollbar width calculations....* window.c (apply_window_adjustment): Set windows_or_buffers_changed. (Fwindow_scroll_bars): Return actual scrollbar width. * xfns.c (x_set_scroll_bar_default_width): Rename wid to unit. For non-toolkit builds again use 14 as minimum width and set FRAME_CONFIG_SCROLL_BAR_WIDTH accordingly. * xterm.c (XTset_vertical_scroll_bar): Take width from WINDOW_SCROLL_BAR_AREA_WIDTH. (x_new_font): Rename wid to unit. Base calculation of new scrollbar width on toolkit used and make it analogous to that of x_set_scroll_bar_default_width. * w32fns.c (x_set_scroll_bar_default_width): Rename wid to unit. (Fx_create_frame): Call x_set_scroll_bar_default_width instead of GetSystemMetrics. * w32term.c (w32_set_vertical_scroll_bar): Take width from WINDOW_SCROLL_BAR_AREA_WIDTH. (x_new_font): Make it correspond to changes in xterm.c. Martin Rudalics2014-01-027-42/+62
* Prefer ASCII in doc and comments when the difference does not matter.Paul Eggert2014-01-011-1/+1
* * lisp.h (EMACS_INT): Configure based on INTPTR_MAX, not LONG_MAX....This is a cleaner way to fix the MinGW-w64 porting problem. Check for INTPTR_MAX misconfiguration. Paul Eggert2014-01-012-10/+20
* Fix bug #16265 with buffer caches when modifying text in indirect buffers.... src/search.c (newline_cache_on_off, find_newline): In indirect buffers, use the newline cache of the base buffer. src/insdel.c (invalidate_buffer_caches): If BUF is an indirect buffer, invalidate the caches of its base buffer. src/indent.c (width_run_cache_on_off, compute_motion): In indirect buffers, use the width-run cache of the base buffer. src/xdisp.c (redisplay_window): When the window displays an indirect buffer, and the character widths in the display table have changed, invalidate the width-run cache of the corresponding base buffer. src/fileio.c (Finsert_file_contents): When invalidating the newline cache, consider the case of inserting into indirect buffer. src/bidi.c (bidi_paragraph_cache_on_off, bidi_find_paragraph_start): In indirect buffers, use the paragraph cache of the base buffer. Eli Zaretskii2014-01-017-52/+164
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-01202-207/+214
* Fix last change of grow_mini_window....* window.c (grow_mini_window): Fix last change. Martin Rudalics2013-12-312-8/+12
* * nsterm.m (windowDidResignKey:): Set mouse_moved to 0....Fixes: debbugs:8421 Jan Djärv2013-12-312-0/+5
* Minor fixes for MinGW64 build.... configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit MinGW64 build on MS-Windows. nt/inc/ms-w32.h (sys_kill): Fix prototype. src/w32term.c (w32_initialize): Use LCID and LOWORD. src/w32proc.c (create_child): Use pid_t for 5th argument. (IsValidLocale): Don't provide prototype for MinGW64. (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout) (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD. src/w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which MinGW64 doesn't support. src/lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build. Fabrice Popineau2013-12-315-19/+31
* Fix typo in a comment in the last commit in w2.c.Eli Zaretskii2013-12-311-1/+1
* Fall back on SetNamedSecurityInfo if SetFileSecurity fails in acl_set_file.... src/w32.c (set_named_security_info): New function. (acl_set_file): Fall back on set_named_security_info if set_file_security fails. Fixes rare failures in backups. (g_b_init_set_named_security_info_w) (g_b_init_set_named_security_info_a): New static variables. (globals_of_w32): Initialize them to zero. (set_named_security_info): Set them to non-zero if the corresponding API is available. (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): New function typedefs. Fabrice Popineau2013-12-312-5/+115
* Some more fixes following pixelwise resize changes including one for Bug#16306....* gtkutil.c (x_wm_set_size_hint): Have size hints respect value of frame_resize_pixelwise. * widget.c (pixel_to_text_size): New function. (update_wm_hints): Have size hints respect value of frame_resize_pixelwise. (EmacsFrameResize): Alway process resize requests pixelwise. * window.c (grow_mini_window): Make sure mini window is at least one line tall. * xdisp.c (display_menu_bar): Make sure menubar extends till right end of frame. * xfns.c (x_set_menu_bar_lines): Resize frame windows pixelwise. (x_set_tool_bar_lines): Calculate pixelwise. * xterm.c (x_wm_set_size_hint): Have size hints respect value of frame_resize_pixelwise. Martin Rudalics2013-12-317-40/+106
* src/fileio.c: Silence compiler warnings....* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows variables not used there. Juanma Barranquero2013-12-302-2/+7
* Fix bug #16299 with assertion violation in set-default-file-modes on Windows.... src/w32.c (sys_umask): New function. nt/inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask. Eli Zaretskii2013-12-302-0/+33
* Fix Bug#16284....* dispnew.c (change_frame_size_1): Take old width of root window from that window's pixel width. Bug#16284. Martin Rudalics2013-12-302-2/+6
* Plain copy-file no longer chmods an existing destination....* doc/lispref/files.texi (Changing Files): Document this. * etc/NEWS: Document this. * src/fileio.c (realmask): Now a static var, not a local. (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST. Remove arg STATPTR. All uses changed. (Fcopy_file): Do not alter permissions of existing destinations, unless PRESERVE-PERMISSIONS (renamed from PRESERVE-EXTENDED-ATTRIBUTES) is non-nil. Avoid race when testing for existing destinations and for when input and output files are the same. If changing the group fails, adjust both default and preserved permissions so that access is not granted to the wrong group. (Fset_default_file_modes, init_fileio): Update realmask. (Fdefault_file_modes): Use realmask instead of calling umask. Fixes: debbugs:16133 Paul Eggert2013-12-292-68/+111
* * src/emacs.c (main): [DAEMON_MUST_EXEC]: Restore close-on-exec after exec....Fixes: debbugs:16262 Paul Eggert2013-12-281-0/+1
* Fix pipe bug with OS X emacs --daemon (Bug#16262)....* emacs.c (main) [DAEMON_MUST_EXEC]: Clear the close-on-exec flags on the daemon pipe ends before execing. Paul Eggert2013-12-282-0/+8
* Fix a thinko in last commit.Eli Zaretskii2013-12-281-1/+2
* Fix bug #14739 with creation of GUI frames from TTY session on Windows.... src/w32fns.c (Fx_create_frame): Error out if called from a TTY session. lisp/frame.el (window-system-for-display): Don't allow to create a GUI frame from a -nw session on MS-Windows. Eli Zaretskii2013-12-282-0/+8
* ChangeLog fixes for font-lockingGlenn Morris2013-12-271-3/+3