- 18 Nov, 2007 2 commits
-
-
Michael Natterer authored
2007-11-18 Michael Natterer <mitch@gimp.org> * app/gimp-log.[ch]: add DIALOG_FACTORY log domain. * app/widgets/gimpdialogfactory.c: port debug output to GIMP_LOG(). svn path=/trunk/; revision=24185
-
Michael Natterer authored
2007-11-18 Michael Natterer <mitch@gimp.org> * app/gimp-log.[ch]: changed to work with different compiler-specific ways of doing macro varargs also cope with no macro vararg support at all. Pointed out by Hans Breuer. svn path=/trunk/; revision=24184
-
- 16 Nov, 2007 1 commit
-
-
Michael Natterer authored
2007-11-16 Michael Natterer <mitch@gimp.org> * app/gimp-log.[ch]: add HELP log domain. * app/widgets/gimphelp.c: port debug output to GIMP_LOG() and improve it. svn path=/trunk/; revision=24177
-
- 15 Nov, 2007 2 commits
-
-
Michael Natterer authored
2007-11-15 Michael Natterer <mitch@gimp.org> * app/gimp-log.[ch]: add DND log domain. * app/widgets/gimpdnd.c: use GIMP_LOG(). svn path=/trunk/; revision=24163
-
Michael Natterer authored
2007-11-15 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/gimp-log.[ch]: new files implementing a log facility which can be enabled using the GIMP_LOG environment variable. * app/main.c: initialize it. * app/display/gimpdisplayshell-callbacks.c: use it instead of private debugging macros that need to be enabled at compile time. svn path=/trunk/; revision=24160
-
- 02 Nov, 2007 1 commit
-
-
Michael Natterer authored
2007-11-02 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/core-types.h * app/core/gimpcurve-save.[ch] * app/core/gimpcurve-load.[ch] * app/core/gimpcurve.[ch]: new GimpData subclass which keeps a curve as known from the curves tool. Pretty much unfinished, but can do everything that used to be done by base/curves.c and more. * app/base/curves.[ch]: stripped down to plain arrays of uchar (the actual curve) and the LUT setup function. All the rest is done by GimpCurve now. * app/tools/gimpcurvestool.[ch]: use an array of GimpCurves instead of the old Curves cruft. Use Curves only for the last step of creating the LUT. Pretty much unfinished migration here too. * tools/pdbgen/pdb/color.pdb: use a GimpCurve here too. * app/pdb/color_cmds.c: regenerated. svn path=/trunk/; revision=24041
-
- 09 Dec, 2006 1 commit
-
-
Sven Neumann authored
2006-12-09 Sven Neumann <sven@gimp.org> * In all files, changed the standard copyright notice to say "GIMP - The GNU Image Manipulation Program".
-
- 04 Oct, 2006 1 commit
-
-
Michael Natterer authored
2006-10-04 Michael Natterer <mitch@gimp.org> * app/core/gimpbrushgenerated-load.c * app/core/gimpgradient-load.c * app/core/gimppalette-load.c * app/core/gimppalette-save.c: read and write all files in binary mode. Improved parser error messages (added line numbers). Minor changes to simply read DOS files instead of barfing on them.
-
- 03 Oct, 2006 1 commit
-
-
Michael Natterer authored
2006-10-03 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/gimppalette-load.[ch] * app/core/gimppalette-save.[ch]: new files. * app/core/gimppalette.[ch]: removed loading and saving code here. * app/core/gimp.c * app/core/gimppalette-import.c: changed accordingly.
-
- 29 Aug, 2006 1 commit
-
-
Michael Natterer authored
2006-08-29 Michael Natterer <mitch@gimp.org> Changed GimpViewable preview rendering to have a context to get FG/BG/whatever from. Use the context to enable dynamic FG/BG colors in gradients. Fixes bug #127676 and bug #352214. Addresses bug #128367 (doesn't fix it because there's no loading/saving and no GUI yet). * app/core/core-enums.[ch]: added enum GimpGradientColor to enable specifying gradient colors in terms of foreground and background. * app/core/gimpgradient.[ch]: added color_type members to the GimpGradientSegment struct and honor them in gimp_gradient_get_color_at(). Added GimpContext parameters to all functions which finally call get_color_at(). * app/core/gimp-gradients.c: use the new method to implement the builtin gradients. * app/core/gimpviewable.[ch]: added GimpContext parameters to all get_preview() and get_pixbuf() functions. * app/core/gimpbrush.c * app/core/gimpbuffer.c * app/core/gimpdrawable-preview.[ch] * app/core/gimpgradient.c * app/core/gimpimage-preview.[ch] * app/core/gimpimagefile.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimpundo.[ch] * app/text/gimpfont.c * app/vectors/gimpvectors-preview.[ch]: changed ::get_preview() and ::get_pixbuf() implementations accordingly. * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.[ch] * app/dialogs/dialogs-constructors.c * app/dialogs/palette-import-dialog.c * app/dialogs/resize-dialog.c * app/display/gimpdisplayshell-layer-select.c * app/display/gimpdisplayshell.c * app/display/gimpnavigationeditor.c * app/paint/gimppaintoptions.c * app/tools/gimpeditselectiontool.c * app/tools/gimptexttool.c * app/actions/gradient-editor-commands.c * app/widgets/gimpaction.c * app/widgets/gimpbrusheditor.[ch] * app/widgets/gimpbufferview.c * app/widgets/gimpcellrendererviewable.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpclipboard.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainerbox.c * app/widgets/gimpcontainercombobox.c * app/widgets/gimpcontainereditor.c * app/widgets/gimpcontainerentry.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.[ch] * app/widgets/gimpdataeditor.[ch] * app/widgets/gimpdevicestatus.c * app/widgets/gimpdnd.[ch] * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpfiledialog.c * app/widgets/gimpgradienteditor.[ch] * app/widgets/gimpgradientselect.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimppaletteeditor.[ch] * app/widgets/gimppropwidgets.[ch] * app/widgets/gimpselectioneditor.c * app/widgets/gimpthumbbox.[ch] * app/widgets/gimptoolbox-image-area.c * app/widgets/gimptoolbox-indicator-area.c * app/widgets/gimptooloptionseditor.c * app/widgets/gimpundoeditor.c * app/widgets/gimpvectorstreeview.c * app/widgets/gimpview-popup.[ch] * app/widgets/gimpview.[ch] * app/widgets/gimpviewablebutton.c * app/widgets/gimpviewabledialog.c * app/widgets/gimpviewrenderer.[ch] * app/widgets/gimpviewrenderer-frame.c * app/widgets/gimpviewrendererbrush.c * app/widgets/gimpviewrendererbuffer.c * app/widgets/gimpviewrendererdrawable.c * app/widgets/gimpviewrenderergradient.c * app/widgets/gimpviewrendererimage.c * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/gradient.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb: added tons of GimpContext members and parameters, implement GimpDocked::set_context() in many widgets. Pass these locally remembered contexts to GimpViewable functions. Did some minor cleanups on the way. There are still some minor FIXMEs around where the code uses a NULL context (which is allowed by the APIs) * app/pdb/drawable_cmds.c * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c * app/pdb/image_cmds.c: regenerated.
-
- 23 May, 2006 1 commit
-
-
Sven Neumann authored
2006-05-23 Sven Neumann <sven@gimp.org> It makes more sense to have GimpData::dirty indicate a name change than to invalidate the previews whenever the name changes. * app/core/gimpdata.c: call gimp_object_name_changed() from gimp_data_real_dirty() instead of implementing GimpObject::name-changed and calling gimp_data_dirty() from there. * app/core/gimpbrushclipboard.c * app/core/gimppalette.c * app/core/gimppatternclipboard.c: call gimp_data_dirty() in place of gimp_object_name_changed(). * app/core/gimpbrushgenerated.c (gimp_brush_generated_dirty): chain up unconditionally.
-
- 15 May, 2006 1 commit
-
-
Sven Neumann authored
2006-05-15 Sven Neumann <sven@gimp.org> * app/*/*.c: * lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
-
- 07 Apr, 2006 1 commit
-
-
Sven Neumann authored
2006-04-07 Sven Neumann <sven@gimp.org> * app/actions/tool-options-commands.c * app/core/gimp.c * app/core/gimpbrushpipe.c * app/core/gimpbuffer.c * app/core/gimpcontext.c * app/core/gimpdatafactory.c * app/core/gimpgradient-load.c * app/core/gimpimage-merge.c * app/core/gimpimage-undo-push.c * app/core/gimpitem.c * app/core/gimplayer.c * app/core/gimplayermask.c * app/core/gimplist.c * app/core/gimppalette.c * app/dialogs/template-options-dialog.c * app/display/gimpdisplayshell-dnd.c * app/file/file-open.c * app/paint/gimp-paint.c * app/widgets/gimpdataeditor.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimplayertreeview.c * app/widgets/gimptemplateview.c * app/widgets/gimptoolbox-dnd.c: use gimp_object_set_static_name() and gimp_object_take_name() where appropriate.
-
- 10 Dec, 2005 1 commit
-
-
Michael Natterer authored
2005-12-10 Michael Natterer <mitch@gimp.org> * app/config/*.c * app/core/*.c * app/display/*.c * app/text/*.c * app/vectors/*.c: port to G_DEFINE_TYPE() and friends. Some related core reordering and cleanup.
-
- 09 Oct, 2005 1 commit
-
-
Michael Natterer authored
2005-10-10 Michael Natterer <mitch@gimp.org> * app/core/gimpviewable.c (gimp_viewable_get_description): set the "tooltip" return value to NULL before calling the virtual function. * app/core/gimpbrush.c * app/core/gimpbuffer.c * app/core/gimpchannel.c * app/core/gimplayer.c * app/core/gimppaintinfo.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimptoolinfo.c (get_description): don't do it here. * app/core/gimpbuffer.c * app/core/gimppaintinfo.c: untabbify, cleanup. * app/core/gimpobject.c: emit "notify::name" whenerver the name changes, clenup.
-
- 01 Sep, 2005 2 commits
-
-
Sven Neumann authored
2005-09-01 Sven Neumann <neumann@jpk.com> * app/core/gimppalette.[ch]: reverted, it duplicates existing functionality. * app/core/gimppalette-import.c (gimp_palette_import_from_indexed_image): name the colors using their index in the colormap.
-
Sven Neumann authored
2005-09-01 Sven Neumann <sven@gimp.org> * app/core/gimppalette.[ch]: added gimp_palette_new_from_colormap().
-
- 13 Jul, 2005 1 commit
-
-
Michael Natterer authored
2005-07-13 Michael Natterer <mitch@gimp.org> * app/core/gimppalette.c (gimp_palette_add_entry): actually return the added entry, and not always the palette's last entry (argh!). * app/widgets/gimppaletteeditor.c: make sure the cursor is always on the newly added color. Really fixes #15060 this time.
-
- 08 Jun, 2005 1 commit
-
-
Sven Neumann authored
2005-06-08 Sven Neumann <sven@gimp.org> Removed "stingy-memory-use" all over the place. This feature was really not that useful anymore. The GUI for the preference option was already removed for GIMP 2.2. Fixes bug #306617. * app/config/gimpbaseconfig.[ch]: set IGNORE flag on "stingy-memory-use". * app/config/gimpcoreconfig.h: added a comment that the font_path_writable variable is unused. * app/base/temp-buf.[ch]: removed code that used to deal with swapping temp-bufs to disk. * app/base/base.c: made base_config a static variable. * app/core/gimpdata.[ch] * app/core/gimpdatafactory.[ch]: removed stingy_memory_use parameter from data construction methods. * app/core/gimp-gradients.c * app/core/gimpbrush-load.[ch] * app/core/gimpbrush.[ch] * app/core/gimpbrushgenerated.[ch] * app/core/gimpbrushpipe.[ch] * app/core/gimpcontext.c * app/core/gimpgradient-load.[ch] * app/core/gimpgradient.[ch] * app/core/gimppalette-import.c * app/core/gimppalette.[ch] * app/core/gimppattern.[ch]: changed accordingly.
-
- 25 May, 2005 1 commit
-
-
Sven Neumann authored
2005-05-26 Sven Neumann <sven@gimp.org> * app/core/gimpdata.[ch]: added MIME type as a construct property to GimpData. * app/core/gimpbrush-load.c * app/core/gimpbrushgenerated.c * app/core/gimpbrushpipe.c * app/core/gimpgradient-load.c * app/core/gimppalette.c * app/core/gimppattern.c: set the MIME type when loading a data object from file. MIME types needs review and GimpPalette isn't quite done yet... * app/core/gimpdashpattern.c: cosmetics.
-
- 09 Mar, 2005 1 commit
-
-
Sven Neumann authored
2005-03-09 Sven Neumann <sven@gimp.org> * app/core/gimppalette.[ch]: renamed again, to gimp_palette_[gs]et_columns this time. * app/dialogs/palette-import-dialog.c * app/widgets/gimppaletteeditor.c: changed accordingly. * tools/pdbgen/pdb/palette.pdb: renamed newly added PDB function. Also added a getter for the columns. * app/pdb/internal_procs.c * app/pdb/palette_cmds.c * libgimp/gimppalette_pdb.[ch]: regenerated. * libgimp/gimp.def: updated.
-
- 08 Mar, 2005 1 commit
-
-
Sven Neumann authored
2005-03-08 Sven Neumann <sven@gimp.org> * app/core/gimppalette.[ch]: renamed gimp_palette_[gs]et_n_columns to gimp_palette_[gs]et_num_columns(). * app/dialogs/palette-import-dialog.c * app/widgets/gimppaletteeditor.c: changed accordingly. * tools/pdbgen/pdb/palette.pdb: added new PDB function to control the number of columns used when displaying a palette (bug #169370). * app/pdb/internal_procs.c * app/pdb/palette_cmds.c * libgimp/gimppalette_pdb.[ch]: regenerated. * libgimp/gimp.def: updated.
-
- 20 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-20 Sven Neumann <sven@gimp.org> * app/core/gimpgradient-load.c * app/core/gimppalette.c * app/core/gimppattern.c * app/plug-in/plug-in.c * libgimpbase/gimputils.c * libgimpmodule/gimpmodule.c * libgimpwidgets/gimppatheditor.c * tools/pdbgen/pdb/image.pdb: use g_filename_display_name() or g_filename_display_basename() where appropriate. * app/pdb/image_cmds.c: regenerated.
-
- 07 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-07 Sven Neumann <sven@gimp.org> * app/base/base.c * app/base/temp-buf.c * app/base/tile-swap.c * app/config/gimpconfig-file.c * app/core/gimpbrush.c * app/core/gimpbrushgenerated.c * app/core/gimpbrushpipe.c * app/core/gimpdata.c * app/core/gimpenvirontable.c * app/core/gimpgradient-load.c * app/core/gimpgradient-save.c * app/core/gimppalette-import.c * app/core/gimppalette.c * app/core/gimppattern.c * app/dialogs/user-install-dialog.c * app/gui/session.c * app/menus/menus.c * app/widgets/gimpdevices.c: use gstdio wrappers.
-
- 31 Dec, 2004 2 commits
-
-
Michael Natterer authored
2004-12-31 Michael Natterer <mitch@gimp.org> * app/core/gimppalette.[ch]: removed the just added gimp_palette_insert_entry() and added a "gint position" parameter to gimp_palette_add_entry() instead (no need to have two almost identical functions). * app/actions/palette-editor-commands.c * app/core/gimppalette-import.c * app/widgets/gimppaletteeditor.c * tools/pdbgen/pdb/palette.pdb: changed accordingly. * app/pdb/palette_cmds.c: regenerated.
-
Michael Natterer authored
2004-12-31 Michael Natterer <mitch@gimp.org> Applied modified patch from Ben Campbell which adds drop coordinates to the color drop callback and uses it to insert colors in the palette editor. Extended the patch to add drop coordinates to all drop callbacks. * app/core/gimppalette.[ch]: added gimp_palette_insert_entry(). * app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates to all drop callbacks. * app/dialogs/palette-import-dialog.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainerview.c * app/widgets/gimpdnd.[ch] * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpfgbgeditor.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpitemtreeview.c * app/widgets/gimppaletteeditor.c * app/widgets/gimppropwidgets.c * app/widgets/gimpselectioneditor.c * app/widgets/gimptoolbox-dnd.c * app/widgets/gimptoolbox-image-area.c * app/widgets/gimptoolbox-indicator-area.c * app/widgets/gimptooloptionseditor.c * libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed drop coordiantes are so far unused. * app/widgets/gimppaletteeditor.c: use the drop coordinates to insert the new color into the palette at the right place instead of always appending. Fixes bug #150030.
-
- 28 Sep, 2004 1 commit
-
-
Michael Natterer authored
2004-09-28 Michael Natterer <mitch@gimp.org> * app/core/gimppalette.c: code review / cleanup. (gimp_palette_delete_entry): don't add "Black" when the last color gets removed, a palette can easily live with zero colors. * app/widgets/gimppaletteeditor.c (palette_editor_invalidate_preview): also update the entry which shows the palette_entry's name.
-
- 26 Jul, 2004 1 commit
-
-
Michael Natterer authored
2004-07-26 Michael Natterer <mitch@gimp.org> * app/core/gimpdatafactory.h: added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return a GList* instead of GimpData* from GimpDataLoadFunc so it's possible to load more than one data object from one file. * app/core/gimpdatafactory.c (gimp_data_factory_load_data): changed accordingly: add all items of the returned lists to the data factory. Make the data object writable only if it's in the writable path *and* its loader entry says it's a writable format *and* the returned list contains exactly one element. * app/core/gimp.c (gimp_real_initialize): declare all loader entries as writable where we have code to read and write exactly one object per file; all others are not writable. * app/core/gimpbrush.[ch] * app/core/gimpbrushgenerated.[ch] * app/core/gimpbrushpipe.[ch] * app/core/gimpgradient-load.[ch] * app/core/gimppalette.[ch] * app/core/gimppattern.[ch] (all load functions): return a list containing the loaded object instead of the object itself.
-
- 30 Jun, 2004 1 commit
-
-
Michael Natterer authored
2004-06-30 Michael Natterer <mitch@gimp.org> * app/core/gimppalette.[ch] (gimp_palette_add_entry): take const GimpRGB* instead of just GimpRGB*. Converted tabs to spaces.
-
- 12 Jun, 2004 1 commit
-
-
Sven Neumann authored
2004-06-13 Sven Neumann <sven@gimp.org> * app/core/gimppalette.c (gimp_palette_load): don't use the rather inefficient gimp_palette_add_entry() when loading a palette.
-
- 13 Feb, 2004 1 commit
-
-
Michael Natterer authored
2004-02-13 Michael Natterer <mitch@gimp.org> Fixed GimpData's default "writable" and "deletable" behaviour: * app/core/gimpdata.c (gimp_data_init): default to writable and deletable == TRUE (something that has no filename was never loaded from disk and can't be undeletable or read-only). Fixes bug #134274. * app/core/gimpdata.[ch]: added new function gimp_data_make_internal() which frees the filename and sets the data's flags accordingly. * app/core/gimp-gradients.c (gimp_gradients_add_gradient) * app/core/gimpbrush.c (gimp_brush_get_standard) * app/core/gimpgradient.c (gimp_gradient_get_standard) * app/core/gimppalette.c (gimp_palette_get_standard) * app/core/gimppattern.c (gimp_pattern_get_standard): use the new function for internal data objects. * app/core/gimpdata.c (gimp_data_save, gimp_data_delete_from_disk) * app/core/gimpdatafactory.c (gimp_data_factory_save_single): bail out with g_return_if_fail() is the data is not writable or deletable. * app/widgets/gimpdataeditor.c * app/widgets/gimpdatafactoryview.c: changed accordingly.
-
- 29 Jan, 2004 1 commit
-
-
Michael Natterer authored
2004-01-29 Michael Natterer <mitch@gimp.org> GimpData code review: * app/core/gimpdata.c (gimp_data_init): default to writable = FALSE and dirty = TRUE. * app/core/gimpbrushgenerated.[ch]: added "const gchar *name" to gimp_brush_generated_new(). * app/core/gimpbrush.c * app/core/gimpbrushgenerated.c * app/core/gimpbrushpipe.c * app/core/gimpgradient.c * app/core/gimppalette.c * app/core/gimppattern.c: set all standard datas to clean and internal, check for g_path_is_absolute() in all load functions, pass the data's name as construct property to g_object_new() instead of calling gimp_object_set_name() after creation, fixed some UTF-8 handling, spacing, indentation, coding style, general cleanup.
-
- 28 Jan, 2004 1 commit
-
-
Michael Natterer authored
2004-01-28 Michael Natterer <mitch@gimp.org> Added infrastructure to make sure we don't write to the global brush, pattern etc. directories. Needed to make this configurable because we can't rely on the global directories being read-only, having certain names or being otherwise detectable at runtime in a sane way. Fixes bug #132214. * libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to the GimpDataFileData struct so callbacks don't need to call g_path_get_dirname() for each file. * libgimpwidgets/gimpfileentry.c: made it work with non UTF-8 encoded filenames. * libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for setting/getting a second "writable_path". The widget makes sure that the writable_path is always a subset of the path. * app/config/gimpconfig-utils.[ch]: added new function gimp_config_build_writable_path(). * app/config/gimpcoreconfig.[ch]: added separate properties for the writable brush, pattern, gradient, palette and font paths. * app/config/gimprc-blurbs.h: added (still empty) blurbs for the new properties. * app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter "gboolean writable". Set data->writable to FALSE by default. If "writable" is passed as TRUE, still check if we can write to the file before setting data->writable to TRUE. (gimp_data_create_filename): changed "data_path" parameter to "dest_dir" and assume dest_dir is writable. (gimp_data_duplicate): set data->dirty to TRUE to make sure duplicated things will be saved. * app/core/gimpbrush.c * app/core/gimpbrushgenerated.c * app/core/gimpbrushpipe.c * app/core/gimpgradient.c * app/core/gimppalette.c * app/core/gimppattern.c: don't set the data's filename and don't touch data->dirty in the _load() functions because that's done by the data factory now. Don't touch data->dirty in the _duplicate() functions because that's done by gimp_data_duplicate() itself now. * app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added "writable_property_name" and remember it. Added utility function gimp_data_factory_get_save_dir() which determines the directory to save new datas to. Added public function gimp_data_factory_data_save_single() which saves a single data object. Make sure new things get saved to the first writable directory as specified in preferences. * app/core/gimp.c (gimp_real_initialize): pass the writable_paths' property names to gimp_data_factory_new(). * app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use gimp_data_factory_data_save_single() instead of implementing saving here. * app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new): added "const gchar *writable_property_name" parameter (can be NULL). Added the needed callbacks to handle the writable_path and made the path_editor and file_entry code aware of non UTF-8 filename encodings. Some general cleanup. * app/gui/preferences-dialog.c: changed accordingly.
-
- 19 Jan, 2004 2 commits
-
-
Sven Neumann authored
2004-01-19 Sven Neumann <sven@gimp.org> * app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed now unnecessary inclusions of "file/file-utils.h".
-
Sven Neumann authored
2004-01-19 Sven Neumann <sven@gimp.org> * app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ... * libgimpbase/gimputils.[ch]: ... and added it here as gimp_filename_to_utf8(). Added some docs that promise less than the current implementation holds so that we can change the implementation later. * app/*/*.c: use gimp_filename_to_utf8() where file_utils_filenames_to_utf8() has been used before. * libgimpbase/gimpbase.def: changed accordingly. * configure.in: reset GIMP_INTERFACE_AGE.
-
- 14 Jan, 2004 1 commit
-
-
Tor Lillqvist authored
2004-01-14 Tor Lillqvist <tml@iki.fi> * app/file/file-utils.[ch]: Add new function file_utils_filename_to_utf8(), which is to be used when converting file names (which are kept in the on-disk encoding) to UTF-8 for passing to GTK, or to g_print() etc. * app/*/*.c: Call file_utils_filename_to_utf8(). Should fix most of the warnings generated by non-UTF8 pathnames. See #130118. * libgimpbase/gimpenv.b: Document that gimp_directory() etc return strings in the on-disk encoding. * libgimpmodule/gimpmodule.c: Convert filenames to UTF-8 (using g_filename_to_utf8()) before passing to g_print().
-
- 17 Nov, 2003 1 commit
-
-
Sven Neumann authored
2003-11-17 Sven Neumann <sven@gimp.org> * app/core/gimpviewable.[ch]: removed the unused GimpViewable parameter from gimp_viewable_calc_preview_size(). * app/core/gimpbuffer.c * app/core/gimpimage-preview.c * app/core/gimpimagefile.c * app/core/gimpitem-preview.c * app/core/gimpundo.c * app/widgets/gimppreview.c * app/widgets/gimppreviewrendererdrawable.c * app/widgets/gimppreviewrendererimage.c: changed accordingly. * app/widgets/gimppreviewrenderer.[ch]: store the viewable_type in the preview renderer and use its default stock_id if no viewable is set. * app/core/gimpbrush.c * app/core/gimpbuffer.c * app/core/gimpgradient.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimpundo.c: set a default stock_id.
-
- 16 Nov, 2003 1 commit
-
-
Sven Neumann authored
2003-11-16 Sven Neumann <sven@gimp.org> * app/config/gimpbaseconfig.h * app/config/gimpcoreconfig.h: use gint64 for all memsize properties. * app/base/tile-manager.[ch] (tile_manager_get_memsize): since tiles can be swapped out, a tilemanager can be larger than gsize (on 32bit platforms). Use a gint64 to avoid an overflow. * app/core/gimp.c * app/core/gimpbrush.c * app/core/gimpbrushpipe.c * app/core/gimpbuffer.c * app/core/gimpchannel.c * app/core/gimpcontainer.c * app/core/gimpcontext.c * app/core/gimpdata.c * app/core/gimpdatafactory.c * app/core/gimpdrawable.c * app/core/gimpgradient.c * app/core/gimpimage-undo-push.c * app/core/gimpimage-undo.[ch] * app/core/gimpimage.c * app/core/gimpitem.c * app/core/gimpitemundo.[ch] * app/core/gimplayer.c * app/core/gimplist.c * app/core/gimpobject.[ch] * app/core/gimppalette.c * app/core/gimpparasitelist.c * app/core/gimppattern.c * app/core/gimpundo.[ch] * app/core/gimpundostack.c * app/core/gimpviewable.c * app/text/gimptext.c * app/text/gimptextlayer.c * app/vectors/gimpstroke.c * app/vectors/gimpvectors.c: use gint64 for gimp_object_get_memsize() and all its implementations. * app/display/gimpdisplayshell-title.c * app/gui/info-window.c: changed accordingly.
-
- 14 Nov, 2003 1 commit
-
-
Michael Natterer authored
2003-11-14 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpquerybox.c * app/widgets/gimpwidgets-utils.c: configure the labels in the message dialog and the query boxes to do automatic word wrapping to be HIG compliant. * app/app_procs.c * app/batch.c * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-path.c * app/config/gimpconfig-utils.c * app/config/gimpconfigwriter.c * app/config/gimpscanner.c * app/core/gimpbrush.c * app/core/gimpbrushgenerated.c * app/core/gimpbrushpipe.c * app/core/gimpdatafactory.c * app/core/gimpgradient.c * app/core/gimpimage-merge.c * app/core/gimpimage.c * app/core/gimpimagefile.c * app/core/gimplayer-floating-sel.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimpselection.c * app/display/gimpdisplayshell.c * app/file/file-utils.c * app/gui/brush-select.c * app/gui/dialogs-commands.c * app/gui/drawable-commands.c * app/gui/edit-commands.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/font-select.c * app/gui/gradient-select.c * app/gui/gui.c * app/gui/image-commands.c * app/gui/layers-commands.c * app/gui/palette-select.c * app/gui/palettes-commands.c * app/gui/pattern-select.c * app/gui/preferences-dialog.c * app/gui/select-commands.c * app/gui/stroke-dialog.c * app/gui/tool-options-menu.c * app/gui/vectors-commands.c * app/gui/view-commands.c * app/plug-in/plug-in-message.c * app/plug-in/plug-in.c * app/plug-in/plug-ins.c * app/text/gimptextlayer-xcf.c * app/text/gimptextlayer.c * app/tools/gimpcurvestool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimptransformtool.c * app/vectors/gimpvectors-export.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimphelp.c * app/widgets/gimptemplateview.c * app/widgets/gimptooloptionseditor.c * app/xcf/xcf.c * tools/pdbgen/pdb/image.pdb: removed explicit newlines from messages. Reduced number of translatable strings by making many file error messages the same. Quote single words and filenames with 'foo', not "foo". Replaced some more "drawable" by "layer". General message cleanup and consistency check. * app/pdb/image_cmds.c: regenerated.
-
- 01 Nov, 2003 1 commit
-
-
Manish Singh authored
2003-11-01 Manish Singh <yosh@gimp.org> * app/core/gimppalette.c (gimp_palette_load): plug a memleak
-