summaryrefslogtreecommitdiff
path: root/src/w32menu.c
Commit message (Collapse)AuthorAgeFilesLines
* (digest_single_submenu): Declare extern.Juanma Barranquero2008-06-091-1/+2
|
* (set_frame_menubar): Sync with version in xmenu.c.Jason Rumney2008-06-091-10/+17
| | | | (w32_menu_show): Sync with xmenu_show in xmenu.c.
* (digest_single_submenu): Remove.Jason Rumney2008-06-091-182/+0
| | | | (syms_of_w32menu): Don't initialise variables that have moved to menu.c.
* (parse_single_submenu): Remove.Jason Rumney2008-06-091-56/+0
|
* (Fx_popup_menu): Unwind protect while building menu.Jason Rumney2008-06-091-0/+5
|
* (enum button_type, widget_value, local_heap, local_alloc):Jason Rumney2008-06-091-27/+0
| | | | | | | | | | | | | | | | | (local_free, malloc_widget_value, free_widget_value): (MENU_ITEMS_ITEM_NAME, MENU_ITEMS_ITEM_ENABLE, MENU_ITEMS_ITEM_VALUE): (MENU_ITEMS_ITEM_EQUIV_KEY, MENU_ITEMS_ITEM_DEFINITION): (MENU_ITEMS_ITEM_TYPE, MENU_ITEMS_ITEM_SELECTED, MENU_ITEMS_ITEM_HELP): (MENU_ITEMS_ITEM_LENGTH, enum menu_item_idx): Remove defs. (menu_items, menu_items_allocated, menu_items_used): (menu_items_n_panes, menu_items_submenu_depth): Remove global vars. (init_menu_items, finish_menu_items, discard_menu_items): (grow_menu_items, push_submenu_start, push_submenu_end): (push_left_right_boundary, push_menu_pane, push_menu_item, (keymap_panes, single_keymap_panes, list_of_panes, list_of_items): (free_menubar_widget_tree_value, parse_single_submenu): (update_submenu_strings): Remove functions. (xmalloc_widget_value): Remove and declare extern.
* (enum button_type, widget_value, local_heap, local_alloc):Jason Rumney2008-06-091-523/+2
| | | | | | | | | | | | | | | | | (local_free, malloc_widget_value, free_widget_value): (MENU_ITEMS_ITEM_NAME, MENU_ITEMS_ITEM_ENABLE, MENU_ITEMS_ITEM_VALUE): (MENU_ITEMS_ITEM_EQUIV_KEY, MENU_ITEMS_ITEM_DEFINITION): (MENU_ITEMS_ITEM_TYPE, MENU_ITEMS_ITEM_SELECTED, MENU_ITEMS_ITEM_HELP): (MENU_ITEMS_ITEM_LENGTH, enum menu_item_idx): Remove defs. (menu_items, menu_items_allocated, menu_items_used): (menu_items_n_panes, menu_items_submenu_depth): Remove global vars. (init_menu_items, finish_menu_items, discard_menu_items): (grow_menu_items, push_submenu_start, push_submenu_end): (push_left_right_boundary, push_menu_pane, push_menu_item, (keymap_panes, single_keymap_panes, list_of_panes, list_of_items): (free_menubar_widget_tree_value, parse_single_submenu): (update_submenu_strings): Remove functions. (xmalloc_widget_value): Remove and declare extern.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* (is_simple_dialog, simple_dialog_show): New functions.Jason Rumney2008-04-101-21/+160
| | | | (Fx_popup_dialog): Handle simple yes/no questions as dialogs.
* (push_submenu_start, push_submenu_end, push_left_right_boundary, push_menu_pane,Juanma Barranquero2008-02-111-14/+17
| | | | | push_menu_item): Don't pass args with side effects to AREF, it fails when compiling with -DENABLE_CHECKING.
* Merge from emacs--devo--0Miles Bader2008-01-091-1/+2
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Merge from emacs--rel--22Miles Bader2008-01-081-1/+2
| |\ | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| | * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+2
| | |
* | | Merge from emacs--devo--0Miles Bader2007-10-191-4/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
| * | * xselect.c (x_own_selection, x_handle_selection_clear)Stefan Monnier2007-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x_clear_frame_selections): * w32menu.c (list_of_panes, list_of_items): * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): * textprop.c (validate_plist, interval_has_all_properties) (interval_has_some_properties, interval_has_some_properties_list) (add_properties, text_property_list): * process.c (Fget_buffer_process, list_processes_1, status_notify): * minibuf.c (Fassoc_string): * macselect.c (x_own_selection, x_clear_frame_selections) (Fx_disown_selection_internal): * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.
* | | Merge from emacs--devo--0Miles Bader2007-10-151-7/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 887-889) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
| * | (grow_menu_items): Use larger_vector.Eli Zaretskii2007-10-131-7/+1
| | |
* | | Merge from emacs--devo--0Miles Bader2007-10-111-4/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 866-879) - Merge multi-tty branch - Update from CVS - Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
| * | Merge from emacs--devo--0Miles Bader2007-07-311-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-838) - Update from CVS - Merge from emacs--rel--22 - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Fix void function definition error in cus-edit.el - Restore lisp/emacs-lisp/cl-loaddefs.el * emacs--rel--22 (patch 70-83) - Update from CVS - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Indicate that emacs--devo--0--patch-834 does not need to be applied - Merge from gnus--rel--5.10 - Restore lisp/emacs-lisp/cl-loaddefs.el * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
| * | Merge from emacs--devo--0Miles Bader2007-07-151-22/+46
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 803-813) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 51-58) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 233-236) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-25
| * \ \ Merge from emacs--devo--0Miles Bader2007-06-161-1/+30
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 793-802) - Update from CVS - Remove RCS keywords - Merge from emacs--rel--22 * emacs--rel--22 (patch 42-50) - Update from CVS - Merge from gnus--rel--5.10 - Gnus ChangeLog tweaks * gnus--rel--5.10 (patch 229-232) - Merge from emacs--devo--0, emacs--rel--22 - ChangeLog tweak - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-23
| * | | | (Fx_popup_menu): Use terminal specific mouse_position_hook.Jason Rumney2007-05-151-4/+5
| | | | |
* | | | | Merge from emacs--devo--0Miles Bader2007-07-271-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-831) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 70-74) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
| * | | | Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| | | | |
| * | | | (add_menu_item): Don't use multibyte string functions onJason Rumney2007-06-171-22/+46
| | | | | | | | | | | | | | | | | | | | unicode strings.
| * | | | (add_menu_item): Escape `&' characters in menu items and their keybindings.Eli Zaretskii2007-06-161-1/+30
| |/ / /
* | | | Merge from emacs--devo--0Miles Bader2007-07-091-22/+46
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 803-805) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
| * | | (add_menu_item): Don't use multibyte string functions onJason Rumney2007-06-171-22/+46
| | |/ | |/| | | | | | | unicode strings.
* | | Replace uses of GC_* macros with the non-GC_ versions.Stefan Monnier2007-06-291-2/+2
| | |
* | | Merge from emacs--devo--0Miles Bader2007-06-161-1/+30
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 793-802) - Update from CVS - Remove RCS keywords - Merge from emacs--rel--22 * emacs--rel--22 (patch 42-50) - Update from CVS - Merge from gnus--rel--5.10 - Gnus ChangeLog tweaks * gnus--rel--5.10 (patch 229-232) - Merge from emacs--devo--0, emacs--rel--22 - ChangeLog tweak - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-223
| * | (add_menu_item): Escape `&' characters in menu items and their keybindings.Eli Zaretskii2007-06-161-1/+30
| |/
* | Include character.hJason Rumney2007-06-131-0/+1
| |
* | (syms_of_w32menu): Use DEFSYM macro.Jason Rumney2007-06-111-3/+2
|/
* (w32_menu_show): Mark the frame's menu as inactive when popup menuJason Rumney2007-02-221-0/+1
| | | | finishes.
* * w32menu.c (Fx_popup_menu): Don't free menu strings here.Jason Rumney2007-02-221-1/+3
| | | | (w32_menu_show): Do it here instead.
* (current_popup_menu): Make available globally.Jason Rumney2007-02-221-5/+3
| | | | | (menubar_selection_callback): Free menu strings before pushing the menu event into the keyboard buffer. Remove menu_command_in_progress.
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.Chong Yidong2006-11-061-11/+15
| | | | Return nil if building without menus.
* (Fmenu_or_popup_active_p): New function.Eli Zaretskii2006-11-051-12/+12
| | | | | (syms_of_w32menu): Defsubr it. (popup_activated_flag, popup_activated): Remove.
* * src/macmenu.c (Vmenu_updating_frame, syms_of_xmenu):YAMAMOTO Mitsuharu2006-09-101-7/+2
| | | | | * src/w32menu.c (Vmenu_updating_frame, syms_of_xmenu): Apply 2006-09-08 change for xmenu.c.
* (w32_menu_show, w32_dialog_show): Call Fsignal to quitJason Rumney2006-08-031-0/+6
| | | | when no option selected except when for_click.
* (Fx_popup_menu): Call w32_free_menu_strings whenJason Rumney2006-03-121-2/+6
| | | | finished with the menu.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (Fx_popup_menu): Add `else' to set Vmenu_updating_frame to nilJuri Linkov2005-12-201-1/+2
| | | | only if position is nil.
* (add_menu_item): If unicode_append_menu returns anJason Rumney2005-08-311-1/+17
| | | | error, revert to using AppendMenu.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* (w32_menu_display_help): Suppress tooltip when navigating menus withJason Rumney2005-07-251-2/+5
| | | | the keyboard.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* * composite.c (compose_chars_in_text):Kim F. Storm2005-06-081-1/+2
| | | | | | | | | | | * eval.c (do_autoload): * macmenu.c (set_frame_menubar): * process.c (read_process_output, exec_sentinel): * xmenu.c (set_frame_menubar): * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): * w32menu.c (set_frame_menubar): Use record_unwind_save_match_data. Rename restore_match_data to restore_search_regs.
* (Fx_popup_dialog): Allow 3rd optional argument.Nick Roberts2005-05-241-1/+1
|