30073a15cb
#define _GNU_SOURCE instead of _SVID_SOURCE, so we get all the
...
2006-05-30 Manish Singh <yosh@gimp.org >
* app/file/gimprecentlist.c: #define _GNU_SOURCE instead of
_SVID_SOURCE, so we get all the declarations we need. Fixes
bug #342390 .
2006-05-30 07:22:53 +00:00
c7ba1223c3
app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c
...
2006-05-29 Manish Singh <yosh@gimp.org >
* app/errors.c
* app/main.c
* app/file/gimprecentlist.c
* libgimp/gimp.c
* libgimpbase/gimpsignal.c
* modules/cdisplay_lcms.c
* modules/cdisplay_proof.c
* modules/controller_midi.c
* plug-ins/common/gqbist.c
* plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building
with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to
Daniel Richard G. for the patch. Fixes bug #342390 .
2006-05-30 01:55:42 +00:00
049872b361
app/*.[ch] converted tabs to spaces.
...
2006-04-12 Sven Neumann <sven@gimp.org >
* app/*.[ch]
* app/*/*.[ch]: converted tabs to spaces.
2006-04-12 12:49:29 +00:00
4839271341
app/core/gimpdata.c app/file/file-save.c use g_access() from gstdio.h.
...
2005-09-26 Sven Neumann <sven@gimp.org >
* app/core/gimpdata.c
* app/file/file-save.c
* app/file/file-open.c: use g_access() from gstdio.h.
* app/config/gimpconfig-file.c (gimp_config_file_copy)
* libgimpthumb/gimpthumbnail.c: use g_chmod() from gstdio.h.
* app/file/gimprecentlist.c
* libgimpconfig/gimpconfigwriter.c: use g_creat() from gstdio.h.
2005-09-25 23:22:05 +00:00
6c178549bc
close the file descriptor if we fail to obtain the lock (bug #151767 ).
...
2005-04-25 Sven Neumann <sven@gimp.org >
* app/file/gimprecentlist.c (gimp_recent_list_add_item): close the
file descriptor if we fail to obtain the lock (bug #151767 ).
2005-04-25 16:24:20 +00:00
74002a72e1
app/dialogs/user-install-dialog.c app/file/gimprecentlist.c
...
2005-03-04 Sven Neumann <sven@gimp.org >
* app/dialogs/user-install-dialog.c
* app/file/gimprecentlist.c
* app/widgets/gimpwidgets-utils.c
* modules/controller_linux_input.c
* modules/controller_midi.c
* plug-ins/common/compressor.c
* plug-ins/common/mail.c
* plug-ins/common/psp.c
* plug-ins/common/raw.c
* plug-ins/helpbrowser/dialog.c
* plug-ins/imagemap/imap_cern.y
* plug-ins/imagemap/imap_cern_parse.[ch]
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_csim_parse.[ch]
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_ncsa.y
* plug-ins/imagemap/imap_ncsa_parse.[ch]
* plug-ins/uri/uri.c
* plug-ins/xjt/xjt.c: ported the remaining functions to gstdio.
2005-03-04 19:13:21 +00:00
5d01581069
Fix a bunch of warnings from Sparse:
...
2004-11-13 Manish Singh <yosh@gimp.org >
Fix a bunch of warnings from Sparse:
* app/actions/dockable-commands.c
* app/actions/layers-actions.c
* app/actions/view-commands.c
* app/base/pixel-surround.c
* app/config/gimpconfig-utils.c
* app/config/gimpscanner.c
* app/core/gimpbrushgenerated.c
* app/core/gimpcontainer.c
* app/core/gimpimage.c
* app/dialogs/palette-import-dialog.c
* app/file/gimprecentlist.c
* app/plug-in/plug-in-params.c
* app/text/gimptext-compat.c
* app/text/gimptext-parasite.c
* app/vectors/gimpbezierstroke.c
* app/vectors/gimpstroke.c
* app/widgets/gimpcellrendereraccel.c
* app/widgets/gimpselectiondata.c
* app/xcf/xcf.c
* libgimp/gimp.c
* libgimpthumb/gimpthumb-utils.c
* libgimpthumb/gimpthumbnail.c
* modules/cdisplay_proof.c
* plug-ins/Lighting/lighting_ui.c
* plug-ins/common/csource.c
* plug-ins/common/glasstile.c
* plug-ins/common/nova.c
* plug-ins/common/pcx.c
* plug-ins/common/pnm.c
* plug-ins/common/randomize.c
* plug-ins/common/screenshot.c
* plug-ins/common/sel_gauss.c
* plug-ins/common/spheredesigner.c
* plug-ins/common/wind.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/print/gimp_main_window.c
* plug-ins/print/print.c: Cleanup integer vs. pointer confusion.
* app/base/temp-buf.c
* app/dialogs/about-dialog.c
* plug-ins/common/bumpmap.c
* plug-ins/common/jigsaw.c
* plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.
* app/config/gimpconfig-deserialize.c
* app/config/gimpconfig-path.c
* app/config/gimpconfigwriter.c
* app/core/gimpgradient.c
* app/tools/gimpdrawtool.c
* plug-ins/common/nlfilt.c
* plug-ins/common/unsharp.c
* plug-ins/common/zealouscrop.c: Define inline functions before they
are used.
* app/core/gimpdrawable-blend.c: PixelRegion definition was changed
some time ago, but the initialization here didn't change. Fix it.
* app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
assign token twice in a row.
* libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
need to initialize file_data, since the code fills out all the fields.
* plug-ins/common/CML_explorer.c
* plug-ins/common/vpropagate.c: Declare function pointers fully.
* plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
we assume we can use the "inline" keyword always.
* plug-ins/common/psd_save.c
* plug-ins/common/vinvert.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig.c
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/placement.c
* plug-ins/gimpressionist/sizemap.c
* plug-ins/imagemap/imap_grid.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_preferences.c
* plug-ins/imagemap/imap_settings.c
* plug-ins/maze/maze.c
* plug-ins/sel2path/curve.c
* plug-ins/sel2path/fit.c
* plug-ins/sel2path/pxl-outline.c
* plug-ins/sel2path/spline.c
* plug-ins/xjt/xjt.c: Functions with no args should be declared
with (void).
* plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
the compiler.
2004-11-14 02:50:33 +00:00
4473915408
don't write empty groups.
...
2004-09-28 Sven Neumann <sven@gimp.org >
* app/file/gimprecentlist.c (gimp_recent_list_write): don't write
empty groups.
* app/file/gimprecentlist.c: disabled the code for the win32
platform. It doesn't make much sense there anyway. If someone
wants to contribute a win32 specific implementation, we'd welcome
that. A Mac OS X implementation would be nice to have as well.
2004-09-28 21:17:57 +00:00
4c450f2357
seek to the start of the file before calling lockf().
...
2004-09-28 Sven Neumann <sven@gimp.org >
* app/file/gimprecentlist.c: seek to the start of the file before
calling lockf().
2004-09-28 18:57:58 +00:00
5ad16c6fcc
handle EINTR while writing.
...
2004-09-28 Sven Neumann <sven@gimp.org >
* app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle
EINTR while writing.
2004-09-28 12:50:43 +00:00
734464155f
added new convenience function gimp_xml_parser_parse_fd().
...
2004-09-28 Sven Neumann <sven@gimp.org >
* app/config/gimpxmlparser.[ch]: added new convenience function
gimp_xml_parser_parse_fd().
* app/file/Makefile.am
* app/file/gimprecentitem.[ch]
* app/file/gimprecentlist.[ch]: added an implementation of the
recent-files spec as found on freedesktop.org. This code is taken
from libegg and has been edited to fit the GIMP needs.
* app/file/file-open.c
* app/file/file-save.c: update the ~/.recently-used file. Fixes
bug #131206 .
2004-09-28 12:40:34 +00:00