- 17 May, 2008 5 commits
-
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: add help IDs for the stuff in the Windows menu. * app/actions/windows-actions.c: use them. svn path=/trunk/; revision=25687
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/dialogs/file-save-dialog.c (file_save_dialog_response): fix crash (don't dereference dialog after it has been destroyed). Also put back code that sets the dialog back to sensitive if it still exists. svn path=/trunk/; revision=25686
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/core/gimpimagefile.c * app/tools/gimpaligntool.c * app/tools/gimpselectiontool.c * app/tools/gimpvectortool.c * plug-ins/color-rotate/color-rotate-dialog.c * plug-ins/common/noise-rgb.c * plug-ins/common/value-propagate.c * plug-ins/gfig/gfig-dialog.c * plug-ins/gfig/gfig.h * plug-ins/gimpressionist/general.c * plug-ins/gimpressionist/gimpressionist.h * plug-ins/gimpressionist/orientation.c * plug-ins/gimpressionist/size.c * plug-ins/gimpressionist/utils.c * plug-ins/gradient-flare/gradient-flare.c * plug-ins/ifs-compose/ifs-compose.c * plug-ins/imagemap/imap_main.c * plug-ins/imagemap/imap_preferences.c: in latest GLib _() returns "const gchar*" as it should. Add const qualifiers to local utility functions and some explicit casts to fix the warnings caused by this. svn path=/trunk/; revision=25685
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * app/actions/windows-actions.c: add tooltips to the menu items of open and recently closed docks. * app/widgets/gimpaction.c: connect to "notify::tooltip" and make sure gimp_help_set_help_data() gets called when the action's tooltip changes. svn path=/trunk/; revision=25684
-
Michael Natterer authored
2008-05-17 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/gradient.pdb: applied patch from Lars-Peter Clausen which adds gimp-gradient-get-number-of-segments. Fixes bug #533474. * app/pdb/gradient-cmds.c * app/pdb/internal-procs.c * libgimp/gimpgradient_pdb.[ch]: regenerated. * libgimp/gimp.def: add the new symbol. svn path=/trunk/; revision=25683
-
- 16 May, 2008 5 commits
-
-
Sven Neumann authored
2008-05-16 Sven Neumann <sven@gimp.org> * app/core/gimpimagemap.c: added some basic benchmarking code. Will become optional but for now it is enabled by default. svn path=/trunk/; revision=25679
-
Michael Natterer authored
2008-05-16 Michael Natterer <mitch@gimp.org> * app/Makefile.am: formatting. svn path=/trunk/; revision=25676
-
Sven Neumann authored
2008-05-16 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayoptions.c: disable rulers by default as suggested by Peter. Please give feedback. svn path=/trunk/; revision=25675
-
Michael Natterer authored
2008-05-16 Michael Natterer <mitch@gimp.org> * app/dialogs/dialogs.c (dialogs_load_recent_docks): reverse the list after loading so it keeps its order. * app/menus/windows-menu.c (windows_menu_setup) (windows_menu_recent_add): keep the recent docks menu in MRU order. svn path=/trunk/; revision=25672
-
Michael Natterer authored
2008-05-16 Michael Natterer <mitch@gimp.org> Implement the presistent menu of recently closed docks, still somewhat hackish but fully functional. Fixes bug #132744. * app/actions/dialogs-actions.c * app/actions/dialogs-commands.[ch] * menus/image-menu.xml.in: remove the menu items that were creating the hardcoded preconfigured docks. * app/dialogs/dialogs.[ch]: add GimpContainer of recently closed docks and API to load and save it. * app/gui/session.c: call the recent dock load and save functions. * app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface and (de)serialize via proper interface methods. * app/gui/session.c * app/widgets/gimpdialogfactory.c: use the GimpConfig API to (de)serialize session infos and added the code that was formerly in the info's (de)serialize functions but didn't belong there. * app/widgets/gimpaction.[ch]: add "max-width-chars" property and set it on proxy menu item labels. * app/actions/windows-actions.[ch] * app/actions/windows-commands.[ch] * app/menus/windows-menu.c: add actions and menu of recently closed docks and code to restore the dock when the menu items are selected. Use above new action property to ensure a minimum width of the menu. * app/widgets/gimpmenudock.c: use '-' instead of '|' for separating notebooks in the window title. Menu items don't like '|'. * app/widgets/gimpdock.c: removed the confirmation dialog when closing docks and simply add them to the recent docks container. This code is totally misplaced and will move to another file soon. svn path=/trunk/; revision=25671
-
- 14 May, 2008 7 commits
-
-
Sven Neumann authored
2008-05-14 Sven Neumann <sven@gimp.org> * app/core/gimpcurve.c (gimp_curve_plot): don't write over the end of the samples array. Someone should review this code. It looks as if the loop could be rewritten in a safer and cleaner way. svn path=/trunk/; revision=25670
-
Sven Neumann authored
2008-05-14 Sven Neumann <sven@gimp.org> * app/widgets/gimpcurveview.c (gimp_curve_view_motion_notify): fixed use of uninitialized value. svn path=/trunk/; revision=25668
-
Sven Neumann authored
2008-05-14 Sven Neumann <sven@gimp.org> * app/actions/windows-actions.c (windows_actions): relabeled submenu to "Recently Closed Docks". svn path=/trunk/; revision=25667
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> * app/menus/windows-menu.c * app/actions/windows-actions.c * menus/image-menu.xml.in: move the list of dockable dialogs and the list of recent docks to submenus and keep the list of open image windows and docks at the "Windows" menu toplevel. The list of recent docks doesn't exist yet, its contents are fake. svn path=/trunk/; revision=25666
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> * app/gegl/gimpcurvesconfig.c (gimp_curves_config_copy): also copy curve->identity. svn path=/trunk/; revision=25665
-
Sven Neumann authored
2008-05-14 Sven Neumann <sven@gimp.org> * app/core/gimpbrushclipboard.c (gimp_brush_clipboard_buffer_changed): for an opaque buffer, initialize the brush mask with 255 instead of 0. Fixes bug #532886. svn path=/trunk/; revision=25661
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo-book.[ch]: remove widget member from struct GimpSessionInfoBook. Return the created GimpDockbook from restore(). * app/widgets/gimpsessioninfo-dock.c (restore): use the returned book instead of the struct member. svn path=/trunk/; revision=25658
-
- 13 May, 2008 12 commits
-
-
Michael Natterer authored
2008-05-14 Michael Natterer <mitch@gimp.org> Made session info serialization independent from widgets so it can be used on stored dock layouts which are not open: * app/widgets/gimpsessioninfo-book.[ch] * app/widgets/gimpsessioninfo-dock.[ch] * app/widgets/gimpsessioninfo-dockable.[ch]: add from_widget() functions which return newly allocated session info structs. Changed serialize() functions to take these structs instead of widgets. Changed deserialize() functions to return the structs instead of appending them to lists in their parent structs. Don't free anything in restore(). * app/widgets/gimpsessioninfo-aux.[ch] (gimp_session_info_aux_serialize): take a GList of aux_info instead of a widget. * app/widgets/gimpsessioninfo.[ch]: add new functions get_info() which collects above session info details from dialogs and clear_info() which clears that info. Call clear_info() from finalize(). Don't free anything in restore(). * app/widgets/gimpdialogfactory.c (gimp_dialog_factories_save_foreach): collect the session info detials from the dialogs before serializing because serialize() doesn't know about the widget any longer. Clear the infos after serializing. (gimp_dialog_factories_restore_foreach): clear the session info details after creating the dialogs because restore() doesn't clear the info by itself any longer. svn path=/trunk/; revision=25657
-
Michael Natterer authored
2008-05-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo.c: turn "info != NULL" checks into "GIMP_IS_SESSION_INFO (info)". svn path=/trunk/; revision=25656
-
Michael Natterer authored
2008-05-13 Michael Natterer <mitch@gimp.org> * app/widgets/gimpsessioninfo.[ch]: turn into a GimpObject subclass. No logical changes yet. * app/widgets/widgets-types.h * app/widgets/gimpdialogfactory.c: changed accordingly. svn path=/trunk/; revision=25655
-
Michael Natterer authored
2008-05-13 Michael Natterer <mitch@gimp.org> First prototype of a button in the levels tool dialog that will jump the the curves tool with the same settings: * app/gegl/gimplevelsconfig.[ch]: add new function gimp_levels_config_to_curves_config() which converts a GimpLevelsConfig to a GimpCurvesConfig. Still lacks support for gamma. * app/tools/gimplevelstool.c: add "Edit this Settings as Curves" button and jump to curves when clicked. Still ugly. svn path=/trunk/; revision=25654
-
Sven Neumann authored
2008-05-13 Sven Neumann <sven@gimp.org> * app/core/gimpcurve-map.c (gimp_curve_map_pixels): use memcpy() for the CURVE_NONE case. svn path=/trunk/; revision=25653
-
Sven Neumann authored
svn path=/trunk/; revision=25652
-
Sven Neumann authored
svn path=/trunk/; revision=25651
-
Sven Neumann authored
2008-05-13 Sven Neumann <sven@gimp.org> * app/core/gimpcurve-map.[ch] (gimp_curve_map_pixels): introduced an enum to clean up the code. Optimize another not so uncommon case. svn path=/trunk/; revision=25650
-
Sven Neumann authored
2008-05-13 Sven Neumann <sven@gimp.org> * app/core/gimpcurve-map.c (gimp_curve_map_pixels): create a bitmask that represents the curves that need to be applied and optimize the most common cases. svn path=/trunk/; revision=25649
-
Simon Budig authored
2008-05-13 Simon Budig <simon@gimp.org> * app/vectors/vectors-types.h: add a comment explaining the hack. svn path=/trunk/; revision=25648
-
Sven Neumann authored
2008-05-13 Sven Neumann <sven@gimp.org> * app/core/gimpcurve-map.c (gimp_curve_map_value): simplified the general case. svn path=/trunk/; revision=25647
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/gimpcurve.[ch]: keep a boolean flag to identify an identity mapping. Set it to TRUE when the curve is reset. * app/core/gimpcurve-map.c (gimp_curve_map_value): optimize for the case where the curve is an identity mapping. svn path=/trunk/; revision=25646
-
- 12 May, 2008 1 commit
-
-
Simon Budig authored
2008-05-12 Simon Budig <simon@gimp.org> * app/vectors/gimpvectors.[ch] * app/vectors/gimpstroke.[ch] * app/vectors/gimpbezierstroke.c: Implement functionality to get a bezier description a la moveto/curveto/closepath. * app/vectors/vectors-types.h: implement an evil hack to avoid the inclusion of cairo.h in most C files... * app/vectors/Makefile.am: link against cairo * app/widgets/gimpviewrenderervectors.c: use the new functionality for preview rendering. svn path=/trunk/; revision=25645
-
- 11 May, 2008 9 commits
-
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/Makefile.am * app/core/gimpcurve.[ch]: * app/core/gimpcurve-map.[ch]: split curve map functions into seperate files. * app/gegl/gimpoperationcurves.c * app/tools/gimpcurvestool.c * app/widgets/gimpcurveview.c: changed accordingly. * app/Makefile.am (AM_LDFLAGS): make it link. svn path=/trunk/; revision=25642
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/gimpcurve.[ch]: renamed gimp_curve_map() to gimp_curve_map_value(). Added new function gimp_curve_map_pixels() which will allow for better optimization. * app/gegl/gimpoperationcurves.c (gimp_operation_curves_process): use gimp_curve_map_pixels(). * app/tools/gimpcurvestool.c * app/widgets/gimpcurveview.c: follow API change. svn path=/trunk/; revision=25641
-
Martin Nordholts authored
2008-05-11 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimpcroptool.[ch]: No need to expose definitions of GimpCropTool or GimpCropToolClass. svn path=/trunk/; revision=25640
-
Martin Nordholts authored
2008-05-11 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c: Fix emission of rectangle-change-complete signals. * app/tools/gimpcroptool.c * app/tools/gimprectangleselecttool.c: Use the rectangle-change-complete signal to update the default aspect ratio. Fixes bug #530519. * app/tools/gimpcroptool.c (gimp_crop_tool_button_release) (gimp_crop_tool_options_notify) * app/tools/gimprectangleselecttool.c (gimp_rectangle_select_tool_button_release): No need to explicitly update option defaults since it is handled through the rectangle-change-complete signal now. svn path=/trunk/; revision=25639
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/core/gimpcurve.[ch] (gimp_curve_map): minor cleanup. svn path=/trunk/; revision=25638
-
Sven Neumann authored
2008-05-11 Sven Neumann <sven@gimp.org> * app/gegl/gimpoperationlevels.c (gimp_operation_levels_map): optimized for the case where gamma is 1.0. svn path=/trunk/; revision=25636
-
Michael Natterer authored
2008-05-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.[ch]: add an "ellipsize" property that is applied to all proxy menu items' labels. * app/actions/windows-actions.c: set the dock actions to PANGO_ELLIPSIZE_END because their labels can be insanely long. svn path=/trunk/; revision=25635
-
Michael Natterer authored
2008-05-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup. svn path=/trunk/; revision=25634
-
Michael Natterer authored
2008-05-11 Michael Natterer <mitch@gimp.org> * app/actions/windows-commands.[ch] * app/actions/windows-actions.c * app/menus/windows-menu.c: add dynamic actions and menu items for all open docks. Present the dock when the menu item is selected. svn path=/trunk/; revision=25633
-
- 10 May, 2008 1 commit
-
-
Martin Nordholts authored
2008-05-10 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_button_press): Active the tool control earlier. (gimp_rectangle_tool_synthesize_motion): Bail out if the tool control is active, we don't want to synthesize a motion in this case as it emits unwanted rectangle-changed signals. svn path=/trunk/; revision=25630
-