Commit Graph

36 Commits

Author SHA1 Message Date
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