1. 23 Sep, 2003 13 commits
    • Michael Natterer's avatar
      added a "menu_title" which is registered with each menu. · c5fd48f2
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
      	registered with each menu.
      
      	* app/widgets/gimpitemfactory.[ch]: added the title to the
      	constructor and to the GimpItemFactory struct.
      
      	* app/gui/menus.c: register titles with all menus.
      
      	* app/widgets/gimpdockable.[ch]: show the tab menu, not the
      	contained dialog's menu when clicking on the menu button.
      	Embed the dialog's menu as submenu. Use the item_factory's
      	title and the dockable's stock_id for the submenu entry.
      
      	* app/widgets/gimpeditor.c: removed GtkWidget:popup_menu()
      	implementation since that's done by GimpDockable now.
      
      	* app/widgets/gimpdockbook.c: set the new menu item invisible
      	when showing the menu as tab menu.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_TAB_DETACH
      	and renamed _TAB_REMOVE to _TAB_CLOSE.
      
      	* app/gui/dialogs-menu.c: added the new menu entry for showing the
      	dialog's sub-menu. Added a "Detach" menu item, renamed "Remove" to
      	"Close". Accept both a GimpDockbook and a GimpDockable pointer as
      	"data" in dialogs_menu_update().
      
      	* app/gui/dialogs-commands.[ch]: changed accordingly. Never use
      	gtk_item_factory_popup_data_from_widget() but always the "data"
      	passed to the callbacks. Take care to not set the already active
      	preview_size, tab_style and list/grid type in the resp. callbacks
      	to avoid being called from dialogs_menu_update().
      
      	* app/gui/dialogs-constructors.c: removed separate
      	set_context_funcs and get_menu_funcs for GimpContainerView and
      	GimpContainerEditor widgets and simply use
      	gimp_container_view_get_by_dockable() to find the right widget.
      c5fd48f2
    • Michael Natterer's avatar
      pass the menu_factory of the newly created dock to gimp_dockbook_new(), · a8ed5f6b
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factories_restore_foreach): pass the menu_factory of
      	the newly created dock to gimp_dockbook_new(), not the one of the
      	dialog_factory we are restoring (doesn't matter since we have only
      	one global_menu_factory, but this code should still not do wrong
      	things)
      a8ed5f6b
    • Sven Neumann's avatar
      workaround for GLib bug #116617: set GimpConfigError before calling · a06c96e5
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.c (gimp_scanner_new_file): workaround for
      	GLib bug #116617: set GimpConfigError before calling g_strerror().
      	Fixes bug #122939.
      a06c96e5
    • Sven Neumann's avatar
      add a shortcut of Ctrl-0 for the 10th entry. · f55261c2
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/menus.c (menus_last_opened_add): add a shortcut of
      	Ctrl-0 for the 10th entry.
      
      	* app/config/gimpguiconfig.c: increased the default
      	last-opened-size from 4 to 10; increased the max-new-image-size
      	from 32M to 64M.
      f55261c2
    • Michael Natterer's avatar
      Fixed italian translation. Please check if your changes compile before · ccc51697
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* it.po: Fixed italian translation. Please check if your
      	changes compile before committing!
      ccc51697
    • Sven Neumann's avatar
      fixed the direction of the translation applied for viewBox offsets. · 14b5681a
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c (parse_svg_viewbox): fixed the
      	direction of the translation applied for viewBox offsets.
      14b5681a
    • Marco Ciampa's avatar
      Updated italian translation. · e2786ca8
      Marco Ciampa authored
      e2786ca8
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am removed... · dab5b6e6
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-menu-12.png: removed...
      
      	* themes/Default/images/stock-menu-left-12.png
      	* themes/Default/images/stock-menu-right-12.png: and added again
      	together with a flipped version.
      
      	* libgimpwidgets/gimpstock.[ch]: register GIMP_STOCK_MENU_LEFT and
      	GIMP_STOCK_MENU_RIGHT instead of GIMP_STOCK_MENU and swap the
      	images for RTL layout.
      
      	* app/widgets/gimpdockable.c: use GIMP_STOCK_MENU_LEFT here.
      
      	* app/display/gimpdisplayshell.c: replaced the arrow in the
      	display origin with the GIMP_STOCK_MENU_RIGHT icon.
      dab5b6e6
    • Sven Neumann's avatar
      show the pixel size specified by the SVG file and inform the user if it · 3f70732e
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/svg.c: show the pixel size specified by the SVG
      	file and inform the user if it failed to provide one.
      3f70732e
    • Jakub Steiner's avatar
      themes/Default/images/stock-close-12.png perhaps the last version looked · b38b46af
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-close-12.png
      * themes/Default/images/stock-menu-12.png: perhaps the last
        version looked too much like a disabled item.
      b38b46af
    • Sven Neumann's avatar
      removed redundant calculations. · f56486c5
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resize-dialog.c (ratio_callback): removed redundant
      	calculations.
      
      	* plug-ins/common/svg.c: use a default size to handle the case
      	when librsvg cannot determine the SVG size.
      f56486c5
    • Jakub Steiner's avatar
      a tiny tribute to the path tool · 6fe792b6
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: a tiny tribute to the path tool
      6fe792b6
    • Jakub Steiner's avatar
      a tiny tribute to the path tool · 30a56dfd
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: a tiny tribute to the path tool
      
      ChangeLog
      30a56dfd
  2. 22 Sep, 2003 9 commits
    • Sven Neumann's avatar
      added ratio entries and a chain button so you can scale the SVG file while · 57949a89
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/svg.c: added ratio entries and a chain button so
      	you can scale the SVG file while keeping the aspect ratio intact.
      	Query the SVG pixel size on resolution changes.
      57949a89
    • Simon Budig's avatar
      Fixed vectors stroking on GRAY* and INDEXED* layers. · 2c212214
      Simon Budig authored
      2003-09-23  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpdrawable-stroke.c: Fixed vectors stroking on
      	GRAY* and INDEXED* layers.
      
      	* app/tools/gimpvectortool.c: Made the polygonal mode more
      	consistent.
      2c212214
    • Jakub Steiner's avatar
      themes/Default/images/stock-close-12.png nicer, but hopefully still theme · 02998f38
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-close-12.png
      * themes/Default/images/stock-menu-12.png: nicer, but hopefully
        still theme indepenedent somehow
      02998f38
    • Sven Neumann's avatar
      UTF-8 validate the value set using gimprc_set(); mention this in the · b58e0121
      Sven Neumann authored
      2003-09-22  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/gimprc.pdb: UTF-8 validate the value set using
      	gimprc_set(); mention this in the documentation.
      
      	* app/pdb/gimprc_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand): added
      	inline docs since this function is really not self-explanatory.
      b58e0121
    • Henrik Brix Andersen's avatar
      removed the old netscape-dependent web browser plug-in · 6a27a3f5
      Henrik Brix Andersen authored
      2003-09-22  Henrik Brix Andersen <brix@gimp.org>
      
      * plug-ins/webbrowser/.cvsignore: removed the old netscape-dependent
      web browser plug-in
      6a27a3f5
    • Henrik Brix Andersen's avatar
      Replaced the netscape-dependent web browser plug-in with a user · 9b3bc08e
      Henrik Brix Andersen authored
      2003-09-22 Henrik Brix Andersen <brix@gimp.org>
      
      Replaced the netscape-dependent web browser plug-in with a user
      configureable plug-in. This fixes bug #119120:
      
      * app/config/gimpguiconfig.[ch]: added gchar *web_browser member
      
      * app/config/gimprc-blurbs.h: added web browser blurb
      
      * etc/gimprc
      * docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump
      
      * app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
      specifying external web browser
      
      * configure.in
      * plug-ins/Makefile.am
      * plug-ins/webbrowser/Makefile.am
      * plug-ins/webbrowser/README
      * plug-ins/webbrowser/web-browser.scm
      * plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
      web browser plug-in
      
      * po-plug-ins/POTFILES.in
      * plug-ins/common/plugin-defs.pl
      * plug-ins/common/webbrowser.c: added a new web browser plug-in
      
      * plug-ins/common/.cvsignore
      * plug-ins/common/Makefile.am: regenerated
      
      * app/widgets/gimphelp.c
      * app/widgets/widget-enums.[ch]
      * plug-ins/helpbrowser/dialog.c
      * plug-ins/maze/maze_face.c: changed accordingly + whitespace
      clean-up
      
      * po-script-fu/POTFILES.in
      * plug-ins/script-fu/scripts/Makefile.am
      * plug-ins/script-fu/scripts/web-browser.scm: use the new web
      browser plug-in to add menu entries to <Toolbox>/Help/
      9b3bc08e
    • Sven Neumann's avatar
      removed gimprc checks; let the functions always do what they are supposed · c9ef4b23
      Sven Neumann authored
      2003-09-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/menus.c (menus_restore) (menus_save): removed gimprc
      	checks; let the functions always do what they are supposed to do.
      
      	* app/gui/gui.c: check gimprc settings here and decide what to
      	restore on startup and save on exit. Fixes bug #122930.
      c9ef4b23
    • Sven Neumann's avatar
      constrain popup size to GIMP_VIEWABLE_MAX_POPUP_SIZE but keep the aspect · 8240ef1c
      Sven Neumann authored
      2003-09-22  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpviewable.c (gimp_viewable_get_popup_size):
      	constrain popup size to GIMP_VIEWABLE_MAX_POPUP_SIZE but keep the
      	aspect ratio intact. Fixes bug #122923.
      
      	* app/text/gimpfont.c: use a smaller font size for popups so we
      	don't exceed the maximum size.
      8240ef1c
    • Sven Neumann's avatar
      added a hack to work around the insufficiency of the librsvg API. Still · 7440dfd8
      Sven Neumann authored
      2003-09-22  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/svg.c: added a hack to work around the
      	insufficiency of the librsvg API. Still unfinished ...
      7440dfd8
  3. 21 Sep, 2003 15 commits
    • Sven Neumann's avatar
      added a chapter id to get a reasonable name for the generated HTML file. · 78099232
      Sven Neumann authored
      2003-09-21  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml: added a chapter id to
      	get a reasonable name for the generated HTML file.
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
      78099232
    • Michael Natterer's avatar
      added a title bar showing the dockable's name, a "close" and a "menu" · 47b1e3ee
      Michael Natterer authored
      2003-09-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]: added a title bar showing the
      	dockable's name, a "close" and a "menu" button. Not quite
      	finished, but almost...
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-close-12.png
      	* themes/Default/images/stock-menu-12.png: new icons for the above.
      
      	* libgimpwidgets/gimpstock.[ch]: register them.
      
      	* themes/Default/gtkrc: remove any focus spacing from the
      	dockables' new buttons since they can't get the focus anyway.
      47b1e3ee
    • Michael Natterer's avatar
      fixed typo. · db979650
      Michael Natterer authored
      2003-09-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/images-menu.c (images_menu_update): fixed typo.
      db979650
    • Simon Budig's avatar
      Enable the new save code by default. · d2f346e9
      Simon Budig authored
      2003-09-21  Simon Budig  <simon@gimp.org>
      
      	* app/xcf/xcf-save.c: Enable the new save code by default.
      d2f346e9
    • Simon Budig's avatar
      Previous commit got a broken pipe. · fa450f09
      Simon Budig authored
      fa450f09
    • Simon Budig's avatar
      Adjusted to make sure that no successive LINETOs to the same coordinate · 460b3e84
      Simon Budig authored
      2003-09-21  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.c: Adjusted to make sure that
      	no successive LINETOs to the same coordinate are in the
      	path. Libart chokes on that.
      
      	* app/core/gimpdrawable-stroke.c: Respect the offsets of the
      	target drawable.
      
      	* app/tools/gimpvectortool.c: Removed status message in
      	VECTORS_FINISHED mode as requested by Ville Pätsi.
      
      	* app/vectors/gimpvectors.c: Determine the stroke parameters
      	from the current context (opacity/color/paint_mode).
      	The other parameters are not yet supported.
      460b3e84
    • Sven Neumann's avatar
      oops, forgot to commit these · 8c0012c5
      Sven Neumann authored
      8c0012c5
    • Dave Neary's avatar
      Changed default shortcut for Redo to Ctrl-Shift-Z, following a · d92c11d3
      Dave Neary authored
      
      
      2003-09-21  Dave Neary  <bolsh@gimp.org>
      
              * app/gui/image-menu.c: Changed default shortcut for Redo to
              Ctrl-Shift-Z, following a reccommendation of the GNOME HIG.
      d92c11d3
    • Sven Neumann's avatar
      added a preliminary PDB API for vectors import. Will change when the new · 47bd472e
      Sven Neumann authored
      2003-09-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: added a preliminary PDB API for
      	vectors import. Will change when the new vectors PDB API gets
      	added.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* plug-ins/common/svg.c: allow to import paths when rendering a
      	SVG file.
      47bd472e
    • Sven Neumann's avatar
      added a resolution entry and implemented PDB parameter parsing. · 75cf42f8
      Sven Neumann authored
      2003-09-21  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/svg.c: added a resolution entry and implemented
      	PDB parameter parsing.
      75cf42f8
    • Michael Natterer's avatar
      removed the useless padding from the label which shows the name of the · 0a20036a
      Michael Natterer authored
      2003-09-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c
      	(gimp_container_grid_view_init): removed the useless padding from
      	the label which shows the name of the selected item, so it's
      	properly aligned with the widget's left border now.
      0a20036a
    • Sven Neumann's avatar
      renamed new enums to use "style" instead of the overloaded term "type". · 3ee7c4d0
      Sven Neumann authored
      2003-09-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: renamed new enums to use "style" instead
      	of the overloaded term "type". Also renamed GimpGridType while I was
      	on it.
      
      	* app/core/gimpdrawable-stroke.[ch]
      	* app/core/gimpgrid.[ch]
      	* app/core/gimpscanconvert.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/vectors/gimpvectors.c
      	* app/gui/grid-dialog.c: changed accordingly.
      3ee7c4d0
    • Danilo Šegan's avatar
      Updated Serbian translation. · 6206f28a
      Danilo Šegan authored
      2003-09-21  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation.
      6206f28a
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 6ba4d98c
      Duarte Loreto authored
      2003-09-21  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      6ba4d98c
    • Simon Budig's avatar
      Dave Neary <bolsh@gimp.org> · 09630e45
      Simon Budig authored
      2003-09-21  Simon Budig  <simon@gimp.org>
                  Dave Neary  <bolsh@gimp.org>
      
      	* app/core/gimpdrawable-stroke.c: gimp_image_apply_image () must
      	not get the pixel Region twice, use NULL for src1_tiles, which
      	then defaults to the drawables tiles. Also pixel_region_init()
      	does not take the offsets set by tile_manager_set_offsets into
      	account. Use 0,0 instead of x1,y1. Fixes bad crashes.
      
      	* app/core/gimpscanconvert.c: fixed crash for the same reason.
      
      	* app/vectors/gimpvectors.c: Enabled the new stroking by default.
      	Of course there should be a dialog to tweak the settings...  :-)
      09630e45
  4. 20 Sep, 2003 3 commits
    • Simon Budig's avatar
      Dave Neary <bolsh@gimp.org> · ca07f5dd
      Simon Budig authored
      2003-09-20  Simon Budig  <simon@gimp.org>
                  Dave Neary  <bolsh@gimp.org>
      
      	First steps towards Libart stroking. Right now the code
      	crashes and thus is disabled by default. If you want to
      	test it, change the #define LIBART_STROKE  in
      	app/vectors/gimpvectors.c. Then a click on the stroke button
      	in the paths dialog invokes the new code.
      	The crash is in gimpdrawable-stroke.c - apparently I did not
      	yet get the TileManager stuff correctly.
      
      	* app/core/gimpscanconvert.[ch]: Rewritten to be more clear
      	and have an easier API. Now can handle open Paths and
      	libart-stroke the (open/closed) polygons defined earlier.
      
      	* app/core/core-enums.h: Added Enums for LineJoin-Type and
      	EndCap-Type for stroking.
      
      	* app/core/core-enums.c: regenerated.
      
      	* app/core/gimpimage-mask-select.c: Use the new API of
      	GimpScanConvert where appropriate.
      
      	* app/vectors/gimpvectors.c: Added #define to enable the libart
      	stroking. Disabled by default because of the crash mentioned
      	above...
      
      	* app/vectors/gimpbezierstroke.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.[ch]: Removed Libart stuff here.
      	Libart usage now lives exclusively in GimpScanConvert.
      
      	* app/core/gimpdrawable-stroke.[ch]: New files for the libart
      	stroking (right now just vector objects).
      	* app/core/Makefile.am: changed accordingly.
      
      	* app/Makefile.am: Needed to tweak linking.  :-/
      ca07f5dd
    • Miloslav Trmac's avatar
      Update Czech translation · 09837f7a
      Miloslav Trmac authored
      09837f7a
    • Henrik Brix Andersen's avatar
      removed reference to the "module-load-inhibit" property · 99aff7e5
      Henrik Brix Andersen authored
      2003-09-20 Henrik Brix Andersen <brix@gimp.org>
      
      * app/config/gimpconfig-dump.c (dump_gimprc): removed reference to
      the "module-load-inhibit" property
      99aff7e5