Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-07-03 | Bug 475784: half transparent composite as overlay composite not work | Eric Williams | 6 | -2/+25 | |
with gtk3 ATTEMPT #2: fix regression from original patch. Instead of keeping the NO_BACKGROUND flag, cache it in Control and remove it as intended in Composite.checkStyle(). Original commit message: We have to handle some corner case drawing situations, since Control.setRegion() now uses Cairo entirely. In particular, we need to handle the case where a user is using an SWT.NO_BACKGROUND Composite as an overlay. This means the Composite has a region set, and a paintListener attached to perform custom drawing. Previously, Control.setRegion() "physically" manipulate the Composite's GdkWindow to prevent any drawing outside the given region. Since Cairo is now responsible for drawing the set region we have to handle this geometry ourselves. This patch fixes numerous issues all rolled into one. First, it adds a field in GCData which corresponds to the Cairo region. This is set in gtk_draw() so that GC.fill* methods will clip themselves accordingly and not fill where they aren't supposed to. Second, it checks for a PaintListener, NO_BACKGROUND, and a region being set. If these conditions are met, we draw a transparent background in Control.drawBackground() to ensure the region and custom drawing succeeds. Last, we copy the region at the Cairo level to ensure there are no crashes when calling setRegion(region) followed by region.dispose(). Tested on GTK3.22 using the snippet attached and a child Eclipse. No AllNonBrowser JUnit tests fail. Change-Id: I6a6245052e9756d6c9bdd0e46ef20a74413acc6b Signed-off-by: Eric Williams <ericwill@redhat.com> | |||||
2018-07-02 | Revert "Bug 475784: half transparent composite as overlay composite not work ↵ | Andrey Loskutov | 6 | -25/+2 | |
with gtk3" This reverts commit 70cce8be1320532905ef82171b46309da5c59bc7. | |||||
2018-06-29 | Bug 475784: half transparent composite as overlay composite not work | Eric Williams | 6 | -2/+25 | |
with gtk3 We have to handle some corner case drawing situations, since Control.setRegion() now uses Cairo entirely. In particular, we need to handle the case where a user is using an SWT.NO_BACKGROUND Composite as an overlay. This means the Composite has a region set, and a paintListener attached to perform custom drawing. Previously, Control.setRegion() "physically" manipulate the Composite's GdkWindow to prevent any drawing outside the given region. Since Cairo is now responsible for drawing the set region we have to handle this geometry ourselves. This patch fixes numerous issues all rolled into one. First, it adds a field in GCData which corresponds to the Cairo region. This is set in gtk_draw() so that GC.fill* methods will clip themselves accordingly and not fill where they aren't supposed to. Second, it checks for a PaintListener, NO_BACKGROUND, and a region being set. If these conditions are met, we draw a transparent background in Control.drawBackground() to ensure the region and custom drawing succeeds. Last, we copy the region at the Cairo level to ensure there are no crashes when calling setRegion(region) followed by region.dispose(). Tested on GTK3.22 using the snippet attached and a child Eclipse. No AllNonBrowser JUnit tests fail. Change-Id: Icdd04d8a4e0e504a5ee69688ba304af3956e4f77 Signed-off-by: Eric Williams <ericwill@redhat.com> | |||||
2018-05-04 | Bug 530932 - Enable native scaling on Linux GTK | Sravan Kumar Lakkimsetti | 4 | -0/+49 | |
Change-Id: I98a9fcd461739f27f62f0179c4df4ea6ece6f370 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> | |||||
2018-04-16 | Bug 529431: [GTK3.10+] Snippet294 fails to draw Region | Eric Williams | 4 | -0/+23 | |
Fix input handling for GTK3.10+ setRegion behaviour. This does a manual check to see if the incoming event coordinates are within the set region: if they are, ignore them. This prevents events like SWT.Selection, SWT.Mouse[Up/Down], etc. from triggering when they are spawned from within the set region. There are two main limitations though: 1) we cannot stop native GTK events as we are doing the region drawing on the SWT level. This means things like mouse enter/leave, button pre-light, etc. will still be visible. We block the selection/click events at the SWT level, but unfortunately there is no reliable way to block these on the GTK level. 2) we also can't block all selection events, as some widgets are selectable using the keyboard (which has no coordinates). This means we could potentially block out selection events that *should* be sent. Tested on GTK3.22, no AllNonBrowser JUnit test failures. Change-Id: Ifd8377feb7d71a366edcdf6083d2bc94ab779886 Signed-off-by: Eric Williams <ericwill@redhat.com> | |||||
2018-03-23 | Bug 532825 - Remove hpux/solaris clutter in the codebase | Alexander Kurtakov | 1 | -2/+0 | |
Change-Id: I735be5853d393097c7d11c9abb43e9e5cbf93c8d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2018-02-01 | Bug 528679 - Eclipse Photon M3a crashes on CentOS 6 | Alexander Kurtakov | 3 | -3/+17 | |
Print the minimal required Cairo version if older one is detected. Do not exit but let the user know of the issue. Change-Id: I3c8ec968f7a49bc84fda335e9b4812540d943829 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2017-06-27 | Bug 518855 - Remove workarounds for Cairo older than 1.8.0I20170627-2000 | Alexander Kurtakov | 3 | -19/+3 | |
Change-Id: I63655797878979b0f1452e2c288079b5c15c6d3e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2017-02-22 | Bug 488431 - Provide SWT/GTK3 port on Windows | Rolf Theunissen | 2 | -0/+7 | |
win32 specific imports and disable functions not available on win32 Change-Id: I7bd41342d9ec7610f65bdd4495a0214d45449d23 Signed-off-by: Rolf Theunissen <rolf.theunissen@altran.com> | |||||
2016-12-14 | Bug 509215 - Make Cairo bindings non-dynamic where possible | Alexander Kurtakov | 2 | -65/+0 | |
GTK 2.24 has cairo 1.6 as a pre-req thus make all functions guaranteed to exist by this version as non-dynamic. Change-Id: Ie996a5190982ec543307a7e00357b94e55f102c5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2016-11-08 | Bug 500363: Native auto generated files should mention that they are | Leo Ufimtsev | 5 | -5/+20 | |
auto generated A few more files popped up showing auto-generated message inside them. Commiting them so that developers don't see them in their git-staging area anymore. Change-Id: I7cffeb054606e50c729122ae9ed99fd039922aa5 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=500363 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com> | |||||
2016-10-17 | Bug 505334 - SWT for GTK fails to compile when X11 is not available | Rolf Theunissen | 2 | -3/+7 | |
Dynamically called X11 functions should not be compiled as well Signed-off-by: Rolf Theunissen <rolf.theunissen@altran.com> | |||||
2016-10-07 | Bug 505334: SWT for GTK fails to compile when X11 is not available | Rolf Theunissen | 1 | -0/+4 | |
Currently only part of the X11 functions are disabled if X11 is not available. This commit fixes this and allows swt to build when X11 is not available Signed-off-by: Rolf Theunissen <rolf.theunissen@altran.com> | |||||
2015-03-26 | Bug 463151 - Drop pre-2.18 GTK Cairo code in GC | Alexander Kurtakov | 3 | -15/+3 | |
Drop the old complicated way of initing Cairo now that GTK 2.18 is the min version. Change-Id: Iff7109085588eb8474e3365d6f3e9160c660a57c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2014-03-03 | Bug 429476 - Remove useless Cairo bindings. | Alexander Kurtakov | 3 | -532/+3 | |
The smaller the better. Change-Id: I377bd50c3f933900717b0061e092d7140ddcd489 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> | |||||
2013-07-12 | GC remove GTK pre-2.8 code paths. | Alexander Kurtakov | 5 | -225/+5 | |
This allows reducing the Cairo bindings and simplifies the codebase. | |||||
2012-10-30 | Bug 389910 - Substitute GdkColor with GdkRGBA | Silenio Quarti | 1 | -7/+0 | |
2012-10-27 | cleanup region changes - use macros to redefine gdk_region_XXX in terms of ↵ | Silenio Quarti | 6 | -387/+0 | |
cairo_region_XXX | |||||
2012-10-17 | missing new line | Silenio Quarti | 1 | -1/+1 | |
2012-10-17 | compile on older versions of cairo - cairo_rectangle_int_t is missing | Silenio Quarti | 1 | -0/+7 | |
2012-10-17 | Replace GdkRegion with Cairo methods for GTK + 3.0 and higher | Anatoly Spektor | 6 | -2/+433 | |
2012-09-17 | do not generate function count to avoid patch conflicts | Silenio Quarti | 1 | -2/+3 | |
2012-06-01 | Bug 380560 - Do the annual javadoc/copyright bash for 3.8 and 4.2 | Carolyn MacLeod | 2 | -2/+2 | |
2012-03-29 | need to be able to overwrite native package name (actual code) | Silenio Quarti | 1 | -0/+2 | |
2012-01-20 | remove compiler warning | Silenio Quarti | 1 | -1/+1 | |
2012-01-17 | missing dynamic function names | Silenio Quarti | 1 | -1/+3 | |
2012-01-17 | Add cairo_push_group and cairo_pop_group | Bogdan Gheorghe | 3 | -2/+42 | |
2012-01-16 | have to mark dirty when creating from pixels | Silenio Quarti | 3 | -2/+14 | |
2012-01-13 | adding cairo_surface_flush PI | Silenio Quarti | 3 | -5/+17 | |
2011-10-21 | fix Control.setBackgroundImage() | Silenio Quarti | 4 | -2/+25 | |
2011-10-21 | support Images with xlib surface, performance of large images surfaces is bad | Silenio Quarti | 4 | -3/+26 | |
2011-10-21 | make GC handle a cairo object, fix clipping, rename USE_CAIRO flag | Silenio Quarti | 4 | -3/+49 | |
2011-10-20 | create opaque image surfaces; target cairo 1.2 APIs; remove surfaceData field | Silenio Quarti | 4 | -3/+72 | |
2011-10-18 | merging to master | Silenio | 1 | -1/+1 | |
2011-10-18 | Merge branch 'master' into Bug354978 | Silenio | 3 | -4/+6 | |
2011-09-27 | Bug 345682 WebKit for GTK not detected | Grant Gayed | 2 | -5/+7 | |
2011-09-23 | fix permission of files | Silenio | 1 | -0/+0 | |
2011-09-19 | Bug 354978 - First changes | Bogdan Gheorghe | 4 | -6/+29 | |
2011-05-10 | Bug 345279 - Do the annual copyright bash for 3.7AFTER_COPYRIGHT_BASH_FOR_37RC1 | Carolyn MacLeod | 7 | -7/+7 | |
2010-09-24 | Adding HPUX GTK support | Bogdan Gheorghe | 1 | -0/+2 | |
2010-09-20 | Adding GTK AIX support | Silenio Quarti | 1 | -4/+10 | |
2009-07-01 | restore HEAD after accidental deletion by error in automated build script | Silenio Quarti | 7 | -0/+2539 | |
2009-06-30 | *** empty log message *** | Felipe Heidrich | 7 | -2539/+0 | |
2009-05-29 | After copyright bash for 3.5RC4AFTER_COPYRIGHT_BASH_FOR_35RC4 | Carolyn MacLeod | 2 | -2/+2 | |
2008-09-05 | Mac generator and building 64 bit enabled C code | Silenio Quarti | 4 | -230/+254 | |
2008-08-25 | copyright change | Silenio Quarti | 5 | -5/+5 | |
2007-04-05 | 176167 - Form's BusyIndicator hangs workbench on GTK | Silenio Quarti | 3 | -875/+875 | |
2007-03-27 | 150357 - [Linux] [cairo] GC.setAdvance(true) and subsequent drawing of ↵ | Silenio Quarti | 3 | -2/+30 | |
images fails | |||||
2007-03-27 | removing fix to create patch | Silenio Quarti | 3 | -30/+2 | |
2007-03-27 | Cairo version | Silenio Quarti | 3 | -2/+30 | |
- Members
- Working Groups
- Projects
- Community
- Participate
- Eclipse IDE
-
More
-
-
Community
- Marketplace
- Events
- Planet Eclipse
- Newsletter
- Videos
- Blogs
-
Participate
- Report a Bug
- Forums
- Mailing Lists
- Wiki
- IRC
- Research
-
-
-
-
Search
-