1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

858 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
29b585dbc6 (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. 2005-11-13 05:48:59 +00:00
YAMAMOTO Mitsuharu
a7a4eb9549 (C_SWITCH_SYSTEM): Remove -fno-common. 2005-11-09 08:09:01 +00:00
Dan Nicolaescu
3480d92bb0 * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
BROKEN_GET_CURRENT_DIR_NAME.

* sysdep.c (get_current_dir_name): Also define if
BROKEN_GET_CURRENT_DIR_NAME.

* m/ibmrs6000.h: Test for USG5, not USG5_4.
2005-09-23 17:06:03 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Paul Eggert
9eff9fe3e8 Merge gnulib getopt implementation into Emacs.
* Makefile.in (AUTOCONF_INPUTS): New macro.
($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it,
so that these files also depend on m4/getopt.m4.
* configure.in: Configure getopt by including m4/getopt.m4,
and configuring a getopt replacement if necessary.
* make-dist: Add m4 subdirectory.  Unlink lib-src/getopt.h.
* m4/getopt.m4: New file.

* lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
(GETOPT_H): New macro, from gnulib.
(getopt.h): New rule, from gnulib.
(GETOPTOBJS): Now autoconfigured.
(GETOPTDEPS): getopt.h is now autoconfigured.
(getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
(getopt.o): Depend on ${srcdir}/gettext.h.
(movemail.o): Depend on $(GETOPT_H).
* lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib.
* lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h:
New files, from gnulib.
* lib-src/getopt.h: Removed (now is getopt_.h).

* nt/inc/gettext.h: Remove; no longer needed now that
lib-src/gettext.h exists.

* src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is
now part of lib-src.
2005-07-26 21:43:13 +00:00
Lute Kamstra
3ef97fb6a7 Update FSF's address. 2005-07-05 00:35:10 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Eli Zaretskii
0e20b3a37b (chown): New; define to sys_chown. 2005-06-24 10:39:20 +00:00
Eli Zaretskii
23bf9efbaa (fileno): Don't define if already defined. 2005-06-04 20:10:49 +00:00
Thien-Thi Nguyen
47539b8564 (HAVE_PWD_H): Define. 2005-04-22 22:31:15 +00:00
Thien-Thi Nguyen
32b939ead5 (LD_SWITCH_SYSTEM_tmp): Define if undefined. 2005-03-21 17:36:01 +00:00
YAMAMOTO Mitsuharu
2dfcf9681d (DARWIN): Don't define. 2005-03-16 08:10:12 +00:00
Thien-Thi Nguyen
f17bb0913a Undefine NO_HYPHENS_IN_FILENAMES. 2005-03-04 21:57:07 +00:00
Thien-Thi Nguyen
dd5465979c Define NO_HYPHENS_IN_FILENAMES. 2005-03-04 21:56:46 +00:00
Thien-Thi Nguyen
f56ced441e (FILE_SYSTEM_CASE): New macro. 2005-03-04 17:10:31 +00:00
Jason Rumney
52c7f9eea2 2004-11-08 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* w32select.c: Summary: Thorough rework to implement Unicode
        clipboard operations and delayed rendering.

        Drop last_clipboard_text and related code, keep track of
        ownership via clipboard_owner instead.  Drop old #if0
        sections.

        (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
        (clipboard_owner, modifying_clipboard, cfg_coding_system)
        (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
        (current_coding_system, current_requires_encoding)
        (current_num_nls, current_clipboard_type, current_lcid): New
        static variables.

        (convert_to_handle_as_ascii, convert_to_handle_as_coded)
        (render, render_all, run_protected, lisp_error_handler)
        (owner_callback, create_owner, setup_config)
        (enum_locale_callback, cp_from_locale, coding_from_cp): New
        local functions.

        (term_w32select, globals_of_w32select): New global functions.

        (Fw32_set_clipboard_data): Ignore parameter FRAME, use
        clipboard_owner instead.  Use delayed rendering and provide
        all text formats.  Provide CF_LOCALE if necessary.

        (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and
        CF_LOCALE.  Fall back to CF_TEXT, if CF_UNICODETEXT is not
        available.  Force DOS line-ends for decoding.

        (Fx_selection_exists_p): Handle CF_UNICODETEXT.

        (syms_of_w32select): Init and register new variables.

        * w32.h: Add prototypes for globals_of_w32select and
        term_w32select.  Make the neighboring K&R declarations into
        prototypes, too.

        * emacs.c: Include w32.h to get function prototypes.
        (main): Call globals_of_w32select.

        * w32.c (term_ntproc): Call term_w32select.

        * mule-cmds.el (set-locale-environment): Remove call to
        set-selection-coding-system on Windows.

        * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
2005-02-15 23:19:26 +00:00
Steven Tamm
d9e7c62260 * s/darwin.h: Removed PTY_ITERATION from here.
(DARWIN): Defined.
* process.c (init_process): Default process-connection-type to
	nil on darwin 6 or less, t if it is 7 or higher.  This way the
	broken pty behavior is still allowed on darwin 6 for interactive
	processes for people that know what they are doing.
2005-01-22 15:54:04 +00:00
Steven Tamm
a15252fdfb * editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release
	based on call to uname if available.
	(get_operating_system_release): Added function to
	allow c-level access to operating system release.
* config.h: Regenerated.
* s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or
	less.
	(MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for
	using ptys as '7'.
* term/mac-win.el (process-connection-type): Removed.
	Controlled now by s/darwin.h:PTY_ITERATION.
2005-01-20 18:13:48 +00:00
Steven Tamm
fc7a70ccda * keyboard.c: Don't undef SIGIO
* s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon
* Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
       (macfns.o): Don't depend on ccl.h.
* macfns.c (mac_frame_parm_handlers): Set handlers for
Qleft_fringe and Qright_fringe.
* macterm.c (mac_fill_rectangle_to_pixmap)
(mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
(mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
Put in #if 0.
(mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
(x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
(XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8]: Added ifdef'd out code for os8.  Don't use
XDrawImageString.  Always draw background and foreground separately.
(x_draw_image_foreground): Use clipping instead of computing the
intersection rectangle.
(x_draw_image_glyph_string): Don't draw an image with mask to a
pixmap.
(x_redisplay_interface): Set flush_display_optional member to 0.
(XTread_socket): Correctly reset the TEConverter
object.
2004-11-30 05:57:27 +00:00
Andreas Schwab
e3177e4368 Enable no-op gcpros on ia64.
(GC_MARK_SECONDARY_STACK) [__ia64__]: Define.
2004-11-27 22:42:19 +00:00
Stefan Monnier
7a262394fb (POSIX_SIGNALS): Undo the removal of 2002-08-25,
which was not mentioned in the log.
2004-11-26 23:35:51 +00:00
Steven Tamm
640a07706b (LIBS_CARBON): New define to specify libraries for
Carbon support.
(LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.  Use
LIBS_CARBON.
2004-09-02 17:02:11 +00:00
Kim F. Storm
bb6a9650da From Barry Fishman <barry_fishman@att.net> (tiny change)
Use GC_MARK_STACK if __amd64__ is defined.
2004-07-21 22:04:29 +00:00
Stefan Monnier
451f03a04f Changes for Cygwin unexec() support, changes in Cygwin itself.
Add support for Xaw3d scrollbars.
2004-04-12 19:42:52 +00:00
Richard M. Stallman
c2c81360f7 Delete previous change. 2004-03-20 01:10:19 +00:00
Richard M. Stallman
09ad9db4b4 (LD_SWITCH_SYSTEM_TEMACS): New definition. 2004-03-04 17:18:38 +00:00
Steven Tamm
e35644615b Inserting Yamomotosan's changes for MacOSX image support, better support
of Asian fonts, and some long awaited header cleanup and centralization.
2004-02-26 17:46:48 +00:00
Stefan Monnier
4fa2eaa05c (__attribute__): Remove outdated workaround. 2004-01-21 04:04:01 +00:00
Gerd Moellmann
74d6f539ad (LD_SWITCH_SYSTEM_TEMACS)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.
2003-11-24 13:13:14 +00:00
Andrew Choi
3f080e4e60 s/darwin.h (GC_MARK_STACK): Define. 2003-10-12 23:38:07 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
5851666e10 [__FreeBSD_version >= 400000]: Define TERMINFO, use -lncurses. 2003-08-19 23:47:04 +00:00
Richard M. Stallman
763dbe6baf (LD_SWITCH_SYSTEM_TEMACS): Add undef. 2003-07-21 09:53:19 +00:00
Richard M. Stallman
c124274d34 Use -Wl syntax. 2003-07-21 09:51:20 +00:00
Richard M. Stallman
0c8b2afa5b (START_FILES_1, END_FILES_1): Always define them. 2003-07-13 18:00:24 +00:00
Richard M. Stallman
7a179ad4df (START_FILES, LIB_STANDARD): Use START_FILES_1, END_FILES_1.
(START_FILES_1, END_FILES_1): New macros (conditional).
(LD_SWITCH_SYSTEM_TEMACS): Defined.
2003-07-12 21:45:20 +00:00
Richard M. Stallman
4a2abeb21a Don't include bsd4-3.h.
(TERMINFO): Defined.
(LIBS_TERMCAP): Defined.
(LD_SWITCH_SYSTEM): Defined (two definitions).
2003-07-12 21:44:13 +00:00
Dave Love
828a3791cc (MAIL_USE_FLOCK): Make it conditional. 2003-05-20 16:27:57 +00:00
Juanma Barranquero
4f09e23d4a Include hpux10-20.h instead of hpux10.h. Delete #undef of
POLLING_PROBLEM_IN_SELECT.
2003-02-21 08:05:15 +00:00
Juanma Barranquero
9ded707201 (POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not
POLLING_PROBLEM_IN_SELECT.
2003-02-21 08:04:13 +00:00
Juanma Barranquero
427d47993c New file. 2003-02-21 08:03:31 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Juanma Barranquero
2454c12d45 Initial revision. 2003-01-31 15:05:24 +00:00
Dave Love
e7b6b57283 (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
architectures.
2003-01-24 12:22:01 +00:00
Dave Love
69f5d6fede (GC_SETJMP_WORKS, GC_MARK_STACK): Define. 2003-01-21 16:47:27 +00:00
Dave Love
296e6c4f5e Not necessary. 2002-12-09 18:10:12 +00:00
Andrew Choi
72742a999a 2002-12-02 Andrew Choi <akochoi@shaw.ca>
* macmenu.c (add_menu_item, fill_menubar): Truncate menu item
        names to 255 characters.

        * macterm.c (XTread_socket): If all frames have been collapsed,
        expand the first one before handling drag-and-drop events.

        * s/darwin.h (GETPGRP_NO_ARG): Delete.  Replaced by GETPGRP_VOID,
        which is detected by autoconf.
2002-12-02 17:13:46 +00:00
Dave Love
44129dcbc7 *** empty log message *** 2002-11-28 23:38:38 +00:00
Dave Love
6b2fd6ea80 *** empty log message *** 2002-11-27 23:01:32 +00:00
Dave Love
bf025ef431 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist):
Don't define.
(GC_SETJMP_WORKS, GC_MARK_STACK): Define.
2002-11-27 22:59:22 +00:00