Vadim Zeitlin
2f0bce2979
Replace old Trac links with GitHub ones
...
Also update a couple of links to SF.
2022-01-13 16:52:58 +01:00
Ilya Sinitsyn
10c68e9973
Fix wxMemoryFSHandler memory leaks in wxFileSystem unit test
...
Use wxScopedPtr<> to ensure the handlers we use get freed.
2020-10-19 13:54:19 +02:00
PB
f57f214122
Remove BCC-specific hdrstop pragma from everywhere
2020-10-12 21:58:37 +02:00
Vadim Zeitlin
c098363e0d
Add test for wxMemoryFSHandler bug fixed in the parent commit
...
Executing this test before the changes of the previous commit would
result in test failure/crash/Valgrind errors. Now it passes.
See #18744 .
2020-05-01 18:57:54 +02:00
Vadim Zeitlin
a973d02c9f
Get rid of CppUnit cruft in wxFileSystem test case
...
Use CATCH macros directly and define separate test cases instead of
using a useless FileSystemTestCase class.
Also add INFO() macros to provide information about the context in case
of test failure.
No real changes.
2020-05-01 15:06:05 +02:00
oneeyeman1
14bcf09924
Move URL<->filename conversion functions to wxFileName
...
This ensures that they are always available and can be used in
wxLaunchDefaultBrowser() in all build variants, whereas before this
function didn't handle file:// URLs correctly when the library was built
with wxUSE_FILESYSTEM==0.
Closes https://github.com/wxWidgets/wxWidgets/pull/1469
Closes #10414 .
2019-08-25 00:48:39 +02:00
Maarten Bent
7c1ab06ea5
Add more wxOVERRIDE
2018-09-22 14:44:07 +02:00
Zane U. Ji
95abaa1f23
Return valie file URLs from wxFileSystem::FileNameToURL()
...
According to https://tools.ietf.org/html/rfc1738#section-5 the file URLs must
always start with "file://", so ensure that this is indeed the case.
Closes #16209 .
2016-02-05 22:43:23 +01:00
Dimitri Schoolwerth
8f8d58d193
Use wx-prefixed macros throughout the repository.
...
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
2015-04-23 22:00:35 +04: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
Dimitri Schoolwerth
e3778b4d9c
No code changes, fixed some typos.
...
Changed several occurrences of "it's" where "its" is meant, as well as a few other minor typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-30 10:57:04 +00:00
Václav Slavík
b37dacdca6
Fix UTF-8 string storage in constant: use unsigned char.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 17:52:19 +00:00
Václav Slavík
abd5e008f1
Add test wxFileSystem::FileNameToURL,URLToFileName roundtrip with
...
Unicode filenames.
See #11491 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 15:41:29 +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
Ryan Norton
8899b155a1
[ 1068188 ] Precompiled header for the test program [Modified a bit]
...
Regen bakefiles for unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:00:19 +00:00
Ryan Norton
a9e9946154
Rename some tests to avoid conflicts with project builder GUI debugger
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 04:41:27 +00:00
Václav Slavík
6b0c752f23
test UNC filenames conversion on MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:45 +00:00
Václav Slavík
20f46e8dc8
BCC fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00
Václav Slavík
4827cbd923
added wxFileSystem test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 20:44:26 +00:00