1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

311 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
5b0d63bc36 Update years in copyright notice; nfc. 2006-02-05 23:44:47 +00:00
Dan Nicolaescu
43f15d4afe * xlwmenu.c (find_next_selectable):
(find_prev_selectable): Add missing parameter
declarations.

* xfaces.c (lookup_derived_face): Add parameter type.

* xdisp.c (cursor_row_fully_visible_p): Add parameter type.

* marker.c (verify_bytepos): Add parameter type.

* process.c (get_operating_system_release): Move prototype ...

* systime.h (get_operating_system_release): ... here.

* xterm.c (set_vertical_scroll_bar): Move prototype ...

* xterm.h: ... here.

* fns.c (internal_equal, seed_random): Fix prototypes.
(internal_equal): Add missing parameter.
2005-09-27 18:48:59 +00:00
Dan Nicolaescu
c5caf98146 Fix the return type for x_clear_errors and
x_uncatch_errors.
2005-09-24 20:37:14 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Jan Djärv
7537ab9c84 * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
labels in menu bar.
2005-07-19 09:06:47 +00:00
Lute Kamstra
a0ec7a4a17 *** empty log message *** 2005-07-05 12:22:32 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Lute Kamstra
83c4f946f7 Update FSF's address. 2005-07-02 15:46:32 +00:00
Stefan Monnier
ba833b25a7 Update copyright. 2005-04-10 20:31:02 +00:00
Jan Djärv
52a9f3a0d6 Reenable support for I18N to Lucid menus.
* xlwmenuP.h (_XlwMenu_part): Add fontSet resource.

 * xlwmenu.c (string_width):
 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto.
 (display_menu_item, make_drawing_gcs, XlwMenuInitialize)
 (XlwMenuSetValues):  Use font if fontSet is NULL, use only
 font for !HAVE_X_I18N.
 (xlwMenuResources): Add fontSet resource.
