jgehw
b5face97bc
Fix QA build options check when wxUSE_DEBUGREPORT==0
...
Compile this check even if wxDebugReport itself is not used.
Closes https://github.com/wxWidgets/wxWidgets/pull/979
2018-10-20 13:22:16 +02:00
Vadim Zeitlin
fa1af3405c
Don't truncate addresses under Win64 in wxDebugReport
...
Avoid casting addresses to "long", as it can be smaller than pointer
size on some platforms and notably is under Win64.
Use wxUIntPtr instead, which is guaranteed to be large enough.
See https://github.com/wxWidgets/wxWidgets/pull/940
2018-09-20 23:23:53 +02:00
Thomas Pointhuber
d173ccdb96
Add additional informations stack in wxDebugReport
...
Always add offset and address of a stack element, even if there is no
symbolic function name, as this can still be helpful. If possible add
module as well.
Closes https://github.com/wxWidgets/wxWidgets/pull/940
2018-09-20 23:23:53 +02:00
PB
0e6b4899e0
Add space around expressions in if () statements
2018-05-02 17:50:02 +02:00
PB
8aae3c0356
Fix typos in code comment
2018-05-02 17:47:42 +02:00
Maarten Bent
59c37cb5eb
Show correct save path when using compressed debug report
...
The compressed report location could be set to a different location from
the one shown in the dialog.
Closes #17176 .
Closes https://github.com/wxWidgets/wxWidgets/pull/797
2018-05-02 15:36:11 +02:00
Vadim Zeitlin
e9ce55e000
Fix wxRmdir() with non-ASCII paths
...
Don't apply at best unnecessary, and actually harmful, as it uses a wrong
conversion, fn_str() when calling wxRmDir() which takes wxString.
Update unit tests to check that wxRmdir() now works with non-ASCII filenames
too.
Closes #17644 .
2017-04-01 19:12:27 +02:00
Tobias Taschner
8282c1be0f
Remove Windows CE support
...
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE
release was in early 2013 and the PocketPC and Smartphone targets supported by
wxWidgets are long gone.
The build files where already removed in an earlier cleanup this commit
removes all files, every #ifdef and all documentation regarding the Windows CE
support.
Closes https://github.com/wxWidgets/wxWidgets/pull/81
2015-09-23 00:52:30 +02:00
Vadim Zeitlin
33ad33d447
Add wxOVERRIDE and use it in common and wxOSX code.
...
Make overriding virtual methods more explicit and enable additional checks
provided by C++11 compilers when "override" is used.
Closes #16100 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-20 13:26:28 +00:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
7e81e3a796
Fix build with wxUSE_FFILE=0.
...
Add the missing "#if wxUSE_FFILE" checks and add fallbacks to wxFile if it's
available.
Closes #15353 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-25 21:55:06 +00:00
Vadim Zeitlin
cc00695bb7
Don't create temporary file in wxDebugReport ctor.
...
Just use wxFileName::GetTempDir() instead of creating a file in the temporary
directory and then using its path.
Closes #15103 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-16 17:27:31 +00:00
Vadim Zeitlin
4f4c48a89f
Quote wxExecute() arguments in wxDebugReportUpload when using curl.
...
Quote the argument to curl as it might contain spaces.
Closes #14677 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-20 15:46:18 +00:00
Francesco Montorsi
c02f03d563
do not add files in wxDebugReport::AddFile if copy failed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-25 11:26:04 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
fdf20a26db
Allow customizing wxDebugReportCompress output file.
...
It may be useful to change the directory where it is generated to allow the
users to find it more quickly. Also allow changing the crash report base name
for completeness.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-14 00:06:03 +00:00
Vadim Zeitlin
b78df8565c
Create compressed debug report file outside of temporary directory.
...
Otherwise the compressed file is deleted when the temporary directory is (it
doesn't happen if temporarily files are left because an error occurred while
the report generation but perversely enough no useful information was left if
no errors happened).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-11 18:16:39 +00:00
Vadim Zeitlin
7735b2ea69
Use the app name, not display name, as debug report name,
...
This name is used for files/directories and so should be short and not contain
spaces while the display name usually does contain them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-11 18:16:32 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
4db307e110
build fixes for wxUSE_ON_FATAL_EXCEPTION==0 ( #9937 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:26:29 +00:00
Václav Slavík
78a11854a0
format strings with no real text don't need translating
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 22:18:57 +00:00
Vadim Zeitlin
9cf3d21870
added wxApp::Set/GetAppDisplayName() (patch 1780414)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:26:18 +00:00
Václav Slavík
288b6107e1
renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Vadim Zeitlin
96be8b4de0
some people disliked the asterisks in wxDebugReport dialog, removed (patch 1491869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:53:53 +00:00
Vadim Zeitlin
34af0de434
compilation fixes for wxUSE_DATETIME==0 (another part of patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:20:28 +00:00
Vadim Zeitlin
aab6965a93
don't define unused functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:55:12 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Włodzimierz Skiba
7a893a3152
wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 16:22:28 +00:00
Vadim Zeitlin
a44f14cf0c
another try at mingw32 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 12:54:24 +00:00
Vadim Zeitlin
bb531fa187
fixed compilation for USE_PCH == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 23:01:56 +00:00
Julian Smart
1152bba280
APplied patch [ 1182682 ] Fixes wxDebugReportUpload fail when app name contains spaces
...
by eco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:16:49 +00:00
Ryan Norton
2cbe2aead9
fix for w/o expat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:11:52 +00:00
Michael Wetherell
3b676ed7f1
Remove workaround for link problem with versions of mingw before 3.4.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:29:55 +00:00
Vadim Zeitlin
fdc1aa5209
modified AddFile() to copy file to the debug report directory if its path is absolute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:37:43 +00:00
Vadim Zeitlin
e18c3e0207
added AddText() function (trivial wrapper around AddFile()), use it in debug rpt preview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 16:04:22 +00:00
Michael Wetherell
21bd196564
Add comments explaining the workaround for mingw 3.2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 08:34:01 +00:00
Michael Wetherell
f5e93b3586
Change the name of the smart pointer so that wxZipOutputStreamPtr is free
...
for the user.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:31:29 +00:00
Michael Wetherell
d3e0ffbcd0
Temporary fix for link error to ~wxZipOutputStream()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 17:07:56 +00:00
Włodzimierz Skiba
d64dc19704
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 10:23:27 +00:00
Vadim Zeitlin
478cde3220
fixed Context_Current spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 19:27:32 +00:00
Vadim Zeitlin
61639efb66
added qa library (currently consisting of wxDebugReport and related classes only); moved debugrpt.* files there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 00:11:06 +00:00
Julian Smart
9034c5906c
WinCE doesn't have wxCheckListBox, and doesn't like wxRmDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:18:06 +00:00
Vadim Zeitlin
2b1d737b3e
compilation fix for non PCH build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 18:59:31 +00:00
Włodzimierz Skiba
2cdd63c6b1
Warning and build fixes focused with Borland and Watcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:12:57 +00:00
Vadim Zeitlin
61ad154c01
Unix compilation warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 11:19:03 +00:00
Vadim Zeitlin
ce4fd7b577
added wxDebugReport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:55:21 +00:00