- 31 Jul, 2012 14 commits
-
-
Eli Zaretskii authored
src/.gdbinit (xframe): Adapt to introduction of FVAR and the resulting renaming of 'struct frame' members.
-
Eli Zaretskii authored
src/w32menu.c (w32_menu_show): Revert bogus introduction of FVAR. src/fontset.c (dump_fontset): Fix compilation with ENABLE_CHECKING after introduction of FVAR.
-
Jan Djärv authored
* nsfns.m, nsmenu.m, msterm.m: Adopt to struct frame/FVAR changes. * nsmenu.m (update_frame_tool_bar): Change key from NSObject* to id. * nsterm.m (ns_draw_fringe_bitmap, ns_dumpglyphs_image): Use drawInRect instead of compositeToPoint. (applicationShouldTerminate): Pass NS String literal to NSRunAlertPanel.
-
Jan Djärv authored
-
Dmitry Antipov authored
* src/lisp.h (INTERNAL_FIELD): New macro. * src/buffer.h (BUFFER_INTERNAL_FIELD): Removed. (BVAR): Change to use INTERNAL_FIELD. * src/keyboard.h (KBOARD_INTERNAL_FIELD): Likewise. (KVAR): Change to use INTERNAL_FIELD. * src/frame.h (FVAR): New macro. (struct frame): Use INTERNAL_FIELD for all Lisp_Object fields. * src/alloc.c, src/buffer.c, src/data.c, src/dispnew.c, src/dosfns.c * src/eval.c, src/frame.c, src/fringe.c, src/gtkutil.c, src/minibuf.c * src/nsfns.m, src/nsterm.m, src/print.c, src/term.c, src/w32fns.c * src/w32menu.c, src/w32term.c, src/window.c, src/window.h, src/xdisp.c * src/xfaces.c, src/xfns.c, src/xmenu.c, src/xterm.c: Users changed. * admin/coccinelle/frame.cocci: Semantic patch to replace direct access to Lisp_Object members of struct frame to FVAR.
-
Dmitry Antipov authored
* configure.ac (MOTIF): Check for /usr/include/openmotif and /usr/(lib|lib64)/openmotif if --with-x-toolkit=motif. * lwlib/lwlib-Xm.c (make_menu_in_widget): Remove unused variable. * src/xfns.c (Fx_file_dialog): Change to SSDATA to avoid warnings. * src/xterm.c (x_frame_of_widget): Remove redundant prototype. Move under #ifdef USE_LUCID. (x_create_toolkit_scroll_bar): Adjust scroll_bar_name definition and usage to avoid warnings.
-
Jan Djärv authored
-
Glenn Morris authored
* configure.ac (USG5_4): Reintroduce this. (opsysfile): Set to empty on irix6-5, sol2*, and unixware. * src/conf_post.h [USG5_4]: Move remaining contents of s/usg5-4-common.h here. * src/s/usg5-4-common.h: Remove file.
-
Glenn Morris authored
* configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h. * s/usg5-4-common.h (wait3, WRETCODE): Let configure set them.
-
Glenn Morris authored
* configure.ac (opsysfile): Set to s/usg5-4-common.h on irix6-5. * src/conf_post.h [IRIX6_5]: Move remaining contents of s/irix6-5.h here. * src/s/irix6-5.h: Remove file.
-
Jan Djärv authored
-
Paul Eggert authored
-
Glenn Morris authored
* configure.ac (opsysfile): Set to empty on darwin. * src/conf_post.h [DARWIN_OS]: Move remaining contents of src/s/darwin.h here. * src/s/darwin.h: Remove file.
-
Glenn Morris authored
* configure.ac (opsysfile): Set to empty on hpux*. * src/conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h. * src/s/hpux10-20.h: Remove file, which is now empty.
-
- 30 Jul, 2012 17 commits
-
-
Glenn Morris authored
* configure.ac (AH_BOTTOM): Use an include file, so that the contents do not get processed by autoheader. Eg this prevents undefs being commented out, and is the recommended technique from the autoconf manual. * src/conf_post.h: New, split from configure.ac's AH_BOTTOM. * src/Makefile.in (config_h): Add conf_post.h. * src/makefile.w32-in (CONFIG_H): Add conf_post.h.
-
Jan Djärv authored
--eval '(whatever)' will open '(whatever)' if --eval is the last option. * src/nsterm.m (ns_do_open_file): New variable. (ns_term_init): Set ns_do_open_file to NO after run returns. (openFile, openTempFile, openFileWithoutUI, openFiles): Open files only if ns_do_open_file.
-
Paul Eggert authored
This no-op macro hasn't been needed for many years. * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
-
Paul Eggert authored
* alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits. * lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for gdb_make_enums_visible. (TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros. (DIRECTORY_SEP): Now a constant, not a macro.
-
Eli Zaretskii authored
src/w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to w32_kbd_patch_key as the 2nd arg. src/w32term.c <w32_keyboard_codepage>: Renamed from keyboard_codepage and now external. All users changed. src/w32term.h: Add declaration of w32_keyboard_codepage. src/w32inevt.c (w32_kbd_patch_key): Accept an additional argument -- the codepage to translate keys to Unicode. If this argument is -1, use the value returned by GetConsoleCP. All callers changed.
-
Paul Eggert authored
-
Paul Eggert authored
This is a bit clearer. Fix some commentary typos.
-
Glenn Morris authored
* configure.ac (TIOCSIGSEND): Move here from src/s. * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it. * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
-
Glenn Morris authored
* configure.ac (SIGNAL_H_AHB): New hack macro. (opsysfile): Set to empty on netbsd, openbsd. (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined. * src/s/netbsd.h: Let configure include signal.h if needed. Remove file, which is now empty.
-
Glenn Morris authored
* configure.ac (_longjmp, _setjmp): Move here from src/s. * src/s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them. * src/s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
-
Andreas Schwab authored
* keymap.c (Fkey_description): Don't remove 0x80 bit from non-single-byte char when adding meta modifier.
-
Dmitry Antipov authored
* xdisp.c (safe_call): Convert to use varargs. Adjust users. (safe_call2): Fix comment. * lisp.h (safe_call): Adjust prototype. * coding.c (encode_coding_object): Change to use safe_call2. * xfaces.c (merge_face_heights): Change to use safe_call1.
-
Glenn Morris authored
* configure.ac (opsysfile): Set to empty on aix4-2. * src/s/aix4-2.h: Remove empty file.
-
Glenn Morris authored
(syssignal.h does that unconditionally)
-
Glenn Morris authored
* configure.ac (opsysfile): Set to empty on freebsd, gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware. * src/s/freebsd.h, src/s/gnu-linux.h, src/s/sol2-6.h, src/s/unixware.h: Remove empty files.
-
Paul Eggert authored
* lisp.h (min, max): Move earlier, because they're used earlier now. (INTMASK, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK) (CHAR_TABLE_STANDARD_SLOTS, CHARTAB_SIZE_BITS_0) (CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2, CHARTAB_SIZE_BITS_3) (DEFAULT_HASH_SIZE, COMPILED_ARGLIST, COMPILED_BYTECODE) (COMPILED_CONSTANTS, COMPILED_STACK_DEPTH, COMPILED_DOC_STRING) (COMPILED_INTERACTIVE, CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT) (CHAR_CTL, CHAR_META, CHAR_MODIFIER_MASK, CHARACTERBITS) (MANY, UNEVALLED, FLOAT_TO_STRING_BUFSIZE, MAX_ALLOCA): Now constants, for GDB. They need not be macros. (MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM, STRING_BYTES_BOUND): Now constants, for GDB, as well as macros, for static initializers. (CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_EXTRA_SLOTS): Move to after the definition of struct Lisp_Char_Table, since the former now needs that type defined. (enum CHARTAB_SIZE_BITS, enum CHAR_TABLE_STANDARD_SLOTS) (enum DEFAULT_HASH_SIZE, enum Lisp_Compiled, enum char_bits) (enum maxargs, enum FLOAT_TO_STRING_BUFSIZE, enum MAX_ALLOCA): New enums, for gdb_make_enums_visible. (GLYPH_MODE_LINE_FACE): Remove; unused. * alloc.c (STRING_BYTES_MAX): Now a constant, now a macro. (gdb_make_enums_visible): Add enum CHARTAB_SIZE_BITS, enum CHAR_TABLE_STANDARD_SLOTS, enum char_bits, enum DEFAULT_HASH_SIZE, enum FLOAT_TO_STRING_BUFSIZE, enum Lisp_Bits, enum Lisp_Compiled, enum maxargs, enum MAX_ALLOCA. (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): Remove. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Remove; no longer needed, now that they are done in lisp.h.
-
Dmitry Antipov authored
* alloc.c (GC_STRING_BYTES, CHECK_STRING_BYTES): Remove. Convert all users to STRING_BYTES or string_bytes if GC_CHECK_STRING_BYTES. (check_string_bytes): Define to empty if not GC_CHECK_STRING_BYTES. (check_sblock, compact_small_strings): Simplify.
-
- 29 Jul, 2012 9 commits
-
-
Paul Eggert authored
These macros are confusing and no longer need to be defined, as the enum values now suffice. Each use replaced with definiens. (Lisp_Int1, Lisp_String): Define directly; this is clearer.
-
Juanma Barranquero authored
-
Dmitry Antipov authored
* lisp.h (HIDE_LISP_IMPLEMENTATION): Remove as useless for a long time. Adjust users. (CHECK_CONS_LIST): Remove. Convert all users to check_cons_list.
-
Jan Djärv authored
* src/lread.c (init_lread): Remove if-statement in ifdef HAVE_NS before setting sitelisp. Fixes: debbugs:12010
-
Eli Zaretskii authored
src/w32heap.h (OS_9X): Renamed from OS_WINDOWS_95. src/w32heap.c (cache_system_info): src/w32.c (sys_rename): src/w32proc.c (find_child_console, sys_kill): All users changed.
-
Paul Eggert authored
-
Eli Zaretskii authored
nt/inc/stdalign.h (_Alignas, alignas): Define. src/makefile.w32-in (LISP_H): Add $(NT_INC)/stdalign.h. Fixes: debbugs:9772
-
Dmitry Antipov authored
* alloc.c (Fgarbage_collect): Rename t1 to meaningful start. Fix zombies percentage calculation. Simplify elapsed time calculation.
-
Dmitry Antipov authored
* insdel.c (CHECK_MARKERS, check_markers_debug_flag): Remove. (gap_left, gap_right, adjust_markers_for_delete, insert_1_both) (insert_from_string_1, insert_from_gap, insert_from_buffer_1) (replace_range, replace_range_2, del_range_2): Change to eassert. * marker.c (byte_char_debug_check): Adjust style.
-