|
1 | 1 | # DurianSwt releases
|
2 | 2 |
|
3 |
| -### Version 3.4.0 - TBD ([javadoc](http://diffplug.github.io/durian-swt/javadoc/snapshot/), [snapshot](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/durian/durian-swt/)) |
4 |
| - |
5 |
| -### Version 3.3.0 - November 22nd 2019 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.3.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.3.0/view)) |
| 3 | +## [Unreleased] |
6 | 4 |
|
| 5 | +## [3.3.0] - 2019-11-02 |
7 | 6 | - Added `FlatBtn.setBackground` and `FlatBtn.setSelection`.
|
8 | 7 | - Added `Shells.dontSetPositionOrSize` and `Shells.setCloseOnEscape`.
|
9 | 8 | - Shells now reposition themselves if they were going to open offscreen.
|
|
14 | 13 | - Added `SwtMisc.globalBounds` for `ControlWrapper`.
|
15 | 14 | - `SwtDebug.dumpEvent` is now null-safe.
|
16 | 15 |
|
17 |
| -### Version 3.2.1 - August 7th 2019 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.2.1/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.2.1/view)) |
18 |
| - |
| 16 | +## [3.2.1] - 2019-08-07 |
19 | 17 | - Added a non-coat version of `RadioGroup`.
|
20 | 18 | - Fixed `Shells.openOnActive()` to take advantage of `Shells.active()`.
|
21 | 19 |
|
22 |
| -### Version 3.2.0 - April 29th 2019 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.2.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.2.0/view)) |
23 |
| - |
| 20 | +## [3.2.0] - 2019-04-29 |
24 | 21 | - `Fonts.systemLarge()` was hardcoded to 12 points. This worked well on standard DPI windows, but was actually smaller than the normal font on retina mac. Now adds 33% to the normal size, which exactly matches the previous behavior on Windows, but works better on other platforms.
|
25 | 22 | - Added `SwtMisc.getSystemCursor` and `getSystemIcon`.
|
26 | 23 | - Added `Shells.dontOpen` which makes it possible to create a shell that doesn't open.
|
27 | 24 | - Added `Shells.active` which finds the currently active shell.
|
28 | 25 |
|
29 |
| -### Version 3.1.1 - April 24th 2019 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.1.1/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.1.1/view)) |
30 |
| - |
| 26 | +## [3.1.1] - 2019-04-24 |
31 | 27 | - Fixed a bug in `StructuredDrop` which caused `dragLeave` events to get swallowed.
|
32 | 28 |
|
33 |
| -### Version 3.1.0 - January 2nd 2019 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.1.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.1.0/view)) |
34 |
| - |
| 29 | +## [3.1.0] - 2019-01-02 |
35 | 30 | - `Shells` now detects the monitor using the center of the proposed bounds, rather than the top-left.
|
36 | 31 | - Added `StructuredDrag.copyToClipboard()` and `StructuredDrop.pasteFromClipboard()` [(#2)](https://github.com/diffplug/durian-swt/pull/2).
|
37 | 32 | - Reduced noise in `InteractiveTest` failures.
|
|
40 | 35 | - Made the spacebar visible in `Actions.getAcceleratorString()`.
|
41 | 36 | - Fix `StructuredDrop` for files when executing multiple drags from the desktop.
|
42 | 37 |
|
43 |
| -### Version 3.0.0 - August 1st 2018 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.0.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.0.0/view)) |
44 |
| - |
| 38 | +## [3.0.0] - 2018-08-01 |
45 | 39 | * Extracted the `com.diffplug.common.swt.os` package into its own jar with no dependencies, published to `com.diffplug.durian:durian-swt.os`.
|
46 | 40 | * Added `com.diffplug.durian:durian-swt.{SWT_PLATFORM_CODE}` for each of `win x86`, `win x64`, `linux x86`, `linux x64`, `mac x64`.
|
47 |
| - + Only used for `SmoothTable`, if you don't use `SmoothTable` then you don't need the platform-specific jar. |
| 41 | + + Only used for `SmoothTable`, if you don't use `SmoothTable` then you don't need the platform-specific jar. |
48 | 42 | + Added useful DnD stuff to `com.diffplug.common.swt.dnd.`
|
49 | 43 | + Added useful widgets to `com.diffplug.common.swt.widgets.`
|
50 | 44 |
|
51 |
| -### Version 3.0.0.BETA2 - March 8th 2017 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.0.0.BETA2/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.0.0.BETA2/view)) |
52 |
| - |
| 45 | +## [3.0.0.BETA2] - 2017-03-08 |
53 | 46 | * Added `TypedDataField` for storing strongly-typed data into widgets.
|
54 | 47 | * Added `SwtExec.guardOn(DisposableEar ear)`.
|
55 | 48 | * `InteractiveTest.setResult()` can now be called from any thread, and the user can pass any exception.
|
56 | 49 | * Implemented `scheduleAtFixedRate` and `scheduleWithFixedDelay` for `SwtExec` and `SwtExec.Guarded`.
|
57 | 50 | * Improved `CoatMux`'s reliability.
|
58 | 51 | * Deprecated `SwtMisc.requestLayout`.
|
59 | 52 |
|
60 |
| -### Version 3.0.0.BETA - February 7th 2017 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.0.0.BETA/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.0.0.BETA/view)) |
61 |
| - |
| 53 | +## [3.0.0.BETA] - 2017-02-07 |
62 | 54 | * `SwtExec.Guarded` is now a `GuardedExecutor`.
|
63 | 55 | * Added `SwtRx.disposableEar()`.
|
64 | 56 | * Added `SwtPlatform.toOS()`.
|
65 | 57 | * Improvements to `SwtRx.textImmediate` and `SwtRx.textConfirmed`:
|
66 |
| - * now prevents double-calls to `setText(String str)`. |
67 |
| - * selections are now preserved in a more intuitive way when the text changes. |
| 58 | + * now prevents double-calls to `setText(String str)`. |
| 59 | + * selections are now preserved in a more intuitive way when the text changes. |
68 | 60 | * `@SwtThread` can now annotate exceptions to the rules with `@SwtThread(SwtThread.Kind.THREADSAFE)`.
|
69 | 61 | * Added `Corner.getPosition(Control | ToolItem)`.
|
70 | 62 | * Added `Shells.setAlpha(int alpha)`.
|
71 | 63 |
|
72 |
| -### Version 3.0.0.ALPHA - November 11th 2016 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/3.0.0.ALPHA/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/3.0.0.ALPHA/view)) |
73 |
| - |
| 64 | +## [3.0.0.ALPHA] - 2016-11-11 |
74 | 65 | * Bumped RxJava to 2.0, and dealt with some initial fallout from that change.
|
75 | 66 |
|
76 |
| -### Version 2.0.0 - July 13th 2016 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/2.0.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/2.0.0/view)) |
77 |
| - |
| 67 | +## [2.0.0] - 2016-07-13 |
78 | 68 | * Introduced the `SwtThread` annotation to mark that a method is only safe to use from an SWT thread.
|
79 | 69 | * Added `SwtExec.swtOnly()` as a high-performance, non-thread-safe version of `SwtExec.immediate()` (thanks to David Karnok).
|
80 | 70 | * Renamed `Shells.openOnAndBlock()` to `Shells.openOnBlocking()`.
|
81 | 71 | * `SwtScheduler` now honors the `Scheduler/Worker` contracts (thanks to David Karnok).
|
82 | 72 | * `ColumnFormat` and `ColumnViewerFormat` now expose all their data through getters.
|
83 | 73 | * Fallout from 2.0 bump of durian-rx.
|
84 | 74 |
|
85 |
| -### Version 1.7.0 - April 6th 2016 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.7.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.7.0/view)) |
86 |
| - |
| 75 | +## [1.7.0] - 2016-04-06 |
87 | 76 | * Upgraded Eclipse/SWT dependencies from Luna SR2 to Mars.2 (4.4.2 to 4.5.2).
|
88 | 77 | * Changed `SwtDebug` event names to their 4.5-based names.
|
89 | 78 | * `InteractiveTest` can now pass/fail itself automatically, for self-testing gui tests.
|
90 | 79 | * Added `SwtRx.combo()` methods for reactive control of combo boxes.
|
91 | 80 | * Added `SwtMisc.requestLayout()`, which is backported from Eclipse Neon. It will be deprecated when Neon comes out.
|
92 | 81 |
|
93 |
| -### Version 1.6.0 - February 9th 2016 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.6.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.6.0/view)) |
94 |
| - |
| 82 | +## [1.6.0] - 2016-02-09 |
95 | 83 | * Ditched Guava for DurianGuava.
|
96 | 84 |
|
97 |
| -### Version 1.5.1 - December 30th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.5.1/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.5.1/view)) |
98 |
| - |
| 85 | +## [1.5.1] - 2015-12-30 |
99 | 86 | * Fixed a bug in `OS.calculateNative` on linux x86 systems that report their `os.arch` as `i386`.
|
100 | 87 |
|
101 |
| -### Version 1.5.0 - December 11th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.5.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.5.0/view)) |
102 |
| - |
| 88 | +## [1.5.0] - 2015-12-11 |
103 | 89 | * Added `Actions.setCallback`, which allows behavior based on the actual IAction which ends up being created.
|
104 | 90 | * Added `SwtMisc.copyEvent()`.
|
105 | 91 | * Added `SwtMisc.withGcRun` and `SwtMisc.withGcCompute`, which allows quick access to a GC for e.g. computing the size of some text.
|
106 | 92 |
|
107 |
| -### Version 1.4.0 - November 18th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.4.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.4.0/view)) |
108 |
| - |
| 93 | +## [1.4.0] - 2015-11-18 |
109 | 94 | * `SwtExec.Guarded::subscribe` now supports `CompletionStage` and `CompletableFuture`, in support of improvements made to DurianRx 1.2.0.
|
110 | 95 | * Added `SwtMisc.setFlag()`.
|
111 | 96 | * Added `JFaceRx`, which exposes JFace properties as RxJava observables.
|
112 | 97 |
|
113 |
| -### Version 1.3.0 - October 19th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.3.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.3.0/view)) |
114 |
| - |
| 98 | +## [1.3.0] - 2015-10-19 |
115 | 99 | * Changed OSGi metadata Bundle-SymbolicName to `com.diffplug.durian.swt`.
|
116 | 100 | * OSGi metadata is now auto-generated using bnd.
|
117 | 101 | * Added `ColumnViewerFormat.ColumnBuilder::setFinalSetup()` which allows us to get the `ViewerColumn` object and setup something such as a `CellEditor` on it.
|
118 | 102 | * `ColumnViewerFormat` no longer requires a `LabelProvider`, since we might set that stuff up in `setFinalSetup()`.
|
119 | 103 | * Fixed a bug in `Shells` which caused windows to always open on the primary monitor.
|
120 | 104 | * `Actions` is now based on `runWithEvent()` rather than `run()`. This allows implementors to get the `Event` which is causing the action to fire, which can allow more detailed actions to be taken.
|
121 | 105 |
|
122 |
| -### Version 1.2.0 - September 14th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.2.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.2.0/view)) |
123 |
| - |
| 106 | +## [1.2.0] - 2015-09-14 |
124 | 107 | * Major improvement to the `CoatMux` API.
|
125 | 108 | * Added `ColorPool.getSystemColor(int systemColor)` so that ColorPool can be your one-stop-shop for getting colors.
|
126 | 109 | * Added some methods to `SwtMisc`:
|
127 |
| - * `Shell rootShell(Control control)` |
128 |
| - * `void forEachDeep(Composite root, Consumer<Control> ctlSetter)` |
129 |
| - * `void setForegroundDeep(Composite root, Color foreground)` |
130 |
| - * `void setBackgroundDeep(Composite root, Color background)` |
131 |
| - * `Rectangle globalBounds(Control control)` |
132 |
| - * `Rectangle toDisplay(Control control, Rectangle rect)` |
133 |
| - * `Optional<Monitor> monitorFor(Point p)` |
| 110 | + * `Shell rootShell(Control control)` |
| 111 | + * `void forEachDeep(Composite root, Consumer<Control> ctlSetter)` |
| 112 | + * `void setForegroundDeep(Composite root, Color foreground)` |
| 113 | + * `void setBackgroundDeep(Composite root, Color background)` |
| 114 | + * `Rectangle globalBounds(Control control)` |
| 115 | + * `Rectangle toDisplay(Control control, Rectangle rect)` |
| 116 | + * `Optional<Monitor> monitorFor(Point p)` |
134 | 117 | * Fixed `SwtMisc.setEnabledDeep()` - it now skips `Composite`s which haven't been subclassed.
|
135 | 118 | * Fixed `SwtRx.toggle()` now works with radio buttons.
|
136 | 119 | * Fixed `Shells` so that the dialogs it creates don't automatically close on escape, and so that they are better about opening on-screen.
|
137 | 120 |
|
138 |
| -### Version 1.1.1 - July 27th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.1.1/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.1.1/view)) |
139 |
| - |
| 121 | +## [1.1.1] - 2015-07-27 |
140 | 122 | * Gah! MANIFEST.MF still had -SNAPSHOT version. Fixed now. Would be really nice if we could get MANIFEST.MF generation working.
|
141 | 123 |
|
142 |
| -### Version 1.1 - July 26th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.1/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.1/view)) |
143 |
| - |
| 124 | +## [1.1] - 2015-07-26 |
144 | 125 | * Fixed a linux-specific bug in `Shells.openOnActive()`.
|
145 | 126 | * Fixed an NPE in `Shells.openOnActive()`.
|
146 | 127 | * Made `InteractiveTest.testShellWithoutHandle()` a little more forgiving.
|
147 | 128 |
|
148 |
| -### Version 1.0 - May 13th 2015 ([javadoc](http://diffplug.github.io/durian-swt/javadoc/1.0/), [jcenter](https://bintray.com/diffplug/opensource/durian-swt/1.0/view)) |
149 |
| - |
| 129 | +## [1.0] - 2015-05-13 |
150 | 130 | * First stable release.
|
0 commit comments