1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
emacs/src
Jan Djärv f904c0f938 Gtk tool bars can be text, icons with text or just icons.
* xsettings.c: Qmonospace_font_name, Qtool_bar_style and
current_tool_bar_style are new.
(store_config_changed_event): Rename from store_font_changed_event.
(XSETTINGS_TOOL_BAR_STYLE): New define.
(SEEN_FONT, SEEN_TB_STYLE): New enum values.
(struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
HAVE_XFT.
(something_changedCB): store_font_changed_event is now
store_config_changed_event
(parse_settings): Rename from parse_xft_settings.  Read
non-xft xsettings outside #ifdef HAVE_XFT.
(read_settings): Renamed from read_xft_settings.
(apply_xft_settings): Take current settings as parameter.  Do not
call read_(xft)_settings.
(read_and_apply_settings): New function.
(xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
read_and_apply_settings if there are settings to be read.
(init_xsettings): Renamed from init_xfd_settings.
Call read_and_apply_settings unconditionally.
(xsettings_initialize): Call init_xsettings.
(Ftool_bar_get_system_style): New function.
(syms_of_xsettings): Define Qmonospace_font_name and
Qtool_bar_style.  Initialize current_tool_bar_style to nil.
defsubr Stool_bar_get_system_style. Fprovide on
dynamic-setting.

* xsettings.h (Ftool_bar_get_system_style): Declare.

* xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
Qtext, Qboth, Qboth_horiz are new.
(syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
Vtool_bar_style, tool_bar_max_label_size.

* lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.

* keyboard.c: QClabel is new.
(parse_tool_bar_item): Take out QClabel from tool bar items.
Try to construct a label if ther is no QClabel.
(syms_of_keyboard): Intern :label as QClabel.

* dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
(Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
New.

* Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
dynamic-setting.el.

* gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
(xg_make_tool_item, xg_show_toolbar_item): New function.
(update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
Call xg_make_tool_item to make a tool bar item.
Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.

* xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
into account for toolbars.

* vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.

* tool-bar.el (tool-bar-setup): Add :label on some tool bar items.

* loadup.el: Load dynamic-setting.el if feature dynamic-setting
is present.

* info.el (info-tool-bar-map): Add labels.

* cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.

* cus-edit.el (custom-commands): Add labels for tool bar.
(custom-buffer-create-internal, Custom-mode): Adjust for
labels in custom-commands.

* dynamic-setting.el: Renamed from font-setting.el.
2010-04-20 20:52:07 +02:00
..
bitmaps
m Simplify code for HP machines. 2010-04-06 23:11:45 -07:00
s Remove NOMULTIPLEJOBS, unused. 2010-04-20 22:47:56 -07:00
.dbxinit
.gdbinit .gdbinit (xsubchartable): New command. 2010-04-19 16:05:35 +03:00
.gitignore * .cvsignore, .gitignore: Ignore buildobj.h. 2009-08-28 02:40:13 +00:00
alloc.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
atimer.c Remove dead code dealing with POSIX_SIGNALS. 2010-03-22 12:51:59 -07:00
atimer.h Fix typos in comments. 2010-01-17 03:24:22 +01:00
bidi.c * buffer.h (struct buffer): Remove unused var `direction_reversed'. 2010-04-20 13:01:39 -04:00
blockinput.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
buffer.c Remove references to (default-)direction-reversed. 2010-04-21 01:05:30 +02:00
buffer.h * buffer.h (struct buffer): Remove unused var `direction_reversed'. 2010-04-20 13:01:39 -04:00
bytecode.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
callint.c * callint.c (Finteractive): Doc fix. 2010-02-17 22:35:21 -08:00
callproc.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
casefiddle.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
casetab.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
category.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
category.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ccl.c Fix the ccl decoder for the case that the output buffer is fullfilled. 2010-02-17 15:47:32 +09:00
ccl.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
ChangeLog.1 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.2 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.3 Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ChangeLog.4 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.5 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.6 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.7 Fix typos in Changelog. 2010-03-24 01:18:03 +01:00
ChangeLog.8 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
ChangeLog.9 Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ChangeLog.10 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
character.c Fix handling of the multibyte form of raw-bytes in unibyte->multibyte conversion. 2010-03-02 13:44:28 +09:00
character.h Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
charset.c charset.c (char_charset): Consider Vcharset_non_preferred_head only when the arg CHARSET_LIST is nil. 2010-04-20 15:30:26 +09:00
charset.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
chartab.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
cm.c Don't use termcap.c on Posix platforms, only on MS-DOS. 2010-03-12 11:34:27 -05:00
cm.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
cmds.c Get rid of the direct_output optimizations. 2010-03-31 00:14:08 -04:00
coding.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
coding.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
commands.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
composite.c from trunk 2010-01-14 12:54:04 +09:00
composite.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
config.in Regenerate configure, src/config.in. 2010-04-20 20:11:03 -07:00
COPYING
data.c Declarations before code (Bug#5993). 2010-04-21 18:13:55 +02:00
dbusbind.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dired.c Merge from emacs-23 2010-04-19 11:07:52 -04:00
dispextern.h Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
dispnew.c Implement cursor on the left fringe for R2L lines. 2010-04-10 19:28:30 +03:00
disptab.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
doc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
doprnt.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dosfns.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
dosfns.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ecrt0.c * ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not 2010-04-02 17:06:38 -07:00
editfns.c Fix bug in `format' (Bug#5710). 2010-03-15 11:51:48 -04:00
emacs-icon.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
epaths.in Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eval.c Add SELinux support. 2010-04-20 20:02:58 -07:00
fileio.c Add SELinux support. 2010-04-20 20:02:58 -07:00
filelock.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
filemode.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
firstfile.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
floatfns.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
fns.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
font.c * font.c (syms_of_font): Make the style table vars read-only. 2010-04-20 13:17:29 -04:00
font.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fontset.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fontset.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
frame.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
frame.h * frame.h (FRAME_SAMPLE_VISIBILITY): Undo previous change. 2010-04-15 14:52:27 -07:00
fringe.c Mirror continuation indicators for R2L lines; fix face extension on TTY. 2010-04-17 15:33:05 +03:00
ftfont.c Fix Myanmar OTF support 2010-02-26 21:40:46 +09:00
ftfont.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ftxfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
getloadavg.c
getpagesize.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
gmalloc.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
gtkutil.c Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
gtkutil.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
image.c Rename image-extension-data' to image-metadata'. 2010-03-31 17:55:01 +03:00
indent.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
indent.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
insdel.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
intervals.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
intervals.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
keyboard.c Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
keyboard.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
keymap.c Fix keyboard macro key lookup (Bug#5481). 2010-03-03 12:31:50 -05:00
keymap.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
lastfile.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
lisp.h Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
lread.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
macros.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
macros.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Makefile.in Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
makefile.w32-in Don't depend on cm.c or termcap.c on Windows, use stubs. 2010-04-21 02:17:02 +02:00
marker.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
md5.c
md5.h
mem-limits.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
menu.c Lucid menus can now use Xft for fonts. 2010-04-08 18:20:32 +02:00
menu.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
minibuf.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mktime.c
msdos.c msdos.c: Fix last change. 2010-04-01 18:15:16 +03:00
msdos.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ndir.h
nsfns.m [merge] Fix last set of Nextstep changes. 2010-03-31 18:28:12 -04:00
nsfont.m * nsfont.m (nsfont_draw): ns_antialias_text should be a Lisp_Object (Bug#4736). 2010-02-25 19:48:53 -05:00
nsgui.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsimage.m Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsmenu.m * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as NSInteger (Bug#5811). 2010-04-13 09:01:46 +03:00
nsselect.m Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsterm.h Fix last set of Nextstep changes. 2010-03-31 10:27:50 -04:00
nsterm.m Clean up unneeded ns_set_icon_type calls. 2010-03-29 19:48:44 -04:00
point.h
pre-crt0.c
prefix-args.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
print.c Make variable forwarding explicit rather the using special values. 2010-04-19 21:50:52 -04:00
process.c Try to solve the problem of spurious EOF chars in long lines of text 2010-04-12 22:07:48 -04:00
process.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
puresize.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ralloc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
regex.c Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
regex.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
region-cache.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
region-cache.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
scroll.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
search.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sheap.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sound.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
stamp-h.in
strftime.c
syntax.c Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
syntax.h Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
sysdep.c Try to solve the problem of spurious EOF chars in long lines of text 2010-04-12 22:07:48 -04:00
sysselect.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
syssignal.h Remove dead code dealing with POSIX_SIGNALS. 2010-03-22 12:51:59 -07:00
systime.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
systty.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
syswait.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
term.c Implement GUI display of R2L lines, fix TTY display of R2L lines. 2010-04-20 16:31:28 +03:00
termcap.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
termchar.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
termhooks.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
terminal.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
terminfo.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
termopts.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
textprop.c Suppress spurious second invocation of before-change-functions 2010-01-19 13:16:01 +00:00
tparam.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
undo.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexaix.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
unexalpha.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexcw.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexec.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
unexelf.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexhp9k800.c
unexmacosx.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexsol.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexw32.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
vm-limit.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w16select.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
w32.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32console.c Don't depend on cm.c or termcap.c on Windows, use stubs. 2010-04-21 02:17:02 +02:00
w32fns.c Fix bug #5703. 2010-03-31 12:08:40 +03:00
w32font.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32font.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32gui.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32heap.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32heap.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32inevt.c w32inevt.c (key_event): Remove unnecessary comparison of 2010-01-29 16:03:25 +02:00
w32inevt.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32menu.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32proc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32reg.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32select.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32term.c Implement cursor on the left fringe for R2L lines. 2010-04-10 19:28:30 +03:00
w32term.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32uniscribe.c * w32uniscribe.c (uniscribe_check_otf): Fix length check. 2010-02-27 15:28:52 +01:00
w32xfns.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widget.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widget.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widgetprv.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
window.c Add the `scroll-command' property. 2010-04-16 02:51:12 +03:00
window.h Merge from mainline. 2010-01-16 06:59:23 -05:00
xdisp.c Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
xfaces.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width to zero. 2010-04-13 10:19:05 +02:00
xfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xftfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xgselect.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xgselect.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xmenu.c * xmenu.c (apply_systemfont_to_menu): *childs was incorrectly used. 2010-04-16 19:05:31 +02:00
xrdb.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
xselect.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xsettings.c Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
xsettings.h Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
xsmfns.c Fix for bug#5512, don't rely on SIGIO alone. 2010-02-10 10:29:28 +01:00
xterm.c Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
xterm.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
  Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile.c'.  The
same script then uses `cpp' to produce the machine-dependent
`Makefile' from `Makefile.c'; `Makefile' is the file which actually
controls the compilation of Emacs.  Most of this should work
transparently to the user; you should only need to run `../configure',
and then type `make'.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.