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):

2011-03-25 12:00 VS, revision 67307

Revert r67137. GTK_DISABLE_SINGLE_INCLUDES causes trouble with other included libraries (libgnomeprint this time) too. This check for trivially fixed problems is not worth the continuing trouble. Fixes #13078.

2011-03-24 18:53 JS, revision 67306

wxRTC image writing speedup didn't make it into 2.8.12

2011-03-24 17:52 PC, revision 67305

fix tool item enter/leave notify, fixes #13083

2011-03-24 17:08 VZ, revision 67304

Set m_inheritBgCol flag in wxPanel with a background bitmap. This ensures that the panel background is used by its transparent children under wxMSW even when the panel itself is inside a wxNotebook with themed background: making InheritsBackgroundColour() return true prevents the notebook from overriding our background.

2011-03-24 11:59 JS, revision 67303

Speeded up image saving to XML (WriteHex).

2011-03-24 11:58 JS, revision 67302

Speeded up image saving to XML (WriteHex).

2011-03-23 18:37 PC, revision 67299

move deprecated GtkTooltips forward declaration to one place that still needs it

2011-03-23 18:36 PC, revision 67298

clean up wxGTK tooltip code

2011-03-23 16:22 DS, revision 67297

backported r67296. ( Fixed buffer overflow when saving certain images in the Windows icon format. When an image did not have a width with a multiple of 4 the calculations for the number of padding bytes (to get a scan line DWORD aligned) would be wrong. This caused a buffer overrun when saving the 1 bits per pixel mask. See #12937. )

2011-03-23 16:20 DS, revision 67296

Fixed buffer overflow when saving certain images in the Windows icon format. When an image did not have a width with a multiple of 4 the calculations for the number of padding bytes (to get a scan line DWORD aligned) would be wrong. This caused a buffer overrun when saving the 1 bits per pixel mask. Fixes #12937.

2011-03-23 14:57 VS, revision 67295

Only react to clicks on the checkbox in wxDataViewToggleRenderer. Previously, left click anywhere in the cell toggled the checkbox. This was unexpected when the cursor was far from the checkbox in a wide column. With this change, one has to be over the checkbox to toggle it.

2011-03-23 13:59 VZ, revision 67294

Add WXK_CONTROL_A..WXK_CONTROL_Z constants. These key codes provide nicer symbolic values for ASCII values in 1..26 range generated by Ctrl+Letter keys. Closes #13075.

2011-03-23 11:37 VZ, revision 67293

Prevent event generation in wxGtkCalendarCtrl::SetDate(). Block not only gtk_day_selected_callback() but also gtk_month_changed_callback() as we don't want wxEVT_CALENDAR_PAGE_CHANGED generated neither when calling SetDate(). This fixes partial resetting of the just set value in wxDatePickerCtrl as calling SetDate() there resulted in the date being reset from inside it and the behaviour of the control was clearly wrong as could be seen in the widgets sample. Closes #13073.

2011-03-23 11:37 VZ, revision 67292

Use correct month in the date picker page of the widgets sample. Months returned by wxDateTime::GetMonth() start from 0 while people mostly expect to have 1-based months in the UI.

2011-03-22 20:13 VS, revision 67290

Fix <object_ref> processing to respect overridden attributes. r60494 accidentally broke this, by adding faster code path for child-less <object_ref>s. Unfortunately, this made it ignore <object_ref>s without children, but with attributes overrides. Fixes #13061.

2011-03-22 19:44 SC, revision 67289

wiring notifications

2011-03-22 18:15 VZ, revision 67288

Add wxUSE_THREADS checks around wxMSW functions dealing with threads. This removes the code unneeded in wxUSE_THREADS==0 build and also fixes compilation of wxGUIAppTraits::WaitForThread() which didn't compile any more with wxUSE_THREADS==0 since r67185. Closes #13050.

2011-03-22 18:15 VZ, revision 67287

Don't consider fully opaque bitmaps as having alpha in wxMSW. Remove the alpha channel from the DIB we create not only if all of its pixels are fully transparent but also if they are all fully opaque. This prevents us from erroneously creating bitmaps with alpha channel when none is needed nor expected. Closes #13056.

2011-03-22 18:15 VZ, revision 67286

Add wxText{Input,Output}Stream::Get{Input,Output}Stream() methods. These methods simply return the underlying low-level stream. See #10807.

2011-03-22 18:15 VZ, revision 67285

Post size events to the event handler and not window itself. Post the artificial wxSizeEvent to the window event handler and not window itself in SendSizeEvent() as otherwise any event handlers wouldn't see this event at all. Closes #13066.

2011-03-22 18:15 VZ, revision 67284

Use disabled version of normal bitmap for disabled one in wxMSW::wxButton. Initialize the disabled button bitmap with a greyed out version of the normal one instead of using the same normal bitmap for it. This is more consistent with the other ports and makes more sense. Closes #13070.

2011-03-22 17:40 SC, revision 67283

first version of osx_cocoa implementation

2011-03-22 17:39 SC, revision 67282

only remove from parent if not content view, fixes #13068

2011-03-22 16:07 VZ, revision 67281

Correctly align background brush when erasing owner drawn bitmaps in wxMSW. Add a hack to work around the problem with background alignment when drawing the owner-drawn buttons in wxMSW. This fixes the alignment for any custom brushes used for background painting but doesn't help with user-defined EVT_ERASE_BACKGROUND handlers which still don't work well with the owner-drawn buttons. Unfortunately DrawThemeParentBackground() remains a mystery and I couldn't understand why not only doesn't it position the DC correctly on its own but also ignores any attempts to do it manually. This also doesn't help with the stubbornly remaining one pixel non-transparent border around non-owner-drawn buttons which I just can't get rid of.

2011-03-22 15:17 DS, revision 67280

Fixed various typos. Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch. Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot"). Closes #13063 (again).

2011-03-22 15:08 BP, revision 67279

Extensive documentation typo patch (closes #13063).

2011-03-22 15:06 DS, revision 67278

No code changes, removed tabs from source file.

2011-03-22 11:57 JJ, revision 67277

Update OpenVMS makefiles for WXMARKUP

2011-03-22 10:56 JMS, revision 67276

To have better support for themed and custom backgrounds for wxMSW wxComboCtrl, use WS_EX_COMPOSITED and wxBG_STYLE_ERASE instead of custom double-buffering (when made possible by the OS version)

2011-03-22 09:59 JMS, revision 67275

In wxComboCtrlBase::DrawButton(), let the button background rendering changes also apply to buttons with user-defined bitmaps

2011-03-22 09:45 JMS, revision 67274

Added entry for recent wxComboCtrl background rendering changes

2011-03-22 08:10 SC, revision 67273

fixes #13064

2011-03-22 07:44 SC, revision 67272

fixes #12579

2011-03-21 12:00 VZ, revision 67269

Fix wxMSW build without PCH after recent wxPanel changes. Add missing include of wx/bitmap.h in !WX_PRECOMP case. Closes #13060.

2011-03-21 11:59 VZ, revision 67268

Allow using milliseconds in wxLog timestamp. Use wxDateTime::UNow() instead of time() and wxDateTime::Format() instead of localtime() to make it possible to use "%l" specifier in wxLog time stamp. Closes #13059.

2011-03-20 23:33 VZ, revision 67267

Added a simple example of semi-transparent window to the erase sample. Show how to create a custom control with transparent background. Notice that this doesn't work in wxGTK currently.

2011-03-20 23:33 VZ, revision 67266

Remove keyboard-related code from the erase sample. This code seems irrelevant in this sample and just complicates it unnecessarily.

2011-03-20 23:33 VZ, revision 67265

Don't draw the mysterious black rectangle in the erase sample. The black rectangle drawn in EVT_PAINT handler in the sample prevented the custom background from showing through the wxStaticBitmap. Maybe it was initially done intentionally but this makes the sample look broken so just don't do this.

2011-03-20 20:48 DS, revision 67264

Made some TIFF reading adjustments. Read a few TIFF tags that assist with having a similar TIFF file when saving the image again, instead of (by default) always saving as a 24-bit RGB image. Also, in accordance with libtiff, allow reading X and Y resolution values even if the resolution unit tag is not set. Applied (modified) patch by scottb. Closes #13015.

2011-03-20 13:27 JS, revision 67259

Removed ugly black (simple) border around wxHTML help window in wxGTK.

2011-03-20 12:50 VZ, revision 67258

Fix test for wxHAS_GENERIC_PANEL for PCH-less build. wxHAS_GENERIC_PANEL is only defined in wx/panel.h so test for it after including this file, not before. This fixes link errors due to missing wxPanel symbols in PCH-less builds.

2011-03-20 12:50 SC, revision 67257

spinctrl on mac is generic, so the peer is a userpane, fixes #13058

2011-03-20 12:15 JMS, revision 67256

Added wxComboCtrlBase::m_hasTcBgCol. Re-using base wxWindow::m_hasBgCol was trouble.

2011-03-20 11:59 JMS, revision 67255

Redone (generic) wxComboCtrl background painting and handling. The 'actual' wxWindow background colour is now largely ignored and overridden to refer the text-area's background colour instead (as is usually the case with controls like this). Base 'transparent' background is now only painted when double-buffered rendering is required, and otherwise delegated to the system, as appropriate. This should significantly improve control's appearance and compliancy with GTK+ and OS X themes and custom backgrounds.

2011-03-20 01:14 DS, revision 67254

No changes, synchronised source names that appear commented at the top of files with the actual path to the files. Fixed commented names (path, filename, and extension) of files in include/ and src/. Prepended the names in src/ with "src/" everywhere, while starting those in include/wx/ with "wx/".

2011-03-20 01:00 VZ, revision 67253

Add wxPanel::SetBackgroundBitmap(). This method provides a simple way to set a background bitmap without defining an EVT_ERASE_BACKGROUND handler and, more importantly, one that works correctly in wxMSW for a window with children as it paints the background of transparent children too. Add a test of this method to the erase sample.

2011-03-20 01:00 VZ, revision 67252

Deprecate old style wxPanel ctor taking separate coordinates. wxPanel had a ctor in very old (wx 1.x-compatible?) style which was marked as "old" and not documented but not officially deprecated. Do deprecate it now in view of removing it in later releases.

2011-03-20 01:00 VZ, revision 67251

Split wxPanel in wxPanelBase and platform-specific files. So far we have only wxMSW-specific implementation (and also a trivial wxUniv-specific one) but it's still tidier to have all platform-specific code in separate files, especially as we're going to have more of it for wxMSW soon.

2011-03-20 01:00 VZ, revision 67250

No changes, just refactor wxMSW background brush methods. Factor out MSWGetCustomBgBrush() from MSWGetBgBrushForChild(). This is useful as in the vast majority of cases the parent window will want to use the same background brush for all of its children so it doesn't really care about the concrete child passed to MSWGetBgBrushForChild() and we can adjust the brush to the child origin in the common code instead of asking each derived class overriding MSWGetBgBrushForChild() to do this. This doesn't change anything but will make the upcoming changes to wxPanel background painting simpler.

2011-03-19 21:35 JS, revision 67249

Applied #13055: socket thread safety

2011-03-19 13:29 JS, revision 67248

Document wxRTC XML performance fix

2011-03-19 13:27 JS, revision 67247

Fix very poor performance on wxGTK when loading a lot of paragraphs with fonts due to pango calls in font accessors called from FindOrCreateFont.

2011-03-19 12:57 VZ, revision 67246

Fix wxRegKey::GetKeyInfo() output parameters in 64 bit builds. Use intermediate 32 bit DWORD variables for ::RegQueryInfoKey() outputs as size_t is 64 bit in 64 bit MSW builds and so the variables of type size_t can't/shouldn't be passed directly to this function to avoid only filling their lower 32 bits. Closes #11778.

2011-03-19 12:57 VZ, revision 67245

Slightly improve wxMouseCaptureLostEvent documentation. Minor changes to make the event description more clear. Closes #13052.

2011-03-19 12:57 VZ, revision 67244

Document wxPopupTransientWindow. Also fix a typo in a comment in the real class declaration. Closes #13044.

2011-03-19 09:36 SC, revision 67243

going private with userpane info

2011-03-18 23:22 DS, revision 67240

Fixed documentation of enum wxImageResizeQuality. A C-style comment was not closed and resulted in the explanation of wxIMAGE_QUALITY_NORMAL additionally containing the explanation of wxIMAGE_QUALITY_BOX_AVERAGE and the latter having none. Regression since r67203.

2011-03-18 16:45 SC, revision 67233

moving userpane attribute into implementation

2011-03-18 16:10 DS, revision 67232

Set svn properties on various files throughout the repository (skipped docs/ ). Added missing svn:eol-style (set to native) and svn:keywords (set to Id) properties to c/cpp/cxx/h/mm files.

2011-03-18 15:33 SC, revision 67231

going private for m_peer to give a foundation for better encapsulation

2011-03-18 15:20 SC, revision 67230

going private for m_peer to give a foundation for better encapsulation

2011-03-18 10:16 VZ, revision 67229

Fix exporting clipboard data to primary selection in wxGTK. Honour the requested selection in our selection handler instead of always returning the default one resulting in wrong data being pasted when using primary selection (e.g. middle clicking). Closes #12947.

2011-03-18 10:16 VZ, revision 67228

Add wxHtmlHelpController::SetShouldPreventAppExit(). Add a method which can be used to indicate that the help window should prevent the application from exiting and use it in the help sample to prevent it from closing prematurely. Closes #13046.

2011-03-18 10:16 VZ, revision 67227

Limit the search in wxMSW virtual wxListCtrl by time. Instead of performing the search only up to a certain number of items, do it for as long as it takes less than the given time threshold (currently fixed at half a second). Closes #13038.

2011-03-18 08:16 JJ, revision 67226

Update configuration for OpenVMS

2011-03-17 12:35 VZ, revision 67224

Add a wxStaticText to the erase simple. This control explains better what is going on in the sample and also allows to test whether wxStaticText itself has properly transparent background (this is not currently the case under MSW).

2011-03-17 10:46 JS, revision 67223

Fixed problems caused by duplicated names across different style types.

2011-03-17 10:23 JS, revision 67222

Fixed problems caused by duplicated names across different style types.

2011-03-16 20:16 SC, revision 67221

adding missing newline at end of file

2011-03-16 14:15 SC, revision 67220

removing condition that is always true anyway (unsigned>=0)

2011-03-16 13:46 DS, revision 67219

Added support for reading image resolutions from PNG images. Patch by scottb. Closes #12893.

2011-03-16 11:58 SC, revision 67218

fixing unused params

2011-03-16 11:57 SC, revision 67217

always skip OnSize

2011-03-16 11:56 SC, revision 67216

calling explicit base class constructor from copy constructor

2011-03-16 11:55 SC, revision 67215

calling explicit base class constructor from copy constructor

2011-03-16 08:22 SC, revision 67214

replace usage of objective-c keyword 'id'

2011-03-16 08:18 SC, revision 67213

fixing iterator use

2011-03-16 08:16 SC, revision 67212

replace usage of objective-c keyword 'id'

2011-03-16 08:06 SC, revision 67211

replace usage of objective-c keyword 'id'

2011-03-16 08:00 SC, revision 67210

replace usage of objective-c keyword 'id'

2011-03-16 07:57 SC, revision 67209

making conversion explicit silences deprecation warning

2011-03-16 07:49 SC, revision 67208

signed/unsigned warning fix

2011-03-16 07:40 SC, revision 67207

signed/unsigned warning fix

2011-03-16 07:36 SC, revision 67206

replace usage of objective-c keyword 'id'

2011-03-16 07:34 SC, revision 67205

silence incorrect warning about missing return value

2011-03-15 21:21 SC, revision 67204

fixing iphone build

2011-03-15 17:42 DS, revision 67203

Changed behaviour of wxImageResizeQuality parameter in wxImage.Scale and wxImage.Rescale. Made the following changes: * Formerly specifying to resize using wxIMAGE_QUALITY_BICUBIC or wxIMAGE_QUALITY_BILINEAR could result in the ResampleBox method being used. Now always resize with the method that the user actually specified. * Added wxIMAGE_QUALITY_BOX_AVERAGE to explicitly allow resizing with the ResampleBox method. * Previously wxIMAGE_QUALITY_HIGH was equal to wxIMAGE_QUALITY_BICUBIC. It has been changed to use wxIMAGE_QUALITY_BOX_AVERAGE when reducing the size of an image and wxIMAGE_QUALITY_BICUBIC in all other cases. Closes #12845.

2011-03-15 17:37 DS, revision 67202

Changed wxImage.ResampleBox to always use a box size of at least 2 by 2 pixels. Previously when resizing by more than 50% (for example resizing from 100x100 to 51x51 or 140x140) a box size of 1x1 would be used which effectively would give the same result as using nearest neighbour. Make sure that at least a box size of 2x2 pixels is always used. Patch by scottb, see also #12845.

2011-03-15 12:10 VZ, revision 67201

Always use icons with wxToolbook in the notebook sample. wxToolbook asserts and doesn't work if it has no images so always use them with it in the sample to avoid it. Closes #11656.

2011-03-15 12:10 VZ, revision 67200

Use consistent sizes for all icons used in the button page of widgets sample. Explicitly pass wxART_BUTTON to wxArtProvider to ensure that all the icons are returned in the same size, otherwise they didn't look well and could result in an assert too, see #12909.

2011-03-15 12:10 VZ, revision 67199

Fix setting tooltips for generic wxSpinCtrl. Forward the tooltip set for the control to its subcontrols. Closes #9817.

2011-03-15 12:10 VZ, revision 67198

Document wxEVT_COMMAND_SLIDER_UPDATED in wxSlider documentation too. This even was only documented in wxCommandEvent documentation but not in wxSlider, mention it there too. Closes #12292.

2011-03-15 00:25 VZ, revision 67195

No changes, just clean up wxSVGFileDC code a little. Use literal strings instead of macros such as "newline", "space" and "semicolon" and also use wxColour::GetAsString() instead of reimplementing it. Closes #13037.

2011-03-14 12:55 VZ, revision 67192

Show wx{Note,Tool}book-specific styles in the notebook sample too. Demonstrate the use of styles such as wxNB_FIXEDWIDTH or wxTBK_HORZ_LAYOUT specific to particular controls and not only the ones common to all of them. Closes #13036.

2011-03-14 12:55 VZ, revision 67191

Don't generate wxEVT_CHAR_HOOK events while the mouse is captured. This prevents the parent TLW from interfering with the keyboard handling of the window that captured the mouse which very often needs Escape for itself to cancel the capture. In particular, this fixes the problems with Escape closing the entire dialog containing the controls instead of closing just the combobox drop down or a popup menu in wxMSW. Also modify wxGTK for consistency and update the documentation. Closes #12952.

2011-03-14 12:54 VZ, revision 67190

Document EVT_CHAR_HOOK. Explain that it is sent to the active TLW and not the focus window and that handling it suppresses all the normal keyboard events. Mention that it is not generated by wxOSX/Cocoa currently, see #12431.

2011-03-14 12:54 VZ, revision 67189

Don't intercept Escape key while IME is active. Escape is used by IME and intercepting it at wxWidgets level to generate EVT_CHAR_HOOK breaks the IME UI and may result in unexpected loss of data entered by user. To work around this, don't generate EVT_CHAR_HOOK for Escape while IME is active by checking for the special semaphore variable (which could be also used for other things in the future, see #9102) value. Closes #11386.

2011-03-14 12:54 VZ, revision 67188

Produce correct SVG files in all locales. Using wxSVGFileDC in locales using comma as decimal separator resulted in invalid SVG files being created as a decimal period should always be used in them. Fix this by replacing "%g" format specification with wxString::FromCDouble() call (wrapped in a convenient NumStr() helper function). Closes #12008.

2011-03-14 12:54 VZ, revision 67187

Fix changing the size of the bitmaps in wxMSW wxButton. The size of the wxImageList used to store the bitmaps wasn't updated before and so the old bitmap size continued to be used even after changing the actual bitmaps. Recreate wxXPButtonImageData to ensure that the image list size does change. Closes #12909.

2011-03-14 12:54 VZ, revision 67186

Print everything by default in non-interactive mode. IF we don't show the dialog allowing the user to select the pages range, we should print everything by default instead of printing nothing at all as we used to do. Closes #12998.

2011-03-14 12:54 VZ, revision 67185

Allow wxThread::Wait() and Delete() to block, even under wxMSW. Add "wait mode" parameter to these methods which can be used to make them block even under wxMSW where they currently dispatch messages when called which can be totally unexpected. Do keep the old behaviour for compatibility however, although it will change i 3.2. Closes #12998.

2011-03-14 12:54 VZ, revision 67184

Respect alignment flags for owner-drawn buttons in wxMSW. Honour wxBU_{LEFT,RIGHT,TOP,BOTTOM} flags for owner drawn buttons too, this ensures that you can both change the colour and align the text differently for buttons under XP and later. Closes #12995.

2011-03-14 11:27 JS, revision 67183

Added initialisation and checks

2011-03-14 11:27 JS, revision 67182

Added initialisation and checks

2011-03-13 14:53 VZ, revision 67181

Added precision parameter to wxString::From[C]Double(). Optionally support fixed precision in wxString::FromDouble() and FromCDouble() methods. This is mostly useful for the latter to be able to format numbers in portable way (using dot as decimal separator) without loss of precision but also do it for the former for consistency. Closes #12973.

2011-03-13 14:53 VZ, revision 67180

No changes, just correct a wrong trailing comment in #else. The test meaning was inverted.

2011-03-13 14:33 VZ, revision 67179

Document wxTE_MULTILINE support in wxTextEntryDialog. It wasn't immediately obvious that this dialog could be used for multiline text entry too so mention it explicitly in the documentation. Also show this in action in the dialogs sample.

2011-03-13 10:32 JMS, revision 67178

wxComboCtrl and wxOwnerDrawnComboBox had incorrect (edge) background colour under some GTK+ themes

2011-03-12 16:57 SC, revision 67174

add external utf16 text type explicitely, as it otherwise gets treated like plain-text

2011-03-12 16:19 PMO, revision 67173

Move/Position the controls after they have been created

2011-03-12 16:05 PMO, revision 67172

Added QtTest library and '-fmessage-length=0' for easier error parsing

2011-03-11 20:54 SC, revision 67170

supporting 24 and 64 sizes via scaling up

2011-03-10 19:56 SC, revision 67168

under cocoa a too-small static box leads to erroneous layout information, therefore use fixed code layout info, fixes #13006

2011-03-10 19:55 SC, revision 67167

safeguard against not-yet-shown view which leads to crashes under OSX

2011-03-09 18:22 PC, revision 67164

add wxEVT_MAXIMIZE support to wxGTK

2011-03-09 17:35 VZ, revision 67163

Make brush hatches in wxGTK consistent with wxMSW. The cross, vertically and horizontally hatched brushes used 4 pixels between the hatches in wxGTK but 7 in wxMSW which was very noticeable. Use the same pattern in wxGTK as MSW uses (as we can't change it there anyhow). Closes #13029.

2011-03-09 17:35 VZ, revision 67162

Correct the name of the header for GTK+ < 2.14. Remove the extra ".h" suffix added during recent GTK+ 3-related changes.

2011-03-09 17:35 VZ, revision 67161

Add tests of other hatched brushes to the drawing sample. Test wxCROSS_HATCH, wxVERTICAL_HATCH and wxHORIZONTAL_HATCH brushes and not only the wxCROSSDIAG_HATCH one. See #13029.

2011-03-09 17:35 VZ, revision 67160

Don't pop up annoying message box in the drawing sample. The rubber banding selection message box was shown even after a simple click, i.e. when nothing was actually selected which was quite annoying, so don't do this. Also remove unnecessary casts and use wxLogMessage() instead of wxString::Printf() + wxMessageBox().

2011-03-09 11:07 VZ, revision 67159

Corrections to wxTextCtrl::HitTest() documentation. Fix the signature of the overload returning row and column which got corrupted during transition to Doxygen and document the overload returning the position as well. Also document all the parameters. Closes #12954.

2011-03-09 10:44 VZ, revision 67158

Send wxEVT_COMMAND_DATAVIEW_CACHE_HINT to proper window. The event was sent to wxDataViewCtrl parent instead of the control itself for some reason, fix this. Closes #13020.

2011-03-09 10:40 VZ, revision 67157

Mention that wxEVT_MAXIMIZE is only generated by a few ports. Currently only wxMSW, wxOSX/Cocoa and wxOS2 generate this event. Notably wxGTK does not. See #13022.

2011-03-09 10:40 VZ, revision 67156

Correct EVT_MAXIMIZE macro name in wxTLW documentation. EVT_ACTIVATE was mistakenly used instead. See #13022.

2011-03-09 10:28 VZ, revision 67155

Fix search for item by text in wxMSW wxListCtrl. LVN_ODFINDITEM handler could enter infinite loop if its selection was 0 and a key not matching any of the items first letters was pressed. Rewrite the loop in a simpler form to ensure that it is correct. Also clarify some comments. Finally, fix the behaviour when no matching item was found (if it didn't hang in infinite loop, it used to select the first item in the control). Closes #13026.

2011-03-09 10:28 VZ, revision 67154

Don't assert if starting search position in LVN_ODFINDITEM is invalid. Just use wxLogDebug() if this happens, asserting here is not the right thing to do as it doesn't indicate an error in the program but rather invalid external input and, moreover, we can recover from it easily. No changes in behaviour in normal case.

2011-03-08 18:22 VZ, revision 67151

Add another missing #if wxUSE_MARKUP check. The definition of DoSetLabelMarkup() should only be compiled when wxUSE_MARKUP==1.

2011-03-08 18:22 VZ, revision 67150

Czech translation update from Zbynek Schwarz. Fix some incorrect terms.

2011-03-08 15:47 JS, revision 67149

Fixed a hang in wxYield caused by menubar fix sending size events in a loop. Now only resizes the frame's contents if the menubar has changed height, to avoid triggering the loop.

2011-03-07 21:26 SC, revision 67146

support app activated and deactivated events, also bring back float_on_parent windows to normal level on deactivate to avoid behaving like stay_on_top

2011-03-07 20:04 SC, revision 67144

window level support

2011-03-07 18:31 SC, revision 67143

bracket unused function

2011-03-07 14:02 JMS, revision 67142

To prevent wxPropertyGrid from stealing frocus from other controls, only let SetFocusOnCanvas() move focus to the main grid 'canvas' if focus was already in on the grid's child controls

2011-03-07 13:07 VS, revision 67141

gtk/gtkunixprint.h only exists since GTK+ 2.14.

2011-03-06 19:22 VS, revision 67137

Don't directly include GTK+ semi-public headers. Only the main headers (e.g. gtk/gtk.h) should be included and GTK+ 3 is strict about this. Enable compile-time checks for this that work with GTK+ 2.24.

2011-03-06 19:22 VS, revision 67136

Include gdk/gdkkeysyms-compat.h. GTK+ 2.22 changed GDK_* keysym constants to GDK_KEY_* and introduced a new header for the old names. This header must be explicitly included in GTK+ 3, so do it for now. In the long run, we should migrate to the new names.

2011-03-06 16:27 SC, revision 67135

use FixedToFloat everywhere to make sure we don't round too early, preserve fractional width with CoreText as well

2011-03-06 16:24 SC, revision 67134

position buttons to the right on OSX as well

2011-03-06 15:49 SC, revision 67133

fix positioning bug with window disabler and hidden windows

2011-03-06 10:09 JS, revision 67132

Fixed #13017: wxRichTextCtrl CopyToClipboard regression

2011-03-05 20:57 PMO, revision 67131

Update to trunk r67129

2011-03-05 19:36 SC, revision 67130

merge error

2011-03-05 13:21 SC, revision 67129

support wxWindowDisabler on osx_cocoa

2011-03-05 12:16 VZ, revision 67128

Add a dependency of wxUSE_TASKBARICON on wxUSE_MENUS. PopupMenu() method of wxTaskBarIcon doesn't make much sense without wxMenu.

2011-03-05 12:16 VZ, revision 67127

Don't initialize wxGBSpan with invalid values in wxGBSizerItem. Default wxGBSizerItem ctor initialized wxGBSpan with invalid values which resulted in an assert when loading wxGBSizer from XRC since r66964. Fix this by simply using the default wxGBSpan ctor instead. Closes #13004.

2011-03-04 17:36 SC, revision 67125

fixing a CG error during construction on 10.6, resizing the client area so that the content doesn't extend over the shape's boundingbox at the right and the bottom

2011-03-03 22:24 PMO, revision 67121

Improved creation of controls

2011-03-03 18:51 PC, revision 67120

fix Activate signature after r67099

2011-03-03 16:09 JS, revision 67119

Fixed crash on exit caused by deleting old logger in wxLogChain dtor.

2011-03-02 22:17 SC, revision 67114

proper focus lost for multiline textfields and having all demanding a focusrect

2011-03-02 22:16 SC, revision 67113

the wx part knows better whether it has the focus (may be the embedded NSView, not the m_peer)

2011-03-02 21:55 JS, revision 67112

Fixed a problem with paste resetting the content paragraph style.

2011-03-02 21:55 JS, revision 67111

Fixed a problem with paste resetting the content paragraph style.

2011-03-02 17:23 SC, revision 67110

move accel handling in front of the normal keyDown handling, support non-command menu accels

2011-03-02 17:21 SC, revision 67109

move accel handling in front of the normal keyDown handling

2011-03-02 16:43 SC, revision 67108

supporting more key equivalents for display, fixing setHidden: method warning

2011-03-02 16:42 SC, revision 67107

removing code that will not have to be updated

2011-03-02 11:29 VZ, revision 67106

Japanese translations update from Suzumizaki-Kimitaka. See #13003.

2011-03-02 11:28 VZ, revision 67105

Japanese translations update from Suzumizaki-Kimitaka. Closes #11773. Closes #13003.

2011-03-02 11:28 VZ, revision 67104

Fix typo in wxStack<T> documentation. I somehow managed to misspell wxStack<T> as wxSort<>. Closes #13002.

2011-03-02 11:15 VZ, revision 67103

Add missing wxUSE_MARKUP checks in wxOSX code. Don't define wxWidgetImpl::SetLabelMarkup() when wxUSE_MARKUP is off and definitely don't reimplement it in wxButtonCocoaImpl as this code doesn't compile without markup support.

2011-03-01 22:29 DS, revision 67101

Improved palette handling with saving PNG files. Instead of converting alpha to a mask an attempt is made to write a palettised PNG file with an ARGB palette using a maximum of 256 transparency values where formerly just up to one was supported. GIF images with 256 colours and transparency can now also be saved as a palettised PNG instead of true colour, making the image a lot smaller. Applied (modified) patch by troelsk. Closes #12850.

2011-03-01 13:16 VS, revision 67099

Pass wxRect/wxPoint arguments to wxDataViewCustomRenderer by reference. Instead of passing them by value, use const reference. This change is safe to do, because these methods' signatures were different in 2.8 anyhow.

2011-03-01 13:16 VS, revision 67098

Fixed typo.

2011-03-01 01:02 VZ, revision 67095

Relax the restriction on the number of colours in wxMSW wxPalette. Refuse to create palettes with more than 65536 colours and not 256 ones. It doesn't seem very useful to use more than 256 of them anyhow as any colours above index 255 can't be accessed via GetRGB() but don't break the palette creation with more colours in the stable branch without a good reason, maybe someone makes some use of this.

2011-02-28 22:23 VS, revision 67094

Toggle checkboxes in generic wxDataViewCtrl with single click. Both GTK+ and OS X native controls use single click to toggle checkboxes, instead of double-click activation used by the generic version. So does wxCheckListBox on Windows, so make wxDVC behave the same way. See #11185.

2011-02-28 22:23 VS, revision 67093

Get rid of WXGetAsCustom(). Instead, have WXOnActivate() and WXOnLeftClick() with same signatures as their public API counterparts and just call Activate/LeftClick() from them for wxDataViewCustomRenderer. This accomplishes the same thing, but makes it easier to override behaviour in wx's internal implementations of renderers.

2011-02-28 22:23 VS, revision 67092

wxDataViewCtrl: Fully prepare renderer for Activate() call. Instead of just setting the value in the generic implementation, do full preparation (incl. attributes etc.) as everywhere else.

2011-02-28 20:46 SC, revision 67091

adding hour constant to carbon build

2011-02-28 20:29 SC, revision 67090

fixing non-precomp headers

2011-02-28 15:47 SC, revision 67088

disable cursorRects for global busy state

2011-02-28 15:39 SC, revision 67087

avoid setting live cursor during busy state

2011-02-28 14:44 SC, revision 67086

add watch cursor to osx_cocoa

2011-02-28 13:14 SC, revision 67085

don't swallow command events that are not handled by accels, fixes #12373

2011-02-28 11:12 SC, revision 67084

adding taskbar implementation for statusitem (menubar) and dock, fixes #12838

2011-02-28 11:10 SC, revision 67083

moving appdelegate declaration to header

2011-02-28 11:07 SC, revision 67082

make sure the quit item is only shown where appropriate on osx

2011-02-28 10:26 SC, revision 67081

osx_cocoa supports both kind of taskbaricons in the menubar (standard) and as function of the dock (type DOCK)

2011-02-27 21:38 SC, revision 67078

make sure 10.4 command-key events are routed via the wx-accelerator route as well, fixes #12373

2011-02-27 19:36 VZ, revision 67077

Use single quotes in wxMarkupText unit test to work around VC6 bug. VC6 seems to have a strange bug with escaped quotes used in strings passed to macros and failed to compile the original code with nonsensical error messages. Use single quotes to try to work around this issue. They are also somewhat more readable as they don't need to be escaped inside C strings.

2011-02-27 19:36 VZ, revision 67076

Add a trivial virtual dtor to wxMarkupParserOutput. This class isn't really supposed to be used polymorphically but add a virtual dtor just to suppress g++ warning about it.

2011-02-27 19:36 VZ, revision 67075

Another fix for PCH-less build in markup code. Include wx/control.h to use wxControl::RemoveMnemonics() and FindAccelInIndex().

2011-02-27 16:09 DS, revision 67074

Fixed drawing glitch with vertical MSW toolbars. In case of a certain amount of whitespace at the bottom of a vertical toolbar it would not be drawn correctly: the more whitespace the more painting would be clipped starting from the left (covering the whole height of the toolbar) until the toolbar would look completely empty. This was reproducible using the toolbar sample, setting the toolbar on the left or right edge of the window and then increasing the height of the window sufficiently. Regression since r62971.

2011-02-27 15:01 VZ, revision 67073

Replace template function with template class to placate VC6. VC6 has very poor support for template functions and in particular doesn't understand explicitly choosing the type of the function to call so replace template DoApplyToFont() function with FontModifier template class in wxMarkupParserAttrOutput implementation.

2011-02-27 14:17 VZ, revision 67072

Fix for PCH-less build in markup code. Include wx/log.h to use wxLogDebug().

2011-02-27 14:10 VZ, revision 67071

Refuse to create palettes with more than 256 colours. Creating palettes with more than USHRT_MAX could result in memory corruption and there is really no reason to allow more than 256 of them anyhow as we already check that the color index is in 0..255 range in GetRGB().

2011-02-27 13:48 VZ, revision 67070

Update markup support documentation. Mention that wxButton and wxStaticText now support markup in all major ports (using the generic version of the latter under MSW). Also mention markup changes in the change log.

2011-02-27 13:48 VZ, revision 67069

Add markup support to wxOSX/Cocoa wxStaticText and wxButton. Add wxMarkupToAttrString helper that converts wx markup to OS X attribute strings and use it in wxStaticText and wxButton. This required adding new SetLabelMarkup() method to wxWidgetCocoaImpl, it seems to make sense to have it there as it could be implemented by more controls in the future.

2011-02-27 13:48 VZ, revision 67068

No real changes, just make wxColour::OSXGetNSColor() const. There is no reason to not allow calling this method on const wxColour objects.

2011-02-27 13:48 VZ, revision 67067

Add markup support to generic wxStaticText implementation. wxMarkupText allows to easily support markup in the controls that we draw ourselves so use it in wxGenericStaticText to have a possibility to use markup on all platforms, even those where there is no native markup support in wxStaticText itself.

2011-02-27 13:48 VZ, revision 67066

Implement support for markup labels for wxGTK wxButton. Simply directly set the markup for the GtkLabel used by GtkButton internally.

2011-02-27 13:48 VZ, revision 67065

Add markup support to wxMSW wxButton and show it in the sample. Use recently added wxMarkupText to implement support for markup in wxMSW wxButton. Update the button page of the widgets sample to show markup support.

2011-02-27 13:48 VZ, revision 67064

Add generic wxMarkupText class implementing handling of markup. wxMarkupText is a private class that implements generic handling of markup strings, i.e. can measure them and render them onto a wxDC. This class will be used for markup support in wxMSW wxButton. Also add wxMarkupParserAttrOutput which will be useful for other wxMarkupText implementations.

2011-02-27 13:48 VZ, revision 67063

Add wxDC::GetFontMetrics() and implement it for wxMSW. Add a new wxDC method allowing to retrieve the font characteristics not available from GetTextExtent(), notably the internal leading (and also the average font width). Currently this is implemented for wxMSW only, the internal leading is always 0 in the other ports.

2011-02-27 13:48 VZ, revision 67062

Add wxUSE_MARKUP and wrap SetLabelMarkup() in it. Make it possible to disable all the new markup-related code by setting wxUSE_MARKUP to 0 in setup.h or using configure --disable-markup option.

2011-02-27 13:47 VZ, revision 67061

No changes, just add a couple of #if wxUSE_COMMANDLINKBUTTON tests. Don't even declare m_chkCommandLink if we have no support for command link buttons in the library.

2011-02-27 13:47 VZ, revision 67060

Draw the underline 1 pixel higher in wxDC::DrawLabel(). Adjust the height of the underline to be compatible with native MSW behaviour. Notice that in wxGTK we should use pango_font_metrics_get_underline_position() to get the font-dependent value that should be used here.

2011-02-27 13:47 VZ, revision 67059

Restore height tweaking in wxMSWButton::GetFittingSize(). The change of r66893 was wrong, we do need to adjust the button height here because the increase to standard height is not enough if we use bigger fonts that require making taller buttons. The real problem was the use of EDIT_HEIGHT_FROM_CHAR_HEIGHT() which added too much to the height, so replace it with something based on the actual font height. This is still arbitrary but slightly better.

2011-02-27 13:47 VZ, revision 67058

Initialize wxButton::m_authNeeded in ctor and not Create() in wxMSW. Ensure that the member is always initialized as calling GetAuthNeeded() for a default-constructed button would access a non-initialized variable before.

2011-02-27 13:47 VZ, revision 67057

No changes, just do wxButton fields initialization in Init() in wxMSW. Add a helper function called from ctors and initialize m_imageData in it instead of doing it in each ctor -- this will be more important when we add more wxButton members.

2011-02-27 13:47 VZ, revision 67056

No changes, just move wxMSW wxButton::MakeOwnerDrawn() around. Put this method in the existing private section at the end of the class instead of having an extra access specifier just for it for some reason. Also add a comment explaining what it does and when is it used.

2011-02-27 13:47 VZ, revision 67055

Replace wxST_MARKUP style with wxControl::SetLabelMarkup(). This is an incompatible change which removes the wxStaticText-specific wxST_MARKUP style and adds wxControl::SetLabelMarkup() replacing it. It doesn't actually change anything yet but it simplifies wxStaticText code a lot by getting rid of many markup-related functions in it which had to behave differently depending on whether wxST_MARKUP was used or not and also paves way for adding markup support for the other controls in the future.

2011-02-27 13:47 VZ, revision 67054

Don't call base class SetLabel() from GTKSetLabelForLabel(). Calling wxControlBase::SetLabel() only from GTKSetLabelForLabel() made its behaviour inconsistent with GTKSetLabelWithMarkupForLabel() and also was redundant in all but two places from which it was called, so remove this call from this function itself and instead add it to its callers where it's really needed.

2011-02-27 13:47 VZ, revision 67053

Remove unnecessary use of RemoveMarkup() in wxMSW wxHyperlinkCtrl. Only the ampersands need to be escaped when setting the text of a native hyper link control in MSW and this is done by wxControl::EscapeMnemonics(), not by wxStaticText::RemoveMarkup() which also removes any tags which is not wanted at all here.

2011-02-27 13:47 VZ, revision 67052

Add wxFont::SetSymbolicSize() and SetSymbolicSizeRelativeTo(). These methods allow to set the font size using CSS-like absolute size specifications. Notice that the factors used here are incompatible with (but better than) the ones used in wxBuildFontSizes() in src/html/winpars.cpp. In the future it would be nice to reuse the new wxFont functions in wxHTML code.

2011-02-27 13:46 VZ, revision 67051

Add wxFont::Underlined() and MakeUnderlined() methods. Add two more helpers for consistency with the existing methods such as Bold() and MakeBold().

2011-02-27 13:46 VZ, revision 67050

Use wxMarkupParser in wxStaticText for dealing with markup. No real changes, just remove markup parsing code from wxStaticText implementation and reuse wxMarkupParser methods there instead. This makes include/wx/private/stattext.h file unnecessary as it is used only in a single place now so remove it and move its remaining contents to src/gtk/mnemonics.cpp.

2011-02-27 13:46 VZ, revision 67049

Add wxMarkupParser::Strip(). This helper function strips all markup tags from the string (and also decodes the XML entities in it).

2011-02-27 13:46 VZ, revision 67048

Add a class for parsing simple markup. This code is not used anywhere yet, this commit only adds the parser for the markup and the related classes as well as the corresponding unit test.

2011-02-27 13:46 VZ, revision 67047

Add a simple wxStack<> template class based on wxVector<>. This is still simpler than std::stack<> which can be used with any container and not just wxVector<> but better than the WX_DECLARE_STACK() macro which was all that we had before.

2011-02-27 13:45 VZ, revision 67046

Disable NumValidatorTestCase::Interactive() for build bot slaves. This test consistently fails on the MSW build slave machines (see e.g. http://buildbot.tt-solutions.com/wx/builders/XPSP2 VC9 wxMSW trunk release/builds/2084/steps/test/logs/stdio) for unknown reason so disable it for them. Notice that it does pass when ran locally so it looks like another instance of a problem with wxUIActionSimulator on these machines rather than the problem with the class itself.

2011-02-27 13:45 VZ, revision 67045

Only use wxBU_EXACTFIT for width calculations in wxMSW wxButton. wxBU_EXACTFIT should affect the width of the button best size but not its height which should be at least the same as the height of a standard button even when wxBU_EXACTFIT is specified, otherwise buttons created with it (like the one in generic wxCollapsiblePane implementation) look completely ugly. This commit restores the old behaviour which was recently changed by wxButton sizing code simplifications.

2011-02-27 13:45 VZ, revision 67044

Specify correct size for disabled image list in wxMSW wxToolBar. Use the real bitmap size instead of the default tool size when creating the disabled image list as the actual bitmap size could be less than the default one and in this case adding images to the image list later would fail (as could be seen by using custom bitmaps in the toolbar sample).

2011-02-27 09:51 JMS, revision 67043

Include image.h and check for wxUSE_IMAGE

2011-02-27 09:16 JS, revision 67042

Change log for wxRTC fix

2011-02-27 09:15 JS, revision 67041

Applied #12986: Improved installation instructions for Mac OS X for 2.8.12 branch

2011-02-27 09:13 JS, revision 67040

Applied #12985: Improved installation instructions for wxWidgets for Mac OS X Cocoa and Carbon

2011-02-26 18:51 VZ, revision 67033

Fix libraries order in screenshotgen bakefile. The richtext library must come before the adv one as it depends on the classes in the latter and with the old libraries order linking failed in static build.

2011-02-26 18:46 VZ, revision 67032

Mention wxZlib classes in archives overview. Closes #12974.

2011-02-26 18:46 VZ, revision 67031

Don't use wxTE_PROCESS_ENTER in wxSpinCtrlGeneric. We don't need to catch Enter presses to generate spin control events as we do it anyhow when we lose focus. So simply remove the Enter handling code entirely (it could be used to generate wxEVT_COMMAND_TEXT_ENTER events but we don't generate them nor wxEVT_COMMAND_TEXT_UPDATED at all currently in the generic version). Closes #12980.

2011-02-26 18:46 VZ, revision 67030

Don't use wxTE_NOHIDESEL in wxSpinCtrlGeneric. There is no reason to use this flag for the spin control and doing it makes it gratuitously different from the native one under wxMSW.

2011-02-26 16:44 SC, revision 67029

fixing support for true children of wxStaticBox with wxStaticBoxSizer under osx_cocoa

2011-02-26 12:04 SC, revision 67028

making GetPosition 1:1 symmetrical to Move (respecting contentViews), fixing borderDrawing within NSBox

2011-02-25 18:28 JS, revision 67026

Fix for #11647: text from WriteText not scrolled to be visible in wxRichTextCtrl IsPositionVisible was incorrect.

2011-02-25 18:28 JS, revision 67025

Fix for #11647: text from WriteText not scrolled to be visible in wxRichTextCtrl IsPositionVisible was incorrect.

2011-02-25 14:00 JMS, revision 67024

In wxPGProperty::SetValueImage(), use wxImage::Rescale() for scaling down the bitmap instead of wx(Memory)DC functions. Results should look much nicer and also retains alpha channel with much less effert.

2011-02-25 13:25 JS, revision 67023

Applied patch in #12279: in wxRichTextCtrl, when wxRE_READONLY is set, the undo, redo function should be disabled

2011-02-25 13:25 JS, revision 67022

Applied patch in #12279: in wxRichTextCtrl, when wxRE_READONLY is set, the undo, redo function should be disabled

2011-02-25 13:21 JS, revision 67021

Applied #12601: Background color when saving wxRichText to HTML file

2011-02-25 12:37 JS, revision 67020

Applied #12941: Fixes and enhancements for wxRTC (Robert Hoffman)

2011-02-25 11:31 JS, revision 67019

Added missing colour index case

2011-02-25 10:38 JS, revision 67018

Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to fix tree and list control selection rendering.

2011-02-25 10:37 JS, revision 67017

Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to correct tree and list control selection rendering.

2011-02-24 21:34 VZ, revision 67015

Handle ANSI release configuration correctly in msvc/wx/setup.h. Preprocessor operations don't work with empty values so check for the case of empty suffix specially. This avoid warnings about "not enough actual parameters for macro 'wxSTRINGIZE_HELPER'" from MSVC.

2011-02-24 21:34 VZ, revision 67014

No changes, just fix a typo in the changelog. s/futher/further/

2011-02-24 19:08 JS, revision 67013

Better unfocused selected list item colouring

2011-02-24 15:56 SC, revision 67012

reverting part of r58797, otherwise wxClientDC get no graphics context at all

2011-02-24 11:02 JS, revision 67011

Fix for #12979: wrong unfocused selected text colour in wxTreeCtrl/wxListCtrl

2011-02-24 10:35 JS, revision 67010

Documented fixes

2011-02-24 09:42 JS, revision 67009

Applied #12959: Fix build with libpng-1.5

2011-02-24 00:35 VZ, revision 67006

Update and improve "Hello world" example in the documentation. The example was corrupted by transition to Doxygen (the menu item labels got eaten), fix it to actually work. Also use this opportunity to improve and modernize it.

2011-02-23 19:43 JS, revision 67004

Note to add --disable-gui

2011-02-23 19:41 JS, revision 67003

Tweak from #12975

2011-02-23 19:37 JS, revision 67002

Assertion fixed (colours not in sync with wxSystemColour)

2011-02-22 19:51 SC, revision 67001

supporting content size scaling (retina display)

2011-02-22 16:47 SC, revision 66998

building iphone again

2011-02-22 14:55 VZ, revision 66997

Update Czech translations. Apply update from Zbynek Schwarz.

2011-02-22 14:26 VZ, revision 66996

Don't duplicate INVALID_FILE_ATTRIBUTES definition. Move it in wx/msw/missing.h header instead of defining it in two different places. Closes #12964.

2011-02-22 14:26 VZ, revision 66995

Test for cairo_push_group() in configure. This function is required by wxGraphicsContext Cairo-based implementation but is missing in old Cairo versions so check for it in configure and disable wxGraphicsContext is it's not available. Closes #12966.

2011-02-22 14:25 VZ, revision 66994

Put storage class outside WXDLLIMPEXP_DATA_CORE() macros. The storage class must come first in a declaration so put it in front of WXDLLIMPEXP_DATA_CORE() and not inside it to avoid warnings from some compilers (notably Intel one). Closes #12932.

2011-02-22 14:25 VZ, revision 66993

Remove duplicated control names strings declarations from wxOSX. There is no need to declare wxFooNameStr constants in wx/osx/foo.h files as they are already declared in wx/foo.h. Also remove a couple of header/forward declarations unnecessary for the same reason.