Commit Graph

62631 Commits

Author SHA1 Message Date
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
Dimitri Schoolwerth
ff44703871 Fix wxOSX' wxThread::Wait() with configure-based wxBase build
Check for platform using __DARWIN__ instead of using __WXOSX__ which
shouldn't be defined in builds with wxUSE_GUI set to 0.

Closes https://github.com/wxWidgets/wxWidgets/pull/93.
2017-06-02 00:02:35 +04:00
Stefan Csomor
6a3b936d0f use built-in that exists since 10.6 2017-06-01 15:10:09 +02:00
Stefan Csomor
ad96f4be55 fixing header button to properly use native themed arrows 2017-06-01 11:30:59 +02:00
Stefan Csomor
e8333ebe71 switching to 10.7 deployment minimum, adding required frameworks 2017-06-01 11:26:30 +02:00
Vadim Zeitlin
c93b35931c Merge branch 'non-ole-clipboard-funcs'
Closes https://github.com/wxWidgets/wxWidgets/pull/491
2017-06-01 00:43:21 +02:00
Vadim Zeitlin
3d6334f0f1 Mention wxGetOsDescription() removal in the change log
Even though this function was private and not available in the default build
(in which wxUSE_OLE==1, while this function was only defined with
wxUSE_OLE==0), still mention its removal for completeness.
2017-06-01 00:40:49 +02:00
Vadim Zeitlin
60d9f403a2 Only declare wxSetClipboardData() in wxMSW when it's defined
This is only the case when full OLE support is disabled.

See https://github.com/wxWidgets/wxWidgets/pull/491
2017-06-01 00:38:08 +02:00
Adrian DC
9b97be52c6 wx/msw/clipbrd.h: Remove unreferenced wxGetClipboardData prototype
* wxGetClipboardData was removed through commit
    b375d81499 "Use wxDataObject methods..."
    but former usages will break with unreferenced
    function as the header still advertises the function

Change-Id: I77e756d2b7d0db7c3833578d2846f4e922a55262
2017-05-31 16:56:09 +02:00
John Roberts
9e83d415ed Remove unused global variable left over from Carbon
This "g_MacLastWindow" was only used in Carbon code and should have been removed
in 5ba67c67e4.
2017-05-31 13:13:21 +02:00
JulianSmart
f14d702e4a Limit LOCALE_SNAME avoidance to VS2010 2017-05-30 19:23:32 +01:00
Vadim Zeitlin
9af43c8c06 Merge branch 'xml-eol'
Add a possibility to change the line endings used in the files generated by
wxXmlDocument.
2017-05-30 19:40:49 +02:00
Vadim Zeitlin
0d8a386c9b Add "@since" tags to the newly added wxXmlDocument methods
Also document the default file type.
2017-05-30 19:40:09 +02:00
Vadim Zeitlin
f8b3ecbb0e Fix bug due to undefined g_wxAnyValueTypeGlobals initialization order
This fixes the changes of commit 3543ae0177
which didn't work if any of the globals using wxPreRegisterAnyToVariant() were
instantiated before g_wxAnyValueTypeGlobals itself.

Wrap the global inside a function to ensure that we initialized it before it
is used by wxPreRegisterAnyToVariant() and not after.
2017-05-30 19:18:53 +02:00
Paul Cornett
4ffb9d342c Fix use of PANGO_VERSION_CHECK macro
PANGO_VERSION_CHECK is not available before Pango version 1.16
2017-05-30 09:50:03 -07:00
Paul Cornett
d7b616d507 Fix crash when notification is closed.
"closed" signal callback function had incorrect signature. See #17876
2017-05-30 09:43:23 -07:00
Adrian DC
11e5413558 wx/xml: Implement line-ending modes for xml saves
* Add 'wxTextFileType m_fileType' to hold the type
 * Add 'wxString m_eol' to hold the end of lines string

 * Add SetFileType() and GetFileType() to set and get the type
 * Add GetEOL() to get the end of lines wxString

 * Backwards compatibility preserved by using wxTextFileType_Unix

Change-Id: I3e8547b377e2c4060a3a2d97c299a08ea2c0a376
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2017-05-30 14:31:59 +02:00
Dimitri Schoolwerth
e6928077e2 Fix wxOSX/Cocoa Xcode compilation
Define NO_CXX11_REGEX to be able to compile Scintilla after it was
updated to 3.6.6.

Regression since c03ce59b86 .
2017-05-30 16:02:29 +04:00