Michael Natterer
0a1a2915d0
plug-ins: implement GObject::constructed() instead of ::constructor()
2011-01-14 09:38:46 +01:00
Michael Schumacher
e77dd90fc0
Bug 574018 - Add a manifest to executables
...
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.
If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Roman Joost
a4ccfcee72
Default XMP_TYPE_LANG_ALT to "x-default" according to spec.
...
To prevent a crash of the meta-data plug-in during export, the encoding
process now falls back to x-default for XMP_TYPE_LANG_ALT properties.
2010-05-24 21:44:51 +10:00
Roman Joost
45a8d2c63c
Make use of the XMPModel widget interface.
...
The GtkEntry is re-factored to use the XMPModel based interface.
2010-05-14 18:11:53 +10:00
Roman Joost
b124fe6de6
New GtkTextView widget based on the XMPModel widget.
...
The new widget provides editing capabilities for the description and
keywords. It uses the new interface for XMPModel widgets.
2010-05-14 18:11:53 +10:00
Roman Joost
c628c1e949
New interface for XMPModel-based gtkwidgets.
...
The new interface provides a common set of methods used by other gtk
widgets (e.g. GtkEntry). This interface is bound to the XMPModel
allowing writing/reading to and from the XMPModel utilised by the
widgets.
2010-05-14 18:11:53 +10:00
Sven Neumann
f0348aff40
some minor code cleanups
2009-12-27 13:28:14 +01:00
Roman Joost
3749f2c62c
Revamped the GimpXmpModelEntry object initialisation.
...
It is now possible to create an entry widget by using g_object_new and
provide three parameters: the schema_uri, the property name you want to
subscribe and an instance of an xmp-model.
2009-12-27 10:03:30 +01:00
Roman Joost
1c8255de59
Code cleanup.
...
I changed the name of the GimpXMPModelEntry, which reads now better as
GimpXmpModelEntry. I removed functions in the interface, which are not
in use anymore, because of the code improvements in the entry widget and
the XMPModel. The new entry widget is not build as a library anymore.
2009-12-27 10:03:28 +01:00
Roman Joost
9578088ce8
Set the correct icons if the entry changed a property in the XMPModel and use the new EntryWidget for the caption writer as well.
2009-12-27 10:03:26 +01:00
Roman Joost
3705c85e1e
Implemented better signal handling for property-changed events.
...
The XMPModel listens now on the row-changed event and checks if the row
belong to a property or schema change. If a property change occured a
detailed property-changed signal is emitted. A detailed schema-changed
signal is currently not emitted, because not implemented.
2009-12-27 10:03:23 +01:00
Roman Joost
a13e4692fb
Registered new GimpXMPModelEntry, connected it with the XMPModel.
...
The new entry widget now makes use of the detailed signal from the
XMPModel.
2009-12-27 10:03:19 +01:00
Manish Singh
15497c1d68
Explicit shared lib deps to support gold
2009-09-09 17:41:20 -07:00
Sven Neumann
a22d72971a
Bug 593485 - the metadata plugin crashes
...
Remove xmp_model_free() and instead do the work in the GObject:finalize
method. Call g_object_unref() where xmp_model_free() used to be used.
2009-09-01 09:40:41 +02:00
Sven Neumann
e032ad3b8e
metadata: formatting
2009-08-16 12:06:54 +02:00
Roman Joost
dc249d4dc3
XMP Model now emits a property-changed signal incl. a detail.
...
The client can now subscribe to a specific property-change signal. The
detail is provided as <xmp-schema-prefix>:<xmp-property-name>. The
xmpdump test program was used to verify that the implementation works.
2009-08-15 19:47:49 +10:00
Roman Joost
f436ffd722
Changed XMPModel to GtkTreeStore based object with one custom signal.
...
The XMPModel now emits a property-changed signal, if the property value
has been changed by xmp_model_set_scalar_property.
2009-08-15 19:47:49 +10:00
Massimo Valentini
b28b0e4687
Bug 493778 – metadata plug-in crashes on some images
...
The problem is that the parser adds an empty property value when
parsing an empty Alt-array, "<rdf:Alt/>".
But when it is encoded it is expected to be in the form of a NULL
terminated array of pairs of property values, with the result that the
NULL terminator is considered the second element of the first pair and
the loop encoding these properties goes beyond the end of the array,
thus dereferencing invalid pointers.
This commit alters the parser to avoid adding dummy values when empty
rdf:Alt, rdf:Bag and rdf:Seq elements are found.
2009-07-20 17:51:21 +02:00
Michael Natterer
e805cb0cf4
Use gtk_dialog_get_content_area() instead of dialog->vbox
2009-07-15 18:57:12 +02:00
Martin Nordholts
c6798bc247
plug-ins: Use string literal as format in metadata plug-in
2009-07-14 12:28:01 +02:00
Roman Joost
75484699da
Disabled the build of the metadata plugin if libexif is disabled.
...
Relates to Bug 587172 - Merge Exif data with XMP model.
2009-07-07 12:01:03 +10:00
Roman Joost
5bc14cdc96
Reformatted source code and removed unused prototypes.
2009-06-30 18:41:38 +10:00
Roman Joost
46ad0f6c2a
Replace open by save button in the export dialog.
...
The interface.c was retabbed before to remove existing tabs and replace
them with spaces.
2009-06-30 18:27:01 +10:00
Roman Joost
e0fddee128
Set scalar properties for XMP (exif).
2009-06-30 18:27:01 +10:00
Roman Joost
7230d2673c
Merges the exif-data to the xmp-model.
...
Added a function to merge the Exif data into the xmp model. The function
is using the image id and to access the Exif data parasite. For each
Exif property a corresponding value in the XMP model is created.
2009-06-30 18:22:29 +10:00
Michael Schumacher
eed061efbb
Adding Microsoft Windows executables to the .gitignore files
...
All binaries have been added individually.
Old binaries are supposed to show up as untracked.
2009-06-19 00:14:17 +02:00
Michael Natterer
9a5afb3a1e
plug-ins/file-faxg3/Makefile.am plug-ins/help/Makefile.am add
...
2009-02-12 Michael Natterer <mitch@gimp.org>
* plug-ins/file-faxg3/Makefile.am
* plug-ins/help/Makefile.am
* plug-ins/metadata/Makefile.am: add $(libgimpconfig) to LDADD
where it was missing. Libgimp pulls in libgimpconfig and these
plug-ins were linking against the installed libgimpconfig under
some #$&%*#%&%$& .la file circumstances.
svn path=/trunk/; revision=28017
2009-02-12 20:35:21 +00:00
Martin Nordholts
4d7a6b10d1
Added .gitignore files generated with git svn create-ignore.
...
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer
4ea1437646
plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
...
2009-01-19 Michael Natterer <mitch@gimp.org>
* plug-ins/common/*.c
* plug-ins/color-rotate/color-rotate.c
* plug-ins/file-bmp/bmp.c
* plug-ins/file-faxg3/faxg3.c
* plug-ins/file-fits/fits.c
* plug-ins/file-fli/fli-gimp.c
* plug-ins/file-ico/ico.c
* plug-ins/file-jpeg/jpeg.c
* plug-ins/file-psd/psd-save.c
* plug-ins/file-psd/psd.c
* plug-ins/file-sgi/sgi.c
* plug-ins/file-uri/uri.c
* plug-ins/file-xjt/xjt.c
* plug-ins/flame/flame.c
* plug-ins/fractal-explorer/fractal-explorer.c
* plug-ins/gfig/gfig.c
* plug-ins/gimpressionist/gimp.c
* plug-ins/gradient-flare/gradient-flare.c
* plug-ins/help-browser/help-browser.c
* plug-ins/ifs-compose/ifs-compose.c
* plug-ins/imagemap/imap_main.c
* plug-ins/lighting/lighting-main.c
* plug-ins/map-object/map-object-main.c
* plug-ins/maze/maze.c
* plug-ins/metadata/metadata.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/print/print.c
* plug-ins/pygimp/gimpfu.py
* plug-ins/script-fu/script-fu-script.c
* plug-ins/script-fu/script-fu.c
* plug-ins/selection-to-path/selection-to-path.c
* plug-ins/twain/twain.c
* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
as we document enums for core procedures.
svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann
11e495c92c
use GSlice to allocate structs.
...
2008-10-19 Sven Neumann <sven@gimp.org>
* plug-ins/metadata/xmp-parse.c: use GSlice to allocate structs.
svn path=/trunk/; revision=27333
2008-10-19 16:55:42 +00:00
Sven Neumann
186ac9c6d8
plug-ins/metadata/xmp-encode.c plug-ins/metadata/xmp-parse.c
...
2008-10-19 Sven Neumann <sven@gimp.org>
* plug-ins/metadata/xmp-encode.c
* plug-ins/metadata/xmp-parse.c
* plug-ins/metadata/metadata.c
* plug-ins/metadata/xmpdump.c: removal of unused includes and
other minor cleanups.
svn path=/trunk/; revision=27332
2008-10-19 16:44:40 +00:00
Sven Neumann
6204aa3222
Bug 493778 – metadata plug-in crashes on some images
...
2008-10-19 Sven Neumann <sven@gimp.org>
Bug 493778 – metadata plug-in crashes on some images
* plug-ins/metadata/xmp-encode.c (gen_property): introduced a
utility function to create XML elements. Deal gracefully with
NULL
and empty values. Does not fix the crash, but fixes a warning
that
has been reported in the same bug report.
svn path=/trunk/; revision=27323
2008-10-19 13:29:35 +00:00
Mukund Sivaraman
f87f2ba907
plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c
...
2008-03-29 Mukund Sivaraman <muks@mukund.org>
* plug-ins/imagemap/imap_cmd_move.c
* plug-ins/imagemap/imap_cmd_object_up.c
* plug-ins/imagemap/imap_cmd_move_up.c
* plug-ins/imagemap/imap_cmd_move_selected.c
* plug-ins/imagemap/imap_cmd_move_sash.c
* plug-ins/imagemap/imap_cmd_object_move.c
* plug-ins/imagemap/imap_cmd_object_down.c
* plug-ins/imagemap/imap_object.c
* plug-ins/imagemap/imap_cmd_move_down.c
* plug-ins/map-object/map-object-shade.c
* plug-ins/map-object/map-object-apply.c
* plug-ins/maze/maze.h
* plug-ins/maze/maze_face.c
* plug-ins/selection-to-path/selection-to-path.c
* plug-ins/selection-to-path/edge.c
* plug-ins/selection-to-path/pxl-outline.c
* plug-ins/selection-to-path/fit.c
* plug-ins/xjt/xjt.c
* plug-ins/metadata/xmp-parse.c
* plug-ins/print/print-draw-page.c
* plug-ins/print/print-settings.c
* plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
issues reported by Sparse.
svn path=/trunk/; revision=25296
2008-03-29 09:25:34 +00:00
Raphael Quinet
9795a920b1
plug-ins/metadata/metadata.c plug-ins/metadata/xmp-model.c replaced calls
...
2007-10-02 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/metadata.c
* plug-ins/metadata/xmp-model.c
* plug-ins/metadata/xmp-encode.c: replaced calls to g_warning() by
g_printerr().
svn path=/trunk/; revision=23716
2007-10-02 09:15:34 +00:00
Raphael Quinet
fb5284e50d
escape the text values output in the XMP packet. Based on a bug report and
...
2007-08-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-encode.c (gen_property): escape the text
values output in the XMP packet. Based on a bug report and patch
by John Marshall. Fixes bug #455481 .
svn path=/trunk/; revision=23398
2007-08-29 19:32:39 +00:00
Sven Neumann
05c9bfa3b1
plug-ins/metadata/xmp-encode.c don't include gimpui.h.
...
2007-06-27 Sven Neumann <sven@gimp.org>
* plug-ins/metadata/xmp-encode.c
* plug-ins/metadata/xmp-model.c: don't include gimpui.h.
* plug-ins/metadata/Makefile.am: don't build interface.c, don't
link with libgimpui and libgimpwidgets.
* plug-ins/metadata/metadata.c: don't register the metadata editor.
svn path=/trunk/; revision=22852
2007-06-27 12:04:28 +00:00
Raphael Quinet
9570934d39
quick workaround for bug #436077 . A better solution will follow later.
...
2007-05-08 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-encode.c (gen_property): quick workaround
for bug #436077 . A better solution will follow later.
svn path=/trunk/; revision=22457
2007-05-08 20:45:29 +00:00
Sven Neumann
e685c1f189
clean gimpversion.h.
...
2007-05-06 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am (DISTCLEANFILES): clean gimpversion.h.
* plug-ins/metadata/Makefile.am (CLEANFILES): clean testbase64.
* po/Makefile.in.in (mostlyclean): clean
.intltool-merge-cachemake
* tools/pdbgen/Makefile.am: use DISTCLEANFILES instead of
MAINTAINERCLEANFILES.
svn path=/trunk/; revision=22433
2007-05-06 13:54:56 +00:00
Mukund Sivaraman
93a7fc76a5
plug-ins/imagemap/imap_preferences.c plug-ins/gflare/gflare.c
...
2007-04-27 Mukund Sivaraman <muks@mukund.org>
* plug-ins/imagemap/imap_preferences.c
* plug-ins/gflare/gflare.c
* plug-ins/Lighting/lighting_ui.c
* plug-ins/xjt/xjt.c
* plug-ins/metadata/xmp-parse.c
* plug-ins/flame/flame.c
* plug-ins/common/curve_bend.c
* plug-ins/common/compressor.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/mail.c
* plug-ins/common/CML_explorer.c
* plug-ins/ifscompose/ifscompose.c: Open files in binary mode
("rb" and "wb").
svn path=/trunk/; revision=22351
2007-04-26 20:31:01 +00:00
Raphael Quinet
7a1cdb8bfe
made the parser more tolerant and accept XMP blocks that are not using the
...
2007-04-12 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-parse.c: made the parser more tolerant and
accept XMP blocks that are not using the namespace prefixes
recommended by the XMP specification.
svn path=/trunk/; revision=22242
2007-04-12 16:17:01 +00:00
Sven Neumann
b99f99f16c
plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c
...
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve_bend.c
* plug-ins/common/depthmerge.c
* plug-ins/common/neon.c
* plug-ins/common/nlfilt.c
* plug-ins/common/pix.c
* plug-ins/common/psd.c
* plug-ins/common/spheredesigner.c
* plug-ins/metadata/interface.c
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/xjt/xjpeg.c
* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().
svn path=/trunk/; revision=21947
2007-02-19 10:37:33 +00:00
Sven Neumann
d055b8f77a
plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
...
2007-02-02 Sven Neumann <sven@gimp.org>
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/Lighting/lighting_ui.c
* plug-ins/common/CML_explorer.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/gqbist.c
* plug-ins/common/spheredesigner.c
* plug-ins/flame/flame.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gimpressionist/brush.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/imagemap/imap_file.c
* plug-ins/metadata/interface.c
* plug-ins/script-fu/script-fu-console.c: set
do-overwrite-confirmation on file save dialogs and removed custom
confirmation dialogs where present.
svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
Sven Neumann
930d6149da
removed all .cvsignore files from SVN
...
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Simon Budig
e48c677fec
fixed typo spotted by John Marshall (bug #377811 ). Thanks for spotting
...
2006-11-21 Simon Budig <simon@gimp.org>
* plug-ins/metadata/metadata.h: fixed typo spotted by John Marshall
(bug #377811 ). Thanks for spotting this.
2006-11-21 16:49:48 +00:00
Sven Neumann
f4b0133050
set a border width of 12 on the toplevel container.
...
2006-08-10 Sven Neumann <sven@gimp.org>
* plug-ins/metadata/interface.c (metadata_dialog): set a border
width of 12 on the toplevel container.
2006-08-10 11:16:33 +00:00
Michael Natterer
d8285d0dd9
plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c
...
2006-06-17 Michael Natterer <mitch@gimp.org>
* plug-ins/common/animationplay.c
* plug-ins/common/colormap-remap.c
* plug-ins/common/gbr.c
* plug-ins/common/gih.c
* plug-ins/common/gnomeprint.c
* plug-ins/common/mail.c
* plug-ins/common/pat.c
* plug-ins/common/plugin-browser.c
* plug-ins/common/plugin-defs.pl
* plug-ins/common/screenshot.c
* plug-ins/common/uniteditor.c
* plug-ins/metadata/metadata.c
* plug-ins/print/print.c
* plug-ins/uri/uri.c: cast stock-ids passed to
gimp_plugin_icon_register() to (const guint8 *).
2006-06-17 12:21:47 +00:00
Raphael Quinet
088950c283
protect against broken XMP blocks using rdf:Alt instead of rdf:Seq. Fixes
...
2006-05-30 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-parse.c: protect against broken XMP blocks
using rdf:Alt instead of rdf:Seq. Fixes bug #343315 .
* plug-ins/metadata/xmpdump.c (main): call g_set_prgname() to get
better messages from glib.
* data/images/gimp-splash.png: new splash screen, waiting for the
old animation feature to be restored.
2006-05-30 22:20:53 +00:00
Manish Singh
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
Sven Neumann
a450ba46bb
declared GimpPlugInInfo and GimpParamDef arrays as const.
...
2006-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/*/*.c: declared GimpPlugInInfo and GimpParamDef arrays
as const.
2006-05-16 12:26:20 +00:00