1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00
Commit graph

26770 commits

Author SHA1 Message Date
Jason Rumney
c320e90a79 (uniscribe_shape): Avoid using context if cache
is populated.
(uniscribe_encode_char): Always use uniscribe.
Avoid using context if cache is populated.
2008-07-29 16:24:24 +00:00
Jan Djärv
3f7ead3061 * gtkutil.c (menu_nav_ended): Remove.
(create_menus): Remove signal connect for menu_nav_ended.
2008-07-29 09:25:49 +00:00
Jan Djärv
32d46135ee * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to
open menu.
* gtkutil.c (menu_nav_ended): Remove.
(create_menus): Remove signal connect for menu_nav_ended.
2008-07-29 09:25:04 +00:00
Juanma Barranquero
0e134ea0ce Fix typos. 2008-07-28 22:30:25 +00:00
Jason Rumney
9cac63134b (w32font_text_extents): Use w32_metric_cache consistently. 2008-07-28 21:37:31 +00:00
Chong Yidong
639eebe278 Reapply 2008-07-28 entry by cyd. 2008-07-28 19:51:18 +00:00
Chong Yidong
dfc35a83ee Revert last change. 2008-07-28 19:48:22 +00:00
Chong Yidong
ccd485aaa2 (redisplay_window): Check return value of
compute_window_start_on_continuation_line before forcing a window
start.
2008-07-28 19:37:08 +00:00
Chong Yidong
fc2fe15116 * xdisp.c (redisplay_window): Check return value of
compute_window_start_on_continuation_line before forcing a window
start.
2008-07-28 19:36:56 +00:00
Jason Rumney
d1f535d29f (w32_enable_unicode_output, cleartype_active): Remove
obsolete display options.
(x_draw_glyph_string_background): Don't use old cleartype_active
workaround.
(w32_initialize): Remove cleartype_active initialization.
(syms_of_w32term): Remove w32_enable_unicode_output initialization.
2008-07-28 18:31:26 +00:00
Andreas Schwab
ddaa36e16e * lisp.h (init_weak_hash_tables, syms_of_font)
(xd_read_queued_messages, syms_of_dbusbind): Declare.
(remove_hash_entry): Don't declare.
* eval.c (maybe_call_debugger): Make static and move before use.
* gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT.
* xdisp.c: Include "gtkutil.h" if USE_GTK.
* xterm.h (x_set_frame_alpha): Declare.
2008-07-28 12:25:11 +00:00
Jan Djärv
42ffd097cf (menu_nav_ended): Revert change from 2008-07-24.
(create_menus): Connect selection-done to menu_nav_ended.
2008-07-28 07:15:44 +00:00
Adrian Robert
bd6ce2baf7 code cleanups in NS port 2008-07-28 01:41:57 +00:00
Adrian Robert
583ff3c3ba rename do-applescript,do_applescript in keeping with NS code conventions 2008-07-27 19:20:38 +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
Miles Bader
7ad8fe5e28 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1356
2008-07-26 09:13:26 +00:00
Eli Zaretskii
4874e0882e (syms_of_term): Fix last change. 2008-07-26 07:34:26 +00:00
Andreas Schwab
51dc79f87e (print_object): Fix off-by-one in last change. 2008-07-26 06:49:19 +00:00
Juanma Barranquero
dea101f699 * term.c (syms_of_term): Don't initialize default_orig_pair,
default_set_foreground and default_set_background on Windows.
2008-07-25 22:33:59 +00:00
Jason Rumney
11856d4d74 (uniscribe_shape): Pass NULL for control arg to ScriptItemize. Clean
up return value checking. Remove unused variables.
(uniscribe_encode_char): Encode non-BMP characters with uniscribe
shaping engine.
2008-07-25 21:53:21 +00:00
Jason Rumney
6a8082b5d4 (w32font_has_char): Handle the case where we can't
determine the script for a character.
2008-07-25 21:44:37 +00:00
Chong Yidong
4f6f680651 (syms_of_term): Initialize default_orig_pair, default_set_foreground,
and default_set_background.
2008-07-25 18:12:41 +00:00
Chong Yidong
736dc04ff0 * term.c (syms_of_term): Initialize default_orig_pair,
default_set_foreground, and default_set_background.
2008-07-25 18:12:23 +00:00
Chong Yidong
3a7c5d405b (syms_of_term): Initialize default_orig_pair, default_set_foreground,
and default_set_background.
2008-07-25 18:12:00 +00:00
Chong Yidong
acdadb1539 * term.c (syms_of_term): Initialize default_orig_pair,
default_set_foreground, and default_set_background.
2008-07-25 18:11:49 +00:00
Chong Yidong
85de137cd7 (nl): Rename to name_list to avoid ncurses.h clash (bug#86).
(getloadavg): Callers changed.
2008-07-25 18:06:09 +00:00
Chong Yidong
2ddbd89290 * getloadavg.c (nl): Rename to name_list to avoid ncurses.h clash (bug#86).
(getloadavg): Callers changed.
2008-07-25 18:05:40 +00:00
Chong Yidong
f100213ed1 (nl): Rename to name_list to avoid ncurses.h clash (bug#86).
(getloadavg): Callers changed.
2008-07-25 18:05:01 +00:00
Chong Yidong
5efc62005a * getloadavg.c (nl): Rename to name_list to avoid ncurses.h
clash (bug#86).
(getloadavg): Callers changed.
2008-07-25 18:04:47 +00:00
Chong Yidong
9d7112edd6 (x_from_xcolors): Don't initialize pixmap (silence compiler). 2008-07-25 17:11:42 +00:00
Chong Yidong
e025c9c2fd (svg_load_image): Use rsvg_handle_get_dimensions to check that image
size is valid.  Use g_object_unref instead of deprecated
rsvg_handle_free to free rsvg handle.
2008-07-25 17:06:23 +00:00
Chong Yidong
c01c4e35bf * image.c (svg_load_image): Use rsvg_handle_get_dimensions to check
that image size is valid.  Use g_object_unref instead of deprecated
rsvg_handle_free to free rsvg handle.
2008-07-25 17:06:06 +00:00
Chong Yidong
b2996e5783 (svg_load_image): Fix last change. 2008-07-25 14:04:02 +00:00
Chong Yidong
7bfc0e9ee9 * image.c (svg_load_image): Fix last change. 2008-07-25 14:03:51 +00:00
Jason Rumney
f31cf550ca * w32font.c (w32font_encode_char): Encode characters outside BMP as
surrogates before looking up glyph index.
(w32font_text_extents): Encode as surrogates if falling back to
functions that need UTF-16 wide chars.

* w32uniscribe.c (uniscribe_encode_char): Encode characters outside
BMP as surrogates before looking up glyph index.
2008-07-25 11:25:43 +00:00
Chong Yidong
6f79c90b19 (svg_load_image): Check for failure in return value of
rsvg_handle_get_pixbuf.  Free rsvg handle when done.
2008-07-25 05:51:24 +00:00
Chong Yidong
b293d65977 * image.c (svg_load_image): Check for failure in return value of
rsvg_handle_get_pixbuf.  Free rsvg handle when done.
2008-07-25 05:51:10 +00:00
Jason Rumney
1ada3dab92 (Fx_select_font): Reverse sense of second arg. 2008-07-25 00:36:45 +00:00
Stefan Monnier
6449674edf (struct lisp_parse_state, char_quoted, inc_bytepos)
(dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions.
2008-07-24 20:27:57 +00:00
Stefan Monnier
dbc812e07b (PURESIZE_CHECKING_RATIO): New macro.
(PURESIZE): Use it.
2008-07-24 20:26:48 +00:00
Dan Nicolaescu
340074e936 * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.
* m/alpha.h (TEXT_END):
* m/ibmrs6000.h (TEXT_END):
* m/macppc.h (TEXT_END):
* s/darwin.h (TEXT_END):
* s/msdos.h (TEXT_END): Remove, unused.
* s/gnu-linux.h (BSD_PGRPS): Add a comment.
* s/cygwin.h: Remove comment.
2008-07-24 18:45:45 +00:00
Dan Nicolaescu
a11af7f845 * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused.
(DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES.
* m/intel386.h (DOT_GLOBAL_START):
* m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES.
(USG): Remove, file not used on USG platforms.
2008-07-24 18:39:48 +00:00
Dan Nicolaescu
67725bd8db (HAVE_X11): Remove empty #else. 2008-07-24 18:35:33 +00:00
Andreas Schwab
6420e80c8c (Finsert_file_contents): Properly adjust undo list
after format conversion.
2008-07-24 13:00:20 +00:00
Jan Djärv
d1c38b5722 (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG.
(menu_nav_ended): Remove.
(create_menus): Remove signal connect for menu_nav_ended.
(xg_update_menubar): Also take deactivate_cb as parameter, pass it to
create_menus.
(xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar.
2008-07-24 08:36:26 +00:00
Dan Nicolaescu
cc61af6796 * m/alpha.h (LINUX_SBRK_BUG):
* emacs.c (main): Undo previous change.
2008-07-23 23:37:18 +00:00
Jason Rumney
4b1355037a * w32font.c (w32font_open): Set font type to gdi.
* w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
2008-07-23 15:37:44 +00:00
Jason Rumney
f0492e5ff5 (right_overwritten): Doc fix 2008-07-23 14:00:05 +00:00
Jason Rumney
597634cbfb (w32_enumfont_pattern_entity): Return height consistent with opened font. 2008-07-23 13:20:58 +00:00
Dan Nicolaescu
945098165f (C_SWITCH_MACHINE): Remove. 2008-07-23 08:36:17 +00:00