Commit Graph

49 Commits

Author SHA1 Message Date
bab75b7365 Change a bazillion URLs to https://
Including all user-visible link and links called from code, like
the help pages.
2018-07-14 14:19:27 +02:00
5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
2e076f8205 plug-ins: wait one second before calling webkit_web_view_get_snapshot()
See https://bugs.webkit.org/show_bug.cgi?id=164180
2018-06-27 16:07:24 +02:00
a12cb58b7c plug-ins: create the web-page image using webkit_web_view_get_snapshot()
instead of getting a snapshot from GtkOffscreenWindow, I guess there
is too much threading involved now to properly wait for the rendering
of the page, so use the WebKit API instead.
2018-06-26 20:46:37 +02:00
d37f352825 plug-ins: port web-page to WebKitGTK+ 2
This is the minimum set of changes needed to make the web-page plug-in
buildable again using WebKitGTK+ 2.x. Tested as building with WebKitGTK+
version 2.20.3, but unfortunately I cannot test the plug-in as GIMP will
produce an error when trying to use it.
2018-06-25 23:54:56 +00:00
80997a8646 Remove most GTK_ADJUSTMENT() and (GtkAdjutment *) casts
they are obsolete in GTK+ 3.x because GtkAdjustment cannot be passed
around as GtkObject any longer, GtkObject is gone.
2018-06-24 18:15:16 +02:00
bdbec7941c Use the new macros from the last commit in all files
...and gone are the annoying warnings.
2018-05-20 21:06:34 +02:00
eb8487b487 plug-ins: s/GtkObject/GtkAdjustment/g in plug-ins/common/ 2018-05-20 21:06:27 +02:00
e16c8a2352 Move the new "default_new_layer_mode" APIs to the image...
...in both the core and libgimp.

Images now know what the default mode for new layers is:

- NORMAL for empty images
- NORMAL for images with any non-legacy layer
- NORMAL_LEGAVY for images with only legacy layers

This changes behavior when layers are created from the UI, but *also*
when created by plug-ins (yes there is a compat issue here):

- Most (all?) single-layer file importers now create NORMAL layers
- Screenshot, Webpage etc also create NORMAL layers

Scripts that create images from scratch (logos etc) should not be
affected because they usually have NORMAL_LEGACY hardcoded.

3rd party plug-ins and scripts will also behave old-style unless they
get ported to gimp_image_get_default_new_layer_mode().
2017-08-21 20:18:00 +02:00
838449254a plug-ins: use gimp_get_default_new_layer_mode() for most new layers
instead of hardcoding NORMAL_LEGACY.
2017-08-20 17:12:46 +02:00
dda54c1df8 Deprecate stock items for good and change all icon defines to GIMP_ICON_*
Try to sort all GIMP_ICON_* defines into FDO categories like in
https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html

Add defines for all icons we override, rename some icons to their FDO
standard names, and mark the ones we duplicate with a comment so we
don't forget to rename those to standard names in 3.0.
2017-03-05 16:01:59 +01:00
3cf423f0cd *: rename NORMAL to NORMAL_LEGACY and NORMAL_LINEAR to NORMAL
and make NORMAL_LEGACY immutable.
2017-02-26 16:26:34 +01:00
801bd8fb3f plug-ins: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
66060e3307 app, libgimp*, plug-ins: replace enum GimpLayerModeEffects by GimpLayerMode
with proper value names. Mark most values as _BROKEN because they use
weird alpha compositing that has to die. Move GimpLayerModeEffects to
libgimpbase, deprecate it, and set it as compat enum for GimpLayerMode.
Add the GimpLayerModeEffects values as compat constants to script-fu
and pygimp.
2017-01-08 23:00:19 +01:00
4df9a1d568 Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign() 2016-09-08 19:11:20 +02:00
6914bbc65f plug-ins: more gimp_spin_button_new() -> gtk_spin_button_new() 2014-06-22 23:01:31 +02:00
4bd5c185cc plug-ins: gtk_image_new_from_stock() -> from_icon_name() 2014-05-12 00:20:48 +02:00
66ff5dd70b Remove all calls to g_type_init(), it's deprecated
The type system is initialized automatically now.
2013-05-25 22:44:20 +02:00
022db7b639 Added contextual separation for a user visible message 2011-12-04 01:37:18 +04:00
79a4f71884 configure: depend on webkitgtk >= 1.6.1
because old versions use deprecated GLib stuff in their headers.
Don't #undef G_DISABLE_DEPRECATED in help-browser and web-page.
2011-12-01 11:26:11 +01:00
dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
8ed5002e4a plug-ins: #undef G_DISABLE_DEPRECATED for webkit and rsvg
because they use G_CONST_RETURN which is deprecated in glib master.
2011-06-21 22:13:58 +02:00
1a3315feac web-page: Use GimpIntComboBox and avoid a lot of excess code 2011-04-10 13:06:12 +05:30
8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
77b76ca945 web-page: Update progress to 1.0 when complete 2011-04-08 18:33:42 +05:30
335047fc7f web-page: Fix use of deprecated API 2011-04-08 18:08:27 +05:30
95a32f48b3 web-page: Use a GtkSizeGroup with labels 2011-04-04 18:08:13 +05:30
4b06a43953 web-page: Add a default font size combo 2011-04-01 17:01:24 +05:30
a1142827df web-page: Move global variables into webpagevals struct 2011-04-01 16:34:56 +05:30
796038b216 web-page: Append GIMP to the user agent string 2011-04-01 16:24:02 +05:30
af74ee79e2 web-page: Ankh said 2048 bytes, not 1024 bytes 2011-04-01 05:35:52 +05:30
e9224d41d5 web-page: Increase maximum URL len 2011-04-01 05:21:39 +05:30
0b6491f94c web-page: Untabify code 2011-04-01 05:21:26 +05:30
488b73ca7d web-page: Save and restore plug-in data 2011-04-01 04:51:21 +05:30
a4fb10a5af web-page: Change quote style yet again 2011-04-01 04:14:03 +05:30
d85642dd57 web-page: Don't clean image by default 2011-03-31 15:17:53 +05:30
9d8cef0628 web-page: Update TODO 2011-03-31 14:50:47 +05:30
4387ffde06 web-page: Do better error handling 2011-03-31 14:48:25 +05:30
8b3c7ace46 web-page: Change quote style 2011-03-31 14:48:25 +05:30
46931ec0d4 web-page: Fix PDB data type of URL 2011-03-31 12:33:41 +05:30
2b814b7148 web-page: Don't update progress too often 2011-03-31 12:04:17 +05:30
f81c3b1f2c web-page: Report progress when a webpage is being downloaded 2011-03-31 09:24:48 +05:30
6c353096bb web-page: Convert tabs to spaces 2011-03-31 09:24:01 +05:30
5d035ae557 web-page: Update TODO 2011-03-31 09:09:31 +05:30
c7a1846ec8 web-page: Make a well-formed URL if necessary 2011-03-31 09:05:57 +05:30
d2e836a644 web-page: Update TODO list 2011-03-31 08:54:07 +05:30
93e0140cd4 web-page: Add width entry widget 2011-03-31 08:54:07 +05:30
0382e204d9 web-page: Return correct flag when action is cancelled 2011-03-31 08:54:07 +05:30
e9befddbba Add the web-page plug-in 2011-03-31 00:39:57 +05:30