Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03Bug 480586 - [Win32][HiDPI] Tree expansion triangle issuesNikita Nemkin1-0/+1
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 Nemkin4-0/+35
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-1/+1
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-04-26Bug 480639 - Provide monitor-specific DPI scaling / zoom levelNikita Nemkin5-128/+32
* 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 533556 - [Win32] Fix compiler warning in native codeNikita Nemkin2-2/+2
os_structs.c(4456): warning C4133: '=': incompatible types - from 'HBRUSH' to 'HPEN' Signed-off-by: Nikita Nemkin <nikita@nemkin.ru> Change-Id: I644248039facc38e42a8dbf387b5aeabb231ec70
2018-04-16Bug 533562 - [Win32] Clean up native headersNikita Nemkin1-164/+3
* Remove unnecessary includes. * Do not duplicate declarations available in the SDK. * Use wsprintf from user32 to save a few KB in SWT DLL. Change-Id: Ib2e9424547e56c09c60b05e494b85f75b12f99c1 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-04-10Bug 480639: Provide monitor-specific DPI scaling / zoom levelLakshmi Shanmugam4-0/+129
Added API Monitor.getZoom() to get zoom on Mac & Windows Change-Id: Ib1990d0cbb2190323f7204dd14c6674d99278efd Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-04-05Bug 531097 - [Win32] Remove unnecessary string manipulationNikita Nemkin1-15/+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-04-02Bug 533138 - [win32] Specifically target SWT for Windows 8.1 or WindowsNiraj Modi1-2/+17
10 Change-Id: Icb4498f9ca26c028eecdbc374f6c29f078f74580 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-04-02Bug 533135 - [Win32] Enable SWT dpiAwareness setting.Niraj Modi1-1/+19
Change-Id: Ib0ada8a27ce9583c5f56e356d643794b60aac253 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-03-28Bug 531097 - [Win32] Remove unused PI definitionsI20180328-2000Nikita Nemkin23-5438/+63
Remove obsolete and/or unused PI functions, structures and constants. Remove WinCE-specific definitions in native code. Change-Id: I85bf17b026ae66d70050edd459ca706e873a3162 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2018-03-28Bug 531097 - [Win32] Remove support for Windows before VistaNikita Nemkin19-503/+135
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-28Bug 532729 [Win32] Make SWT win build easier, auto-find JAVA_HOMELeo Ufimtsev1-8/+44
build.bat - Auto configure SWT_JAVA_HOME to latest JDK if java not loacted in hard-coded dir. - Backwards compatible, should not break build servers. - Check if 'cl' (C++ compiler) exists, print warning if not. Adding Readme.Win32.md to explain how to build natives & test them. Tested on my Windows 10 64 box. I don't expect any breakage on build servers. It doesn't stop build, just prints info warnings to help user. Would be great if a Windows-SWT dev could review/test. Patchset 2: - Added more info to readme, (incorporated info from website). - Updated batch script as per feedback. Patchset 3: - Echo sometimes throws errors if msg is without quotes. Adding quotes. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=53272932 Change-Id: I7e2954c44fa78f85cd27e0d2f1c3b5b2191e95e1 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-01-09Bug 526802 (Part2)- [Win32] Update SWT windows native build scripts toNiraj Modi1-9/+14
works with latest VisualStudio and Win10-SDK Change-Id: I45cbdb889ff9b6fe34aa4f3a46aef12c942342fc Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-01-05Bug 526802 - [Win32] Update SWT windows native build scripts to worksNiraj Modi3-35/+13
with latest VisualStudio and Win10-SDK Change-Id: Icf7485f1cc21ee369e9b13f5709448f8443e8fd7 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-12-13Bug 508033 - Win32: Toolbar ignores foreground colorConrad Groth7-0/+242
added new datatype and return values for ToolBar custom drawing. Change-Id: I9f1fa65416314ae794d36d298c7dc0159b8cc535 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2017-10-23Bug 521927 - [win32] Investigate using "Visual Studio C++ Express 2008"Niraj Modi1-1/+1
for windows native builds Change-Id: I041c9e5a83c5b1fac88f18e5df0321245eca774d Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-10-13Bug 525392 - [win32] Cleanup windows build scriptNiraj Modi1-0/+1
- Adding the call to set PROCESSOR_ARCHITECTURE back Change-Id: Ie3b2dd43396caf2107bd42d2353276ce3086e921 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-10-13Bug 520200 - Make it easier to move SWT build aroundMikael Barbero2-9/+8
Change-Id: Ied40522030d2c28c2448cbb10c7087b08675b2c5
2017-10-13Bug 525392 - Strengthen support to space in env varsMikael Barbero1-9/+11
Change-Id: I8b1d66e882e1e0e9283fcb19e3700f64a9c237a6 Signed-off-by: Mikael Barbero <mikael.barbero@eclipse-foundation.org>
2017-10-13Bug 525392 - Remove references to IA64 archMikael Barbero1-13/+0
Change-Id: Ia8bff4e391e3a47394a5d982d8a503d3ddbee11a Signed-off-by: Mikael Barbero <mikael.barbero@eclipse-foundation.org>
2017-10-13Bug 525392 - Remove Windows CE build scriptsMikael Barbero2-195/+0
Change-Id: I0e07559cb0f886ca9a0f895140eea7a9bb192be3 Signed-off-by: Mikael Barbero <mikael.barbero@eclipse-foundation.org>
2017-10-06Bug 443250 - [win32] Support modern native directory dialogMartin Karpisek7-4/+114
- 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 Kurtakov24-99/+136
Cover win32. Change-Id: Ifa0f68487fbcd57b84603c08ce5c388e74763706 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-09-08Bug 521927 - [win32] Investigate using "Visual Studio C++ Express 2008"Niraj Modi1-1/+1
for windows native builds - Reverting back to "Visual Studio 2008" Change-Id: If368c019518262f67927783cfa53526806e1a24c Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-09-06Bug 521927 - [win32] Investigate using "Visual Studio C++ Express 2008"Niraj Modi1-1/+1
for windows native builds Change-Id: I0fc8f1802157e41573dc6d952980a2dc6e0e08ab Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-08-23Bug 520296 - [win32] Upgrade Windows native build to use Java8I20170827-2000I20170826-1500I20170825-2000I20170824-2000I20170823-2000Niraj Modi2-5/+5
Change-Id: I07f3afecd258da8eab096f375cbe622a4367dd8f Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-06-20Bug 518442: Stop building XULRunner libraries on WindowsLakshmi Shanmugam2-79/+0
Remove related code & targets in build files. Change-Id: Ib71f26569622fb496a97b15ef16daafeb616f601
2017-02-24Bug 384906 - [FEEP] [CSS] Allow styling of table headers via CSSConrad Groth1-1/+8
the header is custom drawn, if a custom background was set. Also images, sort indicators and header cell separators have to be drawn by us. Change-Id: I92819be88f50f85c8dbea62efbea877150365dc9 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2016-10-07Bug 23837 - [FEEP] Button, do not respect foreground and backgroundConrad Groth1-2/+3
color on Windows Custom Drawing looks very similar to default windows behavior now, e.g. hot and selected buttons are colored with a different color, which is calculated from the commanded background color. Change-Id: Ifa1ebb8d27de4ae5cdfd9cae90dbee1743c368ce Signed-off-by: Conrad Groth <info@conrad-groth.de>
2016-09-08Bug 500363: Native auto generated files should mention that they areLeo Ufimtsev15-15/+60
auto generated When doing work with native files, it's not clear as to which files are auto generated and which files are written manually. Especially when you are just starting to work with native C code. I added a method to JNIGenerator.java that inserts a note to every generated file about the file being auto-generated. [Update Patchset 3] - The updated patchset updates contains auto-generated files for all platforms. - Fixed typo and added name of generator class. Change-Id: I7fdac972eb2cb829316d0e970601ed4c87e6008b Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=500363 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2016-03-12Bug 479614 - [Graphics] HiDPI support for eclipse platformArun Thondapu1-686/+0
Revert unnecessary native file changes in win32 (generated by older versions of SWT tools) Change-Id: I658ecaec0a562a541ecee6fb0bcff1bbc52e96e4
2016-03-12Bug 479614 - [Graphics] HiDPI support for eclipse platformNiraj Modi1-0/+686
- Windows changes Change-Id: I9cd0004d57a2a3a2a956a71de91b10af560c08a7 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2016-01-07Bug 485367 - cleaned trailing spaces in swt (win32)Andrey Loskutov69-320/+320
Change-Id: I47413fc0f50677957d3e3269dbaca97413b56d30 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2015-11-30Bug 473894 - new ToolTip gets message from another tooltip that isConrad Groth1-1/+3
currently visible Change-Id: Ic9516998a084517dbd0f2ce6f1e92166ce92eec5 Signed-off-by: Conrad Groth <info@conrad-groth.de>
2015-11-02Bug 462633: Enable save actions for annotationsMarkus Keller2-0/+2
Added missing @Override/@Deprecated in win32
2015-09-22Bug 461486 - Disable the move of a shellEugen Neufeld1-1/+2
Added NO_MOVE flag to the SWT class, that can disable the move of a Shell. Usage example: Shell shell = new Shell(parent, SWT.SHELL_TRIM|SWT.NO_MOVE); Contribution contains implementations for gtk, Win32 and Cocoa. Change-Id: Ia5cc50009b81cf08e631a695673f6a31779b6222 Signed-off-by: Alexandra Buzila <abuzila@eclipsesource.com> Signed-off-by: Eugen Neufeld <eneufeld@eclipsesource.com>
2015-09-01Bug 472689 - Stop generating pre JNI 1.2 nativesArun Thondapu1-687/+1
Change-Id: Ie8f297602a6e553288b72101d2387b94bdf0957c Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2015-04-24Build related changes for xulrunner 31 supportLakshmi Shanmugam2-10/+0
-remove xulr24 targets and references -remove native files specific to xulr24 -update library count for fragments Change-Id: I30ac5692d1e26c3b5fbf90ad0c313b631fe3be00 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2015-04-24Merge branch 'lshanmugam/xulrunner-31'Lakshmi Shanmugam2-11/+0
2015-03-27Bug 463276 - "make_win32.mak" native build fails for XulRunner for 64bitNiraj Modi1-3/+3
on Windows7 Change-Id: I47fa355905280deb501ed69c36925107f3214579 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2014-08-28Bug 409553 - Clear text in Text.setTextChars(char[] text)Niraj Modi1-1/+10
Change-Id: I3903a15480f0c1b00f013182ed4068fd5eaa81b7 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2014-01-03add XULRunner 24 support on Windows x86_64Grant Gayed1-1/+1
2013-09-26final XULRunner 24 passGrant Gayed1-1/+1
2013-09-19XULRunner 24 support on win32Grant Gayed2-3/+24
2013-09-12fix gdip_custom.cpp when compiling with NATIVE_STATSSilenio Quarti1-0/+4
2013-05-28Bug 408895 - Do the annual javadoc/copyright bash for 4.3Carolyn MacLeod140-140/+140
2013-05-12enable remote build for windowsSilenio Quarti2-3/+8
2013-04-23Bug 404249 - On Windows 7, Cannot convert Korean charactor to Chinese in ↵Silenio Quarti2-13/+15
StyledText control (comment#13)
2013-04-11finish support of 64-bit XULRunner on win32Grant Gayed2-8/+26

Back to the top