Commit Graph

2735 Commits

Author SHA1 Message Date
Michael Natterer 06673f27e2 Use various GTK+ accessors instead of object->member 2009-10-10 15:10:57 +02:00
Michael Natterer 85274ea1f3 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer e267783c22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer 641c2f4e22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
Michael Natterer 02b1566249 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer b41bca97fb Use gtk_container_child_get() instead of table->children 2009-10-10 15:10:56 +02:00
Michael Natterer 055d10f366 Use gtk_adjustment_get_value() instead of adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer 0458da1832 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
Michael Natterer 9f77899bf1 Use gtk_adjustmenr_get_value() instead of adjustment->value 2009-10-10 15:10:55 +02:00
Michael Natterer 1e47f5c67c Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:55 +02:00
Simon Budig 7a6fe273b7 Formatting fix. Argh. 2009-10-03 00:13:01 +02:00
Simon Budig 73071e4618 Fix crasher and behaviour in the GBR plugin for the GRAYA case. 2009-10-02 22:07:46 +02:00
Martin Nordholts f6eed71a5c plug-ins: Register .data as extension for raw data loader
In order to allow raw data files to be loaded without the need to
explicitly select the file type, make the raw data loader use the
extension ".data".
2009-08-22 10:41:03 +02:00
Sven Neumann 322be18790 remove trailing whitespace 2009-08-18 08:53:12 +02:00
Martin Nordholts ada56e5c2c plug-ins: Improve JPEG2000 error messages
Improve JPEG2000 error messages by using g_set_error() so we don't
throw many different errors in the users face, and make each error
unique and descriptive instead of using the same message regardless of
the type of error.
2009-08-17 23:34:18 +02:00
Martin Nordholts 29d9a94fd0 Bug 522483 – use gtk_show_uri() instead of calling firefox directly
Use gtk_show_uri() instead of g_spawn_async() on a browser.
2009-08-08 15:26:34 +02:00
Martin Nordholts f8930a5aaf plug-ins: Translate win32 error messages in web-browser.c 2009-08-08 10:31:11 +02:00
Michael Natterer f712a316df Bug 589674 – "Send by Email" does not update "Filename"
Use g_filename_display_basename() so it doesn't choke on non-utf8
filenames.
2009-08-01 18:39:18 +02:00
Christopher Howard 9cddfeba73 Bug 589674 – "Send by Email" does not update "Filename"
Remove a conditional so that, in interactive mode, the Send by E-mail
feature always uses the name of the file as the default file field
value, instead of using the previously entered value of the field.
2009-08-01 11:36:14 +02:00
Martin Nordholts cabcc592f0 Bug 582821 – 'Sphere Designer' does not reset correctly...
Make sure to reconstruct the list in the UI when using layers from a
previous invocation.
2009-07-21 18:52:12 +02:00
Barak Itkin 3801e20df8 Bug 582821 – 'Sphere Designer' does not reset correctly...
Make sure to always call rebuildlist() after reseting, including after
interactively clicking the Reset button. Also, we don't need to
restartrender() after rebuildlist() calls since that is done last in
rebuildlist() itself.
2009-07-21 17:53:05 +02:00
Martin Nordholts 19fe919dce plug-ins: Port file plug-ins to new export API 2009-07-21 16:03:58 +02:00
Martin Nordholts 03e9d6de71 Fix more g_mapped_file_free() warnings 2009-07-20 23:08:49 +02:00
Massimo Valentini c78f7d1382 Bug 570353 – first time open of .svg file ignores the requested units
The resolution used to convert the sizes between pixels and units was
only set initially and never updated.
2009-07-20 23:04:41 +02:00
Massimo Valentini e0f21468d4 Bug 555777 – Export to MNG animation fails
'mng_putchunk_plte' and 'mng_putchunk_trns' both copy  the array passed in
as if it was full size even when it is only partly used. This commit wraps
their calls passing the arrays dimensioned correctly.

In function 'respin_cmap', when 'find_unused_ia_colour' returns an index
suitable for transparency the number of colors in the colormap, the
following loop used to access three values beyond the end of the array
'before'.