2005-04-01 18:42:56 +00:00
Jan Djärv
3748454050 * xlwmenuP.h (_XlwMenu_part): Add fontSet resource. 2005-04-01 18:42:33 +00:00
Jan Djärv
2015c054d9 * xlwmenu.c (string_width):
(MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto.
(display_menu_item, make_drawing_gcs, XlwMenuInitialize)
(XlwMenuSetValues):  Use font if fontSet is NULL, use only
font for !HAVE_X_I18N.
(xlwMenuResources): Add fontSet resource.
2005-04-01 18:42:19 +00:00
Jan Djärv
e9c19b6818 Temporary #undef HAVE_X_I18N until FontSet for UTF-8
on XFree86 is investigated.
2005-03-22 21:41:27 +00:00
Jan Djärv
937a855ded * xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
on XFree86 is investigated.
* xlwmenu.c: Ditto.
2005-03-22 21:40:27 +00:00
Stefan Monnier
15df8e8921 (MENU_FONT_ASCENT) [HAVE_X_I18N]: Try to be more correct. 2005-03-18 05:19:59 +00:00
Stefan Monnier
423a3f5901 Add support for I18N to Lucid menus.
* xlwmenuP.h (struct _XlwMenu_part) [HAVE_X_I18N]: Change `font' to be
a fontset.  Add a `font_extents' element.

* xlwmenu.c (xlwMenuResources) [HAVE_X_I18N]: Use a fontset for the
`font' resource.
(string_width) [HAVE_X_I18N]: Use XmbTextExtents;
(MENU_FONT_HEIGHT, MENU_FONT_ASCENT): New macros.
(arrow_width, toggle_button_width, size_menu_item, draw_arrow)
(draw_toggle, draw_radio, display_menu_item): Use them.
(display_menu_item) [HAVE_X_I18N]: Use XmbDrawString.
(make_drawing_gcs) [HAVE_X_I18N]: Don't mess with fonts.
(XlwMenuInitialize) [HAVE_X_I18N]: Initialize font_extents.
(XlwMenuSetValues) [HAVE_X_I18N]: Refresh font_extents if font changes.
2005-03-18 04:19:41 +00:00
Stefan Monnier
3c916d6555 (xm_update_label, xm_update_list): Use the recommended
XmStringCreateLocalized function.  Add missing copyright.
2005-03-17 19:03:16 +00:00
Stefan Monnier
9f9e527507 *** empty log message *** 2005-03-17 17:17:57 +00:00
Stefan Monnier
21a03b6823 Add missing copyright and license notice. 2005-03-17 17:16:33 +00:00
Stefan Monnier
f7b758bd80 *** empty log message *** 2005-03-12 23:39:37 +00:00
Stefan Monnier
44862e8e26 Add missing copyright and license notice. 2005-03-12 23:38:43 +00:00
Jan Djärv
4220b2a5ce * xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
action procedure for compatibility with Lesstif/Motif.

* Makefile.in (mostlyclean): Don't remove *~ on clean.
2004-12-27 15:22:36 +00:00
Jan Djärv
4e6e2184d8 * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
pops down on Escape, not any keypress.
2004-12-26 16:02:26 +00:00
Jan Djärv
03a693b48a * xlwmenu.c (find_first_selectable, find_next_selectable)
(find_prev_selectable): Rename parameter skip_no_call_data to
skip_titles.  Recognize titles as having no call_data and no contents.
(Down, Up): Comment update.
2004-11-01 12:20:45 +00:00
Jan Djärv
05bdae441b * lwlib.h (_widget_value): Added lname and lkey. 2004-08-30 19:42:20 +00:00
Miles Bader
48d67035ea Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Tweak arch tagging to make build/install-in-place less annoying

Previously, autoconf-created Makefiles and the like would contain
duplicate taglines (unfortunately, autoconf doesn't seem to have a
`strip in generated file' comment mechanism) leading to conflicts, and
installing in place would create unknown directories and copies of
source directories (leading to conflicts with the source directories).

This changeset makes all autoconf-processed files use explicit id-tags
and adds .arch-inventory entries to ignore installation directories.
2004-06-11 02:39:51 +00:00
Jan Djärv
244c93fe57 Changes for lucid popup menus (keyboard traversal enabled) and dialogs
(Xaw and Xm pop down on ESC).
2004-01-12 01:45:22 +00:00
Lute Kamstra
19bb0fcdf1 Update my email address. 2003-10-06 08:32:09 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
404074e226 Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.
2003-05-22 13:38:44 +00:00
Dave Love
e226063c2f Include lisp.h, not ../src/lisp.h.
(lw_lucid_widget_p): Remove unused `mw'.
(xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: Provide
ISO C arglists.
2003-05-22 13:30:20 +00:00
Juanma Barranquero
d7acd77436 *** empty log message *** 2003-04-30 00:13:34 +00:00
Juanma Barranquero
93a16fa8a8 Make things function properly in case both LessTif and Open Motif are installed. 2003-04-30 00:02:23 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jan Djärv
fb7df251b9 Update email and real name 2003-01-30 17:21:51 +00:00
Jan Djärv
d0bdb0602c lwlib-Xm.c: Fixed memory leak for menus. 2003-01-26 13:06:48 +00:00
Richard M. Stallman
0b17a21779 *** empty log message *** 2002-12-22 22:06:38 +00:00
Richard M. Stallman
fa74535d44 (pop_new_stack_if_no_contents): Do nothing if new_depth is 1.
(remap_menubar): Don't look in new_stack[0].
(Left): At level 1, do the same thing Right does.
2002-12-22 22:00:44 +00:00
Dave Love
207c13a78f Provide ISO C arglists for functions
with Boolean args.
2002-11-21 10:58:13 +00:00
Dave Love
db0e17de66 Remove obsolete USE_OLIT code.
[PROTOTYPES]: Provide ISO C arglists for functions with Boolean
args.
(lwlib_memset): Declare length arg as size_t.
(malloc_widget_value): Cast arg of lwlib_memset.
2002-11-20 19:26:18 +00:00
Dave Love
8fdc938415 (separator_height): Prototype. 2002-11-20 19:19:14 +00:00
Pavel Janík
ef93458b2f (make_drawing_gcs): The scaling factor passed to
`x_alloc_lighter_color_for_widget' is a float, not an int, and it's
a multiplicative factor, so the name `delta' is inaccurate.  Always base
disabled foreground on the normal foreground.  Don't use the temporary
variable `temp'.
2002-05-07 05:22:48 +00:00
Pavel Janík
8b71a9ca6f (xlwMenuResources): New resource.
(find_next_selectable): Return current item when the menu is not poped up.
Rename `inactive_gc' to `disabled_gc'.
Use lighter/darker color for disabled menu items instead of using stipple.
Use stipple only when better color can not be determined automatically.
2002-05-06 18:56:25 +00:00
Pavel Janík
2ad9976665 (XtNdisabledForeground, XtCDisabledForeground): New resource names. 2002-05-06 18:54:56 +00:00
Pavel Janík
ba75570203 (_XlwMenu_part): Add new member `disabled_foreground'.
Rename `inactive_gc' to `disabled_gc'.
2002-05-06 18:54:28 +00:00
Stefan Monnier
bcd833b2a2 *** empty log message *** 2002-04-30 19:21:33 +00:00
Pavel Janík
e656fc9d38 *** empty log message *** 2002-04-29 09:27:57 +00:00
Pavel Janík
2376c841ac Change default values. 2002-04-29 09:10:28 +00:00
Jan Djärv
005e0d57fc Do not grab keyboard if installation-directory is
non-nil (not installed Emacs).  To simplify debugging.
2002-04-28 19:54:30 +00:00
Pavel Janík
2bad4ee209 Remove unused file. 2002-04-28 13:38:13 +00:00