Sven Neumann
cbe5056dc7
minor improvements.
...
2007-05-31 Sven Neumann <sven@gimp.org>
* libgimpwidgets/test-preview-area.c: minor improvements.
svn path=/trunk/; revision=22688
2007-05-31 13:30:35 +00:00
Sven Neumann
905e80d497
build test-preview-area to avoid bit rot.
...
2007-05-31 Sven Neumann <sven@gimp.org>
* libgimpwidgets/Makefile.am: build test-preview-area to avoid bit
rot.
* libgimpwidgets/test-preview-area.c: fixed compilation.
svn path=/trunk/; revision=22687
2007-05-31 13:18:13 +00:00
Sven Neumann
527bb2e757
unified progress strings.
...
2007-05-31 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-convert.c: unified progress strings.
svn path=/trunk/; revision=22686
2007-05-31 13:08:19 +00:00
Sven Neumann
903b310f18
minor code cleanup.
...
2007-05-31 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-convert.c: minor code cleanup.
svn path=/trunk/; revision=22685
2007-05-31 12:55:33 +00:00
Sven Neumann
3f1114859f
allocate structs using GSlice.
...
2007-05-31 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/queue.c: allocate structs using GSlice.
svn path=/trunk/; revision=22684
2007-05-31 12:25:42 +00:00
Mukund Sivaraman
2957d402cf
plug-ins/Lighting/lighting_ui.c Specify maximum field width in fscanf() to
...
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/Lighting/lighting_ui.c
* plug-ins/FractalExplorer/Dialogs.c: Specify maximum field width in
fscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22683
2007-05-31 10:35:06 +00:00
Mukund Sivaraman
1bf9e5623a
Specify maximum field width in sscanf() to avoid buffer overflows.
...
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig.c: Specify maximum field width in sscanf() to
avoid buffer overflows.
svn path=/trunk/; revision=22682
2007-05-31 10:30:46 +00:00
Mukund Sivaraman
97ded8c030
Don't write to an uninitialized pointer (end).
...
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/spheredesigner.c: Don't write to an uninitialized
pointer (end).
svn path=/trunk/; revision=22681
2007-05-31 10:15:06 +00:00
Mukund Sivaraman
43360ede74
Specify maximum field width in sscanf() to avoid buffer overflows.
...
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Specify maximum field width in
sscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22680
2007-05-31 10:09:06 +00:00
Mukund Sivaraman
188196bdaf
Specify maximum field width in fscanf() to avoid buffer overflows.
...
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gflare/gflare.c: Specify maximum field width in
fscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22679
2007-05-31 10:01:44 +00:00
Mukund Sivaraman
c5fafe783f
Added format strings to dangerous fprintf() calls without them which
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/mail.c: Added format strings to dangerous
fprintf() calls without them which directly print variable data.
svn path=/trunk/; revision=22678
2007-05-30 17:57:26 +00:00
Mukund Sivaraman
bf49055820
Use a macro for size of style text entries array.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Use a macro for size of style text
entries array.
svn path=/trunk/; revision=22677
2007-05-30 17:48:50 +00:00
Mukund Sivaraman
7a377dafe2
Replaced hardcoded constant with sizeof array.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/decompose.c: Replaced hardcoded constant with
sizeof array.
svn path=/trunk/; revision=22676
2007-05-30 17:40:22 +00:00
Mukund Sivaraman
e6d21475d3
Replaced g_malloc()+sprintf() with more safe g_strdup_printf().
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/gtm.c: Replaced g_malloc()+sprintf() with more
safe g_strdup_printf().
svn path=/trunk/; revision=22675
2007-05-30 17:37:42 +00:00
Mukund Sivaraman
5163b6fcd0
Use strncpy() instead of strcpy() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/decompose.c: Use strncpy() instead of strcpy() to
avoid buffer overflows.
svn path=/trunk/; revision=22674
2007-05-30 17:26:24 +00:00
Mukund Sivaraman
f111033d15
Specify maximum field width in sscanf() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/compose.c: Specify maximum field width in
sscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22673
2007-05-30 17:15:38 +00:00
Mukund Sivaraman
edd086bb5f
Specify maximum field width in fscanf() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/channel_mixer.c: Specify maximum field width in
fscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22672
2007-05-30 17:11:13 +00:00
Mukund Sivaraman
97ab35b5ea
Check and handle case where number of style items read can overflow the
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Check and handle case where number of
style items read can overflow the buffer.
svn path=/trunk/; revision=22671
2007-05-30 16:44:38 +00:00
Mukund Sivaraman
5cb2e5c6b5
Replaced use of g_new()+strcpy() with g_strdup().
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Replaced use of g_new()+strcpy() with
g_strdup().
svn path=/trunk/; revision=22670
2007-05-30 16:40:25 +00:00
Mukund Sivaraman
dbe7d7af81
Use strncpy() instead of strcpy() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/winsnap/winsnap.c: Use strncpy() instead of strcpy() to
avoid buffer overflows.
svn path=/trunk/; revision=22669
2007-05-30 16:22:45 +00:00
Mukund Sivaraman
a3b97fc77a
Replaced use of g_malloc()+strcpy() with g_strdup().
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/xjt/xjt.c: Replaced use of g_malloc()+strcpy() with
g_strdup().
svn path=/trunk/; revision=22668
2007-05-30 16:14:03 +00:00
Mukund Sivaraman
ddd9121be0
Use strncpy() instead of strcpy() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/gqbist.c: Use strncpy() instead of strcpy() to
avoid buffer overflows.
svn path=/trunk/; revision=22667
2007-05-30 16:00:10 +00:00
Mukund Sivaraman
8b3e91c015
Use strncpy() instead of strcpy() to avoid buffer overflows.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/gtm.c: Use strncpy() instead of strcpy() to avoid
buffer overflows.
svn path=/trunk/; revision=22666
2007-05-30 15:54:00 +00:00
Mukund Sivaraman
327a683cd4
Removed redundant image_ID declaration that shadowed an outer variable
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/jpeg/jpeg.c: Removed redundant image_ID declaration that
shadowed an outer variable needlessly (found using Splint).
svn path=/trunk/; revision=22665
2007-05-30 14:10:10 +00:00
Jakub Friedl
90bc002a6e
Updated Czech translation.
...
2007-05-30 Jakub Friedl <jfriedl@suse.cz>
* cs.po: Updated Czech translation.
svn path=/trunk/; revision=22664
2007-05-30 13:26:54 +00:00
Mukund Sivaraman
23ff5cc24f
Initialize spline.linearity before use.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/fit.c: Initialize spline.linearity before use.
svn path=/trunk/; revision=22663
2007-05-30 13:13:21 +00:00
Mukund Sivaraman
f136f00756
Initialize spline.linearity before use.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/spline.c: Initialize spline.linearity before use.
svn path=/trunk/; revision=22662
2007-05-30 12:54:15 +00:00
Mukund Sivaraman
eedd56c67a
plug-ins/script-fu/re/split.c plug-ins/script-fu/re/split.h
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/script-fu/re/split.c
* plug-ins/script-fu/re/split.h
* plug-ins/script-fu/re/main.c
* plug-ins/script-fu/re/Makefile.am: Created a header file (split.h)
and added a prototype for split().
svn path=/trunk/; revision=22661
2007-05-30 12:02:11 +00:00
Sven Neumann
ade4dd09d5
formatting
...
svn path=/trunk/; revision=22660
2007-05-30 11:56:52 +00:00
Mukund Sivaraman
f67306c1d3
Added missing include.
...
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* app/tools/gimpdrawtool.c: Added missing include.
* app/tools/gimpbycolorselecttool.c: Removed unused variable.
* app/plug-in/gimpenvirontable.c: Added cast for callback function.
* plug-ins/script-fu/tinyscheme/scheme.c: Correctly cast pointer to
an long integer type.
svn path=/trunk/; revision=22659
2007-05-30 11:49:14 +00:00
Sven Neumann
2e32d33c6d
set a filename based on the image name. Based on a patch from Kevin
...
2007-05-30 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): set a
filename based on the image name. Based on a patch from Kevin
Hurewitz (bug #317916 ).
* plug-ins/twain/tw_mac.c: don't use C++ style comments.
svn path=/trunk/; revision=22658
2007-05-30 07:23:10 +00:00
Sven Neumann
bb89e53743
minor code cleanup.
...
2007-05-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/postscript.c: minor code cleanup.
svn path=/trunk/; revision=22657
2007-05-29 15:29:37 +00:00
Sven Neumann
b67046ab96
few more updates
...
svn path=/trunk/; revision=22656
2007-05-29 10:32:15 +00:00
Sven Neumann
2a01c7e706
app/app-sections.txt minor updates.
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/app-sections.txt
* app/app-docs.sgml: minor updates.
svn path=/trunk/; revision=22655
2007-05-29 10:10:45 +00:00
Sven Neumann
2581c9437e
removed unused typedef.
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/base/base-types.h: removed unused typedef.
svn path=/trunk/; revision=22654
2007-05-29 09:57:40 +00:00
Sven Neumann
86eaa1fa06
no need to use memcpy here
...
svn path=/trunk/; revision=22653
2007-05-29 09:57:13 +00:00
Sven Neumann
2027fdf9ab
use GSlice to allocate the transform matrix.
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/tools/gimpdrawtool.c: use GSlice to allocate the transform
matrix.
svn path=/trunk/; revision=22652
2007-05-29 09:44:31 +00:00
Sven Neumann
b19ebc29f9
don't memdup gslice-allocated memory.
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/vectors/gimpvectors-import.c: don't memdup gslice-allocated
memory.
svn path=/trunk/; revision=22651
2007-05-29 09:25:22 +00:00
Sven Neumann
7c4bbafe75
app/core/gimpimage.c (gimp_image_parasite_attach) allocate the temporary
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/core/gimpimage.c (gimp_image_parasite_attach)
* app/core/gimpitem.c (gimp_item_parasite_attach): allocate the
temporary GimpParasite copy on the stack.
svn path=/trunk/; revision=22650
2007-05-29 09:23:34 +00:00
Michael Natterer
6ef6576ab3
set "linked" and "lock-alpha" to FALSE too.
...
2007-05-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): set
"linked" and "lock-alpha" to FALSE too.
svn path=/trunk/; revision=22649
2007-05-29 09:12:42 +00:00
Sven Neumann
3081e02db0
renamed tile_sanitize_rowhints() to tile_allocate_rowhints().
...
2007-05-29 Sven Neumann <sven@gimp.org>
* app/base/tile.[ch]: renamed tile_sanitize_rowhints() to
tile_allocate_rowhints().
* app/base/tile-manager.c
* app/paint-funcs/paint-funcs.c: changed accordingly.
svn path=/trunk/; revision=22648
2007-05-29 09:06:15 +00:00
Michael Natterer
18d586fb1d
also set the mode of the new layer to NORMAL and its opacity to OPAQUE.
...
2007-05-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): also
set the mode of the new layer to NORMAL and its opacity to OPAQUE.
svn path=/trunk/; revision=22647
2007-05-29 09:03:16 +00:00
Mukund Sivaraman
c705096434
Use C89 declarations.
...
2007-05-29 Mukund Sivaraman <muks@mukund.org>
* plug-ins/imagemap/imap_object.c: Use C89 declarations.
svn path=/trunk/; revision=22646
2007-05-29 02:31:15 +00:00
Michael Natterer
11f6b6d005
app/display/gimpdisplayshell-dnd.c make drop-duplicated drawables visible
...
2007-05-29 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-dnd.c
* app/widgets/gimptoolbox-dnd.c: make drop-duplicated drawables
visible before adding them to the image. Spotted by Jimmac.
svn path=/trunk/; revision=22645
2007-05-28 23:44:38 +00:00
Manish Singh
6f26979be4
plug-ins/pygimp/gimpcolormodule.c plug-ins/pygimp/gimpenumsmodule.c
...
2007-05-28 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpcolormodule.c
* plug-ins/pygimp/gimpenumsmodule.c
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/gimpthumbmodule.c
* plug-ins/pygimp/gimpuimodule.c
* plug-ins/pygimp/pygimp-drawable.c
* plug-ins/pygimp/pygimp-image.c
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/pygimp/pygimp-tile.c: cleanups.
svn path=/trunk/; revision=22644
2007-05-28 22:26:22 +00:00
Michael Natterer
91ca374788
allocate tile->rowhint using tile_sanitize_rowhints() (which uses GSlice)
...
2007-05-28 Michael Natterer <mitch@gimp.org>
* app/base/tile-manager.c (tile_manager_get): allocate
tile->rowhint using tile_sanitize_rowhints() (which uses GSlice)
instead of g_memdup(). Fixes bug #441878 .
svn path=/trunk/; revision=22643
2007-05-28 21:27:15 +00:00
Michael Natterer
2fe95848c5
Don't leave the user without progress bar just because the display's
...
2007-05-28 Michael Natterer <mitch@gimp.org>
Don't leave the user without progress bar just because the
display's statusbar is invisible:
* app/display/gimpstatusbar.[ch]: if the statusbar is invisible
when a progress wants to be shown, temporarily show it, recording
the fact in the new boolean "progress_shown" member. Added new API
gimp_statusbar_get/set_visible() which is aware of the new
temporary visibility state.
* app/display/gimpdisplayshell-appearance.c
(gimp_display_shell_set_show_statusbar)
* app/display/gimpdisplayshell-progress.c
(gimp_display_shell_progress_message): use the new API instead of
showing/hiding the widget directly.
svn path=/trunk/; revision=22642
2007-05-28 17:42:55 +00:00
Michael Natterer
53f70a7eea
derive from GtkWidget instead of GtkDrawingArea so we save a GdkWindow and
...
2007-05-28 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpfgbgview.[ch]: derive from GtkWidget instead of
GtkDrawingArea so we save a GdkWindow and render on the correct
background color also for inactive notebook tabs.
svn path=/trunk/; revision=22641
2007-05-28 14:08:15 +00:00
Wadim Dziedzic
0530f9f09d
Updated Polish translation by GNOME PL Team.
...
2007-05-28 Wadim Dziedzic <wadimd@svn.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
svn path=/trunk/; revision=22640
2007-05-28 10:45:38 +00:00
Wadim Dziedzic
9a956cc449
Updated Polish translation by GNOME PL Team.
...
2007-05-28 Wadim Dziedzic <wadimd@svn.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
svn path=/trunk/; revision=22639
2007-05-28 10:40:24 +00:00