Commit Graph

34418 Commits

Author SHA1 Message Date
Michael Natterer 29427fa4f1 app: port GimpImageMapTool settings import/export to streams
Simplifies and centralizes error checking and reporting.
2014-07-04 18:31:00 +02:00
André Schutten 46b619811d Updated Dutch translation master 2-8 2014-07-04 17:47:03 +02:00
Michael Natterer b4cdecb4c3 app: port the curves and levels cruft format loaders to GIO 2014-07-04 13:18:01 +02:00
Michael Natterer 6f7e244d75 app: add GInputStream* parameter to GimpDataLoadFunc
and port all loaders to loading from an already open stream.
2014-07-04 03:31:03 +02:00
Michael Natterer d7812173f4 libgimpconfig: add gimp_config_deserialize_stream()
and gimp_scanner_new_stream().
2014-07-04 03:29:09 +02:00
Michael Natterer e7d9e01d63 app: port ABR brush loading to GIO 2014-07-04 02:18:52 +02:00
Michael Natterer 16ca9a4dcf app: port gradient loading to GIO 2014-07-04 00:15:02 +02:00
Michael Natterer 01878cc2e0 app: improve palette loading error message 2014-07-04 00:14:36 +02:00
Michael Natterer aab55c34c8 app: add a GOutputStream* parameter to GimpData::save()
Open/close the stream generically in GimpData. Improves error handling
and simplifies the save() functions.
2014-07-03 23:44:38 +02:00
Michael Natterer 0acbfc3ffa libgimpconfig: add gimp_config_serialize_to_stream()
and gimp_config_writer_new_stream() which take a GOutputStream. Also
fix some new and old corner cases in GimpConfigWriter.
2014-07-03 23:25:21 +02:00
Michael Natterer 52032961c2 app: add (disabled) code that blits the image directly from the graph
bypassing the projection buffer.
2014-07-03 20:52:02 +02:00
Michael Natterer 249041d927 Bug 732698 - Select > Shrink/Grow/Border not working in GIMP master
Always pass level = 0 to gegl_buffer_set(). This actually makes a
difference since GEGL's level processing got some fixes.
2014-07-03 20:47:02 +02:00
Michael Natterer 4d50c3aafd app: port gimp_palette_load_css() to GIO
which finishes palette porting. Remove all temp hack porting code
and a ton of ugly includes.
2014-07-03 17:36:01 +02:00
Michael Natterer 12d6519f3e app: port gimp_palette_load_aco() to GIO 2014-07-03 17:23:11 +02:00
Michael Natterer aedc3c0ddb app: port gimp_palette_load_psp() to GIO 2014-07-03 16:59:04 +02:00
Michael Natterer 5d4d3a0e3c app: port more palette importers to GIO 2014-07-03 16:42:37 +02:00
Michael Natterer 3213fe04ef app: port gimp_palette_load_detect_format() to GIO 2014-07-03 16:27:05 +02:00
Michael Natterer bfd8aa69f5 app: prepare for more palette load/import GOI porting
by passing an open GInputStream to gimp_palette_load_gpl(), all
palette import functions will become like that.
2014-07-03 16:11:26 +02:00
Michael Natterer 9ec4e93434 app: port gimp_palette_load_gpl() to GIO 2014-07-03 15:49:58 +02:00
Michael Natterer 32e2aebbe0 app: remove old includes from gimpdata.c too 2014-07-03 15:49:29 +02:00
Michael Natterer 9d11dc046d app: forgot to remove the creepy includes in gimpbrush-load.c after porting 2014-07-03 15:48:38 +02:00
Michael Natterer 87463dbe46 app: don't leak a GError in gimp_brush_generated_load() 2014-07-03 15:47:57 +02:00
Michael Natterer 70e6d86bdf app: port gimp_pdb_dump() to GIO 2014-07-03 14:52:27 +02:00
Michael Natterer 5a893392ee script-fu: remove unused "input_id" from struct ConsoleInterface 2014-07-03 14:48:11 +02:00
Michael Natterer 673d666d0c app: port gimp_vectors_export_file() to GIO 2014-07-03 13:29:29 +02:00
Michael Natterer 77b6af2da8 app: implement gimp_curve_load() and _save() in GIO
They are currently unused, but implementing them was a copy/paste
no brainer.
2014-07-03 13:22:10 +02:00
Michael Natterer a572638656 app: fix copy/paste GError bug in some calls to g_file_replace() 2014-07-03 13:01:01 +02:00
Michael Natterer 0753b5a137 app: port gimp_text_buffer_load() and _save() to GIO 2014-07-03 12:57:18 +02:00
Michael Natterer 799a3d4352 app: g_mkdir() -> g_file_make_directory() in gimptooloptions.c 2014-07-03 01:33:20 +02:00
Michael Henning 33af6c61b7 app: fix building for windows.
This was broken in 53b5822926
2014-07-02 19:16:51 -04:00
Michael Natterer 53376def7a app: forgot one filename -> GFile earlier 2014-07-03 00:21:04 +02:00
Michael Natterer f146d454e8 app: port the pluginrc code from filename to GFile 2014-07-03 00:04:58 +02:00
Michael Natterer 53b5822926 libgimpconfig: port GimpConfigWriter to GIO 2014-07-02 23:53:57 +02:00
Michael Natterer 4e6a6079f4 app: port levels cruft format saving to GIO 2014-07-02 23:45:16 +02:00
Michael Natterer 87ecc83885 app: port curves cruft format saving to GIO 2014-07-02 23:40:26 +02:00
Michael Natterer a49709ef6c app: port gradient saving to GIO 2014-07-02 23:26:40 +02:00
Michael Natterer 3bfb2154a0 app: port palette saving to GIO 2014-07-02 22:41:51 +02:00
Michael Natterer 8202fa1a77 app: port pattern loading to GIO 2014-07-02 22:29:57 +02:00
Michael Natterer b0f9a42fb3 app: port generated brush saving to GIO 2014-07-02 22:16:09 +02:00
Michael Natterer 77c20040ae app: port generated brush loading to GIO 2014-07-02 21:33:00 +02:00
Michael Natterer add91b70b9 app: port brush loading to GIO 2014-07-02 21:11:49 +02:00
Michael Natterer ef37fbbbb2 configure: on Windows, depend on gio-windows-2.0 2014-07-02 19:58:36 +02:00
Michael Natterer 581a6e16e7 libgimpconfig: port GimpScanner to GIO
Move all code from gimp_scanner_new_file() to gimp_scanner_new_gfile().
If the passed GFile has a path, use a GMappedFile like before, otherwise
GIO-read the entire file into an allocated buffer and parse that buffer.
2014-07-02 16:05:23 +02:00
Michael Natterer 9f0e27307e app: change filename in gimp_text_buffer_load() and _save() to GFile 2014-07-02 15:10:53 +02:00
Michael Natterer 3687e1b32b app: change filename in gimp_vectors_import_file() to GFile 2014-07-02 14:54:56 +02:00
Michael Natterer 632b64fedf app: change filename in gimp_vectors_export_file() to GFile 2014-07-02 14:47:11 +02:00
Michael Natterer 3dbae5e4d9 Bug 727854 - Export file type should not be based on filename extension
Keep the export proc acound in the image (just as we keep around
the save proc), and use it when exporting again.
2014-07-02 14:24:02 +02:00
Michael Natterer 189c329a2c devel-docs: update the docs a bit 2014-07-02 13:53:22 +02:00
Michael Natterer 3f708aa189 devel-docs: fix the build in the libgimpconfig docs 2014-07-02 13:19:04 +02:00
Michael Natterer c88800e840 app: add gimp-priorities.h and keep the most important priorities there
also add comments with all predefined priorities as documentation.
2014-07-02 04:47:24 +02:00