Tor Lillqvist
9ab35b10ce
Use memset() instead of bzero().
...
2007-05-23 Tor Lillqvist <tml@novell.com>
* plug-ins/common/tiff-save.c (save_paths): Use memset() instead
of bzero().
svn path=/trunk/; revision=22591
2007-05-23 10:23:37 +00:00
Sven Neumann
a6d783152d
app/core/gimp-user-install.c app/core/gimpgradient-load.c
...
2007-05-23 Sven Neumann <sven@gimp.org>
* app/core/gimp-user-install.c
* app/core/gimpgradient-load.c
* app/core/gimpsamplepoint.c
* app/core/gimpscanconvert.c
* app/core/gimpunit.c
* app/display/gimpdisplayshell-filter-dialog.c
* app/display/gimpdisplayshell-layer-select.c
* app/display/gimpdisplayshell-scale.c
* app/file/gimprecentitem.c
* app/gui/splash.c: allocate structs using GSlice.
svn path=/trunk/; revision=22590
2007-05-23 10:22:09 +00:00
Sven Neumann
634ac74de4
app/display/gimpdisplayshell-selection.c allocate structs using GSlice
...
* app/display/gimpdisplayshell-selection.c
* app/display/gimpstatusbar.c: allocate structs using GSlice
svn path=/trunk/; revision=22589
2007-05-23 09:04:20 +00:00
Sven Neumann
c7bffbceaa
app/dialogs/tips-parser.c app/display/gimpdisplayshell-autoscroll.c
...
2007-05-23 Sven Neumann <sven@gimp.org>
* app/dialogs/tips-parser.c
* app/display/gimpdisplayshell-autoscroll.c
* app/menus/plug-in-menus.c
* app/plug-in/gimpenvirontable.c
* app/plug-in/gimpinterpreterdb.c
* app/plug-in/gimpplugindebug.c
* app/plug-in/gimppluginshm.c
* app/text/gimptextundo.c: allocate structs using GSlice
* app/widgets/gimpselectiondata.c
(gimp_selection_data_set_color):
stack allocate tempory data.
svn path=/trunk/; revision=22588
2007-05-23 08:57:53 +00:00
Sven Neumann
cd772f930a
app/core/gimppalette-import.c app/core/gimppalette-load.c use GSlice for
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/core/gimppalette-import.c
* app/core/gimppalette-load.c
* app/core/gimppalette.c: use GSlice for palette entries and
temporary structs.
svn path=/trunk/; revision=22587
2007-05-22 21:59:19 +00:00
Sven Neumann
dc94d7b2f6
cleaning up after my last commit...
...
svn path=/trunk/; revision=22586
2007-05-22 21:40:24 +00:00
Sven Neumann
9ebc6ae270
allocate structs using GSlice.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/base/siox.c: allocate structs using GSlice.
* app/base/tile-swap.[ch]
* app/xcf/xcf-load.c: removed dead code that used to deal with
swapping from XCF files. Simplified swap file code quite a bit.
svn path=/trunk/; revision=22585
2007-05-22 21:32:09 +00:00
Sven Neumann
f1cdb9bea1
app/core/gimparea.[ch] app/core/gimpprojection.c use GSlice to allocate
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/core/gimparea.[ch]
* app/core/gimpprojection.c
* app/display/gimpdisplay.c: use GSlice to allocate GimpArea and
sanitize the API.
svn path=/trunk/; revision=22584
2007-05-22 18:52:11 +00:00
Sven Neumann
1a3abcff9b
app/base/tile-manager.[ch] removed unused code.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/base/tile-manager.[ch]
* app/base/tile-manager-private.h: removed unused code.
* app/base/pixel-surround.c
* app/base/pixel-region.c: allocate structs using GSlice.
* app/base/tile.c: allocate TileLink and TileRowHint using
GSlice.
svn path=/trunk/; revision=22583
2007-05-22 18:29:33 +00:00
Sven Neumann
17f8ab01e6
app/widgets/gimpclipboard.c app/widgets/gimpcontainerview.c allocate
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpclipboard.c
* app/widgets/gimpcontainerview.c
* app/widgets/gimpdialogfactory.c: allocate structs using
GSlice.
svn path=/trunk/; revision=22582
2007-05-22 18:08:42 +00:00
Sven Neumann
3b9f1cc4fa
libgimpconfig/gimpscanner.c allocate structs using GSlice.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpscanner.c
* libgimpwidgets/gimpwidgets.c: allocate structs using GSlice.
svn path=/trunk/; revision=22581
2007-05-22 17:58:02 +00:00
Stéphane Raimbault
eb21bf97bb
Updated French translation.
...
svn path=/trunk/; revision=22580
2007-05-22 17:36:15 +00:00
Michael Natterer
395dc8aa13
remove "threshold" from the options struct and added compat code in
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/tools/gimpmagnifyoptions.[ch]: remove "threshold" from
the options struct and added compat code in get_property().
svn path=/trunk/; revision=22579
2007-05-22 17:25:35 +00:00
Michael Natterer
a0b76f7ab9
app/config/gimprc-unknown.c allocate structs using GSlice.
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/config/gimprc-unknown.c
* app/config/gimpxmlparser.c: allocate structs using GSlice.
svn path=/trunk/; revision=22578
2007-05-22 17:23:03 +00:00
Michael Natterer
f468e1c251
allocate structs using GSlice.
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/vectors/gimpvectors-import.c: allocate structs using GSlice.
svn path=/trunk/; revision=22577
2007-05-22 17:11:07 +00:00
Sven Neumann
16054d8293
use GSlice to allocate struct.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactionview.c: use GSlice to allocate struct.
svn path=/trunk/; revision=22576
2007-05-22 16:55:08 +00:00
Sven Neumann
b3d3f4f291
app/widgets/gimpcontrollers.c app/widgets/gimpdevices.c
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollers.c
* app/widgets/gimpdevices.c
* app/widgets/gimpdevicestatus.c
* app/widgets/gimpeditor.c: allocate structs using GSlice.
svn path=/trunk/; revision=22575
2007-05-22 16:18:32 +00:00
Sven Neumann
9b5679547c
app/widgets/gimpmenufactory.c allocate structs using GSlice.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpmenufactory.c
* app/widgets/gimpactionfactory.c: allocate structs using GSlice.
svn path=/trunk/; revision=22574
2007-05-22 16:01:18 +00:00
Sven Neumann
56b52c047b
use GSlice and plugged a memleak.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimppropwidgets.c (gimp_prop_aspect_ratio_new):
use GSlice and plugged a memleak.
svn path=/trunk/; revision=22573
2007-05-22 15:24:49 +00:00
Sven Neumann
af350d89e6
app/widgets/gimphelp.c app/widgets/gimpuimanager.c
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimphelp.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpview-popup.c
* app/widgets/gtkwrapbox.c: use GSlice to allocate structs.
svn path=/trunk/; revision=22572
2007-05-22 15:14:41 +00:00
Michael Natterer
7654733de9
changed tile_init() to tile_new() and return a GSlice-allocated Tile
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/base/tile.[ch]: changed tile_init() to tile_new() and return
a GSlice-allocated Tile structure.
(tile_destroy): free it using GSLice.
* app/base/tile-manager.c: use tile_new() instead of g_new plus
tile_init(). Also allocate TileManager itself using GSlice.
* app/xcf/xcf-load.c (xcf_load_parasite): allocate parasites using
gimp_parasite_new().
svn path=/trunk/; revision=22571
2007-05-22 15:12:30 +00:00
Sven Neumann
b8fe16c193
app/widgets/gtkvwrapbox.c use GSlice to allocate structs.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gtkvwrapbox.c
* app/widgets/gtkhwrapbox.c: use GSlice to allocate structs.
svn path=/trunk/; revision=22570
2007-05-22 14:57:21 +00:00
Jakub Friedl
28329e7976
Updated Czech translation.
...
2007-05-22 Jakub Friedl <jfriedl@suse.cz>
* cs.po: Updated Czech translation.
svn path=/trunk/; revision=22569
2007-05-22 14:44:50 +00:00
Sven Neumann
017ff2e06d
plug-ins/script-fu/script-fu-scripts.c use GSlice to allocate structs.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-interface.c: use GSlice to allocate
structs.
svn path=/trunk/; revision=22568
2007-05-22 14:20:08 +00:00
Sven Neumann
ba25863e49
libgimp/gimpdrawable.c libgimp/gimppixelfetcher.c libgimp/gimpprogress.c
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawable.c
* libgimp/gimppixelfetcher.c
* libgimp/gimpprogress.c
* libgimp/gimppixelrgn.c
* libgimp/gimpregioniterator.c: allocate structs using GSlice.
svn path=/trunk/; revision=22567
2007-05-22 14:04:35 +00:00
Sven Neumann
a8c9def029
libgimp/gimpbrushmenu.c libgimp/gimpgradientmenu.c libgimp/gimpfontmenu.c
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimp/gimpbrushmenu.c
* libgimp/gimpgradientmenu.c
* libgimp/gimpfontmenu.c
* libgimp/gimppatternmenu.c
* libgimp/gimppalettemenu.c: allocate structs using GSlice.
svn path=/trunk/; revision=22566
2007-05-22 14:02:52 +00:00
Sven Neumann
114e0d7ffc
libgimp/gimpbrushselect.c libgimp/gimpgradientselect.c
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimp/gimpbrushselect.c
* libgimp/gimpgradientselect.c
* libgimp/gimpfontselect.c
* libgimp/gimppatternselect.c
* libgimp/gimppaletteselect.c: allocate structs using GSlice.
svn path=/trunk/; revision=22565
2007-05-22 14:01:44 +00:00
Sven Neumann
203930da11
allocate structs using GSlice.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpprotocol.c: allocate structs using GSlice.
* libgimpmodule/gimpmodule.c: allocate GimpModuleInfo using GSlice.
svn path=/trunk/; revision=22564
2007-05-22 13:09:56 +00:00
Michael Natterer
460fab8fee
free parasites using gimp_parasite_free()
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-params.c (plug_in_args_to_params): free
parasites using gimp_parasite_free()
* libgimp/gimp.c (gimp_run_procedure2): free wire messages using
gimp_wire_destroy().
svn path=/trunk/; revision=22563
2007-05-22 12:36:10 +00:00
Sven Neumann
16ec38275c
libgimpwidgets/gimpsizeentry.c allocate structs using GSlice.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpsizeentry.c
* libgimpwidgets/gimpquerybox.c: allocate structs using GSlice.
svn path=/trunk/; revision=22562
2007-05-22 11:49:24 +00:00
Sven Neumann
65f80e1825
use GSlice for the GimpConfigWriter struct.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfigwriter.c: use GSlice for the
GimpConfigWriter struct.
svn path=/trunk/; revision=22561
2007-05-22 11:34:58 +00:00
Michael Natterer
3679ac69e8
initialize "uri" to NULL. #include "file/file-utils.h"
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/main.c (gimp_dbus_open): initialize "uri" to NULL.
#include "file/file-utils.h"
svn path=/trunk/; revision=22560
2007-05-22 11:24:23 +00:00
Sven Neumann
6c9cb2ec8b
formatting.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/base/tile-manager-private.h: formatting.
svn path=/trunk/; revision=22559
2007-05-22 10:51:02 +00:00
Michael Natterer
ada79e533a
app/actions/data-commands.c app/base/boundary.c app/base/gimphistogram.c
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/actions/data-commands.c
* app/base/boundary.c
* app/base/gimphistogram.c
* app/base/gimplut.c
* app/base/temp-buf.c
* app/core/gimpcontainer.c
* app/core/gimpgradient.c
* app/core/gimpparamspecs.c
* app/core/gimpundo.c
* app/plug-in/gimpplugin-cleanup.c
* app/plug-in/gimppluginmanager-data.c
* app/plug-in/gimppluginmanager-help-domain.c
* app/plug-in/gimppluginmanager-locale-domain.c
* app/plug-in/gimppluginmanager-menu-branch.c
* app/plug-in/gimppluginprocframe.c
* app/vectors/gimpanchor.c
* app/widgets/gimpsessioninfo.c: use GSlice instead of g_new/g_free
for structs of fixed size.
svn path=/trunk/; revision=22558
2007-05-22 10:43:48 +00:00
Sven Neumann
957db416e8
process updates.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpprogressbox.c (gimp_progress_box_progress_start)
(gimp_progress_box_progress_set_text): process updates.
svn path=/trunk/; revision=22557
2007-05-22 10:07:36 +00:00
Sven Neumann
a80b7607ec
plugged a memory leak caused by one variable shadowing another.
...
2007-05-22 Sven Neumann <sven@gimp.org>
* app/core/gimpbrush.c (gimp_brush_get_new_preview): plugged a
memory leak caused by one variable shadowing another.
* app/vectors/gimpvectors-import.c (gimp_vectors_import): free
the
SvgPath structs.
svn path=/trunk/; revision=22556
2007-05-22 07:20:23 +00:00
Michael Natterer
bea6c5225d
don't leak three GimpCoords per warped point (eek).
...
2007-05-22 Michael Natterer <mitch@gimp.org>
* app/vectors/gimpvectors-warp.c (gimp_stroke_warp_point): don't
leak three GimpCoords per warped point (eek).
svn path=/trunk/; revision=22555
2007-05-21 22:46:16 +00:00
Sven Neumann
9928979d4f
formatting.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* themes/Default/images/preferences/Makefile.am: formatting.
svn path=/trunk/; revision=22554
2007-05-21 19:55:04 +00:00
Sven Neumann
4e2a8c5a9b
also look for automake-1.10.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* autogen.sh: also look for automake-1.10.
svn path=/trunk/; revision=22553
2007-05-21 16:54:31 +00:00
Sven Neumann
9b369d8f6b
documentation.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/core/gimp.c (gimp_message): documentation.
* app/actions/documents-commands.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimptoolbox-dnd.c: pass parent widgets to gimp_message().
svn path=/trunk/; revision=22552
2007-05-21 16:32:52 +00:00
Sven Neumann
618f648c21
pass the GimpProgress to gimp_message().
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): pass the
GimpProgress to gimp_message().
* plug-ins/common/bumpmap.c: reduced number of progress updates.
svn path=/trunk/; revision=22551
2007-05-21 15:57:22 +00:00
Jakub Steiner
d5c5fba814
the "joy of gimp"
...
2007-05-21 Jakub Steiner <jimmac@ximian.com>
* plug-ins/helpbrowser/wilber-reading.{svg,png}: the "joy of gimp"
svn path=/trunk/; revision=22550
2007-05-21 14:57:37 +00:00
Sven Neumann
ce6a591cdc
formatting.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/composite/gimp-composite.h: formatting.
svn path=/trunk/; revision=22549
2007-05-21 14:38:15 +00:00
Sven Neumann
2368d57c53
do nothing unless configured with --enable-gtk-doc-app.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/Makefile.am: do nothing unless configured with
--enable-gtk-doc-app.
svn path=/trunk/; revision=22548
2007-05-21 10:08:15 +00:00
Sven Neumann
aa6d67c914
use 'program-name' instead of 'name' when compiling against GTK+ >= 2.11.0
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/dialogs/about-dialog.c: use 'program-name' instead of
'name'
when compiling against GTK+ >= 2.11.0 (see bug #345822 ). Also
set
the title explicitely (see bug #418434 ).
svn path=/trunk/; revision=22547
2007-05-21 07:53:01 +00:00
Sven Neumann
b5b732f62a
use a #define for the default resolution.
...
2007-05-21 Sven Neumann <sven@gimp.org>
* app/core/gimptemplate.c: use a #define for the default
resolution.
svn path=/trunk/; revision=22546
2007-05-21 06:48:31 +00:00
Sigurd Gartmann
a0d5727608
Updated Bokmål Norwegian translation.
...
2007-05-21 Sigurd Gartmann <sigurdga@yahoo-inc.com>
* nb.po: Updated Bokmål Norwegian translation.
svn path=/trunk/; revision=22545
2007-05-21 00:12:33 +00:00
Sigurd Gartmann
0794ee64c0
Updated Bokmål Norwegian translation.
...
2007-05-21 Sigurd Gartmann <sigurdga@yahoo-inc.com>
* nb.po: Updated Bokmål Norwegian translation.
svn path=/trunk/; revision=22544
2007-05-20 23:35:41 +00:00
Simon Budig
af3fa9409b
correctly pad the path name.
...
2007-05-20 Simon Budig <simon@gimp.org>
* plug-ins/common/tiff-save.c: correctly pad the path name.
svn path=/trunk/; revision=22543
2007-05-20 18:43:22 +00:00
Sven Neumann
dc26524025
moved duplicated code to a utility function.
...
2007-05-20 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c: moved duplicated code to a utility
function.
svn path=/trunk/; revision=22542
2007-05-20 18:19:10 +00:00