Finally fix a typo in a call to mng_putchunk_text().
2009-07-20 22:55:43 +02:00
Martin Nordholts 5ad570e3cc Fix compilation errors
Fix compilation errors with obvious fixes.
2009-07-20 12:48:05 +02:00
Martin Nordholts b2b2b41e62 Get rid of artificial compiler warnings
Get rid of artificial compiler warnings generated with the #warning
directive. They pollute the build output and don't work as incentives
for fixing stuff.
2009-07-20 12:47:59 +02:00
Massimo Valentini 65c21b6bc3 Bug 567466 – PNG comment not found if more than 1 tEXt chunks
Fix an oversight: only the first tEXt chunk of a PNG was considered,
though repeatedly, when looking for the comment.
2009-07-16 22:24:59 +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 7976f21a35 plug-ins: Remove unused read_extended_data_block() in file-psd.c 2009-07-14 12:27:58 +02:00
Massimo Valentini a7bca9407d Bug 569661 – Import from PDF throws errors when entering resolution in pixels per millimetre
Fix calculation of dpi value.
2009-07-07 17:09:21 +02:00
Massimo Valentini 34ccca92a5 Bug 567262 – Black pixels appear in "Spread" filter preview
The plug-in makes use of a GimpPixelFetcher to access the source image.
And a GimpPixelFetcher in its default state only returns pixels inside
the bounding box of the selection. Setting its edge-mode to whatever
but GIMP_PIXEL_FETCHER_EDGE_NONE allows to read pixels outside of the
selection.
2009-07-07 17:07:12 +02:00
Christopher Montgomery 780404699e plug-ins: Add missing #include<X11/Xlib.h> that is breaking build 2009-06-28 11:12:16 +02:00
Sven Neumann 2e11cf878a Adapt mkgen.pl to create the .gitignore file with Win32 executables
The .gitignore file in plug-ins/common is created by mkgen.pl, just
like Makefile.am in this directory. Changed the script to also
include names of the Microsoft Windows executables in the created
.gitignore file.
2009-06-19 09:31:10 +02: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 6049768abf Bug 578630 - File Creation Permission Bug Only for Some File Types: Creating as 644 (rw-r--r--) when should be 664 (rw-rw-r--)
Use 0666 as permissions instead of 0644 and let the user's umask care
about restricting, so creating a file with open() behaves the same way
as with fopen().
2009-06-15 19:28:06 +02:00
Michael Natterer 9b6c9e1fe4 Bug 155733 – need to check return values of gimp_drawable_mask_bounds()
Finally commit the patch from Luidnel Maignan, but don't spit messages
when the effected region is empty (core functions don't spit messages
either). Also got rid of some x2 and y2 variables that are not needed
any longer.
2009-06-07 23:52:37 +02:00
Nicholas Doyle 90db6c0891 plug-ins: Add support for opening raw 16bit (RGB565) color images 2009-06-06 21:50:56 +02:00
Sven Neumann 030aa9b26d plug-ins: minor coding style adjustments in file-xmc.c 2009-06-02 21:11:34 +02:00
Takeshi Matsuyama 27cec2c3f2 plug-ins: add X11 Mouse Cursor plug-in
This commit adds a plug-in to read and write X11 mouse cursor files.
2009-06-02 21:11:06 +02:00
Sven Neumann aac9e75ec3 updated mkgen.pl script for use with git
Change the mkgen.pl script to modify .gitignore instead of trying to
change the svn:ignore property.
2009-06-02 20:41:51 +02:00
Aurimas Juška 6e581ca990 Add JPEG2000 load plug-in written by Aurimas Juška 2009-06-01 18:44:30 +02:00
Manish Singh 582cb0f14e Explicitly specify library dependencies at link time, so we can use gold. 2009-05-24 10:42:39 -07:00
Martin Nordholts 2253ae52e9 Revert "plug-ins: Change 'Screenshot' menu label to 'From Screenshot'"
This reverts commit 34dbc7b228. The
label change was not properly discussed yet.
2009-05-17 14:01:36 +02:00
Martin Nordholts 34dbc7b228 plug-ins: Change 'Screenshot' menu label to 'From Screenshot'
Change 'Screenshot' menu label to 'From Screenshot' in the File ->
Create menu.
2009-05-17 13:47:43 +02:00
Michael Natterer e2dc72b168 various plug-in parameter cleanups that have piled up on my disk: some
2009-04-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c: various plug-in parameter cleanups that
	have piled up on my disk: some whitespace fixes and other
	formatting, but mostly changes to make plug-in boolean/enum
	parameter desciptions look more like the ones that are generated
	for core procedures.


svn path=/trunk/; revision=28260
2009-04-11 16:57:42 +00:00
Sven Neumann a9327fca52 gimp_brush_real_transform_pixmap): don't mix variable declarations and
2009-03-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush-transform.c 
(gimp_brush_real_transform_mask):
	gimp_brush_real_transform_pixmap): don't mix variable 
declarations
	and code. Added missing const qualifiers.

	* plug-ins/common/ripple.c (ripple_horizontal): removed stray
	semicolon.


svn path=/trunk/; revision=28162
2009-03-16 19:57:31 +00:00
Sven Neumann 12b621726a Bug 571117 – lcms plug-in crashes on broken profile
2009-03-13  Sven Neumann  <sven@gimp.org>

	Bug 571117 – lcms plug-in crashes on broken profile

	* plug-ins/common/lcms.c: don't abort on lcms errors.


svn path=/trunk/; revision=28152
2009-03-13 11:37:06 +00:00
Sven Neumann afc35ae7e2 Bug 573695 – 1-bit white background saved as PBM becomes all black
2009-03-12  Sven Neumann  <sven@gimp.org>

	Bug 573695 – 1-bit white background saved as PBM becomes all 
black

	* plug-ins/common/file-pnm.c: look at the colormap and test 
which
	of the two colors is black and which is white.


svn path=/trunk/; revision=28144
2009-03-12 22:18:44 +00:00
Michael Natterer b77822fb4c use enum GimpOrientationType instead of local #defines for HORIZONTAL and
2009-03-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/blinds.c: use enum GimpOrientationType instead
	of local #defines for HORIZONTAL and VERTICAL with identical
	values. Some indentation and formatting fixups.


svn path=/trunk/; revision=28112
2009-03-05 20:03:10 +00:00