1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
emacs/src
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
..
bitmaps
m Don't set LIB_STANDARD and START_FILES under __Apple__. 2009-10-16 03:12:35 +00:00
s Fix last change. 2009-11-21 04:50:36 +00:00
.arch-inventory
.dbxinit
.gdbinit (xcharset): Fix the treating $arg0. 2009-07-07 06:25:45 +00:00
.gitignore * .cvsignore, .gitignore: Ignore buildobj.h. 2009-08-28 02:40:13 +00:00
alloc.c (mark_object): Don't reprocess marked strings. 2009-11-13 15:26:28 +00:00
atimer.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
atimer.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
blockinput.h * nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30 2009-02-01 16:32:26 +00:00
buffer.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
buffer.h * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
bytecode.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
callint.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
callproc.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
casefiddle.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
casetab.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
category.c (word_boundary_p): Adjusted for the change of the 2009-11-13 11:18:02 +00:00
category.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ccl.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
ccl.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
ChangeLog.1 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.2 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.3 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.4 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.5 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.6 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.7 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.8 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ChangeLog.9 Fix typo. 2009-11-14 04:07:19 +00:00
ChangeLog.10 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
character.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
character.h * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
charset.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
charset.h (charset_ksc5601): Extern it. 2009-04-16 01:05:10 +00:00
chartab.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
cm.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
cm.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
cmds.c * xterm.c (x_new_font): 2009-11-21 02:33:45 +00:00
coding.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
coding.h (encode_coding_string): Don't encode unibyte strings. (Bug#4047) 2009-08-22 10:26:14 +00:00
commands.h Update for last_command_char rename. 2009-01-09 03:29:39 +00:00
composite.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
composite.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
config.in Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
COPYING
data.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
dbusbind.c * dbusbind.c (Vdbus_registered_objects_table): Renamed from 2009-11-13 16:12:08 +00:00
dired.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
dispextern.h * xfaces.c (face_at_buffer_position): New arg base_face_id. 2009-04-30 05:01:57 +00:00
dispnew.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
disptab.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
doc.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
doprnt.c (doprnt): Fix overflow check. 2009-10-21 21:28:59 +00:00
dosfns.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
dosfns.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ecrt0.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
editfns.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
emacs-icon.h * emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671). 2009-06-24 14:27:47 +00:00
emacs.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
epaths.in Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
eval.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
fileio.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
filelock.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
filemode.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
firstfile.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
floatfns.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
fns.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
font.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
font.h Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
fontset.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
fontset.h (set_default_ascii_font): Delete extern. 2009-04-29 01:42:51 +00:00
frame.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
frame.h * xterm.h (struct x_display_info): Add invisible_cursor. 2009-07-03 11:07:02 +00:00
fringe.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
ftfont.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
ftfont.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ftxfont.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
getloadavg.c Revert copyright year changes for files that are not part of Emacs. 2009-01-08 03:52:24 +00:00
getpagesize.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
gmalloc.c * gmalloc.c (__sbrk): Also define for uClibc. 2008-10-02 02:58:01 +00:00
gtkutil.c Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
gtkutil.h Fix bug #4870, issues 3 and 4. 2009-11-06 08:30:43 +00:00
image.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
indent.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
indent.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
insdel.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
intervals.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
intervals.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
keyboard.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
keyboard.h Bug #4574. Common code for file/font dialog. Handle timers with glib-timers. 2009-11-10 19:06:40 +00:00
keymap.c * keymap.c (syms_of_keymap): Construct exclude_keys in pure memory. 2009-11-06 07:49:31 +00:00
keymap.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
lastfile.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
lisp.h * lisp.h: Remove declaration of Ffont_get_system_font. 2009-11-17 21:57:48 +00:00
lread.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
macros.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
macros.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
Makefile.in Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
makefile.w32-in * makefile.w32-in: Update dependencies; add dependencies to lisp.h. 2009-11-12 00:51:37 +00:00
marker.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
md5.c
md5.h
mem-limits.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
menu.c (Fx_popup_menu) [HAVE_NS]: Use generic code for window edge. 2009-11-17 03:32:04 +00:00
menu.h * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, 2009-11-09 06:21:03 +00:00
minibuf.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
mktime.c
msdos.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
msdos.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
ndir.h
nsfns.m * nsfns.m (ns_set_name, ns_set_name_as_filename): Don't call 2009-10-24 18:58:50 +00:00
nsfont.m * nsterm.m: 2009-10-19 16:58:18 +00:00
nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat. 2009-10-12 00:38:28 +00:00
nsimage.m * nsterm.m: 2009-10-19 16:58:18 +00:00
nsmenu.m * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, 2009-11-09 06:21:03 +00:00
nsselect.m * nsterm.m: 2009-10-19 16:58:18 +00:00
nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat, still needed under Tiger. 2009-10-16 03:09:06 +00:00
nsterm.m * nsterm.m: 2009-10-19 16:58:18 +00:00
point.h
pre-crt0.c
prefix-args.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
print.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
process.c Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
process.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
puresize.h (BASE_PURESIZE): Increase to 1620000. 2009-11-04 06:31:42 +00:00
ralloc.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
README Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
regex.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
regex.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
region-cache.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
region-cache.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
scroll.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
search.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
sheap.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
sound.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
stamp-h.in
strftime.c
syntax.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
syntax.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
sysdep.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
sysselect.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
syssignal.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
systime.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
systty.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
syswait.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
term.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
termcap.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
termchar.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
termhooks.h Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
terminal.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
terminfo.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
termopts.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
textprop.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
tparam.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
undo.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
unexaix.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexalpha.c Comment (fix header format). 2009-01-10 23:46:13 +00:00
unexcw.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexec.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexelf.c (unexec): Consider a section to precede the .bss section 2009-05-06 02:27:51 +00:00
unexhp9k800.c
unexmacosx.c (print_load_command_name) [LC_DYLD_INFO]: Add cases 2009-08-28 22:49:46 +00:00
unexsol.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexw32.c Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
vm-limit.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w16select.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
w32console.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32fns.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
w32font.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
w32font.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
w32gui.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
w32heap.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32heap.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
w32inevt.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32inevt.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
w32menu.c * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, 2009-11-09 06:21:03 +00:00
w32proc.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32reg.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32select.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32term.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32term.h * w32term.h (WM_EMACS_PAINT): New message. 2009-03-15 14:53:53 +00:00
w32uniscribe.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
w32xfns.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
widget.c Fix resize due to font change on a maximized/xmonad-controlled frame. 2009-10-21 18:29:46 +00:00
widget.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
widgetprv.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
window.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
window.h Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
xdisp.c * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove 2009-11-21 11:52:23 +00:00
xfaces.c * xfns.c (syms_of_xfns): Use make_pure_string instead of build_string. 2009-11-11 06:10:42 +00:00
xfns.c Always suggest system font because .emacs may not have been read yet. 2009-11-20 09:44:42 +00:00
xfont.c Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00:00
xftfont.c * xftfont.c (xftfont_fix_match): Older versions of fontconfig does 2009-11-17 13:47:29 +00:00
xgselect.c Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
xgselect.h Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
xmenu.c *** empty log message *** 2009-11-16 19:46:56 +00:00
xrdb.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
xselect.c * xterm.c (syms_of_xterm): 2009-11-06 06:50:52 +00:00
xsettings.c Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
xsettings.h Always suggest system font because .emacs may not have been read yet. 2009-11-20 09:44:42 +00:00
xsmfns.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
xterm.c Use a select wrapper around the GLib event loop, thus taking into account GLib 2009-11-21 15:28:59 +00:00
xterm.h Handle system default font and changing font parameters. 2009-11-17 08:21:23 +00: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
  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/>.