Commit Graph

62753 Commits

Author SHA1 Message Date
Marc-Philip
3e9c24f57f add missing zero padding 2017-06-21 17:19:58 +02:00
Stefan Csomor
7513492024 these selectors may exist not only on our own wxUIView class , but also in eg documentViews ie UIViews, add selectors for the enabled property 2017-06-20 20:38:23 +02:00
Stefan Csomor
c0cc4bec53 Merge branch 'master' of https://github.com/wxWidgets/wxWidgets 2017-06-20 19:55:46 +02:00
Stefan Csomor
5276800576 keep older version for iOS, CGDisplay doesn't exist there 2017-06-20 19:55:29 +02:00
Stefan Csomor
8b1381f2b1 OSX use fontAttributes for better emulation of bold fonts (#501)
* using fontAttributes dictionary allows for better emulation of bold typefaces, also switch to using color from context, this allows keeping the same dict throughout, as a side effect fix font caching

* reverting in order to maintain crossplatform compatibility

* applying review suggestions

* applying review suggestions
2017-06-20 17:55:26 +02:00
Vadim Zeitlin
e121e8addb Check for view presence in wxDocument::RemoveView()
Return false and avoid calling OnChangedViewList() if the view wasn't present
in the first place.

This is not, strictly speaking, backwards compatible, but most of the existing
code doesn't seem to check the return value of RemoveView() at all and it's
hard to imagine that someone would rely on it returning true when removing a
non-existent view, so in practice this changes seems to be safe.

Closes #17888.
2017-06-20 15:32:00 +02:00
Vadim Zeitlin
a2af796156 Remove outdated comment about wxListCtrl checkboxes support
They're implemented in the generic version too, so don't say that they're
MSW-only.

No real changes.
2017-06-20 15:25:28 +02:00
Jouk
c03364149d correct typo in previous commit 2017-06-20 10:18:22 +02:00
Jouk
edb60cfcda Correct bitmap_in_button code for wxUniversal, wxMOTIF and wxGTK1 2017-06-20 08:31:16 +02:00
Marc-Philip
25ce17ca7b avoid using invalid field 2017-06-19 14:15:19 +02:00
Paul Cornett
dd3c62660b Remove hard TABs and trailing spaces
no real changes
2017-06-18 23:14:43 -07:00
Paul Cornett
a08812c499 Simplify overlapping regions check 2017-06-18 22:47:15 -07:00
Paul Cornett
59acf5ac27 Use correct signature for callback 2017-06-18 13:56:06 -07:00
Paul Cornett
74bde5690c Use reported size for page source string
Avoids a warning from Valgrind about reading uninitialized byte in strlen.
The string does not seem to be nul-terminated.
2017-06-18 13:48:41 -07:00
pbfordev
3dd7d57bd4 wxBSTR cleanup: fixed a bug in wxBSTR::operator=(const wxBSTR& wxbstr); slightly improved comments in the code. 2017-06-17 08:52:48 +02:00
pbfordev
82104e0e54 Use wxBSTR to prevent leaking BSTRs in wxWebViewIE. 2017-06-16 21:38:13 +02:00
pbfordev
db22c91d44 Introduces wxBSTR, an RAII wrapper for MSW BSTR type. wxBSTR also supersedes wxBasicString. 2017-06-16 21:07:50 +02:00
Jouk
084009bff5 Update setup for OpenVMS 2017-06-16 10:45:03 +02:00
Stefan Csomor
e2e99f5c91 removing deprecated APIs 2017-06-15 20:51:14 +02:00
Paul Cornett
1d3ed51eab Fix indentation, remove trailing whitespace
no real changes
2017-06-15 10:39:06 -07:00
Paul Cornett
820149121b Make local function static 2017-06-15 10:32:57 -07:00
Paul Cornett
fcd2401af7 Simplify flags casting 2017-06-15 10:31:31 -07:00
Paul Cornett
a1fde23d88 Simplify conversion from bool
there is no need to explicitly convert to int
2017-06-15 10:26:31 -07:00
Paul Cornett
47dc046b1e Simplify zoom conversion code
so there is no need to "shut up compilers"
2017-06-15 10:21:54 -07:00
Paul Cornett
4e55fca038 Use explicit conversion to bool 2017-06-15 09:50:26 -07:00
Paul Cornett
e03fd314fd Use correct signature for callback 2017-06-15 09:27:19 -07:00
Paul Cornett
b4a6f39ab2 Use HandleWindowEvent() from C callbacks
Avoids issues with exceptions. Also remove worthless null pointer checks, the
pointer has already been dereferenced, and GetEventHandler() never returns NULL
2017-06-15 09:22:37 -07:00
Paul Cornett
188b249467 Avoid reading uninitialized member variable
m_historyLimit is unused with webkit2
2017-06-15 09:04:05 -07:00
Paul Cornett
b9c9fc3534 Initialize member variables during construction
avoids uninitialized memory accesses later on
2017-06-15 08:57:05 -07:00
Stefan Csomor
4558dbe97f switching from comma to semicolon, possible error warning 2017-06-15 17:48:23 +02:00
Stefan Csomor
75831d232c modernizing API 2017-06-14 21:58:42 +02:00
Stefan Csomor
df898c0e44 xcode 9 runtime checks showed nullptr access here in dialogs sample 2017-06-11 18:05:15 +02:00
Stefan Csomor
0873b809a2 fixing compilation when not using precomp headers under osx 2017-06-08 11:56:28 +02:00
Stefan Csomor
4f04aedf4f correcting comparison, since minimum system is transmitted we have to use the MAX_ALLOWED in order to test for SDK 2017-06-08 11:45:25 +02:00
Stefan Csomor
85a24fd4db properly support weak_linking AVKit when compiling under 10.9 + SDK, even when deployment can be lower, removing QTKit 2017-06-08 10:37:58 +02:00
Stefan Csomor
7453cfcbb6 fixing memory leak 2017-06-07 23:06:23 +02:00
Stefan Csomor
16eac9ed06 keeping encoding simpler for unicode 2017-06-07 23:02:09 +02:00
Stefan Csomor
d28dd3333b change code to help analyzer trace ownership properly 2017-06-07 23:00:28 +02:00
Dimitri Schoolwerth
249b76baef Fix Xcode-based builds using wxSecretStore
Add the Security framework which is required for linking.
2017-06-07 23:38:54 +04:00
Dimitri Schoolwerth
61e195e6bd Regenerate Xcode projects
Update the Xcode projects to include new Scintilla and wxSecretStore
sources.
2017-06-07 23:38:06 +04:00
Stefan Csomor
76305b53ad fixing possible null ptr access or memory leaks according to analyzer 2017-06-07 17:50:17 +02:00
Stefan Csomor
2f4b249fcf analyzer warning: setAttributedTitle has copy semantics, therefore we have to release what we allocated 2017-06-07 14:05:30 +02:00
Stefan Csomor
0a178ca374 analyzer warning: super init assign to self and check for nil , NSImageView leaking (contentView is a strong reference, therefore release it after assigning) 2017-06-07 14:03:05 +02:00
Stefan Csomor
e61922b4c7 using return code properly even when using CFUserNotification in non-gui thread, rearranging [alert release] so that callback does not get a zombie as a parameter 2017-06-07 13:55:09 +02:00
Stefan Csomor
4312de64c7 analyzer warnings: assign [super init] to self and check for nil 2017-06-07 10:21:18 +02:00
Stefan Csomor
c6ca6d922f analyzer warning: method should never return nil 2017-06-07 08:09:49 +02:00
Stefan Csomor
99c6d58359 Merge branch 'master' of https://github.com/wxWidgets/wxWidgets 2017-06-06 21:54:24 +02:00
Stefan Csomor
a12a4c25bc support Xcode 9 and 10.13 SDK builds 2017-06-06 21:54:08 +02:00
Tobias Taschner
3aaa2bae6e Include macOS 10.13 name in wxGetOsDescription() 2017-06-06 13:53:58 +02:00
Scott Talbert
42964879bc Fix building with WebKit2GTK+
After 2893f894, the extension define quotes need to be escaped.  Additionally,
this fixes monolithic and non-shared builds with WebKit2GTK+.
2017-06-05 23:34:18 -04:00