Mercurial > emacs
view admin/FOR-RELEASE @ 109581:06384b3caebf
Add ability to put Gtk+ tool bar on the left/right/bottom or top. Default top.
* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
(menu-bar-showhide-tool-bar-menu-customize-disable)
(menu-bar-showhide-tool-bar-menu-customize-enable-right)
(menu-bar-showhide-tool-bar-menu-customize-enable-top)
(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): New functions
(menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
make a menu for Options => toolbar that can move it.
* src/frame.c (Qtool_bar_position): New variable.
(make_frame): Set tool_bar_position to Qtop.
(frame_parms): Add tool-bar-position.
(x_report_frame_params): Store tool_bar_position.
(x_set_fringe_width): Reset wm size hint after fringe changes.
* src/frame.h (struct frame): Add tool_bar_position.
(Qbottom): Declare.
* src/gtkutil.c (FRAME_TOTAL_PIXEL_WIDTH): New macro.
(xg_frame_set_char_size): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
(xg_height_or_width_changed): Use FRAME_TOTAL_PIXEL_WIDTH.
(xg_create_frame_widgets): Create a hobox for placing widgets
vertically. Use gtk_box_pack_start.
(xg_height_or_width_changed): Renamed from xg_height_changed.
(x_wm_set_size_hint): Add FRAME_TOOLBAR_WIDTH to base_width.
(xg_update_frame_menubar, free_frame_menubar): Change to
xg_height_or_width_changed.
(xg_tool_bar_detach_callback): Update left/right/top/bottom tool bar
size correctly. Remove hardcoded 4, instead use handlebox size -
toolbar size.
(xg_tool_bar_attach_callback): Update left/right/top/bottom tool bar
size correctly. Use handlebox size + toolbar size as additional
size.
(xg_pack_tool_bar): POS is a new parameter.
Set orientation of tool bar based on pos.
Only make handlebox_widget if NULL.
Check if tool bar goes to vbox or hbox depending on pos.
(xg_update_tool_bar_sizes): New function.
(update_frame_tool_bar): Remove old_req, new_req. Do not get tool bar
height, call xg_update_tool_bar_sizes instead.
(free_frame_tool_bar): Remove from hbox or vbox depending on
toolbar_in_hbox, Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero.
(xg_change_toolbar_position): New function.
* src/gtkutil.h (xg_change_toolbar_position): Declare.
* src/window.c (calc_absolute_offset): Check for FRAME_TOOLBAR_TOP_HEIGHT
and FRAME_TOOLBAR_LEFT_WIDTH.
* src/xfns.c (x_set_tool_bar_position): New function.
(xic_set_statusarea): Use FRAME_TOOLBAR_TOP_HEIGHT.
(x_frame_parm_handlers): Add x_set_tool_bar_position.
(syms_of_xfns): if USE_GTK, provide move-toolbar.
* src/xterm.c (x_set_window_size_1): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
* src/xterm.h (struct x_output): Add toolbar_top_height,
toolbar_bottom_height, toolbar_left_width, toolbar_right_width. Remove
toolbar_height.
if USE_GTK: Add hbox_widget and toolbar_in_hbox.
(FRAME_TOOLBAR_TOP_HEIGHT, FRAME_TOOLBAR_BOTTOM_HEIGHT)
(FRAME_TOOLBAR_LEFT_WIDTH, FRAME_TOOLBAR_RIGHT_WIDTH): New macros.
(FRAME_TOOLBAR_HEIGHT): Is now TOP_HEIGHT + BOTTOM_HEIGHT.
| author | Jan D. <jan.h.d@swipnet.se> |
|---|---|
| date | Thu, 29 Jul 2010 18:49:59 +0200 |
| parents | 3463009c99e0 |
| children |
line wrap: on
line source
Tasks needed before the next release. * TO BE DONE SHORTLY BEFORE RELEASE ** Manuals Check cross-references between the manuals (eg from emacs to elisp) are correct. You can use something like the following in the info directory in the Emacs build tree: emacs -Q --eval "(setq Info-default-directory-list '(\".\"))" \ -f info-xref-check-all make emacs.dvi, elisp.dvi, and deal with any errors (undefined references etc) in the output. Break any overfull lines. Underfull hboxes are not serious, but it can be nice to get rid of them if a simple rephrasing or rearrangement will work. Update the master menu and detailed menu (eg the antinews version). The command texinfo-multiple-files-update can do this, but you probably want to apply the results selectively (eg the current master menu has better line-breaks than the automatic version). It includes the menu-entry name (if there is one) as well as the node name - using only the latter looks better. Also, it doesn't seem to handle nested includes, so will miss edebug.texi etc. Check for widow and orphan lines in the printed manual; make sure all the pages really look ok in the manual as formatted. Orphans/widows are cases where the first/last line of a paragraph is on its own at the end/start of a page, or where the last word in a paragraph is on its own at the start of a line. It looks better if you reword/respace things to avoid these. (AFAIK, there is no way to find these except paging through the whole manual.) This should be the very last thing you do, since any change can alter the layout. ** Check the keybindings in the refcards are correct, and add any new ones. Regenerate the pdf versions in etc/refcards/. What paper size are the English versions supposed to be on? On Debian testing, the packages texlive-lang-czechslovak and texlive-lang-polish will let you generate the cs-* and sk-* pdfs. The Makefile rules did not work for me, I had to use something like: csplain -output-format=pdf cs-refcard ** Ask maintainers of refcard translations to update them. Emacs 22 translators: LANG Translator Status cs Pavel Janík de Sven Joachim fr Eric Jacoboni pl Włodek Bzyl pt-br Rodrigo Real ru Alex Ott sk Miroslav Vaško ** Remove temporary +++/--- lines in NEWS. ** Try to reorder NEWS: most important things first, related items together. ** Consider bumping customize-changed-options-previous-release. * BUGS ** Does deleting frames run Lisp code? If so, can we get rid of that? It is a dangerous design. http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01330.html ** Why were the calls to x_fully_uncatch_errors commented out in eval.c? http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01987.html ** rms: gnus-dired.el is a mistake. Those features should not be part of Gnus. They should be moved to some other part of Emacs. rsteib: Gnus dependencies in `gnus-dired.el' (and `mailcap.el') have been minimized. I don't know what is left to do here. ** Check for modes which bind M-s that conflicts with a new global binding M-s and change key bindings where necessary. The current list of modes: 1. Gnus binds `M-s' to `gnus-summary-search-article-forward'. 2. Minibuffer binds `M-s' to `next-matching-history-element' (not useful any more since C-s can now search in the history). 3. `center-line' in Text mode was already moved to the text formatting keymap as `M-o M-s' (thus this binding is not necessary any more in `nroff-mode-map' too and can be removed now from the nroff mode because it can now use the global key binding `M-o M-s' `center-line'). 4. PCL-CVS binds `M-s' to `cvs-status', and log-edit-mode binds it to `log-edit-comment-search-forward'. Perhaps search commands on the global key binding `M-s' are useless in these modes. ** sdl.web@gmail.com, 30 Oct: ps-lpr-switches has no effect http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg02091.html Fixed by this change? 2007-11-09 Vinicius Jose Latorre <viniciusjl@ig.com.br> * ps-print.el: [...] (ps-do-despool): If ps-lpr-switches is not a list, force it to be one. ** In C, use EMACS_INT for variables and structure members for buffer/string positions. E.g. struct it, struct text_pos. * DOCUMENTATION ** Clean up Emacs.app references in code and documentation. ** Document new font backend ** Document XEmbed support ** Check the Emacs Tutorial. The first line of every tutorial must begin with text ending in a period (".", ASCII 0x2E) saying "Emacs Tutorial" in the respective language. This should be followed by "See end for copying conditions", likewise in the respective language. After each file name, on the same line or the following line, come the names of the people who have checked it. SECTION READERS ---------------------------------- etc/TUTORIAL rgm (but see Bug#3783) etc/TUTORIAL.bg etc/TUTORIAL.cn etc/TUTORIAL.cs etc/TUTORIAL.de Werner Lemberg etc/TUTORIAL.eo etc/TUTORIAL.es etc/TUTORIAL.fr etc/TUTORIAL.it etc/TUTORIAL.ja etc/TUTORIAL.ko etc/TUTORIAL.nl etc/TUTORIAL.pl etc/TUTORIAL.pt_BR etc/TUTORIAL.ro etc/TUTORIAL.ru etc/TUTORIAL.sk etc/TUTORIAL.sl etc/TUTORIAL.sv etc/TUTORIAL.th etc/TUTORIAL.zh ** Check the manual. abbrevs.texi -- cyd ack.texi -- rgm anti.texi arevert-xtra.texi basic.texi -- cyd buffers.texi -- cyd building.texi -- cyd calendar.texi -- rgm cal-xtra.texi -- rgm cmdargs.texi -- cyd commands.texi -- cyd custom.texi -- cyd dired.texi -- cyd dired-xtra.texi display.texi -- cyd emacs.texi -- cyd emacs-xtra.texi emerge-xtra.texi entering.texi -- cyd files.texi -- cyd fixit.texi -- cyd fortran-xtra.texi -- rgm frames.texi -- cyd glossary.texi help.texi -- cyd indent.texi -- cyd killing.texi -- cyd kmacro.texi -- cyd macos.texi -- davidswelt maintaining.texi -- cyd major.texi -- cyd mark.texi -- cyd mini.texi -- cyd misc.texi -- cyd msdog.texi -- eliz msdog-xtra.texi -- eliz mule.texi -- cyd m-x.texi -- cyd programs.texi -- cyd regs.texi -- cyd rmail.texi -- rgm screen.texi -- cyd search.texi -- cyd sending.texi -- rgm (maybe needs some brief mailclient.el details in "Mail Sending" section?) text.texi -- cyd trouble.texi -- cyd windows.texi -- rudalics xresources.texi -- cyd ** Check the Lisp manual. abbrevs.texi -- cyd advice.texi -- cyd anti.texi -- cyd back.texi backups.texi -- cyd buffers.texi -- cyd commands.texi -- cyd compile.texi -- cyd control.texi -- cyd customize.texi -- cyd debugging.texi -- cyd display.texi -- cyd edebug.texi elisp.texi errors.texi -- cyd eval.texi -- cyd files.texi -- cyd frames.texi -- cyd functions.texi -- cyd hash.texi -- cyd help.texi -- cyd hooks.texi -- cyd index.texi internals.texi -- cyd intro.texi -- cyd keymaps.texi -- cyd lists.texi -- cyd loading.texi -- cyd locals.texi -- cyd macros.texi -- cyd maps.texi -- cyd markers.texi -- cyd minibuf.texi -- cyd modes.texi -- cyd nonascii.texi -- cyd numbers.texi -- cyd objects.texi -- cyd os.texi -- cyd positions.texi -- cyd processes.texi searching.texi -- cyd sequences.texi -- cyd streams.texi -- cyd strings.texi -- cyd symbols.texi -- cyd syntax.texi -- cyd text.texi -- cyd tips.texi -- cyd variables.texi -- cyd windows.texi -- rudalics * PLANNED ADDITIONS ** pov-mode (probably not for Emacs-23: waiting for a Free POV-Ray). ** gas-mode ? Local variables: mode: outline coding: utf-8 end:
