1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 21:50:37 -08:00
Commit graph

6850 commits

Author SHA1 Message Date
Stefan Monnier
facfbbbdad * Makefile.in: Undef LIB_STANDARD before defining it to silence warning
in case it was defined already.
USE @GNUSTEP_MAKEFILES@ rather than envvars.
* nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to
ns_default.
(applicationShouldTerminate, setValuesFromPanel): Use EQ to compare
Lisp_Objects.
* nsterm.h (Fx_display_grayscale_p, Fx_display_planes)
(ns_defined_color, ns_color_to_lisp): Declare.
* nsselect.m (ns_handle_selection_request, ns_handle_selection_clear)
(Fns_own_selection_internal): Make the big ugly hack more explicit, so
it's accepted even with USE_LISP_UNION_TYPE.
* nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects.
(update_frame_tool_bar): Remove apparently obsolete tests for
non-integerness of f->tool_bar_lines.
(windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly
hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE.
* nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast.
(nsfont_open): Don't confuse NULL for Qnil.
* nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects.
* menu.h (find_and_call_menu_selection):
* menu.c (find_and_call_menu_selection): Use just int for vector size.
(find_and_return_menu_selection): Always return something.
* frame.h: Include dispextern.h for Display_Info.
(display_x_get_resource): Declare.
* configure.in: Extract and substitute GNUSTEP_MAKEFILES.
2008-07-17 03:33:59 +00:00
Adrian Robert
122e9f8f29 various small cleanups detailed in changelogs 2008-07-16 23:24:46 +00:00
Stefan Monnier
6882361b1a (lisp_to_mod): Use parse_solitary_modifier instead.
(ns_lisp_to_color): Don't mess with internal Lisp data fields.
(ns_term_init, ns_term_shutdown, initFrameFromEmacs, ns_list_fonts):
Use SDATA.
2008-07-16 20:34:57 +00:00
Stefan Monnier
0bcfd7d779 * keymap.c: Remove all NS-specific code.
(where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars.
(preferred_sequence_p): Rename from ascii_sequence_p; pay attention to
where_is_preferred_modifier, return a different value depending on how
preferred is the binding.
(where_is_internal): Adjust accordingly.
(Fwhere_is_internal): Refresh where_is_preferred_modifier.
Adjust to new preferred_sequence_p.
(syms_of_keymap): Declare `where-is-preferred-modifier'.
* keyboard.c (parse_solitary_modifier): Not static any more.
* keyboard.h (parse_solitary_modifier): Declare.
2008-07-16 19:23:49 +00:00
Andreas Schwab
720f31474d (SOME_MACHINE_LISP): Remove easy-mmode, fix spelling
of easymenu.
2008-07-16 18:06:52 +00:00
Chong Yidong
01e19fea2a * xdisp.c (move_it_in_display_line): Account for word wrap, so
that we don't move off the line.
2008-07-16 17:48:00 +00:00
Stefan Monnier
4c89a3e0ad (Qsuper): Remove.
(parse_menu_item): Don't call where_is_internal specially for NS.
2008-07-16 16:38:33 +00:00
Dan Nicolaescu
3ec8ef33c5 Remove boilerplate comments. 2008-07-16 15:52:24 +00:00
Dan Nicolaescu
d4d080b6da (__ELF__): Consolidate conditions. 2008-07-16 15:50:45 +00:00
Dan Nicolaescu
7ab56cc46d * m/m68k.h (linux): Use GNU_LINUX instead.
Remove boilerplate comments.

* m/intel386.h: Undo reactoring from previous change.
(LIB_STANDARD): All systems that define USG define LIB_STANDARD
too, remove dead code.
(linux): Use GNU_LINUX instead.
2008-07-16 15:27:04 +00:00
Dan Nicolaescu
586b975c01 Undo reactoring from previous change. 2008-07-16 14:56:13 +00:00
Jason Rumney
5cc9d48a1d Fix last change. 2008-07-16 10:06:08 +00:00
Dan Nicolaescu
132d04752a * systty.h: Remove code for Aix on 386, unsupported platform.
* s/ms-w32.h: Remove boilerplate comments.
(fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused.

* s/gnu-linux.h (TERM): Remove support.
(HAVE_SYSVIPC): Remove, unused.
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used
for this system.

* process.c: Remove support for IRIS, unused.
Remove support for TERM, not relevant anymore.

* unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only
used with the definition.

* s/aix4-2.h (static): Do not undef.

* m/ibmrs6000.h: Remove code depending on USG5_4, this file is
only used on Aix.
(HAVE_SYSVIPC): Remove, unused.

* m/hp800.h (CANNOT_DUMP): Do not undef.

* m/alpha.h: Fix comment.

* s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
(USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
used by this configuration.
* emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
* unexec.c: Remove code depending on HPUX and
USG_SHARED_LIBRARIES, not used with this file.  Remove code
depending on IRIS, unused.  Remove if 0-ed code.
2008-07-16 08:06:18 +00:00
Dan Nicolaescu
8111c2d847 * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
(USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
used by this configuration.
* emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
* unexec.c: Remove code depending on HPUX and
USG_SHARED_LIBRARIES, not used with this file.  Remove code
depending on IRIS, unused.  Remove if 0-ed code.
2008-07-16 07:53:39 +00:00
Dan Nicolaescu
e9a57a8859 Remove comments about static. 2008-07-16 07:48:11 +00:00
Dan Nicolaescu
c7607b94f5 * sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove
if 0-ed code.
(baud_convert): Don't depend on BAUD_CONVERT, all definitions the
were the same as the default.
* s/vms.h (BAUD_CONVERT): Remove, same as the default.
Remove boilerplate comments.
* s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default.
(HAVE_SYSVIPC): Remove, unused.
(LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore.
2008-07-16 07:45:52 +00:00
Dan Nicolaescu
ff841b3047 * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments.
* m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments.
* m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments.
* lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
2008-07-16 07:42:41 +00:00
Dan Nicolaescu
dc89925b3f * m/ibms390.h:
* m/intel386.h:
* m/m68k.h:
* s/bsd-common.h:
* s/cygwin.h:
* s/darwin.h:
* s/freebsd.h:
* s/gnu.h:
* s/msdos.h: Remove boilerplate comments.
2008-07-16 07:26:30 +00:00
Dan Nicolaescu
96b72211ed Remove boilerplate comments and code for systems that
do not use this file.
(IRIS_4D): Remove, unused.
2008-07-16 07:18:26 +00:00
Dan Nicolaescu
c3b5f10916 * m/mips.h: Remove boilerplate comments and code for systems that
do not use this file.
 (SIGN_EXTEND_CHAR):
* m/arm.h (SIGN_EXTEND_CHAR): Remove, unused.
* unexmips.c: Remove file, unused.
2008-07-16 07:11:19 +00:00
Dan Nicolaescu
6b0273cd0a * editfns.c (Fuser_full_name): Replace the only use of
USER_FULL_NAME with its value.
* config.in: Regenerate.

* configure.in (freebsd, kfreebsd): Undo part of previous change.
(USER_FULL_NAME): Remove, not used anymore.
* configure: Regenerate.
2008-07-16 07:01:36 +00:00
David Reitter
6fbcfb6f39 *** empty log message *** 2008-07-16 05:27:47 +00:00
Glenn Morris
44ac2d3efc (system-type): Doc fix. 2008-07-16 02:34:46 +00:00
Stefan Monnier
6ddc6ccab4 *** empty log message *** 2008-07-15 21:13:10 +00:00
Stefan Monnier
0a1700794a (parse_menu_item): Don't use cachelist, even under NS.
If the cache doesn't work, let's fix it, rather than work around it.
2008-07-15 21:01:44 +00:00
Adrian Robert
a68fda4a8c adding forgotten file src/nsfont.m for emacs.app merge 2008-07-15 18:35:28 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Jason Rumney
1391cd5487 * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect.
(w32_show_hourglass): Rename from show_hourglass.
	(w32_hide_hourglass): Rename from hide_hourglass.
	(DEFAULT_HOURGLASS_DELAY): Revert from last change.
	(Vhourglass_delay): Declare extern.
	(hourglass_started): Remove.

	* xdisp.c (Vhourglass_delay): Remove static.
	(hourglass_started, start_hourglass, cancel_hourglass):
	Don't include these versions on WINDOWSNT.
2008-07-15 15:45:05 +00:00
Chong Yidong
20d6dc0286 s/xxxfns.c/xfns.c/ 2008-07-15 14:17:25 +00:00
Adrian Robert
1885ab29b7 applying patch to consolidate non-GUI portion of hourglass implementation as posted at http://thread.gmane.org/gmane.emacs.devel/98341 2008-07-15 13:04:01 +00:00
Jason Rumney
3faa984f21 (w32_get_arg): Remove wrapper function.
(w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg
directly.
(Fx_create_frame): Sync with xfns.c.  Use x_get_arg directly.
2008-07-14 10:38:50 +00:00
Kenichi Handa
2f73901fa1 (xfont_open): Add workaround for X's bug. 2008-07-14 07:48:03 +00:00
Kenichi Handa
11da284dbd Include <stdio.h> unconditionally. 2008-07-14 07:05:33 +00:00
Michael Albinus
944cc4a883 * dbusbind.c (Fdbus_register_signal): Allow also signal arguments
for filtering.
2008-07-13 15:07:10 +00:00
Dan Nicolaescu
bdee2ef3fa * config.nt (HAVE_FACES): Remove, unused.
* s/vms.h: Use __GNUC__ instead of _GNUC_.

* m/macppc.h:
* m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.

* m/ibms390x.h (XINT, XUINT): Don't define, same as the default
(SPECIAL_EMACS_INT):
* m/ia64.h (SPECIAL_EMACS_INT):
* m/amdx86-64.h (SPECIAL_EMACS_INT):
* s/gnu.h (NLIST_STRUCT):
* aix4-2.h (X11R5_INHIBIT_I18N):
* s/gnu-linux.h (LINUX):
* s/msdos.h (HAVE_FACES):
* s/ms-w32.h (HAVE_FACES): Don't define, unused.

* systty.h:
* sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
anymore.
2008-07-13 07:35:26 +00:00
Dan Nicolaescu
bba104c11e * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was
always defined as int.

* s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT):
* s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT):
* s/gnu-linux.h (HAVE_WAIT_HEADER):
* s/freebsd.h (HAVE_WAIT_HEADER):
* s/bsd-common.h (HAVE_UNION_WAIT):
* s/aix4-2.h (HAVE_WAIT_HEADER):
* m/mips.h (HAVE_UNION_WAIT):
* s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used.
(COFF, static): Do not define, they are undefined later in the file.

* process.c (update_status): Don't use a union.
(status_convert):
(sigchld_handler): Use int instead of WAITTYPE.

* movemail.c (main): Use int instead of WAITTYPE.
2008-07-12 05:31:23 +00:00
Chong Yidong
e433031a1a * indent.c (Fvertical_motion): Restore hscroll before moving to
goal column.
2008-07-12 03:19:25 +00:00
Dan Nicolaescu
3bfb4d4823 Remove left over code. 2008-07-11 14:20:06 +00:00
Andreas Schwab
7e770c85da Fix logic in last change. 2008-07-11 11:39:49 +00:00
Andreas Schwab
e7c9048f9d * menu.h: New file.
* menu.c: Include it.
* xmenu.c: Likewise.
* Makefile.in: Update dependencies.
2008-07-11 11:20:21 +00:00
Kenichi Handa
38aaf336a1 (fontset_from_font): Cancel the previous change. 2008-07-11 07:32:32 +00:00
Dan Nicolaescu
6e5cb96f3d * lisp.h:
* w32heap.c:
* emacs.c:
* alloc.c: Replace all references of NO_UNION_TYPE with
USE_LISP_UNION_TYPE.

* m/xtensa.h (NO_UNION_TYPE):
* m/vax.h (NO_UNION_TYPE):
* m/template.h (NO_UNION_TYPE):
* m/sparc.h (NO_UNION_TYPE):
* m/mips.h (NO_UNION_TYPE):
* m/macppc.h (NO_UNION_TYPE):
* m/m68k.h (NO_UNION_TYPE):
* m/iris4d.h (NO_UNION_TYPE):
* m/intel386.h (NO_UNION_TYPE):
* m/ibms390x.h (NO_UNION_TYPE):
* m/ibms390.h (NO_UNION_TYPE):
* m/ibmrs6000.h (NO_UNION_TYPE):
* m/ia64.h (NO_UNION_TYPE):
* m/hp800.h (NO_UNION_TYPE):
* m/arm.h (NO_UNION_TYPE):
* m/amdx86-64.h (NO_UNION_TYPE):
* m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were
defining it the same.
2008-07-11 02:30:26 +00:00
Chong Yidong
e0f47a6850 * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line. 2008-07-10 23:46:52 +00:00
Dan Nicolaescu
c5e7567d3b * src/fileio.c:
* src/sysdep.c
* src/systty.h:
* src/m/ibmrs6000.h:
* src/m/iris4d.h:
* src/s/aix4-2.h:
* src/s/freebsd.h:
* src/s/gnu-linux.h:
* src/s/hpux10-20.h:
* src/s/hpux11.h:
* src/s/netbsd.h:
* src/s/sol2-3.h:
* src/s/sol2-4.h:
* src/s/sol2.h:
* src/s/usg5-4.h:
* src/s/vms.h: Remove references to unused variables.
2008-07-10 15:26:15 +00:00
Andreas Schwab
bb6588648f (ftfont_resolve_generic_family): Remove foundry from
pattern before matching the generic family.
2008-07-10 13:13:21 +00:00
Dan Nicolaescu
a0ce9ab791 * unexec.c:
* m/ia64.h:
* m/hp800.h: Remove dead code.
2008-07-10 06:54:56 +00:00
Dan Nicolaescu
3460e0b90d * s/vms.h:
* s/usg5-4-2.h:
* s/sol2-5.h:
* s/freebsd.h:
* s/darwin.h: Remove dead code.
2008-07-10 03:26:06 +00:00
Dan Nicolaescu
ad76189a75 * m/template.h:
* m/sparc.h:
* m/mips.h:
* m/m68k.h:
* m/iris4d.h:
* m/intel386.h:
* m/ibms390x.h:
* m/ibms390.h:
* m/ia64.h:
* m/hp800.h:
* m/arm.h:
* m/amdx86-64.h: Remove dead code and references to unused
and compiler defined symbols.
2008-07-10 02:49:28 +00:00
Dan Nicolaescu
d2b5bbda45 * unexmips.c:
* unexelf.c: Remove references to desupported systems.
2008-07-10 02:37:07 +00:00
Dan Nicolaescu
40dde9d187 * configure.in: Use macppc for Darwin.
* configure: Regenerate.

* m/powermac.h: Remove file, it is now identical to m/macppc.h.
2008-07-10 02:32:56 +00:00