Use HTTPS with Trac links.
This commit is contained in:
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
@@ -1,12 +1,12 @@
|
|||||||
# How to Contribute to wxWidgets
|
# How to Contribute to wxWidgets
|
||||||
|
|
||||||
We appreciate receiving contributions and we have a community-maintained
|
We appreciate receiving contributions and we have a community-maintained
|
||||||
[guide for contributors](http://wiki.wxwidgets.org/Development:_How_To_Contribute)
|
[guide for contributors](https://wiki.wxwidgets.org/Development:_How_To_Contribute)
|
||||||
which explains everything you ever wanted to know for contributing to
|
which explains everything you ever wanted to know for contributing to
|
||||||
wxWidgets.
|
wxWidgets.
|
||||||
|
|
||||||
You can either submit your [patches](http://trac.wxwidgets.org/wiki/HowToSubmitPatches)
|
You can either submit your [patches](https://trac.wxwidgets.org/wiki/HowToSubmitPatches)
|
||||||
to [wxTrac](http://trac.wxwidgets.org/newticket) or open GitHub pull requests,
|
to [wxTrac](https://trac.wxwidgets.org/newticket) or open GitHub pull requests,
|
||||||
depending on your preferences.
|
depending on your preferences.
|
||||||
|
|
||||||
### Thanks in advance and looking forward to your contributions!
|
### Thanks in advance and looking forward to your contributions!
|
||||||
|
@@ -55,7 +55,7 @@ If you are looking for support, you can get it from
|
|||||||
- [#wxwidgets IRC channel](https://www.wxwidgets.org/support/irc/)
|
- [#wxwidgets IRC channel](https://www.wxwidgets.org/support/irc/)
|
||||||
- [Stack Overflow](https://stackoverflow.com/questions/tagged/wxwidgets)
|
- [Stack Overflow](https://stackoverflow.com/questions/tagged/wxwidgets)
|
||||||
(tag your questions with `wxwidgets`)
|
(tag your questions with `wxwidgets`)
|
||||||
- Please report bugs at http://trac.wxwidgets.org/newticket
|
- Please report bugs at https://trac.wxwidgets.org/newticket
|
||||||
|
|
||||||
We would also gladly welcome [your contributions](.github/CONTRIBUTING.md).
|
We would also gladly welcome [your contributions](.github/CONTRIBUTING.md).
|
||||||
|
|
||||||
|
@@ -572,7 +572,7 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF],
|
|||||||
AC_CHECK_TOOL(STRIP, strip, :)
|
AC_CHECK_TOOL(STRIP, strip, :)
|
||||||
AC_CHECK_TOOL(NM, nm, :)
|
AC_CHECK_TOOL(NM, nm, :)
|
||||||
|
|
||||||
dnl Don't use `install -d`, see http://trac.wxwidgets.org/ticket/13452
|
dnl Don't use `install -d`, see https://trac.wxwidgets.org/ticket/13452
|
||||||
INSTALL_DIR="mkdir -p"
|
INSTALL_DIR="mkdir -p"
|
||||||
AC_SUBST(INSTALL_DIR)
|
AC_SUBST(INSTALL_DIR)
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
<!-- Original source: http://wiki.wxwidgets.org/wiki.pl?Bakefile -->
|
<!-- Original source: https://wiki.wxwidgets.org/Bakefile -->
|
||||||
<!-- Modified by: Francesco Montorsi <frm@users.sourceforge.net> -->
|
<!-- Modified by: Francesco Montorsi <frm@users.sourceforge.net> -->
|
||||||
<!-- Vaclav Slavik <vslavik@fastmail.fm> to better fit
|
<!-- Vaclav Slavik <vslavik@fastmail.fm> to better fit
|
||||||
into Bakefile's presets -->
|
into Bakefile's presets -->
|
||||||
|
@@ -142,7 +142,7 @@ Trac: mark the milestone corresponding to the release as completed and add a
|
|||||||
new version for it to allow reporting bugs against it and create the next
|
new version for it to allow reporting bugs against it and create the next
|
||||||
milestone (ask Vadim or Robin to do it or to get admin password).
|
milestone (ask Vadim or Robin to do it or to get admin password).
|
||||||
|
|
||||||
Update the roadmap at http://trac.wxwidgets.org/wiki/Roadmap to at least
|
Update the roadmap at https://trac.wxwidgets.org/wiki/Roadmap to at least
|
||||||
mention the new release there.
|
mention the new release there.
|
||||||
|
|
||||||
Run `misc/scripts/inc_release` to increment micro version, i.e. replace x.y.z
|
Run `misc/scripts/inc_release` to increment micro version, i.e. replace x.y.z
|
||||||
|
@@ -37,8 +37,8 @@ The source code for the demos is in wxWidgets/demos
|
|||||||
|
|
||||||
More information about building on OS X is available in the wxWiki.
|
More information about building on OS X is available in the wxWiki.
|
||||||
Here are two useful links
|
Here are two useful links
|
||||||
http://wiki.wxwidgets.org/Guides_%26_Tutorials
|
https://wiki.wxwidgets.org/Guides_%26_Tutorials
|
||||||
http://wiki.wxwidgets.org/Development:_wxMac
|
https://wiki.wxwidgets.org/Development:_wxMac
|
||||||
|
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ bug reports or comments to the wxWidgets users list. Information
|
|||||||
on how to subscribe is available from the wxWidgets.org homepage.
|
on how to subscribe is available from the wxWidgets.org homepage.
|
||||||
|
|
||||||
Questions/Problems related directly to the mac port can be reported
|
Questions/Problems related directly to the mac port can be reported
|
||||||
at http://trac.wxwidgets.org.
|
at https://trac.wxwidgets.org.
|
||||||
|
|
||||||
wxWidgets/Mac doesn't come with any guarantee whatsoever. It
|
wxWidgets/Mac doesn't come with any guarantee whatsoever. It
|
||||||
might crash your harddisk or destroy your monitor. It doesn't
|
might crash your harddisk or destroy your monitor. It doesn't
|
||||||
|
@@ -145,7 +145,7 @@ Reporting Bugs
|
|||||||
|
|
||||||
The wxWidgets bug tracker can be found here:
|
The wxWidgets bug tracker can be found here:
|
||||||
|
|
||||||
* http://trac.wxwidgets.org/newticket
|
* https://trac.wxwidgets.org/newticket
|
||||||
|
|
||||||
Please use the search function of our Trac installation to find any possibly
|
Please use the search function of our Trac installation to find any possibly
|
||||||
relevant bugs before reporting new ones. Also please notice that often trying to
|
relevant bugs before reporting new ones. Also please notice that often trying to
|
||||||
|
@@ -8,7 +8,7 @@ See [README](https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.1/docs/r
|
|||||||
|
|
||||||
## Reporting Problems
|
## Reporting Problems
|
||||||
|
|
||||||
Please report bugs to the [issue tracker](http://trac.wxwidgets.org/newticket) or the [wx-users mailing list](http://groups.google.com/group/wx-users).
|
Please report bugs to the [issue tracker](https://trac.wxwidgets.org/newticket) or the [wx-users mailing list](http://groups.google.com/group/wx-users).
|
||||||
|
|
||||||
## Download Verification
|
## Download Verification
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ tn0001.txt -> docs/contributing/how-to-add-new-sample.md
|
|||||||
tn0002.txt -> docs/contributing/translators-guide.md
|
tn0002.txt -> docs/contributing/translators-guide.md
|
||||||
tn0003.txt -> docs/contributing/how-to-add-class-documentation.md
|
tn0003.txt -> docs/contributing/how-to-add-class-documentation.md
|
||||||
tn0004.htm -> *** REMOVED *** (obsoleted by Bakefile changes)
|
tn0004.htm -> *** REMOVED *** (obsoleted by Bakefile changes)
|
||||||
tn0005.txt -> *** REMOVED *** (obsoleted by http://wiki.wxwidgets.org/Development:_How_To_Contribute)
|
tn0005.txt -> *** REMOVED *** (obsoleted by https://wiki.wxwidgets.org/Development:_How_To_Contribute)
|
||||||
tn0006.txt -> *** REMOVED *** (obsoleted by tn0013.txt)
|
tn0006.txt -> *** REMOVED *** (obsoleted by tn0013.txt)
|
||||||
tn0007.txt -> *** REMOVED *** (obsoleted by Bakefile changes)
|
tn0007.txt -> *** REMOVED *** (obsoleted by Bakefile changes)
|
||||||
tn0008.htm -> *** REMOVED *** (included in the manual now)
|
tn0008.htm -> *** REMOVED *** (included in the manual now)
|
||||||
|
@@ -157,7 +157,7 @@
|
|||||||
Up to eight arguments are supported.
|
Up to eight arguments are supported.
|
||||||
|
|
||||||
(With thanks to https://groups.google.com/d/topic/comp.std.c/d-6Mj5Lko_s/discussion
|
(With thanks to https://groups.google.com/d/topic/comp.std.c/d-6Mj5Lko_s/discussion
|
||||||
and http://stackoverflow.com/questions/1872220/is-it-possible-to-iterate-over-arguments-in-variadic-macros)
|
and https://stackoverflow.com/questions/1872220/is-it-possible-to-iterate-over-arguments-in-variadic-macros)
|
||||||
*/
|
*/
|
||||||
#define wxCALL_FOR_EACH_NARG(...) wxCALL_FOR_EACH_NARG_((__VA_ARGS__, wxCALL_FOR_EACH_RSEQ_N()))
|
#define wxCALL_FOR_EACH_NARG(...) wxCALL_FOR_EACH_NARG_((__VA_ARGS__, wxCALL_FOR_EACH_RSEQ_N()))
|
||||||
#define wxCALL_FOR_EACH_NARG_(args) wxCALL_FOR_EACH_ARG_N args
|
#define wxCALL_FOR_EACH_NARG_(args) wxCALL_FOR_EACH_ARG_N args
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# This script is a slightly modified version of the original found at
|
# This script is a slightly modified version of the original found at
|
||||||
#
|
#
|
||||||
# http://wiki.wxwidgets.org/Embedding_PNG_Images-Bin2c_In_Python
|
# https://wiki.wxwidgets.org/Embedding_PNG_Images-Bin2c_In_Python
|
||||||
#
|
#
|
||||||
# without any copyright attribution so it is assumed it can be used under
|
# without any copyright attribution so it is assumed it can be used under
|
||||||
# wxWindows licence as the rest of the wiki material.
|
# wxWindows licence as the rest of the wiki material.
|
||||||
|
@@ -1036,7 +1036,7 @@ wxDataViewCustomRendererBase::RenderText(const wxString& text,
|
|||||||
// necessary because the cell rectangle had been already adjusted to
|
// necessary because the cell rectangle had been already adjusted to
|
||||||
// account for the alignment in WXCallRender() and using the alignment here
|
// account for the alignment in WXCallRender() and using the alignment here
|
||||||
// results in problems with ellipsization when using native MSW renderer,
|
// results in problems with ellipsization when using native MSW renderer,
|
||||||
// see http://trac.wxwidgets.org/ticket/17363, so just don't do it.
|
// see https://trac.wxwidgets.org/ticket/17363, so just don't do it.
|
||||||
wxRendererNative::Get().DrawItemText(
|
wxRendererNative::Get().DrawItemText(
|
||||||
GetOwner()->GetOwner(),
|
GetOwner()->GetOwner(),
|
||||||
*dc,
|
*dc,
|
||||||
|
@@ -240,7 +240,7 @@ static bool DoCommonPreInit()
|
|||||||
// Note that this must be done for any app, Cocoa or console, whether or
|
// Note that this must be done for any app, Cocoa or console, whether or
|
||||||
// not it uses wxLocale.
|
// not it uses wxLocale.
|
||||||
//
|
//
|
||||||
// See http://stackoverflow.com/questions/11713745/why-does-the-printf-family-of-functions-care-about-locale
|
// See https://stackoverflow.com/questions/11713745/why-does-the-printf-family-of-functions-care-about-locale
|
||||||
setlocale(LC_CTYPE, "UTF-8");
|
setlocale(LC_CTYPE, "UTF-8");
|
||||||
#endif // wxUSE_UNICODE && defined(__WXOSX__)
|
#endif // wxUSE_UNICODE && defined(__WXOSX__)
|
||||||
|
|
||||||
|
@@ -526,7 +526,7 @@ void wxMediaBackendCommonBase::QueueStopEvent()
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Force link default backends in -
|
// Force link default backends in -
|
||||||
// see http://wiki.wxwidgets.org/wiki.pl?RTTI
|
// see https://wiki.wxwidgets.org/RTTI
|
||||||
//
|
//
|
||||||
#include "wx/html/forcelnk.h"
|
#include "wx/html/forcelnk.h"
|
||||||
|
|
||||||
|
@@ -3366,7 +3366,7 @@ static void DoNotifyWindowAboutCaptureLost(wxWindow *win)
|
|||||||
{
|
{
|
||||||
// windows must handle this event, otherwise the app wouldn't behave
|
// windows must handle this event, otherwise the app wouldn't behave
|
||||||
// correctly if it loses capture unexpectedly; see the discussion here:
|
// correctly if it loses capture unexpectedly; see the discussion here:
|
||||||
// http://trac.wxwidgets.org/ticket/2277
|
// https://trac.wxwidgets.org/ticket/2277
|
||||||
// http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82376
|
// http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82376
|
||||||
wxFAIL_MSG( wxT("window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
wxFAIL_MSG( wxT("window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST") );
|
||||||
}
|
}
|
||||||
|
@@ -2273,7 +2273,7 @@ void wxPostScriptDCImpl::DoGetTextExtent(const wxString& string,
|
|||||||
{
|
{
|
||||||
// String couldn't be converted which used to SEGV as reported here:
|
// String couldn't be converted which used to SEGV as reported here:
|
||||||
// http://bugs.debian.org/702378
|
// http://bugs.debian.org/702378
|
||||||
// http://trac.wxwidgets.org/ticket/15300
|
// https://trac.wxwidgets.org/ticket/15300
|
||||||
// Upstream suggests "just return if the conversion failed".
|
// Upstream suggests "just return if the conversion failed".
|
||||||
if (x) (*x) = 0;
|
if (x) (*x) = 0;
|
||||||
if (y) (*y) = 0;
|
if (y) (*y) = 0;
|
||||||
|
@@ -1067,7 +1067,7 @@ void wxScrollHelperBase::HandleOnChildFocus(wxChildFocusEvent& event)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Fixing ticket: http://trac.wxwidgets.org/ticket/9563
|
// Fixing ticket: https://trac.wxwidgets.org/ticket/9563
|
||||||
// When a child inside a wxControlContainer receives a focus, the
|
// When a child inside a wxControlContainer receives a focus, the
|
||||||
// wxControlContainer generates an artificial wxChildFocusEvent for
|
// wxControlContainer generates an artificial wxChildFocusEvent for
|
||||||
// itself, telling its parent that 'it' received the focus. The effect is
|
// itself, telling its parent that 'it' received the focus. The effect is
|
||||||
|
@@ -724,7 +724,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
|
|||||||
gtk_entry_set_width_chars((GtkEntry*)m_text, 1);
|
gtk_entry_set_width_chars((GtkEntry*)m_text, 1);
|
||||||
|
|
||||||
// work around probable bug in GTK+ 2.18 when calling WriteText on a
|
// work around probable bug in GTK+ 2.18 when calling WriteText on a
|
||||||
// new, empty control, see http://trac.wxwidgets.org/ticket/11409
|
// new, empty control, see https://trac.wxwidgets.org/ticket/11409
|
||||||
gtk_entry_get_text((GtkEntry*)m_text);
|
gtk_entry_get_text((GtkEntry*)m_text);
|
||||||
|
|
||||||
if (style & wxNO_BORDER)
|
if (style & wxNO_BORDER)
|
||||||
|
@@ -57,7 +57,7 @@
|
|||||||
// On a 300 dots-per-inch (dpi) printer, that may be rounded up to 3 dots
|
// On a 300 dots-per-inch (dpi) printer, that may be rounded up to 3 dots
|
||||||
// (0.25 mm); on a 600 dpi printer, it can be rounded to 5 dots.
|
// (0.25 mm); on a 600 dpi printer, it can be rounded to 5 dots.
|
||||||
//
|
//
|
||||||
// See also http://trac.wxwidgets.org/ticket/10942.
|
// See also https://trac.wxwidgets.org/ticket/10942.
|
||||||
#define TYPICAL_SCREEN_DPI 96.0
|
#define TYPICAL_SCREEN_DPI 96.0
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
|
@@ -2553,7 +2553,7 @@ void wxCocoaDataViewControl::SetRowHeight(int height)
|
|||||||
int wxCocoaDataViewControl::GetDefaultRowHeight() const
|
int wxCocoaDataViewControl::GetDefaultRowHeight() const
|
||||||
{
|
{
|
||||||
// Custom setup of NSLayoutManager is necessary to match NSTableView sizing.
|
// Custom setup of NSLayoutManager is necessary to match NSTableView sizing.
|
||||||
// See http://stackoverflow.com/questions/17095927/dynamically-changing-row-height-after-font-size-of-entire-nstableview-nsoutlin
|
// See https://stackoverflow.com/questions/17095927/dynamically-changing-row-height-after-font-size-of-entire-nstableview-nsoutlin
|
||||||
NSLayoutManager *lm = [[NSLayoutManager alloc] init];
|
NSLayoutManager *lm = [[NSLayoutManager alloc] init];
|
||||||
[lm setTypesetterBehavior:NSTypesetterBehavior_10_2_WithCompatibility];
|
[lm setTypesetterBehavior:NSTypesetterBehavior_10_2_WithCompatibility];
|
||||||
[lm setUsesScreenFonts:NO];
|
[lm setUsesScreenFonts:NO];
|
||||||
|
@@ -608,7 +608,7 @@ void wxToolBarTool::UpdateImages()
|
|||||||
|
|
||||||
dc.SelectObject(m_alternateBitmap);
|
dc.SelectObject(m_alternateBitmap);
|
||||||
// This color corresponds to OS X Yosemite's rendering of selected toolbar items
|
// This color corresponds to OS X Yosemite's rendering of selected toolbar items
|
||||||
// See also http://trac.wxwidgets.org/ticket/16645
|
// See also https://trac.wxwidgets.org/ticket/16645
|
||||||
wxColour grey(0xB9, 0xB9, 0xB9);
|
wxColour grey(0xB9, 0xB9, 0xB9);
|
||||||
dc.SetPen(grey);
|
dc.SetPen(grey);
|
||||||
dc.SetBrush(grey);
|
dc.SetBrush(grey);
|
||||||
|
@@ -285,7 +285,7 @@ void wxBell()
|
|||||||
#if 0
|
#if 0
|
||||||
|
|
||||||
// one possible solution is also quoted here
|
// one possible solution is also quoted here
|
||||||
// from http://stackoverflow.com/questions/7596643/when-calling-transformprocesstype-the-app-menu-doesnt-show-up
|
// from https://stackoverflow.com/questions/7596643/when-calling-transformprocesstype-the-app-menu-doesnt-show-up
|
||||||
|
|
||||||
@interface wxNSNonBundledAppHelper : NSObject {
|
@interface wxNSNonBundledAppHelper : NSObject {
|
||||||
|
|
||||||
|
@@ -1010,7 +1010,7 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event)
|
|||||||
&& (distance > 4)
|
&& (distance > 4)
|
||||||
#endif
|
#endif
|
||||||
// Don't select to the end of the container when going outside the window
|
// Don't select to the end of the container when going outside the window
|
||||||
// For analysis, see http://trac.wxwidgets.org/ticket/15714
|
// For analysis, see https://trac.wxwidgets.org/ticket/15714
|
||||||
&& (! (hitObj == (& m_buffer) && ((hit & wxRICHTEXT_HITTEST_OUTSIDE) != 0)))
|
&& (! (hitObj == (& m_buffer) && ((hit & wxRICHTEXT_HITTEST_OUTSIDE) != 0)))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -3042,7 +3042,7 @@ bool wxRichTextCtrl::RecreateBuffer(const wxSize& size)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!m_bufferBitmap.IsOk() || m_bufferBitmap.GetWidth() < sz.x || m_bufferBitmap.GetHeight() < sz.y)
|
if (!m_bufferBitmap.IsOk() || m_bufferBitmap.GetWidth() < sz.x || m_bufferBitmap.GetHeight() < sz.y)
|
||||||
// As per http://trac.wxwidgets.org/ticket/14403, prevent very inefficient fix to alpha bits of
|
// As per https://trac.wxwidgets.org/ticket/14403, prevent very inefficient fix to alpha bits of
|
||||||
// destination by making the backing bitmap 24-bit. Note that using 24-bit depth breaks painting of
|
// destination by making the backing bitmap 24-bit. Note that using 24-bit depth breaks painting of
|
||||||
// scrolled areas on wxWidgets 2.8.
|
// scrolled areas on wxWidgets 2.8.
|
||||||
#if defined(__WXMSW__) && wxCHECK_VERSION(3,0,0)
|
#if defined(__WXMSW__) && wxCHECK_VERSION(3,0,0)
|
||||||
|
@@ -701,7 +701,7 @@ long wxExecute(const char* const* argv, int flags, wxProcess* process,
|
|||||||
// have more opened descriptions than this number). Unfortunately
|
// have more opened descriptions than this number). Unfortunately
|
||||||
// there is no good portable solution for closing all descriptors
|
// there is no good portable solution for closing all descriptors
|
||||||
// above a certain threshold but non-portable solutions exist for
|
// above a certain threshold but non-portable solutions exist for
|
||||||
// most platforms, see [http://stackoverflow.com/questions/899038/
|
// most platforms, see [https://stackoverflow.com/questions/899038/
|
||||||
// getting-the-highest-allocated-file-descriptor]
|
// getting-the-highest-allocated-file-descriptor]
|
||||||
for ( int fd = 0; fd < (int)FD_SETSIZE; ++fd )
|
for ( int fd = 0; fd < (int)FD_SETSIZE; ++fd )
|
||||||
{
|
{
|
||||||
|
@@ -353,7 +353,7 @@ GetTranslatedString(const wxTranslations& trans, const wxString& s)
|
|||||||
void MenuTestCase::TranslatedMnemonics()
|
void MenuTestCase::TranslatedMnemonics()
|
||||||
{
|
{
|
||||||
// Check that appended mnemonics are correctly stripped;
|
// Check that appended mnemonics are correctly stripped;
|
||||||
// see http://trac.wxwidgets.org/ticket/16736
|
// see https://trac.wxwidgets.org/ticket/16736
|
||||||
wxTranslations trans;
|
wxTranslations trans;
|
||||||
trans.SetLanguage(wxLANGUAGE_JAPANESE);
|
trans.SetLanguage(wxLANGUAGE_JAPANESE);
|
||||||
wxFileTranslationsLoader::AddCatalogLookupPathPrefix("./intl");
|
wxFileTranslationsLoader::AddCatalogLookupPathPrefix("./intl");
|
||||||
|
@@ -255,7 +255,7 @@ void TextFileTestCase::ReadMixedWithFuzzing()
|
|||||||
void TextFileTestCase::ReadCRCRLF()
|
void TextFileTestCase::ReadCRCRLF()
|
||||||
{
|
{
|
||||||
// Notepad may create files with CRCRLF line endings (see
|
// Notepad may create files with CRCRLF line endings (see
|
||||||
// http://stackoverflow.com/questions/6998506/text-file-with-0d-0d-0a-line-breaks).
|
// https://stackoverflow.com/questions/6998506/text-file-with-0d-0d-0a-line-breaks).
|
||||||
// Older versions of wx would loose all data when reading such files.
|
// Older versions of wx would loose all data when reading such files.
|
||||||
// Test that the data are read, but don't worry about empty lines in between or
|
// Test that the data are read, but don't worry about empty lines in between or
|
||||||
// line endings. Also include a longer streak of CRs, because they can
|
// line endings. Also include a longer streak of CRs, because they can
|
||||||
|
@@ -285,7 +285,7 @@ void XmlTestCase::PI()
|
|||||||
void XmlTestCase::Escaping()
|
void XmlTestCase::Escaping()
|
||||||
{
|
{
|
||||||
// Verify that attribute values are escaped correctly, see
|
// Verify that attribute values are escaped correctly, see
|
||||||
// http://trac.wxwidgets.org/ticket/12275
|
// https://trac.wxwidgets.org/ticket/12275
|
||||||
|
|
||||||
const char *xmlText =
|
const char *xmlText =
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||||
@@ -439,7 +439,7 @@ void XmlTestCase::SetRoot()
|
|||||||
CPPUNIT_ASSERT( !doc.IsOk() );
|
CPPUNIT_ASSERT( !doc.IsOk() );
|
||||||
wxXmlNode *root = new wxXmlNode(wxXML_ELEMENT_NODE, "root");
|
wxXmlNode *root = new wxXmlNode(wxXML_ELEMENT_NODE, "root");
|
||||||
|
|
||||||
// Test for the problem of http://trac.wxwidgets.org/ticket/13135
|
// Test for the problem of https://trac.wxwidgets.org/ticket/13135
|
||||||
doc.SetRoot( root );
|
doc.SetRoot( root );
|
||||||
wxXmlNode *docNode = doc.GetDocumentNode();
|
wxXmlNode *docNode = doc.GetDocumentNode();
|
||||||
CPPUNIT_ASSERT( docNode && root == docNode->GetChildren() );
|
CPPUNIT_ASSERT( docNode && root == docNode->GetChildren() );
|
||||||
|
@@ -64,7 +64,7 @@ public:
|
|||||||
// [Debug] date somefilename.pp(nnnn): assert "xxxxx" failed in yyyy
|
// [Debug] date somefilename.pp(nnnn): assert "xxxxx" failed in yyyy
|
||||||
// but then the assert dialog pop-ups and thus the app doesn't exit
|
// but then the assert dialog pop-ups and thus the app doesn't exit
|
||||||
// FIXME: make assertion detection work also under other platforms
|
// FIXME: make assertion detection work also under other platforms
|
||||||
// see http://trac.wxwidgets.org/ticket/10697
|
// see https://trac.wxwidgets.org/ticket/10697
|
||||||
m_crashed = out.GetString().Contains("assert") ||
|
m_crashed = out.GetString().Contains("assert") ||
|
||||||
err.GetString().Contains("assert");
|
err.GetString().Contains("assert");
|
||||||
m_exitCode = status;
|
m_exitCode = status;
|
||||||
|
Reference in New Issue
Block a user