Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2010-06-24 13:25 VS, revision 64716

Compilation fix for compilers that don't have native wchar_t.

2010-06-24 12:56 SJL, revision 64715

Add a TextCtrlTestCase::ReadOnly test to ensure that SetEditable overrides wxTE_READONLY as it is supposed to.

2010-06-24 12:35 SJL, revision 64714

Add TextEntryTestCase::Editable test to check that text events are not sent from a non-editable text entry control.

2010-06-24 12:34 VS, revision 64713

Add tests for printf arguments validation code.

2010-06-24 12:34 VS, revision 64712

Check if there aren't too many variadic arguments.

2010-06-24 12:34 VS, revision 64711

Format strings fixes in test suite.

2010-06-24 12:34 VS, revision 64710

Check wxPrintf etc. arguments types. Implements checks similar to gcc's compile-time checks: verify that the arguments are of correct types. This works partially at compile time (e.g. passing an object as argument fails to compile) and partially at runtime (assert if the specifier doesn't match the type).

2010-06-24 12:34 VS, revision 64709

Add correct wxArgNormalizer code for signed char. Signed char is distict type (see 3.9.1 [basic.fundamental] part of the standard), covering just char and unsigned char is not enough.

2010-06-24 12:34 VS, revision 64708

Always NUL-terminate wxPrintfConvSpec::m_szFlags. The array was initialized and terminating NUL was only added in some cases. In combination with strchr() calls, this would result it incorrect calculations or even crashes. Fixed by initializing the array to zeros. This is less error-prone than fixing the few places where explicitly adding the terminating NUL was missing.

2010-06-24 12:34 VS, revision 64707

Check that wxSIZE_T_IS_* macros are always defined.

2010-06-24 12:33 VS, revision 64706

Fix thread ID formatting in log messages.

2010-06-24 12:33 VS, revision 64705

Corrected formatting of archiver command in the tests. wxString::Format() was used even when the first argument didn't contain any %s, yet a string argument was always passed to it.

2010-06-24 12:08 SJL, revision 64704

Update the unit testing tech note with extra information on wxUIActionSimulator based testing.

2010-06-24 11:48 SJL, revision 64703

Add an intentionally simple ButtonTestCase, mainly for demonstration purposes.

2010-06-24 11:20 JWE, revision 64702

Add the test with mask like this: #{12}, allow correctly the space

2010-06-23 22:30 SJL, revision 64701

Tidy the SocketTestCase so that it doesn't unset the current event loop without putting it back at the end as this causes later tests using wxUIActionSimulator to fail.

2010-06-23 22:01 SJL, revision 64700

Add an event loop to TestApp to allow the use wxUIActionSimulator in unit tests. Also show the frame so it can be used.

2010-06-23 13:44 MYA, revision 64698

Add a new 'Insert Image...' MenuItem to the sample

2010-06-23 09:24 MYA, revision 64697

'Image Property' works well when scroll occurs.

2010-06-22 23:59 JWE, revision 64696

continue to modify sample and beginning to add more possibilities with mask like #{4} -> ####

2010-06-22 22:57 JTN, revision 64695

wxDC: Fix DrawLines

2010-06-22 22:57 JTN, revision 64694

wxBitmap: Set/Get masks

2010-06-22 19:56 JTN, revision 64693

wxMask implementation

2010-06-22 15:55 MYA, revision 64692

Add the 'Image Property' for context menu.

2010-06-22 15:48 SC, revision 64691

paint events cannot be constructed outside a native redraw in OSX

2010-06-22 14:46 SC, revision 64690

paint events cannot be constructed outside a native redraw in OSX

2010-06-22 13:49 SC, revision 64689

trying to get it building at least

2010-06-22 13:05 SJL, revision 64688

Revert to using Connect rather than Bind in TextEntryTestCase::TextChangeEvents for maximum compatibility.

2010-06-22 12:38 SJL, revision 64687

Add missing SVN properties to wxTestableFrame and wxUIActionSimulator files.

2010-06-22 12:20 SJL, revision 64686

Add a more flexible event count mechanism to wxTestableFrame using wxEventType. Specific event counts or the total number of events can be obtained. Also tidy the constructor to remove unused parameters.

2010-06-22 11:55 VZ, revision 64685

Add an explicit t_str() to fix wxMSW compilation with wxUSE_STL=1. wxString is not implicitly convertible to TCHAR* in this case and we need to use t_str() explicitly. Closes #12169.

2010-06-22 11:50 VZ, revision 64684

Undo/replace the workaround for Doxygen crash from r64630. According to http://sourceforge.net/mailarchive/forum.php?thread_name=5040710F-9134-4C21-9B08-EA985136F53C%40gmail.com&forum_name=doxygen-users simply adding an empty line after @since should be enough to fix the problem and this does seem to work in practice so restore @since removed by r64630.

2010-06-22 10:08 JJ, revision 64683

Update OpenVMS compile support

2010-06-22 05:20 RAW, revision 64682

Merge commit, from trunk r64198 to r64680.

2010-06-22 01:32 FM, revision 64681

blind buildbot fix

2010-06-21 23:46 FM, revision 64680

small warning+PCH fixes

2010-06-21 23:03 FM, revision 64679

move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. Leave in the console sample only a barebone console application (i.e. a real example). Closes #11960

2010-06-21 21:47 FM, revision 64678

better DirTestCase::DirExists test; fix test cases /usr//bin and /usr///bin: they succeed because wxDir::Exists does not care about redundant path separator (and this holds also for non-Unix platforms); add some more test case

2010-06-21 21:44 FM, revision 64677

