aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes around Bug#16647.Martin Rudalics2014-02-263-10/+34
| | | | | | | | * xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER cases. * window.c (coordinates_in_window): Return ON_VERTICAL_BORDER only if the window has no right divider. (Fcoordinates_in_window_p): Fix doc-string.
* src/lread.c (Funintern): Fix doc to match advertised calling convention.Juanma Barranquero2014-02-252-1/+6
|
* Add some Authors: headers based on authors.el.Glenn Morris2014-02-251-2/+6
|
* Fix event raceDaniel Colascione2014-02-242-2/+10
|\
* | Misc small frame/window docGlenn Morris2014-02-223-9/+10
| | | | | | | | | | | | | | | | | | * src/frame.c (frame-alpha-lower-limit, frame-resize-pixelwise): * src/window.c (window-resize-pixelwise): Doc fixes. * etc/NEWS: Related edits. This including unmarking some items marked as ---, where it it not clear to me that no doc updates are needed.
* | Bit more doc for process filter and sentinel changesGlenn Morris2014-02-222-2/+8
| | | | | | | | | | | | | | | | | | * src/process.c (Finternal_default_process_filter) (Finternal_default_process_sentinel): Doc tweaks. * doc/lispref/processes.texi: Typo fixes. * etc/NEWS: Related markup.
* | Some doc updates for default process sentinels and filters not being nilGlenn Morris2014-02-212-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/internals.texi (Process Internals): * doc/lispref/processes.texi (Deleting Processes, Output from Processes) (Process Buffers, Filter Functions, Accepting Output, Sentinels) (Network, Network Servers, Network Processes, Serial Ports): Filters and sentinels can no longer be nil. * doc/lispref/elisp.texi (Top): Menu update. * doc/misc/flymake.texi (Starting the syntax check process): Grammar fix. * doc/misc/tramp.texi (External packages): Grammar fix. Reword for default sentinel not being nil any more. * src/process.c (Fprocess_buffer, Faccept_process_output) (Finternal_default_process_filter, Finternal_default_process_sentinel): Doc fixes.
* | Fix handling of window-min-height/-width (Bug#16738).Martin Rudalics2014-02-212-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.el (window--dump-window, window--dump-frame): New functions. (window--min-size-1): Account for window dividers. When window-resize-pixelwise is nil, delay rounding till after the sum of the window components has been calculated. (window--min-delta-1, window--max-delta-1): When PIXELWISE is nil make sure at least one text line and two text columns remain fully visible. (window-resize): Signal an error when window-resize-apply fails. (window--resize-child-windows): Fix calculation of by how many pixels a window can still be shrunk via window-new-normal. (adjust-window-trailing-edge): Call window--resizable with correct TRAIL argument.
* | Pacify GCC when configuring with --enable-gcc-warnings.Paul Eggert2014-02-202-1/+7
| | | | | | | | | | * xdisp.c (move_it_in_display_line_to) [lint]: Initialize recently-added local.
* | Improve dbus error handling; detect bus failureDaniel Colascione2014-02-202-4/+11
|/
* Fix excessive calls to bidi_shelve_cache reported in bug #15555.Eli Zaretskii2014-02-202-17/+38
| | | | | | | | | src/xdisp.c (move_it_in_display_line_to): Save the iterator state in ppos_it only once per call. Reimplement the method used to return to the best candidate position if all the positions found in display line are beyond TO_CHARPOS. This cuts down the number of calls to bidi_shelve_cache, which moves a lot of stuff when lines are long and include bidirectional text.
* Fix assertion violation in redisplay.Eli Zaretskii2014-02-202-22/+28
| | | | | | src/xdisp.c (try_cursor_movement): Don't use cursor position if set_cursor_from_row failed to compute it. This avoids assertion violations in MATRIX_ROW.
* Fix bug #16819 with dereferencing invalid face pointer.Eli Zaretskii2014-02-202-1/+6
| | | | | src/xdisp.c (init_iterator): Don't dereference a bogus face pointer.
* Some doc for defalias-fset-functionGlenn Morris2014-02-192-0/+8
| | | | | | | | | * doc/lispref/functions.texi (Defining Functions): Mention defalias-fset-function. * src/data.c (Fdefalias): Doc fix. * etc/NEWS: Related edit.
* Fix bug #16806 with horizontal scrolling of images when fringes are disabled.Eli Zaretskii2014-02-192-13/+33
| | | | | | src/xdisp.c (display_line): Fix horizontal scrolling of large images when fringes are turned off. This comes at a price of not displaying the truncation/continuation glyphs in this case.
* Avoid crashes on MS-Windows when JPEG images are too large.Eli Zaretskii2014-02-192-0/+10
| | | | | | | | | src/image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: If CreateDIBSection returns an error indication, zero out *ximg after destroying the image. This avoids crashes in memory allocations due to the fact that some of the callers also call x_destroy_x_image, which will attempt to free an already free'd block of memory.
* Don't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH in ↵Martin Rudalics2014-02-182-0/+10
| | | | | | | update_various_frame_slots (Bug#16736). * widget.c (update_various_frame_slots): Don't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736).
* * dbusbind.c (xd_close_bus): Apply proper check on busobj.Michael Albinus2014-02-182-2/+6
|
* temacs --daemon fixPaul Eggert2014-02-172-3/+9
| | | | | | | * emacs.c (main): Initialize daemon_pipe[1] here ... (syms_of_emacs): ... instead of here. Fixes: debbugs:16599
* * nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMaskAnders Lindgren2014-02-162-3/+16
| | | | | | is set. Fixes: debbugs:16505
* Make closing dbus buses actually workDaniel Colascione2014-02-152-2/+24
|\
* | * character.h: Fix misspelling of file name in comment.Paul Eggert2014-02-141-1/+1
|/
* Fix crashes in itimers on Windows 9X.Eli Zaretskii2014-02-132-2/+8
| | | | | | src/w32proc.c (start_timer_thread): Pass a non-NULL pointer as last argument to CreateThread. This avoids segfaults on Windows 9X. Reported by oslsachem <oslsachem@gmail.com>.
* Fix subspace record bug on HP-UX 10.20.Paul Eggert2014-02-132-34/+58
| | | | | | | | | | | * unexhp9k800.c (unexec_error): New function, to simplify the code. (check_lseek): New function, to report lseek errors. (save_data_space, update_file_ptrs, read_header, write_header) (copy_file, copy_rest, unexec): Use these news functions. (update_file_ptrs): Don't assume wraparound behavior when converting a large size_t value to off_t. Fixes: debbugs:16717
* Fix ChangeLog entry.Dmitry Antipov2014-02-131-3/+3
|
* * composite.c (fill_gstring_header): Pass positions as C integersDmitry Antipov2014-02-133-34/+41
| | | | | | | | and move parameters checking to... * composite.c (Fcomposition_get_gstring): ...this function. Handle case when buffer positions are in reversed order and avoid crash (Bug#16739). Adjust docstring. * buffer.c (validate_region): Mention current buffer in error message.
* Fix typos in Changelogs.Juanma Barranquero2014-02-131-7/+7
|
* * image.c (pbm_load): Set to NO_PIXMAP on error.Jan Djärv2014-02-122-0/+5
| | | | Fixes: debbugs:16683
* * buffer.c (syms_of_buffer): Doc clarification.Lars Ingebrigtsen2014-02-112-9/+14
| | | | Fixes: debbugs:9981
* Fix typo in previousGlenn Morris2014-02-111-1/+1
|
* * src/nsfns.m (ns_display_info_for_name, Fx_open_connection): Doc fixes.Glenn Morris2014-02-112-4/+9
| | | | Replace refs to "OpenStep" in messages.
* Avoid "." at end of error diagnostics.Paul Eggert2014-02-106-6/+15
| | | | | | | | | * cmds.c (Fself_insert_command): Reword and avoid "." at end. * font.c (Ffont_at): * nsfns.m (ns_display_info_for_name): * nsselect.m (Fx_own_selection_internal): * nsterm.m (performDragOperation:): Remove "." from end of diagnostic.
* * eval.c (call_debugger): When exiting the debugger, do not allowDmitry Antipov2014-02-102-2/+9
| | | | | max_specpdl_size less than actual binding depth (Bug#16603). (syms_of_eval): Adjust docstring.
* (Fyes_or_no_p): Doc fixLars Ingebrigtsen2014-02-092-1/+3
| | | | Fixes: debbugs:15456
* * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive.Lars Ingebrigtsen2014-02-092-1/+7
| | | | Fixes: debbugs:15824
* * cmds.c (Fself_insert_command): Respect the width of EMACS_INTDmitry Antipov2014-02-102-1/+6
| | | | and avoid warning.
* * cmds.c (Fself_insert_command): Output a clearer error message on negative ↵Lars Ingebrigtsen2014-02-082-1/+9
| | | | | | repetitions. Fixes: debbugs:9476
* * macros.c (Fexecute_kbd_macro): Doc fix.Lars Ingebrigtsen2014-02-082-1/+6
|
* * syntax.c (Fskip_syntax_backward): Doc clarification.Lars Ingebrigtsen2014-02-072-1/+4
| | | | Fixes: debbugs:15115
* * minibuf.c (Fread_string): Doc clarification.Lars Ingebrigtsen2014-02-072-3/+5
| | | | Fixes: debbugs:15422
* * buffer.c (Fmake_overlay): Doc clarification.Lars Ingebrigtsen2014-02-072-1/+5
| | | | Fixes: debbugs:15489
* * src/keyboard.c (Frecursive_edit): Fix typo in docstring.Juanma Barranquero2014-02-082-1/+5
|
* * doc/lispref/keymaps.texi (Menu Bar): Minor clarification.Lars Ingebrigtsen2014-02-072-2/+4
| | | | * src/xdisp.c (syms_of_xdisp): Doc clarification (bug#15657).
* * keyboard.c (Frecursive_edit): Say more precicely how throwing `exit' works.Lars Ingebrigtsen2014-02-072-3/+12
| | | | Fixes: debbugs:15865
* In window_resize_apply adjust margin width, if necessary (Bug#16649).Martin Rudalics2014-02-072-3/+7
| | | | * window.c (window_resize_apply): Adjust margin width, if necessary.
* Constrain window body sizes.Martin Rudalics2014-02-072-3/+13
| | | | | * window.c (window_body_height, window_body_width): Don't return negative value.
* Constrain window box sizes (Bug#16649).Martin Rudalics2014-02-072-9/+21
| | | | | | * xdisp.c (window_box_width): Don't return less than zero. (window_box_left_offset, window_box_right_offset): Don't return more than the window's pixel width.
* * src/nsterm.m (syms_of_nsterm): Doc fix.Glenn Morris2014-02-062-2/+6
| | | | | It is not necessary to say "default is..." since there are standard mechanisms for displaying that information.
* Spelling fix.Paul Eggert2014-02-061-1/+1
|
* Another fix for handling of file names on Windows 9X.Eli Zaretskii2014-02-064-34/+76
| | | | | | | | | | | | | | | | | src/w32.c (pMultiByteToWideChar, pWideCharToMultiByte): New variables: pointers through which to call the respective APIs. (filename_to_utf16, filename_from_utf16, filename_to_ansi) (filename_from_ansi, sys_link, check_windows_init_file): Call MultiByteToWideChar and WideCharToMultiByte through pointers. This is required on Windows 9X, where we dynamically load UNICOWS.DLL which has their non-stub implementations. (maybe_load_unicows_dll): Assign addresses to these 2 function pointers after loading UNICOWS.DLL. src/w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call MultiByteToWideChar and WideCharToMultiByte through function pointers. src/w32.h (pMultiByteToWideChar, pWideCharToMultiByte): New declarations.