1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00
Commit graph

619 commits

Author SHA1 Message Date
Glenn Morris
25c72475f4 Close bug#5336.
* Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always
in the DOC file.
2010-03-28 11:55:20 -07:00
Andreas Schwab
e118d2be3b Update $(lisp) and $(shortlisp) to match changes in loadup.el
* Makefile.in (lisp, shortlisp): Update.
2010-01-16 10:40:57 +01:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Eli Zaretskii
49105cd038 (alloc.o): Fix last change. 2009-12-19 11:27:49 +00:00
Eli Zaretskii
3f670e9acc Update dependencies in Makefile.in.
(alloc.o): Depend on termhooks.h.
(atimer.o): Depend on blockinput.h.
(buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h, and frame.h.
(callint.o): Depend on systime.h, coding.h, and composite.h.
(callproc.o): Depend on buffer.h.
(casefiddle.o): Don't depend on charset.h.
(casetab.o): Depend on character.h.
(ccl.o): Depend on composite.h.
(chartab.o): Depend on ccl.h.
(cm.o): Depend on dispextern.h.
(cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h.
(coding.o): Don't depend on $(INTERVALS_H).
(composite.o): Don't depend on dispextern.h explicitly (it's in
$(INTERVALS_H)).  Depend on ccl.h.
(data.o): Depend on systime.h, coding.h, composite.h, dispextern.h, font.h,
and ccl.h.
(dired.o): Depend on composite.h.
(dispnew.o): Depend on coding.h.  Don't depend explicitly on
composite.h (it's in $(INTERVALS_H)).
(doc.o): Depend on systime.h, coding.h, and composite.h.
(editfns.o): Don't depend explicitly on dispextern.h.
(emacs.o): Depend on frame.h and coding.h.
(eval.o): Depend on coding.h, composite.h, and xterm.h.
(fileio.o): Depend on frame.h and commands.h.  Don't depend
explicitly on dispextern.h.
(filelock.o): Don't depend on epaths.h and charset.h.  Depend on composite.h.
(fns.o): Don't depend on termhooks.h.
(font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h.
(fontset.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
$(INTERVALS_H), window.h, xterm.h.
(frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h.
(fringe.o): Depend on blockinput.h, atimer.h, and systime.h.
(ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
fontset.h, ccl.h, and ftfont.h.
(ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
(gtkutil.o): Depend on dispextern.h and composite.h.
(image.o): Depend on epaths.h, character.h, coding.h, composite.h,
termhooks.h, and ccl.h.
(indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H).
(intervals.o): Depend on systime.h and coding.h.
(keyboard.o): Depend on composite.h and coding.h.
(keymap.o): Depend on coding.h and frame.h.
(lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h.
(macros.o): Depend on systime.h, coding.h, and composite.h.
(menu.o): Depend on systime.h, coding.h, composite.h, window.h, and atimer.h.
(minibuf.o): Depend on systime.h and coding.h.  Don't depend on
dispextern.h explicitly.
(print.o): Depend on termhooks.h, coding.h, and ccl.h.  Don't
depend explicitly on dispextern.h and composite.h.
(process.o): Depend on character.h, xgselect.h, and sysselect.h.
(regex.o): Don't depend on charset.h.
(scroll.o): Depend on systime.h, coding.h, composite.h, and window.h.
(search.o): Don't depend explicitly on composite.h.
(sound.o): Depend on atimer.h and systime.h.
(syntax.o): Don't depend explicitly on composite.h.
(sysdep.o): Depend on coding.h and composite.h.
(term.o): Depend on xterm.h and buffer.h.
(terminal.o): Depend on dispextern.h, composite.h, and systime.h.
(textprop.o): Don't depend on dispextern.h explicitly.
(undo.o): Depend on dispextern.h.
(window.o): Depend on coding.h and termhooks.h.  Don't depend on
dispextern.h and composite.h explicitly.
(xdisp.o): Depend on ccl.h.
(xfaces.o): Depend on coding.h and ccl.h.
(xfns.o): Depend on $(INTERVALS_H) and ccl.h.
(xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
(xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and ftfont.h.
(xgselect.o): New dependency.
(xmenu.o): Depend on composite.h, keymap.h, and sysselect.h.
(xselect.o): Depend on keyboard.h, coding.h, and composite.h.
(xsettings.o): Depend on dispextern.h, keyboard.h, systime.h,
coding.h, composite.h, blockinput.h, atimer.h, and termopts.h.
(xsmfns.o): Depend on frame.h and dispextern.h.
(xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and sysselect.h.
2009-12-19 11:25:34 +00:00
Andreas Schwab
f4c210265d (prefix-args${EXEEXT}): Don't compile prefix-args.c
twice.
2009-12-17 00:03:51 +00:00
Eli Zaretskii
7e6947958e (lisp, shortlisp): Replace indian.el with indian.elc. 2009-12-03 20:03:55 +00:00
Eli Zaretskii
4bf4719537 [!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h. 2009-11-28 10:24:51 +00:00
Jan Djärv
cfc86c7a86 Must create deps for ecrt0.o in its rule. 2009-11-23 14:48:59 +00:00
Jan Djärv
872870b29a Use a select wrapper around the GLib event loop, thus taking into account GLib
timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
for handling GConf death/restart.

* xterm.c: #include xgselect.h.
(x_initialize): Call xgselect_initialize.

* xsettings.c (something_changedCB): C++ comments => C comments.
(init_gconf): Do not deal with any GLib file descriptors, xg_select
does that now.

* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
(scroll_bar_button_cb): Remove.
(create_menus): C++ comments => C comments. Don't bind grab-notify
event.
(xg_create_scroll_bar): Don't bind button-press-event and
button-release-event.

* process.c: Include xgselect.h if defined (USE_GTK) ||
defined (HAVE_GCONF).
(wait_reading_process_output): Call xg_select for the same condition.

* xgselect.c (xg_select): New function to better integrate with
GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.

* xgselect.h: New file, declare xg_select, xgselect_initialize.

* Makefile.in (XOBJ): Add xgselect.o.
2009-11-21 15:28:59 +00:00
Jan Djärv
749cebc32f Add font-setting.el to DOC. 2009-11-17 09:13:36 +00:00
Jan Djärv
637fa98808 Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings.

* xterm.c (handle_one_xevent): Call xft_settings_event for
ClientMessage, PropertyNotify and DestroyNotify.
(x_term_init): If we have XFT, get DPI from Xft.dpi.
Call xsettings_initialize.

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.

* xfont.c (xfont_driver): Initialize all members.

* xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
Do not get font from x_default_parameter if we got one from
Ffont_get_system_font.
(Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).

* w32font.c (w32font_driver): Initialize all members.

* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.

* lisp.h: Declare syms_of_xsettings.

* keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
CONFIG_CHANGED_EVENT.

* ftfont.c (ftfont_filter_properties): New function.

* frame.c (x_set_font): Remove unused variable lval.

* font.h (struct font_driver): filter_properties is new.

* font.c (font_put_extra): Don't return if val is nil, it means
boolean option is off.
(font_parse_fcname): Collect all extra properties in extra_props
and call filter_properties for all drivers with extra_props and
font as parameter.
(font_open_entity): Do not use cache, it does not pick up new fontconfig
settings like hinting.
(font_load_for_lface): If spec had a name in it, store it in entity.

* emacs.c (main): Call syms_of_xsettings

* config.in: HAVE_GCONF is new.

* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
xsettings.o is new.

* menu-bar.el: Put "Use system font" in Option-menu.

* loadup.el: If feature system-font-setting or font-render-setting is
there, load font-setting.

* Makefile.in (ELCFILES): font-settings.el is new.
* font-setting.el: New file.

* NEWS: Mention dynamic font changes (font-use-system-font).

* configure.in: New option: --with(out)-gconf.
Set HAVE_GCONF if we find gconf.
2009-11-17 08:21:23 +00:00
Andreas Schwab
5d1e70a2c4 Ignore errors from mkdir when creating deps
directory.
2009-11-14 18:35:19 +00:00
Jan Djärv
a53cfbe587 Use gcc-generated dependency files if we can (GNU Make and gcc required).
* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
dependency files in deps/. Include those files into Makefile.

* config.in: Generated (AUTO_DEPEND).

* configure.in: --enable-autodepend is new.  Check for GNU Make
and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use
gcc and GNU make to generate dependencies.
2009-11-14 15:17:38 +00:00
Dan Nicolaescu
0a5d24aedd Add dependencies to lisp.h. Remove dependencies
for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c.
2009-11-11 06:41:07 +00:00
Glenn Morris
0c2b6f8e17 (emacs${EXEEXT}): Remove direct dependence on SOME_MACHINE_LISP (this
enters indirectly via DOC).

See http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00022.html
2009-10-06 02:45:26 +00:00
Glenn Morris
00e2f46c20 Comments. 2009-09-26 19:49:17 +00:00
Glenn Morris
b7d552d615 (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in internal.elc.
Add term/pc-win.elc.
(WINDOW_SUPPORT) [HAVE_X_WINDOWS]: Add term/common-win.elc and term/x-win.elc.
(WINNT_SUPPORT) [WINDOWSNT]: Add term/common-win.elc and term/w32-win.elc.
(NS_SUPPORT): New.
(lisp): Add NS_SUPPORT.
(SOME_MACHINE_LISP): Add term/w32-win.elc and emacs-lisp/easymenu.elc.
2009-09-26 19:40:55 +00:00
Eli Zaretskii
e227ba05ec (MSDOS_SUPPORT, SOME_MACHINE_LISP): Add lisp/term/internal.elc. 2009-09-17 18:06:57 +00:00
Dan Nicolaescu
005bd5a263 * puresize.h (BASE_PURESIZE): Increase to 1290000.
* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
(OBJECTS_MACHINE): Remove, unused.

* configure.in (OTHER_FILES): Define using autoconf not cpp.
2009-09-17 06:10:44 +00:00
Ken Raeburn
878bde4927 * Makefile.in (buildobj.h): New target.
(doc.o): Depend on it.
(temacs${EXEEXT}): Don't generate buildobj.lst.
(mostlyclean): Delete buildobj.h, not buildobj.lst.
* makefile.w32-in ($(SRC)/buildobj.h): New target.
($(BLD)/doc.$(O)): Depend on it.
(make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
provided by Eli Zaretskii.)
($(TEMACS)): Don't generate buildobj.lst.
* doc.c: Include buildobj.h.
(buildobj): New static variable.
(Fsnarf_documentation): Use it, instead of opening and reading
buildobj.lst.
2009-08-26 08:28:23 +00:00
Ken Raeburn
c8edcc0113 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
before invoking the newly build emacs to check for load-path
shadowing.
2009-08-23 04:43:12 +00:00
Glenn Morris
7763401bac (bootstrap_exe): New variable.
(.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
Use ${bootstrap_exe}.
2009-08-22 22:16:58 +00:00
YAMAMOTO Mitsuharu
24ed93fb87 (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc. 2009-07-01 08:55:45 +00:00
Stefan Monnier
50da4e5637 (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS. 2009-05-04 15:19:43 +00:00
Kenichi Handa
ce65fe7a4e (composite.o): Depends on frame.h and termhooks.h. 2009-02-04 01:31:37 +00:00
Glenn Morris
76b6f70759 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
Dan Nicolaescu
bd7bbf294e (INTERVALS_H): Rename from INTERVAL_SRC, update all users. 2008-12-29 04:01:06 +00:00
Dan Nicolaescu
b5672e7ca4 (INTERVAL_SRC): Also depend on dispextern.h.
(coding.o, dispnew.o, keymap.o, msdos.o): Depend on INTERVAL_SRC
instead of intervals.h.
2008-12-29 03:55:53 +00:00
Dan Nicolaescu
b9fd67bd5c * hftctl.c:
* chpdef.h:
* acldef.h: Remove files used only for systems no longer supported.

* Makefile.in: Fix .o alphabetical ordering.
(hftctl.o): Remove dependency, file removed.
(keymap.o, print.o): Depend on charset.h.
2008-11-12 07:17:21 +00:00
Eli Zaretskii
bdeb0411a2 (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. 2008-09-30 19:00:24 +00:00
Glenn Morris
fa2dda1469 (character.o, chartab.o): Fix config.h typo. 2008-09-10 04:03:15 +00:00
Kenichi Handa
6b7f08601c (ftfont.o): Depend on composite.h.
(composite.o): Depend dispextern.h, font.h, frame, and window.h.
2008-08-29 07:52:21 +00:00
Chong Yidong
f412b18032 Revert (undocumented) 2008-08-20 change adding LDFLAGS to GNUstep CC invocation. 2008-08-28 19:35:47 +00:00
Eli Zaretskii
005e19a593 (MSDOS_OBJ): Add xmenu.o.
(SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc.
2008-08-23 16:58:02 +00:00
Chong Yidong
ba00b2bc59 (temacs${EXEEXT}): On GNUstep, link to appropriate GNUstep library
location.
2008-08-21 14:49:28 +00:00
Adrian Robert
a2d3af1ce6 * Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation. 2008-08-21 02:57:36 +00:00
Dan Nicolaescu
11d8ec4a2c (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case. 2008-08-11 02:21:08 +00:00
Dan Nicolaescu
48fad8e894 * s/darwin.h (OTHER_FILES): Do not define here, defined in
config.in.

* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.

* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.  Do
not special case for NS_IMPL_COCOA.

* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
2008-08-07 14:21:43 +00:00
Adrian Robert
b330336c40 * Makefile.in (emacs): Remove ndef NS conditional for 'emacs -list-load-path-shadows'. (nsgui.h): Reduce number of things depending on it. 2008-08-07 01:36:30 +00:00
Adrian Robert
5573794231 * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER. 2008-08-06 16:20:46 +00:00
Dan Nicolaescu
f78c2c973f (dispnew.o, gtkutil.o, sound.o, atimer.o)
(floatfns.o): Depend on syssignal.h.
(term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC).
2008-08-01 14:04:53 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Dan Nicolaescu
9e2a264775 Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon

* erc.el: Remove code for Carbon.

Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.

Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.

* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.

* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.

* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.

* xresources.texi: Remove mentions of Mac Carbon.

* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.

Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL:  Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Dan Nicolaescu
67725bd8db (HAVE_X11): Remove empty #else. 2008-07-24 18:35:33 +00:00
Dan Nicolaescu
77ccee0959 * config.in: Regenerate.
* s/ms-w32.h (subprocesses): Define unconditionally.
* s/template.h (subprocesses): Update comment.
* s/vms.h (subprocesses):
* s/usg5-4.h (subprocesses):
* s/hpux10-20.h (subprocesses):
* s/gnu-linux.h (subprocesses):
* s/cygwin.h (subprocesses):
* s/bsd-common.h (subprocesses):
* s/aix4-2.h (subprocesses):
* s/darwin.h (subprocesses): Do not define, defined by default now.

* Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
Remove all references.
(temacs): Add GNUStep specific ld flags.

* Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.

* config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.

* Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.

* configure.in (LD_SWITCH_SITE): Remove, set the values directly
in src/Makefile.in.
(static): Remove, autoconf would always comment it out anyway.
(subprocesses): Define unconditionally.
2008-07-23 06:26:32 +00:00
Adrian Robert
e5e2baab29 fix typo in ns_appdir target find command 2008-07-20 13:19:56 +00:00
Adrian Robert
5c976973f2 fix bug with quickdraw smoothing; also, in Makefile, clean out ns_appdir in 'clean' target 2008-07-19 22:23:30 +00:00
Adrian Robert
0d1794fdb0 should have gone in in last commit 2008-07-19 20:47:26 +00:00
Chong Yidong
653036938a (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc. 2008-07-18 17:13:02 +00:00