minor change: use a "positive" logic: use shouldSucceed instead of shouldFail and use more descriptive names for non-existing folders; add a few test cases

2010-06-21 21:38 JTN, revision 64676

wxWindow::Update() native implementation

2010-06-21 21:38 JTN, revision 64675

wxDc::SetDeviceOrigin native implementation

2010-06-21 21:37 JTN, revision 64674

wxDc::SetDeviceOrigin native implementation

2010-06-21 21:37 JTN, revision 64673

Moving wxWindow and subclasses event handling to a template class

2010-06-21 18:45 JWE, revision 64672

add a new tab in sample and began to modify masked behavior to make it look like the one of wxPython

2010-06-21 18:36 SC, revision 64671

adding mimetype patch, closes #12072

2010-06-21 17:30 SC, revision 64670

adding HitTest to osx_cocoa implementation of listbox, refactoring code, fixes #11972

2010-06-21 16:01 SC, revision 64669

fixing year display, see #11444

2010-06-21 16:00 SC, revision 64668

adding bestsize for osx_cocoa combobox

2010-06-21 14:19 VZ, revision 64667

Correct the expected result of directory existence check. As /.. is the same as /, a directory with any number of ".." in it will always exist.

2010-06-21 14:19 VZ, revision 64666

Remove references to joytest.rc that was recently removed. Another fix to samples compilation after recent changes removing unneeded icons and resource files.

2010-06-21 14:19 VZ, revision 64665

Suppress bogus g++ warnings about uninitialized variables. The variables are always initialized but for some reason (at least the Apple version of) g++ gives warnings for them.

2010-06-21 13:50 SC, revision 64664

adding fix for non-precomp header build

2010-06-21 12:14 SC, revision 64663

storing current event for dnd support, adding default data-drag image, fixes #12065

2010-06-21 09:50 SC, revision 64662

text updated events were not always sent out correctly, fixes #11462

2010-06-20 20:36 JWE, revision 64660

Finished wxTextCtrl, add beginning to add a new sample. Tomorrow beginning to write wxCombox mask support

2010-06-20 20:18 VZ, revision 64659

Remove references to not existing any more griddemo.rc file. The file was removed in a recent commit but the bakefile was not updated. Do it now and rebake the makefiles.

2010-06-20 20:18 VZ, revision 64658

Correct the name of the XPM file containing the icon in xrc sample. This fixes a compilation error introduced during de-mondrianization of the samples.

2010-06-20 20:18 VZ, revision 64657

Gracefully disconnect clients in wxDDEServer dtor. Remove the SetConnected(false) call which prevented the connection from notifying the client about its destruction. Closes #12164.

2010-06-20 20:18 VZ, revision 64656

Use wxDELETE() and wxDELETEA() when possible. Use wxDELETE[A]() functions which automatically NULL out their arguments after deleting them instead of doing it manually. Closes #9685.

2010-06-20 19:43 VZ, revision 64655

Quote file names with spaces in wxFileType::ExpandCommand(). Add double quotes around the file name inserted into the command to open the file by wxFileType::ExpandCommand() if the file name contains any spaces and if it's not already quoted by the command line itself. While this doesn't completely fix the problem, it does help with opening the files with spaces in their names under Windows and shouldn't do any harm under Unix. Closes #4607.

2010-06-20 19:43 VZ, revision 64654

Fix activation handling in generic wxDataViewCtrl renderers. Handling of activation in the generic implementation of standard renderers was broken since r62589 which stopped calling their Activate() method. Restore it by introducing a special WXOnActivate() replacing it (but clearly marked as private and implementation-only) and calling it instead. Closes #11460.

2010-06-20 19:43 VZ, revision 64653

