Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18Bug 536862: DateTime DROPDOWN behavior on Mac is not consistent withLakshmi Shanmugam1-1/+1
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 Luder1-2/+12
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-06-26Bug 302171 - Characters requiring <Alt Gr> cannot be generated usingXi Yan1-0/+4
Display.post(Event) 1) Added SWT.ALT_GR constant mapping to ISO_Level3_Shift (0xfe03). 2) Replaced OS.XTestFakeKeyEvent in Display.post, which only supported US keyboards, with gdk_test_simulate_key to simulate key event. Added the option to send key modifier together with key character in a single event to Display.post on GTK. Change-Id: I97311e639b612ac1f6aed23beb68034f40d211b1 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-07Bug 396175 - Link widget needs an escape character for < and >Xi Yan1-1/+3
Added escape character for angle bracket in link widget. Change-Id: I44675a5a18c4319421c9b37af16d4d345ec8b55d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-05-07Bug 521887 - [HiDPI][Win32] GC draw line with width 0 is not affected byI20180507-0800Niraj Modi1-2/+4
OS scaling Change-Id: I1efc0223aab63a25c4d83392d3723ec73bd66629 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-05-07Bug 532443 - Creating a new Image using SWT.IMAGE_GRAY returns an ImageNiraj Modi1-3/+11
equal to the old Image - Also fixed the JavaDoc typo in ImageDataProvider.java and ImageFileNameProvider.java Change-Id: I2d40061a256e5feba717b765f7cbe9b3e359e508 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-05-04Bug 531373 - [Win32] Table custom header background/foreground does notConrad Groth1-1/+1
work when scrolling Change-Id: Ide386b5cae394e60b70a93b1916fc8759a7abbfa Signed-off-by: Conrad Groth <info@conrad-groth.de>
2018-05-03Bug 480586 - [Win32][HiDPI] Tree expansion triangle issuesNikita Nemkin1-0/+9
Fix tree glyph DPI scaling for trees without image list. Change-Id: I6d052eb08d6d33fde1690ff7c0e2c6d8dd690b92 Co-authored-by: Conrad Groth <info@conrad-groth.de> Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-05-03Bug 184951 - [Win32] Tree/Table checkboxes render jagged at a high DPINikita Nemkin2-20/+22
DrawThemeBackground stretches the checkbox bitmap to fill the provided rectangle. To avoid stretching artifacts, limit the rectangle to actual checkbox bitmap size. This change also supersedes the fix for bug 489828. Change-Id: Ib227b874716b7858dc52596c5103ceb598e68cbb Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-05-03Bug 534029 - [Win32] Simplify Display.getPrimaryMonitor()Nikita Nemkin1-20/+2
Use the method suggested here: https://blogs.msdn.microsoft.com/oldnewthing/20141106-00/?p=43683 Change-Id: I4479c8b50b8a98c14f7f8ea177381ee25269ea74 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-05-02Bug 533559 - [Win32] Move TASKBARBUTTONCREATED handlerNikita Nemkin2-12/+12
TASKBARBUTTONCREATED is sent to top level windows, process it in Shell.windowProc. Bug 305335 provides a test snippet. Change-Id: Ie4ba53cbee5964a216e19e1f84151960e1df9bfa Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-26Bug 480639 - Provide monitor-specific DPI scaling / zoom levelNikita Nemkin2-43/+24
* Use flags=dynamic for GetDpiForMonitor * Set Monitor.zoom at Monitor creation time. Change-Id: I2756292bc673aa661b5cb0b97450a7677a730ae4 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-17Bug 533557 - [Win32] Remove workaround for Adobe Reader 7.0Nikita Nemkin1-23/+0
Adobe Reader 7.0 (released in 2005) isn't available anymore. The bug is not reproducible with Reader 11.0 and later. Original bug 56184. Change-Id: I9c5c6ecc9ca59ea307f7d78bb700d95f058b88ed Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-14Bug 533558 - [Win32] Remove redundant display checks in Tray, TaskBarI20180414-1500Nikita Nemkin1-5/+0
Tray and TaskBar are created by Display. They are guaranteed to receive a non-null, thread-valid display reference. Change-Id: I429511c15fefdfd0d4106b9d1b87a625ab45c626 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-14Bug 335054 - [Win32] Hand cursor over link widget gets stuckNikita Nemkin1-2/+12
SysLink window procedure doesn't set cursor over non-link areas because those areas are transparent for mouse events (using WM_HITTEST). Link widget overrides WM_HITTEST in order to receive mouse events, which means it's responsible for setting cursor over previously mouse-transparent areas. Change-Id: I9d8f58ea969b8abb407f4b1558cd8f6f062358b8 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-13[Win32] Remove dead code from Display.windowProcNikita Nemkin2-37/+6
Some code added in bug 124965 (Table scrolling optimization) is dead. In particular, Display.columnCount variable is never set. Scrolling optimization itself is not affected. Change-Id: I3b2cc89d5698625818e71134d9d036c4d9baba0d Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-10Bug 480639: Provide monitor-specific DPI scaling / zoom levelLakshmi Shanmugam1-0/+21
Added API Monitor.getZoom() to get zoom on Mac & Windows Change-Id: Ib1990d0cbb2190323f7204dd14c6674d99278efd Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-04-09Bug 533113 - [Win32] Restore indeterminate ProgressBar lookNikita Nemkin1-3/+83
When the app doesn't use visual styles, small (10x10) intdeterminate ProgressBar doesn't appear to be moving. Original bug 83838, regression introduced in bug 531097. Change-Id: I8c55872d340136376ee9ad144f586df62e20fcfa Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-05Bug 531097 - [Win32] Remove unnecessary string manipulationNikita Nemkin4-40/+5
Given a module handle, ActivateActCtx() can load manifest from a dll already present in memory. Since SWT dll is already present and its handle is readily available, constructing the path to SWT dll is unnecesary. Some controls re-register their window class locally to adjust class style bits. Since the class name doesn't change, there's no need to set it explicitly after the call to GetClassInfo(). Change-Id: Ic5ed78ddfef6e1ac9e2bf694cdbe216efc570569 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-03-28Bug 531097 - [Win32] Remove support for Windows before VistaNikita Nemkin55-6678/+2107
Remove code paths specific to WinCE, Win9x, WinNT4, Win2k, WinXP. Remove uses of obsolete flag=no_wince JNI annotation. The following OS variables indicate dead code: * WIN32_VERSION is awlays >= 6.0 * COMCTL32_VERSION is always 6.10; * SHELL32_VERSION is always >= 6.0; * IsWinNT and IsUnicode are always true; * IsWin32s, IsWin95, IsWinCE, IsPPC, IsHPC, IsSP are always false. Change-Id: I4e700a89b22cd879e7c46f1493115a77e2ade1c9 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-03-16Bug 532522 - fixMenus: add disposal checksI20180316-0730Karsten Thoms1-1/+1
Change-Id: I99c1113ed373dd125af75d8e84023c875f68cec2 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-09Bug 530204: [GTK] Menu appears at mouse regardless of setLocation()Eric Williams1-2/+4
Update Javadocs for Menu.setLocation() to reflect platform specific behavior. Change-Id: I43d5bf906f2ddfad7e8fa8945cb7df1d5135ee2f Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-03-05Bug 527937 - [HiDPI][Win32] Checkbox/Radiobutton: focus-rect cut offConrad Groth1-1/+1
Change-Id: I6a7ce52c9064c899e5329316145f94c38a6c5970 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2018-03-02Bug 508600: [API] The average character width of a font is not integerLakshmi Shanmugam1-0/+12
Added new API getAverageCharacterWidth() which returns the width in floating point. Change-Id: I4767aa07f0be6ead821d1db18cd8508864225056
2018-02-23Bug 531575 - Control#setBackground Javadoc outdatedLars Vogel1-1/+0
Change-Id: Ied09c450a026b081539e3f305e39e120dd8fcdb0 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-02-12Bug 519015 - Tab after 4 spaces is not visibleSravan Kumar Lakkimsetti1-1/+22
Change-Id: Ibe69a8fd115d6691550f8657d79dd8e4757d8b23 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-01-17Bug 525305 - [API]Provide SWT.OpenUrl eventChristian Georgi1-2/+8
Introduces new SWT.OpenUrl event type. On Mac, the SWT.OpenUrl event will be generated whenever Equinox calls the application:openUrls: selector. One event will be generated for each URL received from OS X. On Windows we emit the OpenUrl event if a valid URL is passed in, otherwise the OpenDocument event is sent, preserving compatibility. (Linux implementation is not included) Bug: 351303 Change-Id: Ic0cce76ce21fed0f2b182d24a29e51b821264093 Signed-off-by: Mads Mætzke Tandrup <mads@maetzke-tandrup.dk> Signed-off-by: Christian Georgi <christian.georgi@sap.com> Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-01-17Bug 528081 - Added disposal checksKarsten Thoms1-0/+3
Change-Id: I20c0025955a94745822e400b67c90e5d75362f09 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-12Bug 525829 - [Win32] Group text dark in the dark theme on WindowsConrad Groth1-1/+38
add custom WM_PAINT method to paint the group text if a custom foreground color was set. There's no windows API for this. Change-Id: I05fb4cef635cbf62afe186137cd9a46fa7f82968 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2018-01-04Bug 497882 - Eclipse freezes when expanding tree in variables viewSravan Kumar Lakkimsetti1-0/+3
during debugging Change-Id: Ie2631fcf04d689167f83c8787185e4926e51a026 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2017-12-15Bug 502601 - Full screen mode in Windows 10 leaves borders fromminnist1-1/+2
underling app/os such as task bar visible Change-Id: I85076a76b3399c63e3b71636033080ad01eac7c9 Signed-off-by: minnist <eklipse@posteo.net>
2017-12-15Bug 527240 - [Win32] DirectoryDialog#setMessage doesn't work any moreNiraj Modi1-0/+5
with modern native DirectoryDialog - Updating setMessage method JavaDoc with this limitation. Change-Id: I11c0c6eb0a9f891d45f84a1096ec768f2ba3f2a6
2017-12-13Bug 508033 - Win32: Toolbar ignores foreground colorConrad Groth1-2/+18
added new datatype and return values for ToolBar custom drawing. Change-Id: I9f1fa65416314ae794d36d298c7dc0159b8cc535 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-12-11Bug 411356 - remove @SuppressWarnings("rawtypes") from DisplayAndrey Loskutov1-2/+1
Change-Id: I536a65398b6e26b9b2f5742f8908140b98bd5a05 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-12-04Bug 475858 (Part2)- [api] TVT_IES45_JDT: Command name with "CommandNiraj Modi7-7/+38
(&M)"-style mnemonic should not be reused as tooltip Change-Id: Iec40ac3100da18dc1c986e0aabd75e515672e78e Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-11-14Bug 527103 - [Win32] Performance regression on Tree.setLinesVisibleConrad Groth1-1/+1
Only invalidate the header if the handle is present, to avoid invalidating all windows. Change-Id: I2711240213fefc14fbebe82b13e0a54d35f8280b Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-11-09Bug 475858: [api]TVT_IES45_JDT: Command name with "Command (&M)"-styleNiraj Modi3-4/+21
mnemonic should not be reused as tooltip Change-Id: If298324a9aa8b901f09bbc03fef801aeb24749dc Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-11-07Bug 511355 - Table: background color of sort column became a darker grayConrad Groth3-5/+20
Change the algorithm for the sort columns of Table and Tree, so that for the most common use case (white background) the result is the same as before, but also supporting black background. The 'getDifferentColor' algorithm stays in place for highlighting buttons as well as Table and Tree headers, as this produces a higher contrast compared to the sort column color algorithm. Change-Id: I93d09203786cb66bbb1eefcf464f5aff0e4d2f45 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-11-07Revert "Revert "Bug 518737 - [Win32] Background switches to light if tree ↵Niraj Modi3-43/+15
widget is disabled"" This reverts commit 6d54623bc929a1ff670c6cde1f13b511105ad805.
2017-10-30Revert "Bug 518737 - [Win32] Background switches to light if tree widget is ↵Lakshmi Shanmugam3-15/+43
disabled" This reverts commit dd3790a1446afe8dae6516c0cd3905ef4d295a8a. Change-Id: I19b601c9cec14862c00587f6c400736f8206bab9
2017-10-23Bug 518737 - [Win32] Background switches to light if tree widget isConrad Groth3-43/+15
disabled Also use a custom background for disabled trees. Trees with the default foreground and background colors use the native behavior, i.e. the background gets a light grey. The foreground color for disabled trees always gets dark grey, even if the user specified another foreground color, because that's what all SWT widgets do. Change-Id: If0965abef9b83014cec8b1dd4817c99013596c8f Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-10-18Bug 495203 - [HiDPI][Win32][GTK] Unify behavior of Display#getDPI()Sravan Kumar Lakkimsetti1-2/+2
Change-Id: Idc60a2a188e927014e717a1bdbbd2e5fbfa310e8 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2017-10-08Bug 516365 - [Win32] Background switches to light if table widget isConrad Groth1-22/+25
disabled Change-Id: I9c91b9c606ad55e41f8b33044c36993bd8177738 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-10-06Bug 443250 - [win32] Support modern native directory dialogMartin Karpisek1-1/+84
- directory dialog on windows vista and newer will be from now using more modern 'Common Item Dialog' -if this vista-style dialog is not available (old windows version) then basic win32 directory dialog will be used Change-Id: Ib0f4f02e5909908442c23e0b618b82faf3b7cac8 Signed-off-by: Martin Karpisek <martin.karpisek@gmail.com>
2017-09-27Bug 525255 - Enable indirect static usage warningsAlexander Kurtakov7-18/+18
Cover win32. Change-Id: Ifa0f68487fbcd57b84603c08ce5c388e74763706 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-17Bug 500832 - [Win32] StringIndexOutOfBoundsException belowNiraj Modi1-1/+1
Table.wmNotifyChild (thrown in String.getChars) Change-Id: I0481635eeaf599fb2be22a0f203724d6bed24ea7 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-06-23Bug 518676 - [Win32] Tree header-column separator not aligned to TreeNiraj Modi1-2/+1
column separator Change-Id: Icdf4c02bd2433b3984441c5a4eaa37d235d6047c Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-06-20Bug 497387 - [Win32] TabItem setting image to null doesnt resize theConrad Groth1-2/+6
TabItem Change-Id: I76e04255f2ddece07fa0bfec345dd3ebed3622cd Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-06-15Bug 518251 - [Win32] NullPointerException below ControlElement.resetY20170615-1000Niraj Modi1-2/+2
(thrown in Control.findBackgroundControl) Change-Id: I5073260cec797a894f9c76dd3e65e0b89f303e75 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-06-05Bug 517183 - Do the annual javadoc bash for 4.7Y20170608-1000Lakshmi Shanmugam1-2/+2
Change-Id: I24fa23c993118fe6d22f83b35c64aabe3d78e5ca

Back to the top