Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18v4913v4913aY20180718-2200I20180718-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-18Bug 536862: DateTime DROPDOWN behavior on Mac is not consistent withLakshmi Shanmugam2-2/+2
other platforms Removed HINT from javadoc for Windows and GTK Change-Id: I1b3441ebd3492dfc5126c533e6636e7bfe89907e
2018-07-18Bug 536024 [Win32][GTK] Show calendar week in SWT.CALENDAR AddedChristoph Luder5-8/+48
SWT.CALENDAR_WEEKNUMBERS constant ControlExample-DateTime: added checkbox to enable week numbers Snippet250: Adapted to show week numbers [GTK] DateTime - set GTK_CALENDAR_SHOW_WEEK_NUMBERS, if SWT.CALENDAR_WEEKNUMBERS is set [win32] DateTime - set MCS_WEEKNUMBERS style, if SWT.CALENDAR_WEEKNUMBERS is set - added OS.DTM_SETMCSTYLE (sets the style of the date and time picker) Change-Id: I5c35de0df3706d0fedae7374d67d6e7fe2f10c94 Signed-off-by: Christoph Luder <christoph.luder@gmail.com>
2018-07-18v4913v4913I20180718-0130Eclipse Platform RelEng Bot1-76/+157
2018-07-18v4913Eclipse Platform RelEng Bot3-4/+4
2018-07-17Bug 534977: [StyledText] Bad renderer with setStyleRange & gc draw in a ↵I20180717-2000Lakshmi Shanmugam7-34/+141
paint event This reverts commit bb1ea18b584ec1a364834b3fa0ae316c1f8453a1 for "Bug 366471: [Cocoa] Slow scrolling in editor on Mac OS X" This reverts the removal of the call to runPaint() in display.readAndDispatch(), the setNeedsDisplay and setNeedsDisplayInRect Change-Id: I95d4c967eb84f68cad0270b3254434bbc11418ce
2018-07-13v4912v4912aI20180717-0320I20180716-2000I20180716-0715I20180715-2000I20180714-1500I20180713-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-13Bug 127132 - [GTK] TableColumn#pack does not work for virtual tableXi Yan1-2/+2
Fixed NPE when invoking pack on virtual table caused by previous patch. Change-Id: I3f1f6a995294d20a86c964d3b697888ebd427aac Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-12v4912v4912I20180712-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-12v4912Eclipse Platform RelEng Bot3-4/+4
2018-07-12Bug 536900 - [GTK3] New java class dialog renders a strange gray box asXi Yan1-0/+6
separator For GTK3.20+, GtkSeparator with GTK_ALIGN_FILL renders a gray box that takes the entire area rather than a single line. The fix is to set the valign and halign to GTK_ALIGN_CENTER for the horizontal and vertical separators, respectively, after creating the handles. Tested with New Java class Dialog and Snippet37. Change-Id: Ia11e917885af6cce61a2b21961f4bd27c4cbb910 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-12Remove webkit_web_context_set_favicon_database_directory binding.Alexander Kurtakov4-34/+0
Not used by anything. Change-Id: Ia84573c4e7cdb5a346ab3637c84f0a8341124fb7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-12Bug 531561 (Snippet231_ShellPacking) - [Gtk3] Snippet231 packing makesXi Yan1-1/+1
shell have too short window height. computeNativeSize sometimes return 0 as height, calculate the table height based on the number of items. Change-Id: I098ff38340b0bfb58a22455e4ec13f8781430068 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-12Added filter for API tools bundle version warningLakshmi Shanmugam1-0/+8
Added filter for API tools bundle version warning in the I-build. The minor version should be the same for version 3.108.0, since no new APIs have been added since version 3.107.0 Change-Id: Id1d60675401a8d919bdc4d2f77352cd4f6507e06
2018-07-11v4911v4911cY20180712-0200I20180711-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-11Bug 536912 - Optimize Display.initializeSystemColorsAlexander Kurtakov3-81/+67
Initialize the theme provider and convert it to css only once in the initializeSystemColors method instead of repeating it multiple times. Pass the css string directly to methods that need it instead of refetching it from theme provider again. This required some tweaks to Control to pass the CSS directly to gtk_css_parse_[background/foreground] instead of the theme provider. With the above changes the time taken to do "new Display()" is reduced from 950 to 270 ms. Change-Id: Ie0996473cab2cc3b0c6d60084043073486b348ed Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-10v4911v4911bI20180710-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-10Bug 531341: [Webkit2] Can't access self signed web sites using internalEric Williams3-5/+62
web browser on fedora 27 Implemented more detailed error messages for the MessageBox. Added G_TLS_* constants into SWTMessages.properties, as well as German language support for those constants. Change-Id: I7a4122186a534a6e7a6a391a0c12b6f189b5ce60 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-07-10Bug 531882 (Snippet230_tableCol_icon_packing) - [Gtk3] Snippet230,Xi Yan2-5/+29
tablecolumn icons on right size get cut off 1) In GTK3, event.width in PaintItem is the same as the one previously set in MeasureItem. Snippet230 paints icons at the default event.width position on the right of text in PaintItem, so the icons were painted too far right as a result. This was fixed by explicitly setting event.width to be used in PaintItem to the default event.width using gtk_cell_renderer_set_fixed_size. 2) Custom drawn icons in the expander column of Tree is not positioned correctly. Fixed by adding expander arrow indent in the x position. 3) Calling TreeColumn#pack() for the first time do not account for the indent in the expander column because gtk_tree_view_get_expander_column() returns 0 if expander column is not visible. This was fixed by setting column to visible beforehand in Tree#calculateWidth. Change-Id: I04a26c94ff716c1a52c84d2dbe8ef96386b17035 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-10Bug 536862: DateTime DROPDOWN behavior on Mac is not consistent withLakshmi Shanmugam1-2/+3
other platforms checkStyle() code on Mac is now consistent with Windows code. DATE style should be set by default if no other (TIME or CALENDAR) style is set. This should be done before the check for DROP_DOWN style. Also, removed the HINT from javadoc as DROP_DOWN style is supported on all 3 platforms now. Change-Id: Ibf04cbfa8aa19b4e57a548016a93ac7bf14f921a
2018-07-09v4911v4911aI20180709-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-09Bug 340752 - [GTK3] Control getSize() behaves different in Linux andXi Yan1-45/+43
Windows. Getting wrong value on linux Removed visible check in ExpandItem#resizeControl to set bounds for items not expanded. Change-Id: Ibb926eb7784113d5b800eb236d8432a35e6f9df5 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-06v4911v4911I20180708-2000I20180707-1500I20180706-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-06v4911Eclipse Platform RelEng Bot3-4/+4
2018-07-06Bug 531341: [Webkit2] Can't access self signed web sites using internalEric Williams5-3/+123
web browser on fedora 27 Added functionality that prompts a user if they'd like to ignore TLS errors for certain hosts. If a user visits a website that uses a self-signed certificate, they will be prompted to either ignore TLS errors for that host, or to go back. Tested on GTK3.22 with Webkit2.20. No AllBrowser JUnit tests fail, and Snippet128 works as expected. Change-Id: I7c7a07ae27017a70e4a06c720f5640d094a6114c Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-07-05v4910v4910I20180705-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-05v4910Eclipse Platform RelEng Bot3-4/+4
2018-07-05Bug 531341 - [Webkit2] Can't access self signed web sites using internalAlexander Kurtakov5-0/+75
web browser on fedora 27 Add system property -Dorg.eclipse.swt.internal.webkitgtk.ignoretlserrors=true to allow setting WebKitGTK to ignore TLS errors for development purposes. Features a big loud warning when used on the console. Change-Id: I044ed91656476818f7030080302ce7eda38101a6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-05Bug 536701 - List selection background not preserved when listXi Yan1-2/+1
background changes Replaced "selection" with ":selected" in Control#setBackgroundGdkRGBA to correctly set CSS for treeview's selection background color. Change-Id: I67950ec01450e985767c88230df06e0c33de96cd Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-05Bug 515036 - Selected day of month in due date picker is not visibleXi Yan1-2/+1
Replaced "calendar selection" with "calendar:selected" in DateTime#setBackgroundGdkRGBA to correctly set CSS for DateTime's selection background color. Change-Id: I4e2172f683bd1dbeccd0a5663cb3fb5abfc33ac4 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-05Revert "Bug 533533 - [GTK3] Provide a way to disable fix for Control.print()"Andrey Loskutov3-37/+14
This reverts commit 802688f6202feab16b46f81f6e6b893c37341a30. Change-Id: I36c42ab668ed8a839a3ea51f330b18d591edcf9c
2018-07-04v4909v4909bY20180705-0105I20180704-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-04Bug 510540 - Drop Down & Number Menu Items Do Not Show ContentsXi Yan1-1/+1
Ignore wHint if it is too small to include the adjustment buttons for Spinner in GTK3. Change-Id: I8a6bec2b6fc4fcbdd7f825b355ea1852b3e2f64c Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-04Bug 289346: [Widgets] Gtk SWT should set type hint for floating shellEric Williams2-0/+4
windows Implement SWT.TOOL functionality in Shell by setting the appropriate GdkWindowTypeHint. Tested on GTK3.22 - no AllNonBrowser JUnit tests fail, child Eclipse popups and shells look normal. Change-Id: I82c9bd3bc5087d3eb445d28a2f893375e01e6ea8 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-07-04v4909v4909aI20180704-0805I20180704-0605Eclipse Platform RelEng Bot1-1/+1
2018-07-04Bug 536674 - The platformSwt.setup should avoid importingI20180704-0545Ed Merks1-0/+6
org.eclipse.swt.examples.ole.win32 on Mac/Linux Change-Id: I339e25e9740d7a43a6be9fd646222b2c7fc3110a Signed-off-by: Ed Merks <ed.merks@gmail.com>
2018-07-03v4909v4909I20180703-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-03v4909Eclipse Platform RelEng Bot3-4/+4
2018-07-03Bug 475784: half transparent composite as overlay composite not workEric Williams11-8/+123
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-03Bug 533425 - [Dark Theme] Install from local installation shows whiteXi Yan1-1/+5
artifacts on Install Details page Replaced super.setBackgroundGdkRGBA call on fixedHandle (SwtFixed container) with call on handle (GtkFrame) in Group#setBackgroundGdkRGBA for GTK3.18 and above, as the background color for GtkFrame overrides the background color of SwtFixed parent. Tested with ControlExample and Install Details page on GTK3.22 and 3.16. Change-Id: I753b5959ff04914e2f6437e2847f55d30095a5fc Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-03Bug 536234 - [syntax highlighting] single char update not renderedMickael Istria1-6/+12
Change-Id: Ib8fcfc46e8e7ce2716e742c15da9cbb4338807c8 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-07-02v4908v4908I20180702-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-02v4908Eclipse Platform RelEng Bot3-4/+4
2018-07-02Revert "Bug 475784: half transparent composite as overlay composite not work ↵Andrey Loskutov11-117/+9
with gtk3" This reverts commit 70cce8be1320532905ef82171b46309da5c59bc7.
2018-06-30v4907v4907aI20180702-0435I20180701-2000I20180630-1500Eclipse Platform RelEng Bot1-1/+1
2018-06-30Bug 536532 - The platformSwt.setup uses a p2 update site that no longerEd Merks1-37/+2
exists Change-Id: Ia68e60eb6915ef8a5fbe9941e4f29787846c9f9e Signed-off-by: Ed Merks <ed.merks@gmail.com>
2018-06-29v4907v4907I20180629-2000Eclipse Platform RelEng Bot1-1/+1
2018-06-29v4907Eclipse Platform RelEng Bot3-4/+4
2018-06-29Bug 536001 - Debug View expand after collapse doesn't show all threadsSimeon Andreev2-2/+8
Due to caching introduced for bug 497882, TreeItem.setText(int, String) will call Tree.checkData(TreeItem) via TreeItem.getText(). This appears to break the Debug View expansion of items, likely due to being called "too early" if called by TreeItem.setText. This change avoids the cal to Tree.checkData, since this is not relevant to the caching mechanism. Change-Id: Iaf48a3d653d9332887cdcf6ba9e915f77e42a1e8 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-06-29Bug 530678 – [webkit2] UI hangs after navigating through Javadoc hover,Leo Ufimtsev1-1/+0
when clicking an icon or link to an image (Webkit deadlock during callback) Issue in original fix that fixed a memory leak. gtk_widget_destroy is technically not needed since g_object_unref() will free-up the object. Verified that the memory leak that the original fix fixed is still fixed. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=5306782 Change-Id: I976b5c8480c75e707755d8d39f4c962a88be67e7 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>

Back to the top