Extract tags from private headers under wxMSW too. Added include/wx/msw/private/*.h to the list of files passed to ctags.

2010-06-20 19:43 VZ, revision 64652

Add a system option to exit immediately on assert failure. This option will allow to test for absence of asserts in wxWidgets samples in the future. Closes #10697.

2010-06-20 19:43 VZ, revision 64651

Document and improve system options definition in the environment. Document that system options can be defined in the environment. Replace another character (dash) invalid in environment variable names but present in some standard system option names with underscore.

2010-06-20 19:43 VZ, revision 64650

Add a test for selecting the last item in the tree control sample. This allows to test whether an item is brought into view by selecting it, see #11154.

2010-06-20 19:43 VZ, revision 64649

Use wxFont::Bold() in wxGenericTreeCtrl instead of wrongly duplicating it. Creating a new wxFont from the components of the existing one doesn't always work because we may not have a valid value for the old font family so attempt to use it as a family of the new font results in an assert. Just use wxFont::Bold() instead to avoid the problem. It's much shorter and obviously correct and doesn't result in asserts.

2010-06-20 19:43 VZ, revision 64648

Use PBM_SETMARQUEE to implement indeterminate mode in wxMSW wxGauge. The old code which simply used PBM_SETPOS after setting PBS_MARQUEE style often worked but sometimes apparently didn't, so switch to the officially sanctioned PBM_SETMARQUEE to implement this. Also make wxGauge::SetDeterminateMode() and SetIndeterminateMode() methods private as they are not part of the public class API. Closes #11357.

2010-06-20 19:42 VZ, revision 64647

Don't enable scrollbar if it can't do anything in wxMSW. Only reenable scrollbar in wxWindow::SetScrollbar() in wxMSW if its range is large enough to allow scrolling it. Closes #11373.

2010-06-20 19:42 VZ, revision 64646

Use wxTE_RICH2 for in-place wxGrid text editor control. This works around a bug with the plain text edit control under MSW which seems to totally lose its caret when we hide it and show it again for another cell. This is not a proper fix for the problem, of course, but at least it does allow to edit wxGrid cells in the meanwhile. Closes #11681.

2010-06-20 19:42 VZ, revision 64645

Remove unnecessary mondrian.{ico,xpm} files from samples directory. Standardize on using sample.rc and sample icon in all the samples, it was confusing that some of them used it and other didn't, without any apparent logic. Remove the now unnecessary icon files, including the dialogs sample icon which seemed to be corrupted (this closes #11146). Also replace multiple OS/2 resource files with a single one in the sample directory. The OS/2 projects/makefiles would need to be updated to use them. Remove dialogs sample icon.

2010-06-20 19:41 VZ, revision 64644

No real changes, just convert a Mac-specific file to UTF-8. This is needed in order to be able to commit the next change, updating it.

2010-06-20 17:24 SC, revision 64643

using proper dylib for darwin

2010-06-20 16:53 SC, revision 64642

no trailing slash for OSX_CARBON

2010-06-20 16:49 SC, revision 64641

no trailing slash for OSX_CARBON

2010-06-20 16:46 SC, revision 64640

no trailing slash for OSX_CARBON

2010-06-20 16:15 SJL, revision 64639

Add an overload to wxUIActionSimulator::MouseMove that takes a wxPoint for convenience.

2010-06-20 13:46 VZ, revision 64638

Ensure that wxFileName::GetTempDir() doesn't return trailing slashes. Sanitize the value returned by GetTempDir() to ensure that it doesn't have any trailing path separators. This happened at least under OS X where standard TMPDIR has a trailing slash and was inconsistent with the behaviour under the other platforms.

2010-06-20 09:08 JMS, revision 64637

VC6 Fix: Use wxANY_AS() instead of wxAny::As<>()

2010-06-19 14:48 FM, revision 64636

group all interactive tests together to make it easier to understand what's going on when running the sample

2010-06-19 14:32 FM, revision 64635

Move dir tests from the console sample to DirTestCase

2010-06-19 14:28 FM, revision 64634

fix for non-PCH builds

2010-06-19 14:28 PMO, revision 64633

Improved internal Convert() functions and corrected some other minor source code format issues

2010-06-19 13:07 FM, revision 64632

Remove identic implementations of wxDir::Exists from platform-specific files and put it in dircmn.cpp (they all used wxDirExists). Add wxDir::Make() and wxDir::Remove() for coherency with wxDir::Exists() and document them as simple aliases to wxFileName functions, just a bit more readable.

2010-06-19 13:01 JMS, revision 64631

Added (sanity) checks for the inplace allocation

2010-06-19 11:22 VZ, revision 64630

Work around Doxygen crash due to using @since inside event table. All versions of doxygen seem to crash when encountering @since inside an event table description, so don't use it there. Also fixed a typo and improved wording of wxFileCtrl description slightly.

2010-06-18 21:39 JTN, revision 64629

Bare minimum for wxFrame child autosizing (when only one)

2010-06-18 20:47 JTN, revision 64628

Use GetContainer() in wxFrame

2010-06-18 20:02 JTN, revision 64626

Add GetContainer() to wxWindow

2010-06-18 15:32 JMS, revision 64625

Made wxAny::IsNull() doc string a bit clearer

2010-06-18 15:30 JMS, revision 64624

Added wxAny::HasSameType()

2010-06-18 15:18 JMS, revision 64623

Use placement new when storing value in wxAnyValueBuffer. This should allow using any data type, regardless whether it is Plain Old Data or copyable or not.

2010-06-18 11:05 VZ, revision 64622

Install headers in ribbon subdirectory. Add RICHTEXT_HDR to ALL_GUI_HDR variable in files.bkl to ensure that they're installed as part of "make install". Closes #12158.

2010-06-18 00:30 VZ, revision 64621

Allow specifying non default port for wxFTP connections. Add a wxFTP::Connect() overload taking a port number. Also specify the default port (21) explicitly if resolving "ftp" service name failed. Closes #12145.

2010-06-18 00:30 VZ, revision 64620

Backport fix from bakefile svn for autoconf 2.65. Use AC_REQUIRE() instead of directly using a macro, the latter doesn't work with autoconf 2.65. This is a backport of r1337 from bakefile svn to allow people to use autoconf 2.65 immediately and will become unnecessary when we update to the next bakefile version.

2010-06-18 00:30 VZ, revision 64619

Don't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS. This provokes warnings from autoconf 2.65 and seems to be unnecessary even with the previous versions.

2010-06-17 22:36 JTN, revision 64618

Implementation of screen size getters

2010-06-17 22:20 JTN, revision 64617

wxFont implementation

2010-06-17 20:53 JTN, revision 64616

Better wxBitmap depth handling

2010-06-17 20:39 JTN, revision 64615

wxDC text adjustments (position and colors)

2010-06-17 20:29 JTN, revision 64614

Painting monochrome bitmaps uses text colors

2010-06-17 19:55 JTN, revision 64613

Restored image sample

2010-06-17 19:53 JTN, revision 64612

wxBitmap XBM loading

2010-06-17 19:09 JTN, revision 64611

Fixing last commit

2010-06-17 19:02 JTN, revision 64610

Renaming conversion functions and GetHandle()

2010-06-17 17:47 JWE, revision 64609

Correct input bugs. To complete, I have to test multi-fields and found a utf8 execution error

2010-06-17 16:39 VS, revision 64608

Document that wxTextEntry was added in 2.9.0.

2010-06-17 15:04 VS, revision 64607

Compilation fix for GetAvailableTranslations().

2010-06-17 15:04 VS, revision 64606

Make the wxArrayString(int) ctor explicit.

2010-06-17 11:33 SJL, revision 64605

Add very basic implementation of wxTestableFrame. Update TextEntryTestCase to use the new event counting system.

2010-06-16 21:57 JWE, revision 64604

correct some bugs like size of mask and Apply formatcode. Update unitary test

2010-06-16 16:09 VS, revision 64597

Add wxTranslations::GetAvailableTranslations().

2010-06-15 23:31 JWE, revision 64595

fix bugs with ApplyFormatCodes, finished to connect the text ctrl and the mask, beginning testing and correct bugs. Update methods and unitary tests

2010-06-15 15:34 JMS, revision 64594

Fix compilation when wxAny was disabled (fixes #12148)

2010-06-15 14:55 JWE, revision 64593

added the connection between the mask and the textCtrl. Compiled and linked

2010-06-15 10:56 MYA, revision 64592

Modify according to Julian advice. 1. Dialog controls change 2. Copy function added.

2010-06-14 17:12 JMS, revision 64589

Added wxIsPod<>. Use it in wxAny instead of wxIsMovable<>.

2010-06-14 14:08 JWE, revision 64588

add sample and connected the textCtrl with the mask

2010-06-14 10:58 MW, revision 64587

Corrections to the previous commmit.

2010-06-14 08:00 MW, revision 64586

Add --disable-gui and --disable-all-features builds to the ravnsgaard buildbot.

2010-06-13 16:30 FM, revision 64583

moved non-interactive tests for wxDynamicLibrary, wxGet/SetEnv, wxTempFile, wxCopyFile to appropriate CppUnit test suites; removed wxFile and wxTextFile tests (complete testsuites already exist for them)

2010-06-13 16:05 MYA, revision 64582

Some remain works for image rescale. 1. Use wxDynamicCast instead of C++ one; 2. Use a temp wxImage to rescale and show; 3. We can use two digits under dicemal dot.

2010-06-13 15:35 MYA, revision 64580

The image can scale with user input now.

2010-06-13 12:00 JMS, revision 64578

Use wxComboCtrl::SetTextCtrlStyle() in the combo sample

2010-06-13 11:59 JMS, revision 64577

Added wxComboCtrl::SetTextCtrlStyle()

2010-06-13 10:46 JMS, revision 64576

Documented pythonic iterators

2010-06-13 09:06 MYA, revision 64574

Change to a better name. :)

2010-06-13 08:40 MYA, revision 64573

Validate the input data from image dialog.

2010-06-13 07:38 MYA, revision 64572

Popup the image dialog in richtext sample.

2010-06-12 23:26 VZ, revision 64571

Fix scrolling to the bottom in wxTextCtrl::AppendText(). The old code used EM_LINESCROLL which could scroll too far if the caret wasn't in the first line of the control. Instead of trying to compute the correct number of the lines to scroll, just use WM_VSCROLL with SB_BOTTOM parameter instead. Closes #12123.

2010-06-12 23:10 SJL, revision 64570

Add support for wxKeyCode conversion in OSX wxUIActionSimulator code. Improve key sending order. Closes #12117

2010-06-12 20:21 VZ, revision 64569

Fix processing of events for MRU entries #10 and more in docview. We only handled events for wxID_FILE1..wxID_FILE9 range but there can be more than 9 entries in the MRU list. Handle events for as many of them as there are correctly. This required adding a fallback handler for all menu events and checking if the id of the menu item is in the MRU range inside it. Also move this to wxDocManager itself from wxDocParentFrameAnyBase as it's common for all kinds of frames anyhow. Closes #12141.

2010-06-12 13:28 VZ, revision 64566

Stop the timer in console IPC client sample once we don't need it any more. Under MSW the timer appeared to be flooding the message queue with timer events faster than we could process them (which seems incredible for the timer interval of 1 second but still seems to happen), so the idle events were never generated and the sample didn't work at all. Now stop the timer once we get a last notification from it to let the program become idle and run the test function scheduled from the timer handler. See #11528.

2010-06-12 13:28 VZ, revision 64565

Avoid sending spurious socket read notifications in wxMSW. If a read notification is generated for a socket, it should be possible to read something from it without blocking but this doesn't seem to be always the case under MSW for some reason. And this results in all sorts of problems in wxSocket and wxIPC code, so check for this at wxSocketImpl level and not send the notification at all if there is no data to read. See #11528.

2010-06-12 12:31 JMS, revision 64564

For wxTextCtrl editor, set the bold font before margins are set up or it will not work properly

2010-06-12 11:47 JMS, revision 64563

Keyboard handling was blocked by label editor. Also try to maintain label editor focus state when navigating between properties.

2010-06-12 11:30 JMS, revision 64562

Added wxPropertyGrid::DedicateKey(), which prevents specific key presses from being eaten by editor controls. This is useful for customizing keyboard navigation. Also added utility function wxPGFindInVector<>(), which is used in the new code, and also in some other places.

2010-06-11 22:42 VZ, revision 64559

Add wx/msgqueue.h to the list of wxBase headers and rebake. This header has somehow never been added to build/bakefiles/files.bkl, do add it now.

2010-06-10 17:17 JWE, revision 64557

unitary test finished for wxMaskedEdit

2010-06-10 16:56 VZ, revision 64555

Fix typo in an error message in XTI code. Closes #12139.

2010-06-10 16:36 MYA, revision 64554

Make the dialog and the sample ready, now deal with the simple aligment/resize layout.

2010-06-10 14:43 RR, revision 64552

Implemented wxDataViewColumn for wxOSX/Cocoa

2010-06-10 13:53 RR, revision 64550

Suppress warning about double->int conversion

2010-06-10 13:47 RR, revision 64549

Make wxDataViewCtrl::GetColumnPosition() return the index under MSW as per GTK and the docs (fixes #12129), give immediate visual feedback after calling e.g. wxDataViewColumn::SetHidden(true) under MSW, also per GTK+ and as I'd expect. Make GTK+ control emit header click events also for non-reorderable columns. Add a few tests for wxDataViewColumn::SetHidden() and wxDataViewCtrl::GetColumnPosition()

2010-06-10 12:40 VZ, revision 64548

Add missing Init() call to one of wxListBox ctors in wxMSW. Overloaded ctor taking wxArrayString didn't call Init() so the wxListBox fields were not initialized. Fix it by adding the Init() call. Closes #12138.

2010-06-09 22:35 JMS, revision 64544

wxAny CheckType() member functions are now const

2010-06-09 22:22 JMS, revision 64543

wxAny CheckType() member functions should be const

2010-06-09 20:10 JTN, revision 64542

WindowDC implementation

2010-06-09 20:05 JTN, revision 64541

Fixes QImage -> wxImage conversion

2010-06-09 20:04 JTN, revision 64540

Fix #64534 commit

2010-06-09 20:03 FM, revision 64539

Increase interoperability between wxPoint and wxRealPoint introducing constructors which convert between the two classes.

2010-06-09 19:58 FM, revision 64538

fix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs and other ports but GDI+ wants degrees.

2010-06-09 19:55 FM, revision 64537

fix couple of warnings; remove wxUsleep dummy test

2010-06-09 19:51 JTN, revision 64536

Always create a QPen/QBrush associated to wxPen/wxBrush (including default constructor)

2010-06-09 19:49 JTN, revision 64535

Basic wxWindow implementation and paintEvent

2010-06-09 19:47 JTN, revision 64534

Better default value handling for wxPoint and wxSize

2010-06-09 16:28 FM, revision 64533

Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible.

2010-06-09 15:55 FM, revision 64532

Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible. Correct a recurring error in the docs: IMPLEMENT/DECLARE_CLASS are alias to the DYNAMIC macros, not to the ABSTRACT macros.

2010-06-09 15:23 FM, revision 64531

Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible.

2010-06-09 13:13 VZ, revision 64527

Don't use -kAddToPopUp() gettext hack with Scintilla. Instead, create a dummy file containing the user-visible strings defined in Scintilla sources. For now it's manually managed but it might make sense to automatically generate it in the future.

2010-06-08 15:34 MYA, revision 64525

Use dialog instead of wxPanel as the property interface. Only change to panels if we really need in the future.

2010-06-08 00:02 JWE, revision 64523

resolved some wxMaskedField problems and begin to debug wxMaskedEdit

2010-06-07 19:16 VZ, revision 64521

Include locale.h in cmdline.cpp to ensure LC_ALL is defined. This is needed for at least VC++ 6 and is more correct anyhow.

2010-06-07 09:39 JS, revision 64520

GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.

2010-06-07 09:39 JS, revision 64519

GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.

2010-06-06 20:52 FM, revision 64515

revert previous revision about localization of decimal points in GetHumanReadableSize() test strings: using CLocaleSetter is a better solution.

2010-06-06 17:45 FM, revision 64514

add to wxRealPoint the same operators already available for wxPoint and wxSize

2010-06-06 17:44 FM, revision 64513

fix building without PCH

2010-06-06 17:41 FM, revision 64512

Move a couple of wxFileName tests from the console sample to the existing FileNameTestCase. Fix FileNameTestCase::TestGetHumanReadable to check the result against expected strings using the correct decimal point for the locale used on the test machine.

2010-06-06 16:21 FM, revision 64511

remove some tests from the console sample: - wxLog already has a better cppunit test class - wxLocale test in the console sample didn't work on Windows and wasn't very useful move some tests from the console sample to CppUnit tests: - wxPathList => PathListTestCase - wxModule => ModuleTestCase remove some tests about removed functions of wxMimeTypesManager

2010-06-06 14:41 VZ, revision 64510

Don't post process events twice but return correct value from ProcessEvent(). This is a further complication to the event handling code which aims to handle correctly the case of wxScrollHelperEvtHandler which doesn't respect the request to process events only in it but always passes it to the next handler in the chain itself while still returning the correct value from ProcessEvent() itself to avoid breaking code that relies on it, like the background painting code in wxHtmlWindow. This replaces the change of r64495 and does return true from DoTryChain() in wxScrollHelperEvtHandler case but sets the "skipped" flag in the event itself to indicate that it wasn't really processed and ProcessEvent() now checks it after calling ProcessEventLocally() and returns the correct value appropriately.

2010-06-06 14:41 VZ, revision 64509

Fix compilation errors in wxGTK wxDataViewCtrl in ANSI mode. wxGTK_CONV() macro can only be used in classes which have m_font member, otherwise the font needs to be specified explicitly.

2010-06-06 14:35 JMS, revision 64508

To make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLEND instead of SLIDE_TO_BOTTOM, and add a text '(custom animaton)'

2010-06-06 13:37 FM, revision 64507

get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs.

2010-06-06 13:35 FM, revision 64506

document wxTransparentColour global instance

2010-06-06 13:34 FM, revision 64505

more readable argument names for wxDC::DrawArc

2010-06-06 11:35 JMS, revision 64504

In wxComboCtrlBase::DoShowPopup(), if the popup window is a generic TLW or a 'perfect' wxPopupWindow, then try to set focus to the popup control at the end of show

2010-06-06 11:15 JMS, revision 64503

Use ShowWithEffect() in the sample wxComboCtrlWithCustomPopupAnim instead of manual window manipulation in timer event

2010-06-06 00:58 VZ, revision 64500

Don't send selection events for an already selected item in wxMSW wxListBox. Remember the last item for which a listbox notification event had been sent and don't send it again if the user clicks on an already selected item. This is consistent with wxGTK behaviour and generally makes more sense: why should we send an event if the selection didn't really change?

2010-06-06 00:58 VZ, revision 64499

Don't send listbox selection events when mouse wasn't clicked on an item. Windows sends events even if the mouse is clicked in the area below the items, filter them out by checking the item under the mouse ourselves. Also use synchronous GetMessagePos() function to get the mouse position instead of the asynchronous GetCursorPos() which was wrongly used by the old code.

2010-06-06 00:58 VZ, revision 64498

Use mouse position to find the item for selection events in wxMSW listbox. Using LB_GETCARETINDEX doesn't work when the mouse is used to make selection because it always returns the index of the last item, even if the mouse is clicked below it, on an area without any listbox items. So use the mouse position to find the item in this case but still use LB_GETCARETINDEX to find the item when the keyboard is used. This required adding a flag to wxListBox storing the kind of the last input message that it received as there doesn't seem to be any way to determine how the message was generated otherwise. This code will be refactored/improved further in the next two commits.

2010-06-06 00:57 VZ, revision 64497

No changes, just refactor wxListBox initialization in wxMSW. Extract member fields initialization in Init() method instead of duplicating it in default ctor and Create().

2010-06-06 00:57 VZ, revision 64496

Refactor listbox event sending code to avoid duplication. wxMSW wxListBox implementation contained the same code as the private LBSendEvent() function in lboxcmn.cpp, so make this function a (protected) member of wxListBoxBase and reuse it instead. Also change its and CalcAndSendEvent() return type to bool to be able to return whether the event was processed or not. As the result of this refactoring, the "is selected" flag is now set correctly for the selection events under MSW (it was always off before).

2010-06-06 00:57 VZ, revision 64495

Don't return true from DoTryChain() if the event wasn't really processed. Correct the return value when an event handler didn't honour "process only in this handler" flag: we shouldn't pass the event to the further handlers in this case but we shouldn't return true neither as the event wasn't really processed. This corrects background painting of wxHtmlWindow broken by previous changes.

2010-06-05 19:28 PMO, revision 64491

Some minor implementations for wxWindow

2010-06-05 18:40 PMO, revision 64490

More menu related implementations (checked, radio)

2010-06-05 03:23 RD, revision 64489

m_id was already set, don't set it to the passed in value again as then we lose the value which may have been calculated for wxID_ANY.

2010-06-05 00:04 VZ, revision 64483

Correct EVT_LIST_BEGIN_LABEL_EDIT macro name in the documentation. The "LIST" part was missing. Closes #12124.

2010-06-04 11:07 JWE, revision 64482

unitary test

2010-06-03 23:14 FM, revision 64480

no real change: just rename "near" into "onNearPart" (MSVC doesn't like 'near' as variable name)

2010-06-03 17:25 JMS, revision 64477

Backported from wx2.9: Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (see #12087)

2010-06-03 17:16 JMS, revision 64476

Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (fixes #12087)

2010-06-03 12:35 VZ, revision 64475

Drop the column being dragged at the correct position in wxGrid. The column was being always dropped after the column at drop position but this was incorrect and didn't correspond to the visual feedback drawn by wxHeaderCtrl: if the drop position is over the "near" part of the column, the column should be dropped before it instead. Do the check for this in wxGrid code too now. Closes #12120.

2010-06-03 12:35 VZ, revision 64474

Test for wxPen validity before testing for its style in wxGTK wxDC. Calling wxPen::GetStyle() on an invalid pen resulted in an assert, breaking the grid column drawing while reordering them, for example, because the code in wxGrid uses wxDC::DrawRectangle() after calling SetPen(wxNullPen). Fix this by testing for the pen validity first.

2010-06-03 12:35 VZ, revision 64473

Assert if an invalid column index is specified when inserting wxListCtrl item. This also catches the case of inserting an item in a report mode wxListCtrl without adding any columns to it first. Previously this did result in an assert but with a less clear error message and, most importantly, still a crash afterwards. Assert only now, don't crash. The message could still be improved but hopefully people will be able to understand that inserting items when no columns are defined is not the right thing to do. Closes #12119.

2010-06-02 17:02 MYA, revision 64471

Recreate the image control dialog panel using DialogBlocks. Add a new richtextimagepage.h/cpp and update the bakefiles.

2010-06-02 16:56 FM, revision 64470

fix StringTestCase::FromDouble: newer MSVC versions use three digits for the exponent width

2010-06-02 16:51 FM, revision 64469

remove wxFileConfig tests: FileConfigTestCase already tests features tested by console sample and is much more complete.

2010-06-02 16:42 FM, revision 64468

Move some wxPrintf() tests (taken from glibc) to VsnprintfTestCase. Other tests are more difficult to convert in CppUnit style and not worth the effort (since now we don't use wx's own vsnprintf implementation anymore typically).

2010-06-02 16:17 JWE, revision 64467

add documentation and unitary test file for maskedEdit.

2010-06-02 16:12 FM, revision 64466

Move wxRegConfig tests from console sample to a new wxRegConfigTestCase class. Remove wxRegKey tests from console sample: on newer Windows they only work when run with admin privileges; also we can expect wx[Reg]ConfigTestCase to already check a good number of wxRegKey features.

2010-06-02 15:53 FM, revision 64465

Make wxConfig ctor docs more readable. Add a simple stub for wxRegConfig class so that Doxygen highlights it just like it does with wxFileConfig.

2010-06-02 13:58 VZ, revision 64464

Fix recently broken forwarding of events between event handlers. After the recent changes to the event processing logic, forwarding an event from one event handler to another one stopped working correctly because the per-event "process here only" flag prevented it from following the event handler chain after forwarding. This notably broke keyboard navigation in wxComboCtrl under MSW in wx itself and probably quite a few of other things in user code. Fix this by replacing the boolean flag with a pointer to the handler to which the processing of this event should be restricted. This allows the full processing to still take place if an event is forwarded to another handler. So wxEvent::ShouldProcessHereOnly() is now called ShouldProcessOnlyIn() and takes a wxEvtHandler parameter. This made appear a problem in wxScrollHelperEvtHandler code that was hidden by the bug above: the events were still processed multiple times in it. To fix this, also add wxEvent::DidntHonourProcessOnlyIn() and take it into account in the base class code. Did I mention that wxScrollHelperEvtHandler must die? Add another unit test checking that forwarding works correctly.

2010-06-02 13:58 VZ, revision 64463

Fix drawing of scaled bitmaps in wxCairoContext. We must offset the coordinate system before scaling it, otherwise incorrect offset is used. Add a test for drawing translated/scaled bitmaps to the drawing sample. See #11097.

2010-06-02 13:58 VZ, revision 64462

Don't hard code position of the drawing sample window and increase its size. Hardcoding position to 50,50 is inconvenient, let the window manager position the window as configured by user. Also, the vertical size of the sample was too small to see the contents of most pages, increase it.

2010-06-02 13:58 VZ, revision 64461

Remove unused GetTextExtent() call from wxProgressDialog. This seems to be a left-over from the old, manual positioning code. As we use sizers now, it's not needed any more.

2010-06-02 12:49 FM, revision 64460

disable FTPTestCase by default. Add a warning for the user when running --list without arguments: not all tests are listed, only those enabled by default (e.g. FTPTestCase doesn't appear there)!

2010-06-01 17:38 JMS, revision 64459

Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle()

2010-06-01 17:31 JMS, revision 64458

Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle() (fixes #12114)

2010-06-01 17:01 JMS, revision 64457

In wxComboPopupEvtHandler::OnMouseEvent(), when need to relay event to drop-down button, call HandleButtonMouseEvent() directly, if possible. This is less confusing for the platform-specific wxComboCtrl implementations, and fixes issue where the drop-down button could remain in pressed state after the mouse button was lifted.

2010-06-01 16:17 JMS, revision 64456

For clarity: wxComboPopupExtraEventHandler -> wxComboPopupEvtHandler (there is nothing particularly extra about it)

2010-06-01 15:46 JMS, revision 64455

Refactored wxComboPopupExtraEventHandler::OnMouseEvent(). Now block mouse events from the popup control until mouse button has been seen in 'up' state (ignoring first mouse up). This matches Windows native combo box behavior (fixes #12115).

2010-05-31 16:59 VZ, revision 64454

Update AUI floating windows position and not just size on resize. When a window is resized, its position can change as well as its size but it wasn't updated before. Do it now. Closes #11421.

2010-05-31 16:59 VZ, revision 64453

Regenerate wxstd.pot with the recently added translatable strings. Simply reran "make wxstd.pot" in locale subdirectory.

2010-05-31 16:59 VZ, revision 64452

Don't disable wxID_PRINT_SETUP even when there is no active document. Printer can be setup without active document, remove the EVT_UPDATE_UI handler for wxID_PRINT_SETUP. See #11394.

2010-05-31 16:59 VZ, revision 64451

Translate strings used in doc-view printing code. Simply use _() instead of wxT() for the user-visible strings. Closes #12110.

2010-05-31 13:55 VZ, revision 64450

Use C locale for numbers in wx(File)Config. Using the current locale decimal point in config files results in problems when moving the files to another machine or even using a different locale on the same one, so don't do it. Always write the numbers using C locale and try to read them in C locale too first, but also try the current locale if we failed for backwards compatibility and to be tolerant with users who edit their config files by hand.

2010-05-31 13:55 VZ, revision 64449

Add wxString::FromDouble() and FromCDouble(). wxString::FromCDouble() is needed inside wxWidgets itself to format numbers independently of the current locale. FromDouble() was added for symmetry with ToDouble/ToCDouble() functions. Use std::locale for the implementation if available and manual wxLocale-based fallback otherwise.

2010-05-31 13:55 VZ, revision 64448

Make wxString::ToCXXX() methods always available. We use these methods inside wxWidgets itself and so want to always have them, even when wxUSE_XLOCALE==0. Provide replacement manual implementations for this case.

2010-05-31 13:55 VZ, revision 64447

No real changes, just avoid an unnecessary heap allocation in a test. We don't need to allocate the locale object in StringTestCase::ToDouble() on the heap (and then delete it -- or not, if an assertion fails before the function end), it's enough and simpler to just create it as a local variable.

2010-05-31 01:28 VZ, revision 64446

Fix wxFont::IsFixedWidth() under MSW to always return correct result. This function worked erratically, returning the correct result or not depending on the way it was created. Reimplement it using GetTextMetrics() to get the correct result in any case. Closes #4714.

2010-05-31 01:28 FM, revision 64445

Add a simple example to make it easier to get started (by copy&paste).

2010-05-31 01:28 FM, revision 64444

implement * and / operators for wxPoint, not only wxSize. Add to their documentation a note about the fact that the real operators are not class members but rather global functions.

2010-05-31 01:12 VZ, revision 64443

Add <span> tag and limited support for CSS styles to wxHTML. Parse "style" attributes of the HTML tags and honour those of them that can be mapped to the HTML 3 attributes. Also add a handler for <span> tag. Closes #10631.

2010-05-30 22:49 SJL, revision 64442

Add a basic wxUIActionSimulator::Text function for alpha characters

2010-05-30 22:05 VZ, revision 64441

No changes, just rebaked and reran autoconf. It seems that autoconf_inc.m4 hadn't been regenerated by a previous change as rerunning bakefile_gen resulted in a lot of changes in it, do it now without any other changes to ensure that the next commit only contains the changes due to its modification of files.bkl.

2010-05-30 22:05 VZ, revision 64440

Activate the view of a newly created document. This appears to be necessary under Mac where views are top level windows and should do no harm elsewhere. Also factor out the activation code in a new wxDocManager::ActivateDocument() method to avoid duplicating it. Closes #11417.

2010-05-30 22:05 VZ, revision 64439

Store page setup data in wxDocManager. Printing of documents from wxDocManager always used default page setup data, allow the user to configure it now. Add wxDocManager::m_pageSetupDialogData and add a handler for wxID_PRINT_SETUP command to it. Closes #11394.

2010-05-30 22:05 VZ, revision 64438

Don't generate AUINOTEBOOK_BG_DCLICK when clicking inactive arrow. Clicking on a disabled arrow shouldn't do anything, in particular it shouldn't generate a wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK event. See #12084.

2010-05-30 22:01 RR, revision 64437

Patch update, probably fixes #12090: wxGTK cursor handling revamp

2010-05-30 19:45 RR, revision 64436

Use GTKXXX notation for some more wxGTK specific methods for consistency

2010-05-30 18:53 VS, revision 64435

wxrc -g should output filenames in Unix format. It is customary in C source code and xgettext has problems with backslahes in #line comments. Fixes #10727.

2010-05-30 16:00 JS, revision 64434

Caret position corrected to end of selection

2010-05-30 16:00 JS, revision 64433

Caret position corrected to end of selection

2010-05-30 14:21 VS, revision 64432

Fix Shift+TAB navigation from wxNotebook. When the focus was on a tab label, Shift+TAB didn't move it out of the notebook to the preceding control, as it should. Instead, focus moved to the last control in the current notebook page. This change fixes it, TAB and Shift-TAB cycling through controls now behaves identically modulo direction.

2010-05-30 08:38 PC, revision 64431

Remove pizza backing window. When it is present, no-window widgets sometimes don't get expose events for reasons I could not determine. And it is dubious that it improved scrolling performance on modern hardware anyway, and almost certainly doesn't help now that GTK+ is using "client side windows".

2010-05-29 22:48 JWE, revision 64430

2010-05-29 12:35 VZ, revision 64429

Add "filter changed" event to wxFileCtrl. Generate an event when the selection in the filter combobox of wxFileCtrl changes. Closes #12099.

2010-05-29 12:35 VZ, revision 64428

Add wxConfig::Read(float *) overload. This uses Read(double *) but casts the result to float after checking that it is in the correct range. Closes #12100.

2010-05-29 12:35 VZ, revision 64427

Show OLE errors using wxLogDebug() in wxAutomationObject. Enable the previously commented out ShowException() but use wxLogDebug() in it instead of wxLogWarning() to avoid confusing the users with errors they don't care about. Closes #11632.

2010-05-29 12:01 JMS, revision 64426

Fixed assert when editing wxFontProperty with unspecified value (fixes #12086)

2010-05-29 10:22 FM, revision 64425

remove test code for wxScopeGuard (there's already a better ScopeGuardTestCase)

2010-05-29 10:20 FM, revision 64424

remove wxCmdLineParser tests; there is already a much more complete test suite (CmdLineTestCase). Refactor single instance checker test.

2010-05-29 10:00 FM, revision 64423

get rid of socket tests; there are marked as broken and we already have SocketTestCase in CppUnit test classes.

2010-05-29 09:56 FM, revision 64422

move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test.

2010-05-28 22:31 FM, revision 64421

Add examples of usage for easy copy-and-paste. Minor corrections and markup changes.

2010-05-28 15:31 JJ, revision 64420

Update configuration for wxX11 on OpenVMS

2010-05-27 22:03 JMS, revision 64419

In wxComboPopupExtraEventHandler::OnMouseEvent(): Also include wxEVT_LEFT_UP among the mouse events to be blocked when the cursor is outside the popup area. This fixes wxMSW bug where the popup disappears immediately after mouse button is released (see #12087).

2010-05-27 21:50 JWE, revision 64418

add regenerated files

2010-05-27 21:19 JWE, revision 64417

Add some fetaure in maskfield. I have created the skel of maskedfield. Regenerated bakefile. Tomorrow I will finish maskedit and if I have the time, begin unitary test.

2010-05-27 19:07 VZ, revision 64416

Ignore "%*" in the shell command strings in MSW registry. Apparently "%*" can be used now in addition to the usual "%1" in the MSW shell command strings. As we don't support passing more than one file to a command at once anyhow, simply ignore them. At least this avoids errors when trying to open files with some extensions. Closes #12091.