gimp/plug-ins/imagemap
Jehan 27dea4f7f7 plug-ins: various g_file_get_path() replaced by g_file_peek_path().
As explained in previous commits, the _peek_ call is advantageous
because:
- It is less bug-prone as we don't have to handle freeing the string. In
  all the cases I changed, I even spotted at least 2 cases where we were
  leaking a string (in file-mng, `temp_file_name` is never freed; and we
  were also leaking in an error case of gfig).
- As a consequence of the previous point: simpler code with less lines.
- In local file cases, the _peek_ variant does not even need to allocate
  an additional string.
- In other case, if we query several times the path, it is allocated
  once and cached so it stays efficient.
- When possible, working on the GFile rather than on a path string may
  be more robust. For instance I changed one g_unlink() into a
  g_file_delete(). Actually most reading/writing should be done with the
  GIO API when possible, but I didn't want to change too much code
  logics on this commit.
2021-10-01 18:47:30 +02:00
..
images devel-docs, libgimp: update some .gitignore files 2019-11-19 20:40:22 +01:00
.gitignore Adding Microsoft Windows executables to the .gitignore files 2009-06-19 00:14:17 +02:00
Makefile.am plug-ins: port imagemap to foo and bar, why do I bother... 2019-08-28 10:14:28 +02:00
imap_about.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_about.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_browse.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_browse.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cern.l Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cern.y Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cern_lex.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cern_parse.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cern_parse.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_circle.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_circle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_clear.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_copy.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_copy_object.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_create.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_cut.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_cut_object.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_delete.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_delete_point.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_edit_object.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_gimp_guides.c app, libgimp, pdb, plug-ins: update some more functions to get|set(). 2021-04-06 00:49:07 +02:00
imap_cmd_guides.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_insert_point.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move_down.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move_sash.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move_selected.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move_to_front.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_move_up.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_object_down.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_object_move.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_object_up.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_paste.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_select.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_select_all.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_select_next.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_select_prev.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_select_region.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_send_to_back.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_send_to_back.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_unselect.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_unselect.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_unselect_all.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_cmd_unselect_all.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_command.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_command.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_commands.h plug-ins: port imagemap to foo and bar, why do I bother... 2019-08-28 10:14:28 +02:00
imap_csim.l Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_csim.y Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_csim_lex.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_csim_parse.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_csim_parse.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_default_dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_default_dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_edit_area_info.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_edit_area_info.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_file.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_file.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_grid.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_grid.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_icons.c plug-ins: do not #include c autogenerated sources 2019-08-22 18:45:31 +02:00
imap_icons.h plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_main.c app, libgimp, pdb, plug-ins: update some more functions to get|set(). 2021-04-06 00:49:07 +02:00
imap_main.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_menu.c Issue 2873 - Missing menu text on Image Map filter 2019-09-07 00:58:11 +02:00
imap_menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_menu_funcs.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_menu_funcs.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_misc.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_misc.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_mru.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_mru.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ncsa.l Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ncsa.y Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ncsa_lex.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ncsa_parse.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ncsa_parse.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_object.c plug-ins: some GTK3 undeprecation in imagemap 2019-07-22 10:28:37 +02:00
imap_object.h plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_object_popup.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_object_popup.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_polygon.c Issue #3949 - Image Map plug-in selects wrong areas 2020-05-02 20:16:04 +02:00
imap_polygon.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_preferences.c plug-ins: various g_file_get_path() replaced by g_file_peek_path(). 2021-10-01 18:47:30 +02:00
imap_preferences.h plug-ins: some GTK3 undeprecation in imagemap 2019-07-22 10:28:37 +02:00
imap_preview.c app, libgimp, pdb, plug-ins: more functions moved to get|set(). 2021-04-06 14:34:31 +02:00
imap_preview.h plug-ins: port imagemap to foo and bar, why do I bother... 2019-08-28 10:14:28 +02:00
imap_rectangle.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_rectangle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_selection.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_selection.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_settings.c plug-ins: some GTK3 undeprecation in imagemap 2019-07-22 10:28:37 +02:00
imap_settings.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_source.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_source.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_statusbar.c plug-ins: port imagemap to named icons from a resource 2019-07-21 19:47:39 +02:00
imap_statusbar.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_string.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_string.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_taglist.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_taglist.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
imap_ui_grid.c libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
imap_ui_grid.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build meson: Use libgimp(ui)_dep in plug-ins meson files 2020-05-11 07:01:37 +02:00