Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wt3 - WTextEdit return just a html formatted String! #151

Closed
wants to merge 206 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
561b23d
Several changes:
RockinRoel Oct 2, 2017
8b7dad0
Made sure Http client always emits done exactly once (even when aborted)
RockinRoel Oct 3, 2017
732ac97
Added clarifying comment about Wt::Http::Client::abort() behaviour
RockinRoel Oct 3, 2017
fa9bad8
Added link to Perl and ECMAScript regex syntax (issue #5960)
RockinRoel Oct 4, 2017
c7f7d0a
Extend validity of multi session cookie (issue #5971)
RockinRoel Oct 4, 2017
26955bf
wthttpd: always check every 5 seconds for expired sessions (issue #5971)
RockinRoel Oct 9, 2017
99cc7a1
do not let WDialog be sensitive to internal path changes
RockinRoel Oct 10, 2017
6130202
Deprecate WRegExpValidator::setNoMatchText()
RockinRoel Oct 10, 2017
d952b01
Several changes:
RockinRoel Oct 12, 2017
e1b71f5
Several changes:
RockinRoel Oct 13, 2017
97ef0f0
Issue #5998: need to compare absolute delta!
RockinRoel Oct 13, 2017
b93abce
Several changes:
RockinRoel Oct 19, 2017
0db5c46
Several changes:
RockinRoel Oct 20, 2017
cc11472
Several changes:
RockinRoel Nov 8, 2017
cde0932
Several changes:
RockinRoel Nov 9, 2017
9814190
Disable part of the long string test for MySQL
RockinRoel Nov 13, 2017
9c83fd0
WebRenderer: close bracket even when exception was thrown
RockinRoel Nov 13, 2017
e81fdee
Dbo: Disable Firebird string test if string longer than 64K
RockinRoel Nov 14, 2017
1a5a8f0
Several changes:
RockinRoel Nov 14, 2017
3e22197
Dbo Firebird: Blob test with over 64K also fails
RockinRoel Nov 14, 2017
6b5abb2
Fix issue #6043
RockinRoel Nov 14, 2017
c515d8c
Fix issue #6121 (+ prevent issue #3996 regression)
RockinRoel Nov 15, 2017
6389743
Escape plaintext tooltips when deferred
RockinRoel Nov 17, 2017
23ce1c4
Added cerrno include
RockinRoel Nov 20, 2017
6a175bd
Also emit textInput() when picking date/time/suggestion
RockinRoel Nov 20, 2017
d4d2e88
Change for JWt conversion
RockinRoel Nov 21, 2017
0cf24fa
Update 3.3.9 release date
RockinRoel Nov 21, 2017
82fd069
fix memory leak in WMenuItem (in case of WMenu::removeItem)
RockinRoel Nov 23, 2017
cbb73b2
Disable pointer events when resizing
RockinRoel Nov 30, 2017
7516684
jquery val() returns null for an empty selection-box
RockinRoel Dec 5, 2017
138a4dc
Fixed >ul< to <ul> (issue #6172)
RockinRoel Dec 7, 2017
bb838d9
Several changes:
RockinRoel Dec 13, 2017
b5435ef
Several changes:
RockinRoel Dec 19, 2017
8be7f3b
Asio: Fixed for older versions of Boost
RockinRoel Dec 19, 2017
365d0e7
Fix getJpegSize for JPEGs with a lot of metadata
RockinRoel Dec 22, 2017
09c2085
Several changes:
RockinRoel Jan 2, 2018
2a91f90
Several changes:
RockinRoel Jan 8, 2018
4c6e773
add method to set filter on filedrop-widget fallback
RockinRoel Jan 9, 2018
699b502
Several changes:
RockinRoel Jan 23, 2018
84c0d7b
Several changes to WFileDropWidget:
RockinRoel Jan 30, 2018
ad35c47
Fix issue #6226
RockinRoel Feb 5, 2018
c42aa6f
Several changes:
RockinRoel Feb 12, 2018
92e145d
Request doc fix (pointed out by Michael Schwarz)
RockinRoel Feb 13, 2018
4189748
Several changes:
RockinRoel Feb 15, 2018
92f31c9
Don't do notify_fork: it can cause segfaults and seems unnecessary
RockinRoel Feb 15, 2018
cd9e122
Fix issue #6261
quatmax Mar 1, 2018
73267cc
Several changes:
RockinRoel Mar 19, 2018
8162b63
Issue #6304: eliminate repetition a bit
RockinRoel Mar 20, 2018
c895835
Smoother dragging when crosshair enabled
RockinRoel Mar 20, 2018
79747a8
Fix issue #6288
RockinRoel Mar 22, 2018
6cd419c
Added .editorconfig
RockinRoel Mar 22, 2018
36d1160
Several changes:
RockinRoel Mar 23, 2018
69944ba
Several changes:
RockinRoel Mar 27, 2018
dba2492
Removed unnecessary style.css (accidentally committed?)
RockinRoel Mar 27, 2018
0ea5af1
Several changes:
RockinRoel Mar 29, 2018
c6d31fb
Several changes:
RockinRoel Mar 29, 2018
4c13869
WCartesianChart: Fixed animation stop condition
RockinRoel Mar 30, 2018
82cad5d
REAMDE.md: mention MySQL and MS SQL Server backends
RockinRoel Mar 30, 2018
9baf82e
Updating README and minimum required CMake version
RockinRoel Mar 30, 2018
f3cdf67
Fixing typo (see PR #127)
RockinRoel Apr 5, 2018
b6cdaba
Several changes:
RockinRoel Apr 10, 2018
0ae774e
WDialog: delay doJavaScript until after render (issue #6252)
RockinRoel Apr 10, 2018
f65756f
Several changes to WFileDropWidget:
RockinRoel Apr 11, 2018
3a8471a
Trivial openbsd fix fix
RockinRoel Apr 11, 2018
9ba3fcd
Widget gallery: updating Emweb logo, and changing URLs to HTTPS
RockinRoel Apr 11, 2018
13e9fdc
Replacing calendar icon for WDateEdit/WDatePicker, adding clock icon …
RockinRoel Apr 11, 2018
f40afc0
Also apply WTimeEdit clock icon changes to polished wt theme
RockinRoel Apr 12, 2018
f241238
Set 3.3.10 release date
RockinRoel Apr 12, 2018
b8d21b1
First steps of multiple axis implementation in WCartesianChart
RockinRoel Apr 12, 2018
1a0c470
Issue #6184: put type in Dbo nullptr exception
RockinRoel Apr 17, 2018
3fbb852
Several changes related to Multiple Y axes:
RockinRoel Apr 18, 2018
3d82024
Several changes:
RockinRoel Apr 19, 2018
36a14c7
Several changes:
RockinRoel Apr 24, 2018
29bbdb0
Several changes:
RockinRoel Apr 24, 2018
98c6851
Several changes:
RockinRoel Apr 25, 2018
0cf69bc
Generate WCartesianChart_js.C to bypass MSVC string literal length li…
RockinRoel Apr 30, 2018
fe93c99
WCartesianChart: removeYAxis and clearYAxes added
RockinRoel Apr 30, 2018
28f5ac0
WCartesianChart: turn off interactivity if no Y axes
RockinRoel Apr 30, 2018
d957338
JWt fixes
RockinRoel May 2, 2018
7b1ee8b
Charts example: added add/remove/clear axes
RockinRoel May 2, 2018
1f5319b
Several changes to WCartesianChart:
RockinRoel May 3, 2018
7fe6060
Several changes:
RockinRoel May 4, 2018
3ca773b
Several changes:
RockinRoel May 9, 2018
7100fa6
Several changes:
RockinRoel May 15, 2018
b741024
Several changes:
RockinRoel May 15, 2018
4a276a8
Several changes:
RockinRoel May 15, 2018
a5976b4
Fixed linking issues on CentOS 6 with GCC 7.2.0 and Boost 1.67
RockinRoel May 16, 2018
1f01209
Fixed visibility check bug
RockinRoel May 17, 2018
9689cf4
On-demand loading for Y axes (labels and ticks only)
RockinRoel May 22, 2018
a2c90a6
Added extra zoom level for maxZoom
RockinRoel May 22, 2018
5d567fd
If zoom level gets very large, int may overflow
RockinRoel May 22, 2018
a9539cb
Optimization: jump ahead to right before zoomStart when using DateTim…
RockinRoel May 22, 2018
9a0d0a4
Several changes to WCartesianChart:
RockinRoel May 23, 2018
a34259e
Several changes to 2D graphics and charts:
RockinRoel May 23, 2018
862bae4
Several changes to 2D graphics and charts:
RockinRoel May 24, 2018
feb2c5c
Fixed regression caused by moving the axis pen creation code
RockinRoel May 24, 2018
9a794e0
WCartesianChart changes:
RockinRoel May 25, 2018
50894a1
WCartesianChart: Fixed rounding error issue
RockinRoel May 25, 2018
6bc3363
Several changes:
RockinRoel May 29, 2018
64b4966
Charts:
RockinRoel May 31, 2018
ea420a9
WDataSeries model connection bookkeeping, and added necessary null check
RockinRoel May 31, 2018
62e971c
WTabWidget: added insertTab, itemAt and currentItem
RockinRoel Jun 4, 2018
71ffccd
Fix 500 status leading to invalid HTML reply
rgoupil Jun 6, 2018
b3974f8
Several changes:
RockinRoel Jun 8, 2018
d9b70e6
Fix issue #6437
RockinRoel Jun 8, 2018
11a2bc6
Super long line rendering refinement
RockinRoel Jun 18, 2018
a84810e
Refining super long line drawing even further
RockinRoel Jun 18, 2018
192c74a
Wt::Dbo MySQL backend: Fix for MariaDB Connector/C (issue #6407)
RockinRoel Jun 19, 2018
aaf7594
Avoid hitting the history state change rate limit on Chrome
hyperair Jun 13, 2018
b323271
Minified Wt.js
RockinRoel Jun 19, 2018
75cf954
Don't need to malloc errors, because they're already allocated all at…
RockinRoel Jun 19, 2018
7f8ea44
Issue #6438: rethrow exception properly (without copy)
RockinRoel Jun 20, 2018
af63792
Fixing JWt translation issue (Java doesn't have throw on its own)
RockinRoel Jun 20, 2018
12cf194
MySQL 8 fixes (my_bool has been removed), allocate bool array once
RockinRoel Jun 25, 2018
bf5ed07
Several changes:
RockinRoel Jun 28, 2018
c827b9f
Also send X-Frame-Options header when not using progressive bootstrap
RockinRoel Jun 28, 2018
523484d
Log trusted origin
RockinRoel Jun 29, 2018
d5fcd34
Properly report https when using WebSockets over SSL
RockinRoel Jul 4, 2018
4bbf5f3
issue #6431: first in queue sent even if cancelled
RockinRoel Jul 4, 2018
99b533c
Several changes:
RockinRoel Jul 9, 2018
b5b098b
Several changes:
RockinRoel Jul 10, 2018
9603b80
Several changes:
RockinRoel Jul 17, 2018
cb67935
Bumping version and so version to 3.3.11 + release notes
RockinRoel Jul 23, 2018
bc54635
Several changes:
RockinRoel Jul 26, 2018
28b3cc5
Several changes:
RockinRoel Jul 26, 2018
e04c499
Added idle-timeout documentation to overview page
RockinRoel Jul 27, 2018
c123c9e
lower z-index for close-icon
RockinRoel Aug 13, 2018
bf28217
Fixed empty header value parsing, point to valid empty string instead…
RockinRoel Aug 14, 2018
cd34db8
break, don't return, so error is properly handled
RockinRoel Aug 14, 2018
15b0618
File drop widget example: remove js-filter
RockinRoel Aug 16, 2018
3db2bff
Fixed segfault caused by non-existent Y axis
RockinRoel Aug 17, 2018
1bcd99b
Don't set dirty flag if javascript handle's value hasn't actually cha…
RockinRoel Aug 17, 2018
91542c6
WCartesianChart changes:
RockinRoel Aug 20, 2018
2449394
Several changes:
RockinRoel Aug 21, 2018
5ae1c44
Fixes for MinGW cross-compiling from Linux
RockinRoel Aug 21, 2018
3e12340
Wt 3.3.11 release date
RockinRoel Aug 22, 2018
7ecc243
Only create pid file in parent process, not child processes
RockinRoel Aug 22, 2018
afbe6e1
Several changes:
RockinRoel Aug 27, 2018
760c8d7
Fix issue #6559
RockinRoel Aug 27, 2018
9f47841
Dbo: added class name to some more exceptions (issue #6184)
RockinRoel Aug 27, 2018
f0e530a
Issue #6560
RockinRoel Aug 27, 2018
0958b64
Several changes:
RockinRoel Aug 29, 2018
64265ae
Fix issue #6573
RockinRoel Aug 29, 2018
cc96c49
fixes for ssl truncation error:
RockinRoel Aug 30, 2018
c2b2473
remove ssl::error::stream_truncated; stop reading based on 'Content-L…
RockinRoel Sep 3, 2018
f8f1d20
Issue #6580: set urlScheme early enough so that cookies are secure wh…
RockinRoel Sep 3, 2018
aeb2607
Issue #6581: doc fix
RockinRoel Sep 3, 2018
999e6ca
Issue #6379: update WDialog's Z index after bringing to front
RockinRoel Sep 4, 2018
50ed466
Several changes:
RockinRoel Sep 5, 2018
bd4aad3
set all js values upon recreation of WJavaScriptObjectStorage
RockinRoel Sep 5, 2018
9309df8
Fix for JWt
RockinRoel Sep 6, 2018
0abd759
Wt::Json::parse: only throw ParseError, never a boost::spirit-specifi…
RockinRoel Sep 6, 2018
2ea452c
Json parser: limit recursion depth (so it doesn't segfault)
RockinRoel Sep 6, 2018
dc8f2dd
Reentrant statement use support: clone prepared statement as needed
RockinRoel Sep 7, 2018
7e2e62f
optimize rowcount query
RockinRoel Sep 10, 2018
48ce82c
Clarifying arguments of dataReceived() and tooLarge() signals
RockinRoel Sep 10, 2018
af35b82
Several changes:
RockinRoel Sep 13, 2018
718e628
quit() in first response with progressive bootstrap
RockinRoel Sep 14, 2018
a9c3edf
just if (Intl) causes an error (causes IE10's JS bootstrap to fail)
RockinRoel Oct 1, 2018
a8cb7cf
I don't know how that doc comment got there.
RockinRoel Oct 2, 2018
f8760f2
Add CLOEXEC to acceptors on UNIX/Linux
RockinRoel Oct 9, 2018
46bc9f3
Remove "patch by..."
RockinRoel Oct 10, 2018
707b3bd
UpdatePasswordWidget does not delete itself when done but emits a sig…
RockinRoel Nov 8, 2018
120986c
Several changes:
RockinRoel Nov 8, 2018
e6e8c54
Issue #6714: provide
RockinRoel Nov 9, 2018
7c0895a
issue #6724
RockinRoel Nov 13, 2018
7aecb5c
Bumped version
RockinRoel Nov 13, 2018
ee093fa
made Intl.DateTimeFormat check a little bit more robust
RockinRoel Nov 13, 2018
8db10d1
WFileDropWidget changes:
RockinRoel Nov 14, 2018
4d6dd98
addEventListener and removeEventListener options should match
RockinRoel Nov 14, 2018
69b46ab
Fixing ubsan complaints:
RockinRoel Nov 20, 2018
57f0d8f
Fix WCartesianChart cannot drag the series after a series is selected.
Apivan Nov 16, 2018
32ed5d1
Issue #6766: bad request if content length is empty
RockinRoel Nov 27, 2018
53149c2
axis -> yAxis in a few forgotten places (forum topic 15522)
RockinRoel Nov 27, 2018
7fde24c
Several changes:
RockinRoel Dec 3, 2018
8f38777
Finalizing release notes for RC1
RockinRoel Dec 4, 2018
d325d85
fix quote in format parsing
RockinRoel Dec 7, 2018
d246b18
Several changes:
RockinRoel Dec 12, 2018
e443649
Fix issue #6629 with patch by Bruce Toll from issue #6802
RockinRoel Dec 14, 2018
aa7b878
Set release date to December 14
RockinRoel Dec 14, 2018
d57f719
Several changes:
RockinRoel Dec 14, 2018
172acb1
Don't need to create ExtGState there anymore
RockinRoel Dec 14, 2018
8ec9944
Several changes:
RockinRoel Jan 16, 2019
04976c7
Make raster image in done(): fixes issues due to changing image while…
RockinRoel Jan 18, 2019
6e71e98
Several changes:
RockinRoel Jan 29, 2019
231f959
Skip rendering X grid when there are no Y axes (would segfault otherw…
RockinRoel Feb 1, 2019
b5f54f9
HTTP client: added HEAD method
RockinRoel Feb 12, 2019
087691a
WTableView: preloadMarginRows
RockinRoel Feb 15, 2019
62c03a9
Preload margin with length and sides instead of number of rows
RockinRoel Feb 18, 2019
c718c34
setPreloadMargin: deal with extremes better
RockinRoel Feb 18, 2019
3dba6a7
Several changes:
RockinRoel Mar 15, 2019
837dd8e
Use wtLayout instead of jQuery.data
RockinRoel Mar 19, 2019
c2e1edc
Using properties directly on the element instead of jQuery.data
RockinRoel Mar 20, 2019
fdf27aa
alignment flags in setLayout are deprecated (issue #6962)
RockinRoel Mar 20, 2019
718a67b
Made .wtObj more defensive in some cases
RockinRoel Mar 22, 2019
3c20e64
Several changes:
RockinRoel Apr 3, 2019
f3e7840
Several changes:
RockinRoel Apr 5, 2019
2d10bb5
Several changes:
RockinRoel Apr 10, 2019
d3e2f01
Wt HTTP client: use Windows CA certificates
RockinRoel Apr 12, 2019
90cbf71
Removed note about certificate verification not being reliable
RockinRoel Apr 12, 2019
ca78e59
that should be a w of course (issue #7014)
RockinRoel Apr 24, 2019
381d22e
fixed "delete" in place of "delete []" deallocation
rikigigi Mar 31, 2019
5f63bc4
Several changes:
RockinRoel May 3, 2019
e95e6f1
single =, not double!
RockinRoel May 3, 2019
022c504
Fix UNION Dbo test for Firebird, disabled EXCEPT/INTERSECT for MySQL
RockinRoel May 6, 2019
27abdf8
Several changes:
RockinRoel May 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
tab_width = 8
45 changes: 30 additions & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)

SET(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE true)

Expand All @@ -24,20 +24,20 @@ SET(CMAKE_MODULE_PATH

SET(VERSION_SERIES 3)
SET(VERSION_MAJOR 3)
SET(VERSION_MINOR 8)

SET(WT_SOVERSION 42)
SET(WTEXT_SOVERSION 42)
SET(WTHTTP_SOVERSION 42)
SET(WTFCGI_SOVERSION 42)
SET(WTISAPI_SOVERSION 18)
SET(WTDBO_SOVERSION 42)
SET(WTDBOSQLITE3_SOVERSION 42)
SET(WTDBOPOSTGRES_SOVERSION 42)
SET(WTDBOFIREBIRD_SOVERSION 42)
SET(WTDBOMYSQL_SOVERSION 42)
SET(WTDBOMSSQLSERVER_SOVERSION 42)
SET(WTTEST_SOVERSION 12)
SET(VERSION_MINOR 12)

SET(WT_SOVERSION 50)
SET(WTEXT_SOVERSION 50)
SET(WTHTTP_SOVERSION 50)
SET(WTFCGI_SOVERSION 50)
SET(WTISAPI_SOVERSION 26)
SET(WTDBO_SOVERSION 50)
SET(WTDBOSQLITE3_SOVERSION 50)
SET(WTDBOPOSTGRES_SOVERSION 50)
SET(WTDBOFIREBIRD_SOVERSION 50)
SET(WTDBOMYSQL_SOVERSION 50)
SET(WTDBOMSSQLSERVER_SOVERSION 50)
SET(WTTEST_SOVERSION 20)

IF(NOT SHARED_LIBS)
IF(WIN32)
Expand Down Expand Up @@ -569,6 +569,21 @@ IF(APPLE)
SET(CMAKE_MACOSX_RPATH TRUE)
ENDIF(APPLE)

# check if we need -lrt, used in boost::chrono::steady_clock::now()
SET(RT_test_fname "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/rt.c")
FILE(WRITE
"${RT_test_fname}"
"#include <time.h>\nint main() { struct timespec time1; clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &time1); return 0; }"
)
TRY_COMPILE(RT_required
"${CMAKE_BINARY_DIR}" "${RT_test_fname}"
CMAKE_FLAGS
-DLINK_LIBRARIES:STRING=rt
)
IF(RT_required)
SET(RT_LIBRARY "rt")
ENDIF(RT_required)

SUBDIRS(src)

IF(BUILD_EXAMPLES)
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PROJECT_NAME = Wt
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 3.3.8
PROJECT_NUMBER = 3.3.12

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer
Expand Down
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ It also contains a C++ ORM, which can be used in a web application
- libwtdbo, a C++ ORM
- libwtdbopostgres, PostgreSQL backend
- libwtdbosqlite3, Sqlite3 backend
- libwtdbomysql, MySQL and MariaDB backend
- libwtdbomssqlserver, Microsoft SQL Server backend
- libwtdbofirebird, Firebird backend

For more information, see [the homepage](http://www.webtoolkit.eu/wt
Expand All @@ -24,22 +26,25 @@ Dependencies
------------

To build Wt from source you will need at least
[CMake](http://www.cmake.org/CMake) (>= 2.4), and
[CMake](https://cmake.org/) (>= 2.8.12), and
[boost](http://www.boost.org) (version >= 1.41).

Optionally, you may want to add:

- [OpenSSL](http://www.openssl.org) for SSL and WebSockets support in
- [OpenSSL](https://www.openssl.org) for SSL and WebSockets support in
the built-in httpd, the HTTP(S) client, and additional cryptographic
hashes in the authentication module
- [Haru PDF library](http://libharu.org) which is used for painting to PDF
- [GraphicsMagick](http://www.graphicsmagick.org/) which is used for painting
to PNG, GIF (on Windows, Direct2D can be used instead)
- [PostgreSQL](http://www.posgresql.org/) for a PostgreSQL backend
- [Firebird](http://www.firebirdsql.org/) for a Firebird backend
- [PostgreSQL](https://www.postgresql.org/) for the PostgreSQL Dbo backend
- [MySQL](https://www.mysql.com) or [MariaDB](https://mariadb.org/) for the MySQL Dbo backend
- An [ODBC driver](https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server)
for the Microsoft SQL Server Dbo backend, and [unixODBC](http://www.unixodbc.org/) on Unix-like platforms
- [Firebird](http://www.firebirdsql.org/) for the Firebird Dbo backend
- [Pango](http://www.pango.org/) for improved font support in PDF and raster
image painting (on Windows, DirectWrite can be used instead)
- [ZLib](http://zlib.net/) for compression in the built-in httpd.
image painting. On Windows, DirectWrite can be used instead.
- [ZLib](https://zlib.net/) for compression in the built-in httpd.

For the FastCGI connector, you also need:

Expand All @@ -50,9 +55,9 @@ Building
--------

Generic instructions for [Unix-like
platforms](http://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html)
platforms](https://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html)
or [Windows
platforms](http://www.webtoolkit.eu/wt/doc/reference/html/InstallationWindows.html).
platforms](https://www.webtoolkit.eu/wt/doc/reference/html/InstallationWindows.html).

Bug Reporting
-------------
Expand All @@ -62,5 +67,5 @@ http://redmine.webtoolkit.eu/projects/wt/issues/new
Demos, examples
---------------

[The homepage](http://www.webtoolkit.eu/wt), itself a Wt application,
contains also [various examples](http://www.webtoolkit.eu/wt/examples).
[The homepage](https://www.webtoolkit.eu/wt), itself a Wt application,
contains also [various examples](https://www.webtoolkit.eu/wt/documentation/examples).
178 changes: 178 additions & 0 deletions ReleaseNotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,184 @@ <h1>Wt Release notes</h1>
the way you build Wt, the way you configure Wt or the Wt API and
behaviour.

<h2>Release 3.3.12 (December 14, 2018)</h2>
<p>Wt 3.3.12 is almost entirely a bugfix release. Here are the key changes:</p>

<h3>Wt::Auth::UpdatePasswordWidget</h3>
<p>The <a href="classWt_1_1Auth_1_1UpdatePasswordWidget.html">UpdatePasswordWidget</a>,
part of the authentication subsystem of Wt, would delete itself when done.
This was harmless when it was inside of a <a href="classWt_1_1WDialog.html">WDialog</a>, but it's less practical when
used elsewhere. We've changed the behavior of <tt>UpdatePasswordWidget</tt> to emit the
<a href="classWt_1_1Auth_1_1UpdatePasswordWidget.html#ad6969b769da2620e1ddceacdd171a1e8">updated()</a> and
<a href="classWt_1_1Auth_1_1UpdatePasswordWidget.html#ab7af05f520cbd6af0a6b28165ca4f492">canceled()</a>
signals instead.</p>

<h3>Dbo: reentrant statement use</h3>
<p>For the longest time, the Dbo tutorial has mentioned that
&ldquo;you need to be careful to not have two collections with the same statement busy at the same time&rdquo;.
If you did attempt concurrent use of statements, an exception mentioned that
&ldquo;Reentrant statement use is not yet implemented&rdquo;. Starting from
Wt 3.3.12, you won't see that error anymore. Dbo will now
clone the prepared statement as needed.</p>

<h2>Release 3.3.11 (August 22, 2018)</h2>
<p>This release brings with it the usual bugfixes, but also some new features:</p>

<h3>WCartesianChart improvements</h3>

<h4>Multiple Y axis support</h4>

<p>In previous versions of Wt, it was already possible to have two separate Y axes. This release
allows for any amount of Y axes, and extends the interactive functionality to support multiple Y axes.</p>

<p>The following methods have been added:</p>

<dl>
<dt><a href="classWt_1_1Chart_1_1WCartesianChart.html"><tt>WCartesianChart</tt></a></dt>
<dd>
<ul>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a44f9ac7c63b7ccf0be2cc925c8159094"><tt>std::vector&lt;WAxis*&gt; yAxes()</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a457197f9f6a0215a260922a47dde9115"><tt>std::vector&lt;const WAxis*&gt; yAxes() const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a3b0038712fce477634c39cdc736c2388"><tt>WAxis&amp; yAxis(int i)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#ab301c3aed79917163a093ca102cc4563"><tt>const WAxis&amp; yAxis(int i) const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#aa9d7bbc307118d222aca64deb76b60d5"><tt>int yAxisCount() const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a937af85bf6420974cd235a1758454414"><tt>int addYAxis(WAxis *waxis)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a34e5219ed027818cf6bf026bf9de7689"><tt>void removeYAxis(int yAxisId)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a34329c849eaa8761f730d027c9c47af9"><tt>void clearYAxes()</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a191d840f367d27f66612b8e68009f888"><tt>WPointF mapFromDevice(const WPointF &amp;point, int ordinateAxis) const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#aae7328844bbaab5a7b2dc208cf59fde1"><tt>WPointF mapToDevice(const boost::any &amp;xValue, const boost::any &amp;yValue, int yAxis, int xSegment = 0, int ySegment = 0) const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a9f31ca5174b6127e49ad92c9da481adc"><tt>void setCrosshairYAxis(int yAxis)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#abdac8c6bf3f39c524054645f8b063383"><tt>int crosshairYAxis() const</tt></a></li>
</ul>
<b>Small breaking change</b>: note that the virtual method <a href="classWt_1_1Chart_1_1WCartesianChart.html#a1813b0cfd8692b5b5720b5b9e7fa807b"><tt>prepareAxes</tt></a> has been modified to take a <a href="classWt_1_1WPaintDevice.html"><tt>WPaintDevice*</tt></a> argument. If your code overrides this method, be sure to add this argument to your overridden version.
</dd>
<dt><a href="classWt_1_1Chart_1_1WDataSeries.html"><tt>WDataSeries</tt></a></dt>
<dd>
<ul>
<li><a href="classWt_1_1Chart_1_1WDataSeries.html#aafffe717e28c00afea645652a9b6a655"><tt>WDataSeries(int modelColumn, SeriesType seriesType, int yAxis)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WDataSeries.html#ae3abca77e796e8d0c1b1e5830ef80866"><tt>void bindToYAxis(int yAxis)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WDataSeries.html#a338558cb67b5114f7d9de07192a3c1a8"><tt>int yAxis() const</tt></a></li>
</ul>
</dd>
</dl>

<p>It's also possible to pan and zoom individual axes by scrolling on or dragging the axis itself, or by touch dragging and pinching.</p>

<h4>On-demand loading</h4>

<p>We've added on-demand loading functionality to <a href="classWt_1_1Chart_1_1WCartesianChart.html"><tt>WCartesianChart</tt></a>. Enable on-demand loading when you have a lot of data and/or need the ability to zoom in very far. This will make it so that only the data for the visible X range is loaded, and will improve performance of data series with large amounts data. This becomes especially useful in combination with the ability to set a maximum zoom range, so that you can't zoom all the way out to see all data.</p>

<p>The following methods have been added:</p>

<dl>
<dt><a href="classWt_1_1Chart_1_1WCartesianChart.html"><tt>WCartesianChart</tt></a></dt>
<dd>
<ul>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a97f7f38a9f751b0b41d67f4546cc32f9"><tt>void setOnDemandLoadingEnabled(bool enabled)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a2380aeb17e103bae1f332fd4c56d6b2b"><tt>bool onDemandLoadingEnabled() const</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a9072e157f556bd8eea1eef14426d4f29"><tt>void setLoadingBackground(const WBrush &amp;brush)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WCartesianChart.html#a3e33918e5cbee75d172ab820e71f69bc"><tt>const WBrush&amp; loadingBackground() const</tt></a></li>
</ul>
</dd>
<dt><a href="classWt_1_1Chart_1_1WAxis.html"><tt>WAxis</tt></a></dt>
<dd>
<ul>
<li><a href="classWt_1_1Chart_1_1WAxis.html#ada743ccf44212cfb1f4a6fa83b79e581"><tt>void setMaximumZoomRange(double size)</tt></a></li>
<li><a href="classWt_1_1Chart_1_1WAxis.html#a10742d531e8141474ea707d3c4730386"><tt>double maximumZoomRange() const</tt></a></li>
</ul>
</dd>
</dl>

<p>Note that the data must be ordered on X axis value for this feature to work properly.</p>

<h3>Idle timeout</h3>

<p>Added an <tt>&lt;idle-timeout&gt;</tt> option to the configuration (<tt>wt_config.xml</tt>). If set,
<a href="classWt_1_1WApplication.html#a4e8020fca24d09661ee4bf13400354d9"><tt>WApplication::idleTimeout()</a></tt> will be triggered after the configured number of seconds.</p>

<p>This is intended to prevent unauthorized people from using an active session from a
device that's been abandoned by the user.</p>

<a href="classWt_1_1WFileDropWidget.html"><h3>WFileDropWidget</h3></a>

<p>Added the ability to set a
<a href="classWt_1_1WFileDropWidget.html#a9ad41a8986a7bbb25178e0cda850333d">JavaScript filter</a>, e.g. to
compress uploads client side.

<h3>Miscellaneous improvements</h3>

<ul>
<li>Added support for transparency in PDFs</li>
<li>Rudimentary support for drawing SVGs on HTML canvas with <tt>WPainter::drawImage</tt></li>
<li>
<a href="classWt_1_1Dbo_1_1backend_1_1MySQL.html"><tt>Wt::Dbo::backend::MySQL</tt></a>:
Fixed compatibility with MySQL Connector/C 8.0 and MariaDB Connector/C 3.0
</li>
<li>
Added <a href="classWt_1_1WEnvironment.html#ad2846f6fd581cd6c8c6933eff0e5fa73"><tt>WEnvironment::timeZoneName()</tt></a>
</li>
<li>
Added <tt>insertTab</tt>, <tt>itemAt</tt> and <tt>currentItem</tt> to
<a href="classWt_1_1WTabWidget.html"><tt>WTabWidget</tt></a>
</li>
<li>
Disabled TLS v. 1.0 and 1.1 support
</li>
</ul>

<h2>Release 3.3.10 (April 12, 2018)</h2>
<p>This release fixes compatibility with Boost 1.66, fixes some bugs, and adds
some functionality:</p>
<dl>
<dt>WFileUpload: added display widget</dt>
<dd>Often, native file upload field look out of place in the rest of a web application's design.
A common trick is to hide the file upload field, and add another widget that forwards its click
signal to the file upload field. We added
<a href="classWt_1_1WFileUpload.html#ab95ec35db690296e848d89a71c23737a">setDisplayWidget()</a>
to make it easy to implement that trick.</dd>
<dt>WFileDropWidget: added drop indication and global drop</dt>
<dd>When <a href="classWt_1_1WFileDropWidget.html#a0c1400a6f7f63eec4bb1cfe30807538e">drop indication</a>
is enabled, a WFileDropWidget will be highlighted as soon
as a file being dragged enters the page. When
<a href="classWt_1_1WFileDropWidget.html#a051b4928cb26446de1eb3617d0f8c954">global drop</a> is enabled, then a drop
anywhere on the page will put the file in the WFileDropWidget.</dd>
<dt>SqlConnection::executeSqlStateful()</dt>
<dd><a href="classWt_1_1Dbo_1_1SqlConnection.html#a7ac824e554074898f10cf75b70a4a6b1">SqlConnection::executeSqlStateful()</a> allows to execute SQL that should be re-executed upon automatic reconnect. Automatic reconnect
is currently supported for the <a href="classWt_1_1Dbo_1_1backend_1_1Postgres.html">Postgres</a>
and <a href="classWt_1_1Dbo_1_1backend_1_1MySQL.html">MySQL</a> backends.</dd>
<dt>WTableView: exposed touch events</dt>
<dd>
We made it possible to define custom behaviour upon touch events on WTableView, by
adding the <a href="classWt_1_1WAbstractItemView.html#acd980e6a9eb110400f334e341f8386a4">touchStarted()</a>,
<a href="classWt_1_1WAbstractItemView.html#aaf371c95c294c952be0eaac5b3f56af7">touchMoved()</a>, and
<a href="classWt_1_1WAbstractItemView.html#a9f3bd68d6d5ca982b2a22bcd100ea271">touchEnded()</a> signals.
</dd>
</dl>

<h2>Release 3.3.9 (November 21, 2017)</h2>
<p>This release consists mostly of bug fixes and adds some new features:</p>
<dl>
<dt>Microsoft SQL Server backend for Wt::Dbo (also in Wt 4.0.0)</dt>
<dd>We've added Microsoft SQL Server support to Wt::Dbo, making it the sixth
backend we support, alongside Sqlite, PostgreSQL, MySQL (and MariaDB),
Firebird, and Oracle (not part of the open source Wt because of licensing).
With this addition, Wt::Dbo now supports most commonly used relational database
management systems. It's based on ODBC and works with Microsoft's ODBC Driver
for SQL Server. With unixODBC, Linux and macOS are also supported.</dd>
<dt>Added the <tt>--resources-dir</tt> option to wthttp (also in Wt 4.0.0)</dt>
<dd>With the <tt>--resources-dir</tt> option, all requests for static resources
(in <tt>/resources</tt>) will fallback to this specified folder, so that you don't
need to copy or create a symlink to the resources folder anymore. This also means
that resources can be selectively overridden, just by creating a file with the same
name in the resources folder of your docroot.</dd>
<dt>Added the <tt>&lt;max-formdata-size&gt;</tt> configuration option (also in Wt 4.0.1)</dt>
<dd>Previously, the maximum size of form data sent by Wt in a single POST request was capped to 5 MiB.
In applications with a large amount of forms with a lot of data, that may not be enough,
so <tt>&lt;max-formdata-size&gt;</tt> can be used to adjust this independently. Note that
the maximum request size (and by consequence, the form data size) is still capped by
<tt>&lt;max-request-size&gt;</tt>.</dd>
</dl>

<h2>Release 3.3.8 (August 16, 2017)</h2>
<p>
This release consists of bug fixes and some new features:
Expand Down
25 changes: 21 additions & 4 deletions cmake/WtFindBoost-cmake.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ SET(Boost_COMPONENTS
date_time
regex
program_options
signals
system
filesystem
thread
)
Expand All @@ -74,7 +72,22 @@ IF(NOT WT_NO_BOOST_RANDOM)
)
ENDIF(NOT WT_NO_BOOST_RANDOM)


FIND_PACKAGE(Boost 1.35
COMPONENTS
signals
)
IF(Boost_SIGNALS_FOUND)
SET(Boost_COMPONENTS
${Boost_COMPONENTS}
signals
)
ENDIF()
IF(Boost_FOUND AND Boost_VERSION LESS 106900)
SET(Boost_COMPONENTS
${Boost_COMPONENTS}
system
)
ENDIF()
FIND_PACKAGE(Boost 1.35
COMPONENTS
${Boost_COMPONENTS}
Expand All @@ -89,7 +102,11 @@ IF (Boost_FOUND)
SET(BOOST_FS_LIB ${Boost_FILESYSTEM_LIBRARY})
SET(BOOST_REGEX_LIB ${Boost_REGEX_LIBRARY})
SET(BOOST_PO_LIB ${Boost_PROGRAM_OPTIONS_LIBRARY})
SET(BOOST_SIGNALS_LIB ${Boost_SIGNALS_LIBRARY})
IF(Boost_SIGNALS_FOUND)
SET(BOOST_SIGNALS_LIB ${Boost_SIGNALS_LIBRARY})
ELSE()
SET(BOOST_SIGNALS_LIB "")
ENDIF()
SET(BOOST_SYSTEM_LIB ${Boost_SYSTEM_LIBRARY})
SET(BOOST_THREAD_LIB ${Boost_THREAD_LIBRARY})
IF(NOT WT_NO_BOOST_RANDOM)
Expand Down
2 changes: 1 addition & 1 deletion cmake/WtFindSsl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ IF(SSL_LIB
IF(WIN32)
IF(SSL_TOO_LIB)
SET(SSL_FOUND true)
SET(SSL_LIBRARIES ${SSL_LIB} ${SSL_TOO_LIB})
SET(SSL_LIBRARIES ${SSL_LIB} ${SSL_TOO_LIB} crypt32)
ELSE(SSL_TOO_LIB)
SET(SSL_FOUND false)
ENDIF(SSL_TOO_LIB)
Expand Down
Loading