aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #12196 with incorrect memory allocations for region-cache.Eli Zaretskii2012-08-151-0/+6
| | | | | src/region-cache.c (move_cache_gap): Update gap_len using the actual growth of the boundaries array. Do not change cache_len.
* Generalize and cleanup font subsystem checks.Dmitry Antipov2012-08-151-0/+7
| | | | | | * font.h (FONT_DEBUG, font_assert): Remove. * font.c, fontset.c, w32font.c, xfont.c, xftfont.c: Change font_assert to eassert. Use eassert where appropriate.
* Fix last change to xg_get_font.Dmitry Antipov2012-08-151-0/+4
| | | | * gtkutil.c (xg_get_font): Use pango_units_to_double.
* Extract better font information from the GTK >= 3.2 font chooser.Chong Yidong2012-08-151-0/+13
| | | | | | | | | | | | | | | * gtkutil.c (xg_get_font): Rename from xg_get_font_name. When using the new font chooser, use gtk_font_chooser_get_font_desc to extract the font descriptor instead of just the font name. In that case, return a font spec instead of a string. (x_last_font_name): Move to this file from xfns.c. * xfns.c (Fx_select_font): The return value can also be a font spec. Move x_last_font_name management to gtkutil.c. * xfaces.c: Make font weight and style symbols non-static. * lisp/frame.el (set-frame-font): Accept font objects.
* * src/minibuf.c (read_minibuf): Ignore caller's inhibit-read-only.Stefan Monnier2012-08-151-0/+5
| | | | Fixes: debbugs:12117
* * src/alloc.c (Fgarbage_collect): Use plural form consistently.Stefan Monnier2012-08-141-0/+4
|
* Fix a problem with disabled mouse movement events.Eli Zaretskii2012-08-141-0/+6
| | | | | | src/keyboard.c (command_loop_1): Reset ignore_mouse_drag_p flag each iteration through the command loop. Fixes a problem whereby mouse movements are ignored until the first mouse click.
* Use bool for Emacs Lisp booleans.Paul Eggert2012-08-141-0/+11
| | | | | | | | | | | | | | | | | This is more natural, and on my platform (GCC 4.7.1 x86-64) it makes Emacs's text size .03% smaller and presumably a bit faster. * admin/merge-gnulib (GNULIB_MODULES): Add stdbool. This documents a new direct dependency; stdbool was already being used indirectly via other gnulib modules. * lib-src/make-docfile.c (enum global_type): Sort values roughly in decreasing alignment, except put functions last. (compare_globals): Use this new property of enum global_type. (write_globals): Use bool, not int, for booleans. * src/lisp.h: Include <stdbool.h>. (struct Lisp_Boolfwd, defvar_bool): * src/lread.c (defvar_bool): Use bool, not int, for Lisp booleans. * src/regex.c [!emacs]: Include <stdbool.h>. (false, true): Remove; <stdbool.h> does this for us now.
* More doc fixes.Chong Yidong2012-08-151-0/+5
| | | | | | | | | | | | * lisp/minibuffer.el (read-file-name): Doc fix. * character.c (Fcharacterp): Doc fix (Bug#12076). * data.c (Findirect_variable): Doc fix (Bug#11040). * editfns.c (Fsave_current_buffer): Doc fix (Bug#11542). Fixes: debbugs:11542 debbugs:11040 debbugs:12076 debbugs:10881
* Doc fixes.Chong Yidong2012-08-151-0/+6
| | | | | | | | | | * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix. * src/chartab.c (Fmap_char_table): Doc fix. * src/editfns.c (Fformat): Doc fix. Fixes: debbugs:12059 debbugs:12085 debbugs:12061
* * src/keyboard.c (access_keymap_keyremap): Accept anonymous functions.Barry O'Reilly2012-08-141-0/+5
| | | | Fixes: debbugs:12022
* Don't call Fset_window_buffer from C code.Martin Rudalics2012-08-141-0/+9
| | | | | | | | | * frame.c (make_frame_without_minibuffer, make_minibuffer_frame) (delete_frame, Fmake_frame_invisible, Ficonify_frame): * minibuf.c (choose_minibuf_frame, read_minibuf): * w32fns.c (x_create_tip_frame): * xfns.c (x_create_tip_frame): Call set_window_buffer instead of Fset_window_buffer (Bug#11984, Bug#12025, Bug#12026).
* * intervals.c (offset_intervals): Remove obsolete comment.Paul Eggert2012-08-141-0/+4
|
* * gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP.Andreas Schwab2012-08-141-0/+4
|
* Fix for undo recording in decode_coding.Gergely Risko2012-08-141-0/+5
| | | | | | | * coding.c (decode_coding): Record buffer modification before disabling undo_list. Fixes: debbugs:11773
* Revert and cleanup some recent overlay changes.Dmitry Antipov2012-08-141-0/+9
| | | | | | | | * buffer.h (enum overlay_type): Remove. (buffer_get_overlays, buffer_set_overlays): Likewise. (buffer_set_overlays_before, buffer_set_overlays_after): New function. Adjust users. (unchain_both): Add eassert.
* * gtkutil.c (update_frame_tool_bar): Use EQ where appropriate.Dmitry Antipov2012-08-141-0/+4
|
* * gtkutil.c (xg_mark_data): Don't assume C99.Paul Eggert2012-08-131-0/+4
|
* Don't redraw tool bar for Gtk+ unless out of date.Jan Djärv2012-08-131-0/+12
| | | | | | | | | | | | * gtkutil.c (xg_frame_tb_info): New struct. (TB_INFO_KEY): New define. (xg_free_frame_widgets): Free xg_frame_tb_info for frame if present. (xg_mark_data): Mark Lisp_Objects in xg_frame_tb_info. (xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info if not present. (update_frame_tool_bar): Return early if data in xg_frame_tb_info is up to date. Otherwise store new data. (free_frame_tool_bar): Free xg_frame_tb_info if present.
* Use KSET for write access to Lisp_Object members of struct kboard.Dmitry Antipov2012-08-131-0/+8
| | | | | | | * keyboard.h (KSET): New macro. * callint.c, category.c, frame.c, keyboard.c, keyboard.h, macros.c: * msdos.c, nsfns.m, nsterm.m, term.c, w32fns.c, w32term.c, xfns.c: * xterm.c: Adjust users.
* Use BSET for write access to Lisp_Object members of struct buffer.Dmitry Antipov2012-08-131-0/+9
| | | | | | | | * buffer.h (BSET): New macro. * buffer.c, casetab.c, cmds.c, coding.c, data.c, editfns.c: * fileio.c, frame.c, indent.c, insdel.c, intervals.c, keymap.c: * minibuf.c, print.c, process.c, syntax.c, undo.c, w32fns.c: * window.c, xdisp.c, xfns.c: Adjust users.
* * src/lread.c (syms_of_lread): Initialize Vlexical_binding.BT Templeton2012-08-111-39/+43
|
* * nsterm.m (not_in_argv): New function.Jan Djärv2012-08-111-0/+5
| | | | | | | | (application:openFile, application:openTempFile:): (application:openFileWithoutUI:, application:openFiles:): Open file if not_in_argv returns non-zero. Fixes: debbugs:12171
* Use GtkFontChooser on Gtk+ 3.2 and up.Jan Djärv2012-08-111-0/+8
| | | | | | | | * src/gtkutil.c (gtk_font_chooser_dialog_new, GTK_FONT_CHOOSER) (gtk_font_chooser_set_font, gtk_font_chooser_get_font): Define for Gtk+ versions less than 3.2. (xg_get_font_name): Use those functions/macros here. Reported by Frans Oilinki <moilinki@gmail.com>.
* ChangeLog date fixesGlenn Morris2012-08-101-3/+1
|
* Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.comChong Yidong2012-08-111-0/+11
|\
| * * unexmacosx.c (copy_data_segment): Copy initialized data in statically ↵YAMAMOTO Mitsuharu2012-08-081-0/+5
| | | | | | | | linked libraries from input file rather than memory.
| * Add new load commands for OS X 10.8.YAMAMOTO Mitsuharu2012-08-071-0/+6
| |
| * Avoid two crashes involving windows on dead frames.Chong Yidong2012-07-191-0/+6
| | | | | | | | | | | | | | | | * window.c (Fwindow_absolute_pixel_edges) (Fdelete_other_windows_internal): Signal an error if the window is on a dead frame. Fixes: debbugs:11984
* | Move IF_LINT from lisp.h to conf_post.hGlenn Morris2012-08-101-0/+5
| | | | | | | | | | | | | | | | * src/conf_post.h (IF_LINT, lint_assume): Move here from lisp.h. * src/lisp.h (IF_LINT, lint_assume): Move to conf_post.h. * lib-src/make-docfile.c (IF_LINT): * lib-src/emacsclient.c (IF_LINT): Remove (in config.h now).
* | Fix last change to allow compilation with low optimization levels.Dmitry Antipov2012-08-101-0/+6
| | | | | | | | | | * intervals.c (INTERVALS_INLINE): Define to EXTERN_INLINE. Reported by Jan Djärv <jan.h.d@swipnet.se>.
* | Use common inline syntax in intervals.h.Dmitry Antipov2012-08-101-0/+6
| | | | | | | | | | * intervals.h (INTERVALS_INLINE): New macro. Change all users from LISP_INLINE.
* | Define Qnone once for all platforms.Dmitry Antipov2012-08-101-0/+9
| | | | | | | | | | | | | | | | * frame.c (Qnone): Define here. (syms_of_frame): DEFSYM it. * lisp.h (Qnone): New declaration. * nsfns.m, nsterm.h, nsterm.m, w32fns.c, w32font.c: * xfns.c: Remove duplication. Adjust users.
* | Remove unused macros from intervals.h.Dmitry Antipov2012-08-101-0/+6
| | | | | | | | | | * intervals.h (MERGE_INSERTIONS, DISPLAY_INVISIBLE_GLYPH): Remove. * intervals.c: Adjust comment.
* | Improve commit in 2012-08-10T06:54:37Z!eliz@gnu.org.Eli Zaretskii2012-08-101-0/+7
| | | | | | | | | | | | | | src/w32fns.c <w32_unicode_gui>: New static variable. (globals_of_w32fns): Initialize it according to os_subtype. (w32_init_class, w32_msg_pump, w32_wnd_proc): Use it instead of testing os_subtype.
* | ChangeLog fixesGlenn Morris2012-08-101-2/+2
| |
* | Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.Eli Zaretskii2012-08-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (INIT_WINDOW_CLASS): New macro. (w32_init_class): Use it to initialize the Emacs class with either ANSI or Unicode API calls. (w32_msg_pump): Call GetMessageW and DispatchMessageW on NT and later. (w32_wnd_proc): If the character code sent by WM_CHAR or WM_SYSCHAR is above 255, post a WM_UNICHAR message, not the original message. Call DefWindowProcW on NT and later.
* | * src/Makefile.in (config_h): Fix conf_post.h out-of-tree build location.Glenn Morris2012-08-091-0/+2
| |
* | Move DIRECTORY_SEP from lisp.h to config.hGlenn Morris2012-08-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (DIRECTORY_SEP): Move here from src/lisp.h. * src/lisp.h (DIRECTORY_SEP): Let configure set it. * nt/config.nt (DIRECTORY_SEP): Move here from src/lisp.h. * lib-src/movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): * lib-src/make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): * lib-src/emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP): Remove (they are in config.h now).
* | Use TSET for write access to Lisp_Object slots of struct terminal.Dmitry Antipov2012-08-091-0/+6
| | | | | | | | | | * termhooks.h (TSET): New macro. * coding.c, terminal.c, xselect.c: Adjust users.
* | * src/xdisp.c (safe_eval_handler): Remove prototype. Receive args describingStefan Monnier2012-08-081-0/+7
| | | | | | | | | | | | the failing expression, include them in the error message. * src/eval.c (internal_condition_case_n): Pass nargs and args to hfun. * src/lisp.h (internal_condition_case_n): Update declaration.
* | Inline functions to examine and change buffer overlays.Dmitry Antipov2012-08-081-0/+10
| | | | | | | | | | | | | | | | | | * buffer.c (unchain_both): New function. * buffer.h (buffer_get_overlays, buffer_set_overlays): (buffer_has_overlays): New function. (enum overlay_type): New enum. * alloc.c, buffer.c, editfns.c, fileio.c, indent.c: * insdel.c, intervals.c, print.c, xdisp.c: Adjust users.
* | Inline functions to examine and change buffer intervals.Dmitry Antipov2012-08-081-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * alloc.c (mark_interval_tree): Remove. (MARK_INTERVAL_TREE): Simplify. (UNMARK_BALANCE_INTERVALS): Remove. Adjust users. * intervals.c (buffer_balance_intervals): New function. (graft_intervals_into_buffer): Adjust indentation. (set_intervals_multibyte): Simplify. * buffer.h (BUF_INTERVALS): Remove. (buffer_get_intervals, buffer_set_intervals): New function. * alloc.c, buffer.c, editfns.c, fileio.c, indent.c, insdel.c: * intervals.c, textprop.c: Adjust users.
* | Inline functions to examine and change string intervals.Dmitry Antipov2012-08-081-0/+8
| | | | | | | | | | | | | | * lisp.h (STRING_INTERVALS, STRING_SET_INTERVALS): Remove. (string_get_intervals, string_set_intervals): New function. * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c: * lread.c, print.c, textprop.c: Adjust users.
* | Merge language/persian.el into language/misc-lang.elGlenn Morris2012-08-081-0/+4
| | | | | | | | | | | | | | | | | | | | * lisp/language/persian.el: Remove file. * lisp/language/misc-lang.el: Move non-unique part of persian.el here. * lisp/loadup.el: Remove language/persian. * src/lisp.mk (lisp): Remove language/persian.elc. * etc/NEWS: Improve entry.
* | Cleanup intervals.Dmitry Antipov2012-08-081-0/+10
| | | | | | | | | | | | | | | | | | * intervals.h (NULL_INTERVAL, DEFAULT_INTERVAL): Remove. (NULL_INTERVAL_P): Likewise. Adjust users. (FRONT_STICKY_P, END_NONSTICKY_P, FRONT_NONSTICKY_P): Adjust comment. Move under #if 0. * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c: * print.c, syntax.c, textprop.c, xdisp.c: Adjust users.
* | Check total length of intervals with eassert.Dmitry Antipov2012-08-081-0/+6
| | | | | | | | | | * intervals.h (CHECK_TOTAL_LENGTH): Remove. * intervals.c: Change all users to eassert.
* | Fix .gdbinit to match changes with INTERNAL_FIELD.Eli Zaretskii2012-08-071-0/+6
| | | | | | | | | | | | src/.gdbinit (xframe, xwindow, nextcons, xcar, xcdr, xlist): Rename fields to match removal of FGET and WGET and disuse of INTERNAL_FIELD in Lisp_Cons.
* | Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things.Dmitry Antipov2012-08-071-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lisp.h (struct Lisp_Symbol): Change xname to meaningful name since all xname users are fixed long time ago. Do not use INTERNAL_FIELD. (set_symbol_name, set_symbol_function, set_symbol_plist): (set_symbol_next, set_overlay_plist): New function. (struct Lisp_Cons): Do not use INTERNAL_FIELD. (struct Lisp_Overlay): Likewise. (CVAR, MVAR, SVAR): Remove. * src/alloc.c, src/buffer.c, src/buffer.h, src/bytecode.c: * src/cmds.c, src/data.c, src/doc.c, src/eval.c, src/fns.c: * src/keyboard.c, src/lread.c, src/nsselect.m, src/xterm.c: Adjust users. * src/.gdbinit: Change to use name field of struct Lisp_Symbol where appropriate. * admin/coccinelle/overlay.cocci, admin/coccinelle/symbol.cocci: Remove.
* | Basic functions to set Lisp_Object and pointer slots of intervals.Dmitry Antipov2012-08-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | * intervals.h (interval_set_parent, interval_set_object): (interval_set_left, interval_set_right, interval_set_plist): (interval_copy_parent): New function. (SET_INTERVAL_OBJECT, SET_INTERVAL_PARENT, INTERVAL_PTR_SIZE): Remove. (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE): Adjust indentation. (INTERVAL_SIZE): Remove. Adjust users. * alloc.c, intervals.c, lread.c, textprop.c: Use new functions.