aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * src/dispnew.c (update_frame_with_menu): Set display_completed.Eli Zaretskii2014-06-021-0/+4
| |
* | Fix last commit.Eli Zaretskii2014-06-071-0/+6
| | | | | | | | | | | | src/term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern only for WINDOWSNT. src/menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
* | * term.c (tty_menu_show) [!HAVE_NTGUI]: Now static.Paul Eggert2014-06-061-0/+5
| | | | | | | | * menu.h (tty_menu_show) [!HAVE_NTGUI]: Omit extern decl.
* | * src/window.c (Frecenter): Signal an error if window-buffer is notStefan Monnier2014-06-061-0/+3
| | | | | | | | current-buffer.
* | * lisp/mouse.el (mouse-posn-property): Ignore buffer position info when theStefan Monnier2014-06-051-0/+3
| | | | | | | | | | | | even happened elsewhere. * src/keyboard.c (make_lispy_position): Don't include a buffer position in mode/header-line mouse events.
* | * src/keyboard.c (read_char): Handle (t . <event>) in the second use ofStefan Monnier2014-06-051-20/+20
| | | | | | | | | | | | Vunread_command_events. Fixes: debbugs:17650
* | * xterm.c (x_setup_pointer_blanking): ConditionallyDmitry Antipov2014-06-061-0/+5
| | | | | | | | probe Xfixes until this stuff is stabilized (Bug#17609).
* | * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.Dmitry Antipov2014-06-051-0/+5
| | | | | | | | | | | | * nt/inc/ms-w32.h (POLL_FOR_INPUT): Likewise. * src/keyboard.c, src/process.c: Do not define POLL_FOR_INPUT here because it will be defined in generated config.h if needed.
* | Use terminal-specific hooks to display popup dialogs.Dmitry Antipov2014-06-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * termhooks.h (struct terminal): New field popup_dialog_hook. * menu.c (emulate_dialog_with_menu): New function, refactored from ... (Fx_popup_dialog): ... adjusted user. Also remove old #if 0 code and use popup_dialog_hook. * nsmenu.m (ns_popup_dialog): Make hook-compatible. * nsterm.h (ns_popup_dialog): Adjust prototype. * nsterm.m (ns_create_terminal): * w32term.c (w32_create_terminal): * xterm.c (x_create_terminal) [USE_X_TOOLKIT || USE_GTK]: Setup popup_dialog_hook.
* | Improve dumped memory report on MS-Windows.Eli Zaretskii2014-06-041-0/+4
| | | | | | | | | | src/w32heap.c (report_temacs_memory_usage): Improve the report by reporting the large blocks that are actually occupied at dump time.
* | Fix TTY menus on MS-Windows broken by last commit.Eli Zaretskii2014-06-041-0/+5
| | | | | | | | | | src/w32console.c (initialize_w32_display): Set the console menu_show_hook, otherwise TTY menus on w32 crash and burn.
* | Use terminal-specific hooks to display menus.Dmitry Antipov2014-06-041-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * termhooks.h (struct terminal): New field menu_show_hook. * menu.h (<anonymous enum>): Bit flags for menu hooks. (x_menu_show, w32_menu_show, ns_menu_show, tty_menu_show): Adjust prototypes. * menu.c (Fx_popup_menu): Use bit flags and menu_show_hook. * nsmenu.m (ns_menu_show): * w32menu.c (w32_menu_show): * xmenu.c (x_menu_show): * term.c (tty_menu_show): Adjust to use bit flags. (set_tty_hooks): Set menu_show_hook. * xterm.c (x_create_terminal): * nsterm.m (ns_create_terminal): * msdos.c (initialize_msdos_display): * w32term.c (w32_create_terminal): Likewise.
* | src/w32heap.c (DUMPED_HEAP_SIZE) [!_WIN64]: Reduce to 11 MB.Juanma Barranquero2014-06-041-0/+4
| |
* | Fix the MS-Windows build broken by few last commits.Eli Zaretskii2014-06-041-0/+5
| | | | | | | | | | src/sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET) (FD_SET): Don't define on WINDOWSNT.
* | * emacs.c: Include "sysselect.h", to define its inline functions.Paul Eggert2014-06-031-0/+4
| | | | | | | | | | Problem reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html
* | Do not require libXt-devel when building with gtk.Paul Eggert2014-06-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lwlib/lwlib-widget.h: New file, with contents taken from lwlib.h. (widget_value) [HAVE_NTGUI]: New member 'title'. * lwlib/lwlib.h: Include lwlib-widget.h. (change_type, enum button_type, widget_value): Move to lwlib-widget.h. * src/gtkutil.h, src/menu.h: Include lwlib-widget.h, not lwlib-h, to avoid dependency on libXt-devel. * src/menu.h [HAVE_NTGUI]: Include lwlib-widget.h in this case too. (enum button_type, widget_value) [HAVE_NTGUI]: Remove, as lwlib-widget.h now does this. * src/nsmenu.m (ns_menu_show): "enabled" -> "enable" to fix typo.
* | If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET.Paul Eggert2014-06-031-0/+11
| | | | | | | | | | | | | | | | | | | | * process.c (add_read_fd, delete_read_fd, add_write_fd) (delete_write_fd, wait_reading_process_output): Remove now-redundant easserts. * sysselect.h (SYSSELECT_H): New macro, to avoid double-inclusion woes. Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. (fd_CLR, fd_ISSET, fd_SET): New inline functions. (FD_CLR, FD_ISSET, FD_SET): Redefine in terms of these functions.
* | More minor cleanups in src/w32heap.c.Eli Zaretskii2014-06-031-0/+2
| | | | | | | | | | src/w32heap.c (calloc): Don't undef, it is never defined. (HEAP_ENTRY_SHIFT): Remove unused macro.
* | Define the size of dumped data for MS-Windows locally on w32heap.c.Eli Zaretskii2014-06-031-0/+7
| | | | | | | | | | | | | | | | | | | | configure.ac (C_HEAP_SWITCH): Remove. src/w32heap.c (DUMPED_HEAP_SIZE): Move from w32heap.h. Don't use HEAPSIZE; instead, define separate values for the 32- and 64-bit builds. src/Makefile.in (C_HEAP_SWITCH): Remove. (ALL_CFLAGS): Don't use $(C_HEAP_SWITCH).
* | Fix MS-Windows build broken by menu changes on 2014-06-02.Eli Zaretskii2014-06-031-0/+9
| | | | | | | | | | | | | | src/w32menu.c (w32_menu_show): Fix a typo that broke compilation. src/menu.h (enum button_type, struct _widget_value) [HAVE_NTGUI]: Define instead of including ../lwlib/lwlib.h, which causes compilation errors due to missing X11 headers.
* | * process.c (wait_reading_process_output): Omit incorrect testPaul Eggert2014-06-021-0/+6
| | | | | | | | | | of p->infd against zero. Add easserts for infd having a plausible value.
* | Use common memory management functions for lwlib and refactor users.Dmitry Antipov2014-06-021-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lwlib/lwlib.h (widget_value): Do not maintain a free list any more. (malloc_widget_value, free_widget_value): Remove prototypes. * lwlib/lwlib.c (malloc_widget_value, free_widget_value): (widget_value_free_list, malloc_cpt): Remove. (free_widget_value_tree, copy_widget_value_tree): Adjust users. * src/menu.h (xmalloc_widget_value): Replaced by ... (make_widget_value): ... new prototype. * src/menu.c (xmalloc_widget_value): Replaced by ... (make_widget_value): ... new function. (free_menubar_widget_value_tree, digest_single_submenu): Adjust users. * src/gtkutil.c (malloc_widget_value, free_widget_value): (widget_value_free_list, malloc_cpt): Remove old lwlib-compatible code. * src/keyboard.h (enum button_type, struct _widget_value): * src/gtkutil.h, src/nsgui.h, src/w32gui.h (malloc_widget_value): (free_widget_value): Likewise. * src/nsmenu.m (ns_update_menubar, ns_menu_show): * src/w32menu.c (set_frame_menubar, w32_menu_show, w32_dialog_show): * src/xmenu.c (set_frame_menubar, xmenu_show, x_dialog_show): Adjust users. * src/xterm.h (XtParent) [USE_GTK]: Remove unused macro.
* | * image.c (x_query_frame_background_color)Dmitry Antipov2014-06-021-0/+6
| | | | | | | | | | [HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG]: Fix --enable-gcc-warnings compilation without image libraries.
* | Minor improvement of sbrk emulation on MS-Windows.Eli Zaretskii2014-06-021-0/+7
| | | | | | | | | | | | | | src/w32heap.c (malloc_after_dump, realloc_after_dump): Update the emulated break value only if it goes up. (sbrk): Add assertion that the INCREMENT argument is strictly zero. Improve and correct the commentary.
* | Improve AIX-related merge from emacs-24.Paul Eggert2014-06-011-0/+5
| | | | | | | | | | | | * conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment. * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're not on AIX; since we're on the trunk we can use enums more broadly.
* | Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ruGlenn Morris2014-06-011-0/+62
|\ \ | |/
| * * frame.c (x_set_frame_parameters): Don't read uninitialized storage.Paul Eggert2014-06-011-0/+4
| |
| * Make jump scroll work with Gtk+Jan Djärv2014-06-011-0/+5
| | | | | | | | | | * xterm.c (xg_scroll_callback): Remove position, for jump set portion to min(value, whole).
| * Bring back the changes to GDB-visible symbols, but only on AIX.Paul Eggert2014-06-011-0/+9
| | | | | | | | | | | | | | | | And only if it's not pre-4.2 GCC. * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): New macros.
| * Hopefully fix bug #16433 with corruption of newline_cache in Rmail.Eli Zaretskii2014-05-311-0/+3
| | | | | | | | | | src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer with PT, not GPT.
| * Revert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging ↵Eli Zaretskii2014-05-311-0/+8
| | | | | | | | | | | | | | | | | | | | with GCC 3.x. Revert last changes to GDB-visible symbols. src/lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): Delete macros.
| * * src/cmds.c (Fself_insert_command): Allow zero repeat count.Glenn Morris2014-05-301-0/+4
| | | | | | | | Fixes: debbugs:17649
| * Fix port to 32-bit AIX with xlc.Paul Eggert2014-05-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't fix Bug#17598, but it does fix a regression since Emacs built with xlc until recently, and perhaps it'll help us fix Bug#17598. * configure.ac (GC_SETJMP_WORKS): Define for AIX, too. Merge from gnulib, incorporating: 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 * lib/ftoastr.c: Update from gnulib. * src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. * src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. * src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, to work around a compiler bug in IBM xlc 12.1.
| * Fix bug #17588 with mouse highlight when an X frame is redisplayed frequently.Eli Zaretskii2014-05-291-0/+6
| | | | | | | | | | | | src/xterm.c (x_update_window_end): Don't invalidate the entire mouse-highlight info, just signal frame_up_to_date_hook that mouse highlight needs to be redisplayed.
| * Port the GDB-visible symbols to AIX.Paul Eggert2014-05-281-0/+11
| | | | | | | | | | | | | | | | | | | | Without them, GDB doesn't work to debug Emacs, since the AIX linker optimizes away the relevant external symbols. Use enums instead; this suffices for the AIX port, which is 32-bit-only anyway. * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): New macros.
| * Include sources used to create macuvs.h.Paul Eggert2014-05-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/IVD_Sequences.txt: New file. * admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): New rule. (all): Build it. (extraclean): Remove it. * admin/unidata/README: Mention BidiMirroring.txt and IVD_Sequences.txt. * admin/unidata/copyright.html: Update to current version from Unicode Consortium. * admin/unidata/uvs.el: Rename from admin/mac/uvs.el. (uvs-print-table-ivd): Output a header in the form that unidata-gen.el generates. * lisp/international/README: Refer to the Unicode Terms of Use rather than copying it bodily here, as that simplifies maintenance. * src/Makefile.in ($(srcdir)/macuvs.h): New rule. * src/macuvs.h: Use automatically-generated header.
* | Spelling fix in ChangeLog entry.Paul Eggert2014-06-011-1/+1
| |
* | Port signal-handling to DragonFly BSD.Paul Eggert2014-06-011-0/+8
| | | | | | | | | | | | | | | | | | * callproc.c, sysdep.c (block_child_signal, unblock_child_signal): Move implementations from callproc.c to sysdep.c. * process.h, syssignal.h (block_child_signal, unblock_child_signal): Move declaratations from process.h to syssignal.h. Fixes: debbugs:17646
* | src/callint.c (Ffuncall_interactively): Add usage.Juanma Barranquero2014-06-011-0/+4
| |
* | * nsfns.m (ns_appkit_version_str): Add os version for Cocoa.Jan Djärv2014-06-011-0/+4
| |
* | Enhance error checking in heap allocation routines on MS-Windows.Eli Zaretskii2014-05-301-0/+7
| | | | | | | | | | | | | | src/w32heap.c (malloc_before_dump, malloc_after_dump) (malloc_before_dump, realloc_after_dump, realloc_before_dump) (mmap_alloc, mmap_realloc): Check for errors more thoroughly and set errno where appropriate to emulate CRT functions.
* | Debugging facility to check whether 'const char *' points toDmitry Antipov2014-05-301-0/+11
| | | | | | | | | | | | | | | | | | | | relocatable data of non-pure Lisp string. * alloc.c (maybe_lisp_pointer): New function, refactored out of ... (mark_maybe_pointer): ... adjusted user. (relocatable_string_data_p): New function. * lisp.h (relocatable_string_data_p): Add prototype. * xdisp.c (message_with_string): If ENABLE_CHECKING, make sure the pointer to relocatable Lisp data is not used.
* | Don't let SIGINT handling block SIGCHLD indefinitely.Paul Eggert2014-05-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * atimer.c (block_atimers): * callproc.c (block_child_signal): Block SIGINT too; otherwise, its handler might now unblock signals that it shouldn't. * keyboard.c (read_char): Clear signal mask, since we may be in a SIGINT handler, and many signals may be masked. * keyboard.c (handle_interrupt): * sysdep.c (handle_arith_signal): Clear signal mask instead of just unblocking the signal that was received, since several signals may be blocked at this point. Fixes: debbugs:17561
* | Remove nt/addsection.c and don't build addsection.exe.Eli Zaretskii2014-05-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | configure.ac (ADDSECTION, TEMACS_POST_LINK): Don't compute, unused. nt/Makefile.in (DONT_INSTALL): Now empty. (addsection${EXEEXT}): Remove target. nt/addsection.c: File removed. src/Makefile.in (TEMACS_POST_LINK): Remove target. (emacs$(EXEEXT)): Remove $(ADDSECTION) from prerequisites. (temacs$(EXEEXT)): Remove $(TEMACS_POST_LINK) from the recipe.
* | * xmenu.c (xdialog_show): Remove prototype, rename toDmitry Antipov2014-05-291-0/+10
| | | | | | | | | | | | | | | | | | x_dialog_show, remove 2nd arg because it's always zero and simplify accordingly. (xw_popup_dialog): Adjust user. * w32menu.c (w32_dialog_show): Adjust prototype, remove 2nd arg because it's always zero and simplify accordingly. (w32_popup_dialog): Adjust user.
* | src/ChangeLog: Fix a recent log entry.Eli Zaretskii2014-05-291-0/+1
| |
* | Add diagnostics for using private heap on MS-Windows during dumping.Eli Zaretskii2014-05-291-0/+9
| | | | | | | | | | | | src/w32heap.c (report_temacs_memory_usage): New function. src/unexw32.c (unexec) [ENABLE_CHECKING]: Call report_temacs_memory_usage. src/w32heap.h (report_temacs_memory_usage): Add prototype.
* | Don't substitute sigprocmask for pthread_sigmask.Paul Eggert2014-05-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | sigprocmask isn't portable in a multithreaded process. * configure.ac (gl_THREADLIB): Remove dummy. Merge from gnulib, incorporating: 2014-05-28 pthread_sigmask, timer-time: use gl_THREADLIB only if needed * m4/pthread_sigmask.m4, m4/timer_time.m4: Update from gnulib. * src/Makefile.in (LIB_PTHREAD_SIGMASK): Remove; all uses removed. Fixes: debbugs:17561
* | Fix bug #17622 with crashes in mmap routines.Eli Zaretskii2014-05-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | src/buffer.c (init_buffer): Accept an argument 'initialized'. [USE_MMAP_FOR_BUFFERS]: If 'initialized' is non-zero, reset mmap_regions and mmap_fd, to avoid referencing stale data from the dump phase. Add an assertion for buffer text of buffers created in temacs before this function is called. (mmap_regions_1, mmap_fd_1): Remove unused variables. src/lisp.h (init_buffer): Update prototype. src/emacs.c (main): Pass 'initialized' as the argument to init_buffer.
* | * alloc.c (Fgarbage_collect): Fix compilation withDmitry Antipov2014-05-291-0/+5
| | | | | | | | GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.