Stefan Csomor
12d8f69190
Keep icon when text is changed
...
Copied over code from the generic implementation to make things work properly - the icon got lost before.
2017-06-28 10:29:49 +02:00
Stefan Csomor
8d78887a22
Clean up setters, they take the ownership, so no need to retain and autorelease
2017-06-28 10:28:04 +02:00
Stefan Csomor
1902c5ceb8
Document iOS 9 as minimum deployment version.
2017-06-28 09:17:36 +02:00
Stefan Csomor
62052e365e
Do not offset coordinates in case of filling
2017-06-28 07:34:53 +02:00
Stefan Csomor
a6ba2245ef
Redo Use implicit wxColour to wxBrush conversion
2017-06-28 07:22:54 +02:00
Stefan Csomor
1985fca987
Merge branch 'master' of https://github.com/wxWidgets/wxWidgets
2017-06-28 07:21:51 +02:00
Stefan Csomor
46742a6043
Use implicit conversion from wxColour to wxBrush
2017-06-28 07:12:57 +02:00
Oliver Smith
b8f83725ed
Fix D2D wxGraphics build with wxUSE_UNICODE==0
...
Revert one of the changes of 5520702674
which
replaced direct check with a call to lstrlen() which seems to be unneeded and
doesn't compile in non-Unicode build.
2017-06-28 02:53:46 +02:00
VZ
30369f03ae
Fix Scintilla compilation on CentOS 6 and other older systems
...
Closes https://github.com/wxWidgets/wxWidgets/pull/510
2017-06-28 02:16:11 +02:00
Stefan Csomor
cd3b1f25ad
AVKit is 64 bit only
2017-06-27 20:29:59 +02:00
Paul Cornett
654656c885
Avoid using wxLogError(), for the reasons given at the top of the file
...
Also use correct linkage for callback
2017-06-27 09:28:39 -07:00
Paul Cornett
f7985a74c4
Flush temporary surface before using as source
2017-06-27 09:28:15 -07:00
Paul Cornett
d87a766214
Avoid showing hidden window during deferred show handling
...
See https://github.com/wxWidgets/wxWidgets/pull/512
2017-06-27 09:28:05 -07:00
Stefan Csomor
a352f80537
Fix 32 bit compilation
...
The class wxTextFieldCell was still declared, but not defined for 32 bit builds, move the define to NSTextFieldCell into the header.
2017-06-27 18:10:07 +02:00
Stefan Csomor
48d1c4ff1a
The result of an init.. call might be a different object, store it
2017-06-26 11:53:37 +02:00
Stefan Csomor
eb0c95a5ea
We always use 32 bit depth on OSX for this conversion from wxImage
2017-06-26 10:58:35 +02:00
Stefan Csomor
d9228f471c
Optimize rectangle drawing under Cairo
2017-06-26 09:55:17 +02:00
Stefan Csomor
4cce63d904
Support transparency and masks under macOS / Cairo
2017-06-26 09:49:39 +02:00
Stefan Csomor
526889dc57
Properly initialize newly created wxGraphicsContext with window background color
2017-06-26 08:40:09 +02:00
Stefan Csomor
c9c74d957c
Update docs with wsOSX font changes and wxOSX & Cairo bitmap clearing
2017-06-26 08:26:47 +02:00
Stefan Csomor
6dfa897b4a
Adding a native implementation for clearing bitmap/window contexts
...
Filling a bitmap surface is filled with ARGB 0,0,0,0. This way eg buffered transparent layers can be properly cleared.
2017-06-25 22:48:58 +02:00
Stefan Csomor
40d77062b0
Removing dead code
2017-06-25 22:45:47 +02:00
Stefan Csomor
ccf5f80f7f
Using proper dylib name for cairo under osx
2017-06-25 14:42:07 +02:00
Stefan Csomor
b0470eb91d
Bring OSX API in sync with MSW
2017-06-25 13:55:06 +02:00
Lauri Nurmi
147d965f12
Fix gen_iface.py to be compatible with python <2.7
...
In python <2.7, a dictionary without values is invalid syntax.
2017-06-25 13:42:05 +03:00
Lauri Nurmi
79918fdbb0
Fix Scintilla compilation: include <algorithm> required for std::lower_bound
...
Compilation failed on CentOS 6.
Already fixed upstream:
e200a290ef/tree/lexers/LexProgress.cxx
2017-06-25 13:22:33 +03:00
Stefan Csomor
81dfa2ae04
Removing unnecessary font related code
...
The bridging API for native fonts allow for further removal of code.
2017-06-25 11:38:16 +02:00
Stefan Csomor
7104ed845d
Allow for compilation under iOS 11
...
The system() API call has been deprecated since iOS 8, so it's better not to use it at all, eventhough compilation only breaks in iOS 11.
2017-06-24 22:01:15 +02:00
Stefan Csomor
fb5239d709
Fixing memory errors
...
The CGColorRef was retained once too often while the UIImage was overreleased.
2017-06-24 11:17:05 +02:00
Stefan Csomor
a77066d530
Use toll-free bridges from CTFontRef to NSFont or UIFont from ( #507 )
2017-06-24 11:09:29 +02:00
Stefan Csomor
36de95bd8e
wxSecretStore is not implemented on iOS
2017-06-23 11:04:26 +02:00
Dimitri Schoolwerth
9b9f8ac468
Extend limits of allowed time zone offsets
2017-06-23 02:02:19 +04:00
Dimitri Schoolwerth
af309e6d96
Add minus sign (U+2212) as a time zone offset indicator
2017-06-23 02:02:19 +04:00
Dimitri Schoolwerth
1a5163a882
Add time zone parsing support for only specifying HH
2017-06-23 02:02:19 +04:00
Dimitri Schoolwerth
101433190f
Add time zone parsing support for HH:MM
2017-06-23 02:02:19 +04:00
Dimitri Schoolwerth
a3a4e7c638
Add time zone parsing support for 'Z' (UTC indicator)
2017-06-23 02:02:19 +04:00
Dimitri Schoolwerth
51cfb64ecb
Add test for wxDateTime time zone parsing
2017-06-23 02:02:19 +04:00
Stefan Csomor
1b6dfb8324
Include configure determined flags via setup.h
...
Compilation issued warnings about missing prototypes without the flags to include unistd.h.
2017-06-22 22:51:08 +02:00
Stefan Csomor
e15d417a76
Move config_xcode.h include to setup.h
...
In order to allow inclusion of configure determined flags via a wx/setup.h include also for xcode builds, the include has to move into the setup0.h template
2017-06-22 22:23:28 +02:00
Vadim Zeitlin
bfb893170e
Fix initialization of SingleCharBuffer and Utf16CharBuffer data
...
Don't do it at all in the ctor, initializing just the first element of
the array is useless as it's overwritten by EncodeChar() anyhow, so just
leave the task of NUL-terminating the data to this function as well.
It might be even better to just have a ctor taking wxUniChar in these
classes instead and make EncodeChar() a trivial wrapper around it, but
for now just apply the minimal fix to repair the test breakage after the
last commit.
See https://github.com/wxWidgets/wxWidgets/pull/467#issuecomment-310384946
2017-06-22 15:55:24 +02:00
Vadim Zeitlin
4d3aaafc86
Avoid MSVC warning about correctly default-initializing arrays
...
Don't rely on default array initialization, not only it may not work
with some really old compilers (which is actually not that important as
we don't seem to rely on these arrays being initialized, in fact), but
it results in warnings about working correctly (sic) from MSVC in
versions from 9 up to 12 inclusive.
See https://github.com/wxWidgets/wxWidgets/pull/467#issuecomment-310193867
2017-06-22 01:50:19 +02:00
Vadim Zeitlin
16252f1299
Merge branch with several fixes for Coverity 8.5 warnings
...
See https://github.com/wxWidgets/wxWidgets/pull/505
2017-06-22 01:35:37 +02:00
Dimitri Schoolwerth
3e945a0a5d
Fix wxMSW test build in UTF-8 and ANSI build
...
Use wxString::t_str() with a function taking LPCTSTR (which is either
LPCWSTR or LPCSTR). And wxStrg::wc_str() for LPCOLESTR which,
ordinarily, is a wide string.
2017-06-22 02:04:50 +04:00
Dimitri Schoolwerth
07c8f15e43
Fix 'destionation' typos
...
Rename relatively new enum value wxTASKBAR_JUMP_LIST_DESTIONATION to
wxTASKBAR_JUMP_LIST_DESTINATION as well as a private function containing
the same typo.
2017-06-21 22:51:57 +04:00
Vadim Zeitlin
bb306b7ed0
Merge fixes for handling Unicode characters outside of BMP
...
Closes https://github.com/wxWidgets/wxWidgets/pull/467
2017-06-21 19:10:12 +02:00
Vadim Zeitlin
8311715bdf
Ensure that SIZEOF_WCHAR_T is defined in wx/chartype.h
...
This should always the case now, but wasn't when not using configure
(e.g. in MSVC builds) before, so verify this explicitly to ensure that
we don't just silently define wxUSE_UNICODE_UTF16 wrongly, as it
happened before the fix in the previous commit.
2017-06-21 19:08:27 +02:00
Vadim Zeitlin
a86d0f8d65
Move wx/debug.h inclusion after SIZEOF_WCHAR_T in wx/defs.h
...
This is required now because wx/debug.h includes wx/chartype.h which uses
SIZEOF_WCHAR_T to define wxUSE_UNICODE_UTF16.
2017-06-21 19:07:43 +02:00
Vadim Zeitlin
24f3ff3b78
No changes, just fix a typo in a recently added comment
2017-06-21 19:07:13 +02:00
Stefan Csomor
f008a9d2d5
Update zlib to 1.2.11 ( #508 )
...
Mark Adler recommends an immediate update to this version on htt://zlib.net because of bug fixes. Copied the differences (only for the files we have at all) over.
2017-06-21 18:47:35 +02:00
Marc-Philip
01215b8519
fix possible overrun
2017-06-21 17:19:58 +02:00