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

2012-09-20 22:01 VZ, revision 72527

Add wxRibbonButtonBar::GetActiveItem() and GetHoveredItem(). Add accessors for the button being currently clicked or hovered over. See #14630.

2012-09-20 22:01 VZ, revision 72526

Add wxRibbonButtonBar::GetItem(), GetItemById() and GetItemId(). Allow accessing the ribbon bar buttons either by index or ID. See #14630.

2012-09-20 22:00 VZ, revision 72525

Fix alpha handling in Scintilla when not using wxGraphicsContext. When using raw bitmap data access classes such as wxAlphaPixelData we must destroy them to ensure that the changes done via them are committed to the bitmap before drawing the bitmap. Just add an extra block (the diff should be viewed ignoring white space to see the only significant change) to ensure that wxAlphaPixelData is destroyed before DrawBitmap() is called. Closes #14680.

2012-09-20 18:42 RD, revision 72524

Document ShowWithoutActivating

2012-09-20 18:00 VZ, revision 72523

Make it possible to TAB-navigate among wxStaticBox children. As wxStaticBox can now contain child windows, derive it from wxNavigationEnabled<> to allow TAB-navigating among them. Without this, it was impossible to switch focus from keyboard to any of the controls inside wxStaticBox.

2012-09-20 17:47 VZ, revision 72522

No real changes, just remove an unnecessary variable assignment. Initialize m_gtk_model with its correct value immediately, without setting it to NULL first. Closes #14673.

2012-09-20 17:46 VZ, revision 72521

Better documentation for wxRect::Set{Left,Top}(). These functions also change the rectangle right/bottom position, unlike Set{Right,Bottom}() that change its width/height respectively. This is not very logical but impossible to change for compatibility reasons, so at least document it clearly. Closes #14678.

2012-09-20 17:46 VZ, revision 72520

Quote wxExecute() arguments in wxDebugReportUpload when using curl. Quote the argument to curl as it might contain spaces. Closes #14677.

2012-09-20 14:33 JJ, revision 72519

backport wxspinctrl::get/setbase form gtk ->gtk1

2012-09-20 12:20 VZ, revision 72518

Add wxStyledTextCtrl::AnnotationClearLine(). Simply set NULL annotation text for the given line. Closes #12960.

2012-09-20 12:20 VZ, revision 72517

Add wxStyledTextCtrl::SelectNone() to the template header file too. This method was only added to the generated include/wx/stc/stc.h but not to src/stc/stc.h.in from which it is created in r72490, do update the latter file too now. See #12960.

2012-09-20 12:19 VZ, revision 72516

Fix incorrect code sorting pages by their widths in wxRibbon. The "sneaky obj array trickery" wasn't very sneaky but was just plain wrong and misused object array of pages in a way that was invalid and didn't crash just because of sheer luck. Rewrite this code to use a temporary wxVector of pages that can be sorted independently of the main m_pages array. This is 100% safe and also more clear. Closes #14625.

2012-09-19 23:18 SC, revision 72515

completing the removal of PICT

2012-09-19 22:23 SJL, revision 72514

Update the wxSpinCtrlDouble documentation so SetIncrement refers to SetDigits Closes #12342

2012-09-19 20:55 RD, revision 72513

Add define for MAC_OS_X_VERSION_10_7 if there isn't one already

2012-09-19 16:09 SC, revision 72512

bracing 10.7+ constant

2012-09-19 14:36 SC, revision 72511

workaround for non-standard icon sizes under 64 bit

2012-09-19 13:28 JJ, revision 72510

Update setup.h for OpenVMS

2012-09-19 10:18 SC, revision 72509

fixing incorrect scrolling - which happened at least under OSX ...

2012-09-19 09:53 VZ, revision 72508

Update wxGTK.spec to work with openSUSE build server. Changes from Marcin Wojdyr fixing issues for different RPM-using systems: - added all necessary BuildRequires fields - for openSuse wxGTK-gl package is named libwx_gtk*_gl... (it's enforced that package with one shared lib has name matching the library name) - added missing '%dir's - on some distros rpms didn't built without it - Fedora, Suse and Mandriva have all different set of known Groups, I've changed group from 'X11/Libraries' to 'System/Libraries' -- it's defined at least in Suse and Mandriva. (in recent distro releases Group can be skipped, so it's becoming irrelevant). - removed 'Packager' field and dots ending Summary field - AFAIR these were errors on Opensuse - added '= %{version}' to Provides - for Redhat5 use GCC4.4 (build crashed with default 4.2)

2012-09-19 09:50 VZ, revision 72507

Let wxWindow::Fit[Inside]() work even for windows without children. The best [virtual] size of the window is usually determined by its children but it's also possible to have a min size constraint set on the window sizer so set the window to its best size in Fit() independently of whether it has children or not. Closes #14668.

2012-09-19 00:45 VZ, revision 72506

More s/loose/lose/ in wxEncodingConverter comments. Finish the changes started by r72500 and lose the remaining loosely used words. Closes #14665.

2012-09-19 00:45 VZ, revision 72505

Show tooltips for the too long items in generic wxTreeCtrl. Show the full item text in a tooltip if the entire text can't be shown on screen. Closes #14667.

2012-09-18 02:03 VZ, revision 72504

Fix wxMSW compilation in STL build after the changes of r72472, Call t_str() to explicitly convert wxString to wxChar* as implicit conversion is not available in STL build. Closes #14666.

2012-09-18 01:35 DS, revision 72503

Set svn properties on recently added files. Added svn:eol-style (set to native) and svn:keywords (set to Id) for .cpp and .h files that were added since r72218.

2012-09-17 14:18 VZ, revision 72502

Rebake after addition of richtexttabspage.h in r72497. See #14644.

2012-09-17 13:07 VZ, revision 72501

Don't show hidden wxGrid rows/columns when they're auto-sized. Fix the problem introduced in r72491 which resulted in wxGrid rows/columns being shown after auto-sizing even if they had been hidden. Closes #14133.

2012-09-17 13:07 VZ, revision 72500

No changes, just fix some typos in the comments in the headers. Closes #14665.

2012-09-17 01:09 VZ, revision 72499

No real changes, just remove an unneeded variable initialization. Closes #14664.

2012-09-16 17:35 JS, revision 72498

Updates

2012-09-16 17:31 JS, revision 72497

Added include/wx/richtext/richtexttabspage.h to files.bkl

2012-09-16 01:20 VZ, revision 72496

No changes, just silence some MSVC 11 static analyzer warnings. This is an aborted attempt to make wxWidgets code compile without warnings when using MSVC 11 /analyze option, as it was supposed to have become much better. Unfortunately it still produces way too many false positives to be really useful, in particular NULL pointer detection is completely broken as even the code such as (from object.cpp): wxClassInfo *info = sm_first; while (info) { if ( info->m_next == this ) ... } provokes tons of warnings about "info" being NULL inside the loop which is clearly impossible. So this commit just fixes a few obvious warnings, mostly about variable shadowing but also a couple about possibly passing NULL to memcpy().

2012-09-16 01:19 VZ, revision 72495

Add help button support to wxRibbonBar. Optionally show standard "Help" question mark button in the ribbon top right corner and generate the appropriate event for it. Closes #14576.

2012-09-16 01:19 VZ, revision 72494

Fix text origin and bounding box computations in wxSVGFileDC. Text origin was calculated incorrectly for the rotated text and the bounding box was wrong even in non-rotated case. Fix this by using correct definition of the text anchor according to the SVG specification and add a test to the svg sample demonstrating this. Closes #14489.

2012-09-16 01:19 VZ, revision 72493

No real changes, just slightly simplify wxSVGFileDCImpl code. Move m_graphics_changed check inside NewGraphics() itself instead of checking whether it's true each time before calling it, it is better to both test the flag and reset it inside this function rather than do the first part in the caller and the second one in the callee. Also rename the function to NewGraphicsIfNeeded() to make its meaning more clear.

2012-09-16 01:18 VZ, revision 72492

Minor fixes to wxSVGFileDC implementation. Update W3C recommendation URL; Mention Inkscape; replace wrong wxSVGFileDC occurrence with wxDC. See #14462.

2012-09-16 01:18 VZ, revision 72491

Preserve size of wxGrid rows/columns when hiding and showing them back. Previously, if a wxGrid row or column was hidden by setting its size to 0, its original size was lost. Change this so that it's preserved now and can be restored by setting the size to the special -1 value later. Closes #14133.

2012-09-16 01:17 VZ, revision 72490

Fix wxGrid::PosToLinePos() in presence of hidden rows or columns. The optimization of the binary search inside this function failed if any rows/columns were hidden and so were of zero size. See #14133.

2012-09-16 01:17 VZ, revision 72489

Fix wxGrid::AutoSizeColOrRow() logic for multicells. This fixes the regression of r64885 and also tries to make the code more clear by setting the variables explicitly to their correct values. Closes #14611.

2012-09-16 01:17 VZ, revision 72488

Handle underlined and strikethrough attributes in wxGTK native font info. These attributes were not handled by wxFont::GetNativeFontInfoDesc() as it only serialized the Pango font description which doesn't support them. Fix this by handling these attributes explicitly and prepending them to the Pango font string if necessary. Closes #14559.

2012-09-16 01:16 VZ, revision 72487

Take into account wxFONTFLAG_STRIKETHROUGH in wxGTK wxFont ctor. Honour wxFONTFLAG_STRIKETHROUGH in wxFont ctor taking flags as this is the only way to create a strike-through font currently. See #14559.

2012-09-15 00:26 VZ, revision 72486

Fix spelling in the comments in wxPropertyGrid code. No real changes. Closes #14645.

2012-09-15 00:26 VZ, revision 72485

Allow using horizontal cursor navigation keys in non-readonly wxComboCtrl. Don't intercept Left/Right/Home/End keys until the control is read-only, otherwise they're more useful for navigating in its text part than in its drop-down. Closes #14648.

2012-09-15 00:26 VZ, revision 72484

No changes, just remove an unused variable from CHM code. Closes #14655.

2012-09-15 00:25 VZ, revision 72483

No changes, just remove unnecessary variable initialization. Combine variable declaration and initialization. Closes #14659.

2012-09-14 12:27 VZ, revision 72482

Czech translations update from Zbynek Schwarz.

2012-09-13 19:16 VZ, revision 72479

Relax wxMessageDialog style checks, assume wxOK by default. Don't complain if neither wxOK nor wxYES[_NO] are specified but just assume wxOK by default. This allows the code calling wxMessageBox() with just an icon flag to continue to work in the same way in 2.9 as it did in 2.8.

2012-09-13 19:15 VZ, revision 72478

No changes, just remove unneeded variable initialziation in wxAUI. Initialize the variables to the correct values when defining them instead of initializing them as 0 first and then assigning them the real value. Closes #14652.

2012-09-13 19:15 VZ, revision 72477

Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. Just as wxBITMAP() provides a portable way of loading bitmaps from either Windows BMP resources or embedded XPM data depending on the platform, wxBITMAP_PNG() hides the difference between loading bitmaps from PNG resources under Windows and embedded PNG data elsewhere. Also add wxBITMAP_PNG_FROM_DATA() macro which always loads PNG data from memory: it's needed anyhow as part of wxBITMAP_PNG() implementation and some people may prefer to always use it under all platforms. Finally modify the image sample to demonstrate loading PNG images from both resources and memory. This involved creation of a new Windows .rc file for it and copying its data files to Resources bundle directory under OS X.

2012-09-13 19:15 VZ, revision 72476

Add wxBitmap::NewFromPNGData() for creating bitmaps from PNG data. This simple function can be used to create a wxBitmap from the raw image data in PNG format. It is just a thin wrapper around wxImage load functions under almost all platforms but has two advantages: 1. It can be implemented natively for some platforms (currently only OS X). 2. It can be used in a single expression as it doesn't require creating a temporary wxMemoryInputStream and this will be required by wxBITMAP_PNG() macro that will be added soon.

2012-09-13 19:14 VZ, revision 72475

Don't ignore invalid files entered into wxFileDirPickerCtrlBase. File/directory picker controls with wxFLP_FILE_MUST_EXIST/wxDIRP_DIR_MUST_EXIST style simply ignored any value entered by user if it didn't correspond to an existing file/directory. This meant that the program didn't use the value that was shown on the screen resulting in very confusing UI -- e.g. a program could complain that no value was entered when actually it was and just corresponded to a non-existing file. As we can't prevent the entry of arbitrary strings in the text field of the file picker control, stop pretending that we can validate it and just update the control value, and send the corresponding event, whenever the text control value changes.

2012-09-13 19:14 VZ, revision 72474

Extract "Close" button creation from wxInfoBarGeneric into new function. Such buttons may be needed in other places and it's not obvious to create them, so add a new public wxBitmapButton::NewCloseButton() method to allow creating them easily.

2012-09-13 19:13 VZ, revision 72473

Provide up to date documentation for wxLoadUserResource(). Document the new and preferred overload avoiding copying the data. Also document the new (since 2.9.1) parameters of the old one.

2012-09-13 19:13 VZ, revision 72472

Change wxMSW-specific wxLoadUserResource() to accept standard RT_XXX types. Resource types can be either strings for custom types or integers casted to a TCHAR* for the standard ones. Using wxString for the resource type prevented us from using the latter as any attempt to initialize wxString for such a pseudo-string resulted in an immediate crash. Change wxLoadUserResource() resource type parameter type to wxChar* to avoid this and allow passing standard resource types, such as RT_RCDATE, to this function directly.

2012-09-13 19:13 VZ, revision 72471

Don't initialize alpha twice when loading wxImage from resources. Calling InitAlpha() when we already had loaded alpha from the resource data results in an assert. Fix this by only initializing alpha if don't have it yet. Closes #14643.

2012-09-13 19:12 VZ, revision 72470

Fix wxFindWindowAtPoint() with nested windows in wxMSW. Return the deepest child of the window and not the first one as this function needs to return the window that is at the top of Z-order. Closes #14591.

2012-09-13 19:12 VZ, revision 72469

Fix "pos" argument description in wxTreeCtrl::InsertItem() documentation. Closes #14640.

2012-09-13 19:11 VZ, revision 72468

Fix setting colours for the edit control part of wxComboBox. Recognize this control as part of wxComboBox and so handle WM_CTLCOLOR for it. To do this, override ContainsHWND() in wxComboBox and use it, on the parent window, in wxControl::DoMSWControlColor(), if we fail to find the window directly. Closes #811.

2012-09-13 13:15 JS, revision 72467

Removed excessive space above style type selector

2012-09-12 20:58 JS, revision 72466

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 20:58 JS, revision 72465

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 20:57 JS, revision 72464

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 09:47 JS, revision 72463

You can now remove the font face name attribute by clearing the name field in the font dialog.

2012-09-11 13:15 JS, revision 72462

Fixes for overlarge combo/choice height in small variant mode, and too small/mispositioned button size. Tested on 10.3.9 (PPC), 10.4.11, 10.5.6, 10.6.2, 10.6.8, 10.7.4, 10.8.0, 10.8.1 Set wxUSE_MAC_BUTTON_POSITION_FIX to 1 in include/wx/mac/carbon/button.h for button fix.

2012-09-11 11:26 SJL, revision 72461

Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. Closes #14623.

2012-09-10 22:02 SJL, revision 72460

Move wxWebViewIE missing definitions to webview_missing.h and add new definitions required for Find. These are required as some compilers, notably MinGW and VC6, do not include up to date headers. Fixes #14621.

2012-09-10 14:49 SC, revision 72459

layout adaption, current sizer code leads to too much white space

2012-09-09 22:28 VZ, revision 72458

Fix handling of wxTextEntry hints in wxGTK. Recent changes (r71308) optimizing away setting the text of the text entry if it didn't really change completely broke the generic text hints implementation as e.g. clearing the hint didn't change anything because the entry was already logically empty anyhow. Fix this by simply comparing the new value with the real value of the entry returned by DoGetValue() and not GetValue() that takes hints into account.

2012-09-09 15:37 VZ, revision 72457

Fix deprecating warning introduced in r72446. Use wxVScrolledWindow::ScrollToRow() instead of the old and ambiguous ScrollToLine() which is only preserved for compatibility reasons.

2012-09-09 15:36 VZ, revision 72456

Allow using versions of libnotify < 0.7 in wxGTK. libnotify 0.4.5 included in Ubuntu Lucid (10.04) can be used for implementing wxNotificationMessage too, there is only a minor difference with 0.7 API. So while we stick check for 0.7 initially, accept lower versions too if 0.7 is not available.

2012-09-09 15:36 VZ, revision 72455

Set modifiers properly for the key events with AltGr in wxGTK. Just as under Windows, represent AltGr as a combination of wxMOD_CONTROL and wxMOD_ALT.

2012-09-09 15:35 VZ, revision 72454

Remove workarounds for wxTextCtrl::SetValue() events in pickers code. Simply use ChangeValue() instead of SetValue() to avoid the unwanted events instead of using guard variables. No real changes but the code is simpler and shorter now.

2012-09-09 15:35 VZ, revision 72453

Add a test of wxFilePickerCtrl::GetValue() to the widgets sample. Make the current value of the control visible in its page.

2012-09-09 15:35 VZ, revision 72452

Add an informational message to the file picker page of widgets sample. No real changes, just indicate that clicking the "Set initial directory" button was indeed taken into account.

2012-09-09 15:34 VZ, revision 72451

Simplify and correct setting of initial directory for wxFilePickerCtrl. Create wxFileDialog with correct initial directory and default file name from the very beginning instead of updating it later. This makes the code simpler and also actually makes it work as the initial directory setting was overwritten by setting the default path later even if it didn't contain any directory component.

2012-09-09 15:34 VZ, revision 72450

Fix harmless virtual function hiding warning in wxMSW build. Override the other StrokeLines() overload in wxGDIPlusContext just to avoid the warning about hiding a base class virtual method from MinGW compiler.

2012-09-09 12:46 VZ, revision 72449

Fix wxKeyEvent::GetKeyCode() descripotion: it doesn't depend on locale. GetKeyCode() will always return valid key codes for Latin-1 symbols but won't do it for other non-ASCII Unicode characters even if they are representable in the current locale.

2012-09-09 12:46 VZ, revision 72448

Do not use wxIsprint() in EVT_CHAR example in the documentation. This is incorrect as wxIsprint() is locale-dependent and only really works as expected in UTF-8 locales (which are never used under Windows). Instead, just test for control characters directly.

2012-09-09 11:39 JS, revision 72447

Ensure the selected style is visible.

2012-09-09 11:38 JS, revision 72446

Ensure the selected style is visible.

2012-09-09 10:34 VZ, revision 72445

Italian translations update from Roberto Boriotti.

2012-09-09 02:44 VZ, revision 72444

Don't try to determine the clicked item ourselves in wxMSW wxListBox. This doesn't work when the listbox is scrolled as the result of a click to make the selected item fully visible and results in the index of the item being off by 1 in the generated event which is a pretty serious problem. Fix it by simply retrieving the item from the listbox itself, without doing any hit testing. This seems to give the correct result in all cases and also makes the code much simpler as we don't have to use 2 different ways of finding the item depending on whether it was selected using the keyboard or the mouse and makes it unnecessary to keep track of how the selection was done completely, i.e. reverts r64498 which is not needed any more. Closes #14635.

2012-09-09 02:44 VZ, revision 72443

Document wxDropTarget::GetDataObject(). Closes #14631.

2012-09-09 02:43 VZ, revision 72442

Don't use StringFormat::GenericTypographic() in MSW wxGraphicsContext. Using this string format results in very condensed strings when using small fonts. The results of GDI+ font rendering are still pretty bad even without it but they are at least slightly better. Closes #14537.

2012-09-09 02:43 VZ, revision 72441

Use a single global StringFormat in all wxMSW wxGraphicsContext code. Instead of creating StringFormat in DrawText() and Get[Partial]TextExtent[s], create it once and simply use it from both functions. This might be slightly more efficient as we don't waste time recreating it but the main advantage is that it ensures that these functions use the same string format and no discrepancies between them are possible. See #14537.

2012-09-09 02:42 VZ, revision 72440

Output the values of all USE_XXX options to build.cfg file in MSW builds. USE_RTTI, USE_AUI, USE_PROPGRID, USE_RIBBON, USE_RICHTEXT, USE_STC and USE_XRC options were not output to the build configuration file, unlike the rest of them. Do output those ones as well now for consistency. Also sort the options corresponding to different wx libraries alphabetically. Closes #14608.

2012-09-09 02:42 VZ, revision 72439

Document wxWindow InheritsBackgroundColour() and UseBgCol() methods. These functions were present in the interface header but didn't have their own documentation and somehow inherited the documentation of the first function in the same section which didn't make any sense for them. Do document them now. Closes #14607.

2012-09-09 02:42 VZ, revision 72438

Link MSW-specific event loop files in wxUniv/MSW. This fixes wxUniv build after the changes of r72008. Closes #14606.

2012-09-08 23:51 VZ, revision 72437

Undid accidental modification of wxTaskBarIcon in the last commit.

2012-09-08 23:48 VZ, revision 72436

Fix narrow/wide string concatenation in recently added wxSizerFlags assert. This fixes MSVC build after r72434.

2012-09-08 18:03 VZ, revision 72435

Fix some typos in the comments in wxOSX code. Closes #14636.

2012-09-08 17:46 VZ, revision 72434

Check validity of wxSizerFlags::Border() direction parameter. Catch the misguided attempts to pass the size of the border as the first parameter of the Border(direction, size) overload.

2012-09-08 17:46 VZ, revision 72433

Enable GL_CULL_FACE in OpenGL samples. Without it, the hidden faces are shown resulting in wrong display of both the cube and the penguin, at least with Mesa (but it also seems to be the correct thing to do according to OpenGL documentation).

2012-09-08 12:53 VS, revision 72432

Fix VC6 compilation after r72430. VC6 doesn't handle for loop scope correctly.

2012-09-08 12:53 VS, revision 72431

Add MUI_LANGUAGE_NAME to wx/msw/missing.h. Fixes VC6 compilation after r72430.

2012-09-08 10:58 VS, revision 72430

Add wxTranslations::GetBestTranslation(). Implement preferred language selection on modern systems (OS X, Windows Vista+). User settings for locale (aka "regional settings") and UI language are independent there and the UI language shouldn't be determined from the locale. Moreover, the OS provides a list of preferred languages, not a single value (as with locale), so we should use the best language given user's preferences and available translations. A Czech user may prefer Slovak UI over English, for example, and we should use Slovak translation in absence of Czech one in that case instead of falling back to English. On Unix, locale is language and so things remain as before. Notice that calling wxLocale::Init(wxLANGUAGE_DEFAULT) does the right thing now: it sets the locale to whatever the user has configured in regional settings and loads translations corresponding to default wxTranslations language, which is determined as described above. Previously, UI would be translated using a language corresponding to the regional settings.

2012-09-07 22:15 DS, revision 72429

Regenerated Xcode projects. Updated the Xcode projects for Scintilla 3.21 and removal of src/osx/spinctrl_osx.cpp.

2012-09-07 22:11 DS, revision 72428

Updated instructions for XML Tools. A newer version of XML Tools has been released (2.9.4) which supports OS X 10.6 and later. As such a link to the beta version of 2.9.4 is not needed anymore.

2012-09-07 11:51 VS, revision 72427

wxMSW: Fix incorrect subitem rect calculation in wxListCtrl. HandleSubItemPrepaint() calls wxGetListCtrlSubItemRect() (a thin replacement of ListView_GetSubItemRect) with subitem argument corresponding to MSDN documentation: it should be 0 for the whole item and 1-based for subitems. Unfortunately, as pointed out in an explanatory comment for wxGetListCtrlSubItemRect(), MSDN lies and the index actually is 0-based. The bug causes wxListCtrl's content to be shifted by one column and rendered with additional artifacts as soon as custom drawing is used, e.g. when a custom font is used. This bug was introduced in r55378; the code correctly accounted for this before that. This change partially reverts that commit.

2012-09-06 16:24 SC, revision 72425

restrict change from r71719 because otherwise apps like docview sample in ddi mode are not allowing their different child frames to be z-reordered

2012-09-06 13:48 JS, revision 72424

Added wxVListBox::GetItemRect

2012-09-06 10:39 SJL, revision 72423

Disable wxWebView::Find and associated functions under MinGW and VC6 to fix compilation

2012-09-02 00:38 VZ, revision 72421

Fix wxVLogStatus definition. This macro can be used with 2 arguments (format and argptr) or 3 (the frame pointer as an additional first argument), so don't define it as taking 2 arguments but as a macro without arguments, as we already do for wxVLogSysErrorfor the same reasons.

2012-08-31 14:31 VZ, revision 72420

Fix example of using GetUnicodeKey() in the documentation. A Unicode key is not always printable, it can be a control character as well. Closes #14622.

2012-08-31 12:45 VS, revision 72419

Fix compilation after r72375 - LC_CTYPE requires locale.h.

2012-08-30 22:26 VZ, revision 72418

Correct wxAuiManager library in documentation. It's wxAUI, not wxBase.

2012-08-30 22:25 VZ, revision 72417

Fix opening URLs in new window with recent Firefox under Windows. Don't fail if we can't replace "-1" in the WWW_OpenURL topic value stored in the registry with "0", it can be already "0" for the recent Firefox versions.

2012-08-30 22:25 VZ, revision 72416

Explicitly reject the use of wxTE_PASSWORD in generic wxSpinCtrl. wxTE_PASSWORD has the same value as wxALIGN_CENTRE_VERTICAL which could be implicitly specified as part of wxALIGN_CENTRE, but should never be used with wxSpinCtrl, so explicitly filter it out when creating the associated wxTextCtrl. Closes #14452.

2012-08-30 22:25 VZ, revision 72415

Generate wxEVT_COMMAND_TEXT_ENTER events for generic wxSpinCtrl. Pass wxTE_PROCESS_ENTER to wxSpinCtrlTextGeneric if it's specified for wxSpinCtrl itself and also forward wxEVT_COMMAND_TEXT_ENTER events from it to wxSpinCtrl itself. This fixes lack of these events for wxSpinCtrlDouble under MSW and also lack of them for any kind of wxSpinCtrl in the ports using generic version (notably wxOSX). Closes #14604.

2012-08-30 22:24 VZ, revision 72414

Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers. Add a generic SetBase() API even though right now only bases 10 and 16 are supported as we might support other ones (e.g. 8?) in the future. Implement it for MSW, GTK and generic versions. Add controls allowing to test this feature to the widgets sample. Add "base" property support to the XRC handler for wxSpinCtrl, document it and test it in the xrc sample.

2012-08-30 22:24 VZ, revision 72413

Remove wxOSX implementation of wxSpinCtrl and use the generic one. wxOSX doesn't provide a native spinner+text control so it used a generic implementation of wxSpinCtrl but a different one to the version found in src/generic/spinctlg.cpp. Just use the real generic version instead, it doesn't make sense to have two different versions of the same generic control.

2012-08-30 22:23 VZ, revision 72412

Refactor text to/from double conversion in wxSpinCtrlGenericBase. The code always used ToDouble() and Format("%g") which was a bit strange for integer-valued wxSpinCtrl. Move the conversions to their own virtual functions for clarity, perhaps correctness and, especially, flexibility as they will be overridden in wxSpinCtrl soon. Also move wxSpinCtrlGenericBase::m_format to wxSpinCtrlDouble as the base class really doesn't need it at all.

2012-08-30 22:23 VZ, revision 72411

Remove wxRTTI macros from wxSpinCtrlGTKBase. This is not a public class and it doesn't need to be appear in wxRTTI.

2012-08-30 22:23 VZ, revision 72410

Fix position carried in wxSpin{Button,Ctrl} events for 32 bit values in wxMSW. Don't use WM_VSCROLL message parameter as the position because it's a 16 bit value and is not enough for the spin controls using 32 bit range. Just use the current value available from the control itself instead. This fixes assert failures in the spin page of the widgets sample when changing the value of a control when it is > SHRT_MAX.

2012-08-30 22:22 VZ, revision 72409

Use wxSOCKET_WAITALL in wxHTTP to ensure that all data is sent. POST-ing sufficiently big amounts of data in wxHTTP didn't work because it couldn't be sent all at once to the server. Use wxSOCKET_WAITALL to ensure that we do send all of the data. Closes #14598.

2012-08-30 22:22 VZ, revision 72408

Fix bugs in parsing wxLongLong values starting with zeroes. wxCRT_StrtoullBase(), used by wxString::To[U]LongLong(), didn't handle leading zeroes nor leading 0x correctly: it never auto-detected base 8; didn't ignore the leading 0 even if base 8 was specified explicitly; didn't recognize "0X" prefix at all (only "0x"). Fix all these bugs and add test cases for parsing numbers in other bases to the unit tests. Closes #14596.

2012-08-30 22:21 VZ, revision 72407

Added wxSimplebook class: a wxBookCtrl without controller. This new control allows the program to show one of the several pages without allowing the user to change them (or even see that there are several of them) himself. This class is fully inline, so it doesn't add anything to the library and hence doesn't need neither wxUSE_SIMPLEBOOK nor the corresponding configure option.

2012-08-30 22:21 VZ, revision 72406

Virtualize showing/hiding the pages in wxBookCtrlBase. No real changes, just make it possible to change how the pages are hidden and shown in the derived classes. This is not used by any of them yet, but will be used by wxSimplebook soon.

2012-08-30 22:21 VZ, revision 72405

Remove unnecessary TranslateBookFlag() from the notebook sample. It probably was needed before, when the flags had different values for different controls, but is simply unused now.

2012-08-30 22:20 VZ, revision 72404

Document that menu item bitmaps must be set before appending them. At least in MSW we need to know in advance whether we're going to use normal items or owner-drawn ones currently. Closes #3641.

2012-08-30 22:20 VZ, revision 72403

Don't lay out the window being destroyed unnecessarily. This is just a small optimization: it's useless to waste time on redoing the layout of a window that is going to be destroyed soon anyhow.

2012-08-30 22:19 VZ, revision 72402

Use wmain() if supported by the compiler/CRT instead of main(). This avoids a needless conversion from (originally Unicode) command line to ANSI by the CRT and conversion back by wxWidgets and, especially, ensures that there is no data loss if the Unicode command line arguments can't be converted into the current charset. See #14580.

2012-08-30 12:18 VZ, revision 72401

Dutch translations update from Thomas De Rocker.

2012-08-30 11:59 VS, revision 72400

Include gettext MO files in distribution archives. It's the usual thing to do. Ideally, we'd also compile them as part of build process, at least on Unix, but this is better than nothing.

2012-08-29 14:17 SC, revision 72398

avoid duplication in native dialog

2012-08-29 14:16 SC, revision 72397

use global NSLayoutManager

2012-08-29 14:15 SC, revision 72396

add global NSLayoutManager instance

2012-08-29 14:01 SC, revision 72395

fixes #13557

2012-08-29 13:20 SC, revision 72394

temporary workaround

2012-08-29 11:00 SC, revision 72393

propagating font to the individual columns, changing row heights according to font size, fixes #14578

2012-08-29 09:11 SC, revision 72392

remove duplicate code

2012-08-28 21:00 SC, revision 72391

fixing usage of load states, set controller visible correctly

2012-08-28 19:13 SJL, revision 72390

Add support for searching and highlighting a wxWebView. Currently supports WebView on GTK and IE. Closes #14045.

2012-08-28 08:27 JJ, revision 72387

Update of OpenVMS compile support

2012-08-28 07:57 JJ, revision 72386

compilation fix for case that wxHAS_RAW_BITMAP is NOT defined

2012-08-27 11:53 VZ, revision 72382

Refreshed all source message catalogs. Ran "make allpo" to update the catalogs with the new strings.

2012-08-27 11:53 VZ, revision 72381

Chinese translations update from Jiawei Huang.

2012-08-27 08:36 SC, revision 72380

reverting for the moment, original problem #12227, this leads eg in the mediaplayer sample to a non-show of the noteobook page

2012-08-26 18:35 VZ, revision 72379

Avoid crashes when creating initially hidden MDI child under Unity. Ignore "hide" signals for the menus without associated shown window. Ubuntu Unity sends them and we crashed because of a recursive assert in the corresponding signal handler before. Now the code doesn't crash any more but the menus still don't behave correctly when the last MDI child is destroyed. Closes #13593.

2012-08-25 20:04 JS, revision 72378

Fixed a problem with text effects flag always being set on dialog exit

2012-08-25 20:04 JS, revision 72377

Fixed typo in dialog project file

2012-08-25 20:03 JS, revision 72376

Fixed a problem with text effects flag always being set on dialog exit

2012-08-25 13:14 VS, revision 72375

Make sure wchar_t CRT functions work on OS X. In OS X and iOS, wchar_t CRT functions convert to char* and fail under some locales. The safest fix is to set LC_CTYPE to UTF-8 to ensure that they can handle any input. Note that this must be done for any app, Cocoa or console, whether or not it uses wxLocale. See http://stackoverflow.com/questions/11713745/why-does-the-printf-family-of-functions-care-about-locale

2012-08-25 13:14 VS, revision 72374

Test if wxString::Format() works with non-ASCII format string.

2012-08-25 11:38 SC, revision 72373

simpler implementation that also works over remote connections by Kevin O.

2012-08-25 00:08 VZ, revision 72371

Ukrainian translations update from Yuri Chornoivan.

2012-08-25 00:08 VZ, revision 72370

No changes, just a typo fix in wxRichTextCtrl UI code. s/minmum/minimum/g

2012-08-23 16:44 JJ, revision 72369

updated setup.h for OpenVMS

2012-08-23 15:43 JJ, revision 72368

updated setup.h for OpenVMS

2012-08-22 23:22 VZ, revision 72365

Added Nepali translation. Thanks to Him Prasad Gautam and Mesar Hameed.

2012-08-22 23:22 VZ, revision 72364

Finnish translations update from Jani Kinnunen.

2012-08-17 11:09 JS, revision 72360

Latvian translation improvements

2012-08-17 11:08 JS, revision 72359

Further translation improvements.

2012-08-16 19:00 JS, revision 72358

Additional Latvian translations by Janis Eisaks

2012-08-16 02:42 RD, revision 72350

Correct a missing apostrophe in a doc string.

2012-08-16 02:42 RD, revision 72349

Use the popup's background as a border on wxGTK too.

2012-08-16 01:34 VZ, revision 72348

Fix bug in ribbon bar label size calculation. Due to an off by 1 error in wxString::Mid() call, the size computed was too small and hence the label could have been not displayed at all. Fix this and also replace Mid(0, n) with a more clear Left(n) call. Closes #14566.

2012-08-16 01:34 VZ, revision 72347

Add page highlighting to wxRibbonBar. Allow visually highlighting a page to make it more noticeable to the user. Closes #14527.

2012-08-16 01:34 VZ, revision 72346

Fix AUI appearance when a maximized pane becomes floating. The other panes were not previously restored, resulting in bad appearance and behaviour. Do restore them now before making the previous maximized pane floating. Closes #14460.

2012-08-16 01:34 VZ, revision 72345

Respect item max sizes in wxBoxSizer. Don't give more space than the max size, if set, to wxBoxSizer elements. Closes #11497.

2012-08-16 01:34 VZ, revision 72344

No real changes, just add wxSizerItem::AddBorderToSize() helper. Factor out this function from GetMinSizeWithBorder() as it will be used for max size too in a next commit. See #11497.

2012-08-16 01:34 VZ, revision 72343

Honour window min and max sizes in wxWindow::GetBestSize(). The best size of the window should be at least as large as its min size and less than its max size. This allows to override the windows own best size determination with an explicit SetMinSize() or SetMaxSize() call. See #11497.

2012-08-16 01:34 VZ, revision 72342

Add wxSize::DecToIfSpecified() helper. This is similar to DecTo() but can be used even if the wxSize argument has some components set to -1. Notice that we don't need IncToIfSpecified() because IncTo() already works correctly anyhow in this case.

2012-08-16 01:34 VZ, revision 72341

Don't generate events from wxSpinCtrl::SetRange() in wxMSW. Other ports don't send wxEVT_COMMAND_SPINCTRL_UPDATED from SetRange() even if the value changed because it was adjusted to fit into the new range and this makes sense as this change is not due to a user action, so don't send this event under wxMSW neither. Also add a unit test checking for this behaviour. Closes #14583.

2012-08-15 13:34 VZ, revision 72340

Restore the use of wxListCtrl in report view in wxListbook. This reverts r71965 for wxMSW as the list mode there doesn't work correctly if there are sufficiently many items: the native control insists on laying them out in multiple columns which is inappropriate for wxListbook, so use report mode for horizontal wxListbooks. Do use the list mode in the vertical case as we do want to have multiple columns -- and not rows -- then.

2012-08-15 13:34 VZ, revision 72339

Fixes for forwarding events to parent in wxGenericListCtrl. Set the event object and the event ID correctly, i.e. to the values corresponding to the main wxListCtrl itself, when forwarding mouse and keyboard events from wxListMainWindow to wxListCtrl.

2012-08-14 09:13 RD, revision 72338

fix some compile warnings

2012-08-14 07:55 RD, revision 72337

Update the wxVersionInfo, and don't forget to initialize the new attributes of the event class.

2012-08-14 07:55 RD, revision 72336

Update stc interface docs

2012-08-14 07:55 RD, revision 72335

Update new names to conform, add new event types and event attributes, etc.

2012-08-14 07:14 RD, revision 72334

Minimal tweaks and additions to get wxSTC compiling successfully again, with Scintilla 3.21

2012-08-14 07:14 RD, revision 72333

fix a couple typos

2012-08-14 07:14 RD, revision 72332

rebake make/project files for new scintilla

2012-08-14 07:14 RD, revision 72331

Initial copy of Scintilla 3.21 code

2012-08-14 07:11 RD, revision 72330

Interface fixes for Phoenix

2012-08-12 14:58 SC, revision 72327

forwarding style changes to documentViews, see #14578

2012-08-12 01:09 VZ, revision 72326

Fix typo in an example of Bind()-ing a function in the event overview. Functors must be passed by const reference, not pointer. Closes #14572.

2012-08-12 01:09 VZ, revision 72325

Update the icon of a parent item without children in wxDataViewCtrl. Ensure that a parent item that doesn't have any children any more isn't left with a "-" expander icon, it can't be collapsed any more but only expanded again (possibly adding children under it dynamically). This results in better behaviour in e.g. the last page of the dataview sample where the container item remained with a "+" icon even after its both children were deleted.

2012-08-12 01:09 VZ, revision 72324

Really delete the item in wxDataViewTreeStore::DeleteItem(). For some incomprehensible reason only child branches were ever deleted from the list of parents children in DeleteItem(), not simple tree items. This meant that reexpanding a node after deleting all its children showed the previously "deleted" children again. Closes #14574.

2012-08-11 15:16 SC, revision 72323

adding SetLabel -> SetTitle redirects, solves missing title updates using wxDocument/wxView

2012-08-10 06:57 RD, revision 72321

Remove wxT from prototype

2012-08-09 18:54 RD, revision 72312

Allow --mac_universal_binary to use a "default" value.

2012-08-09 18:47 RD, revision 72310

Add documentation for wxPrintAbortDialog since it is now documented as a return value type.

2012-08-09 18:16 VS, revision 72309

Compilation fix for r72307.

2012-08-09 17:52 VS, revision 72308

Show progress of printing in wxMSW. Add the number of the page being printed as well as the total to the wxMSW printing progress window. Improved the layout and fixed some i18n issues in the process.

2012-08-09 17:52 VS, revision 72307

Fix crash when canceling printing in wxMSW.

2012-08-09 17:52 VS, revision 72306

Return wxPrintAbortDialog from CreateAbortWindow(). Instead of returning a generic wxWindow*, return the type actually used. It was part of the public header already, but not used in any publicly visible way.

2012-08-09 17:52 VS, revision 72305

Create wxPrintAbortDialog more sensibly. Instead of having an empty constructor and filling the dialog with controls from outside, do the work in the constructor. This changes the meaning of ctor's 'title' argument, but this class' terrible API made it unusable for direct use anyway, so it doesn't seem to be harmful.

2012-08-07 18:43 PC, revision 72303

silence GCC warning suggesting parentheses

2012-08-07 18:24 JS, revision 72302

Backported support for multiple paragraphs per list item by 'deleting' bullet which adds a 'continuation' bullet flag

2012-08-07 12:12 VS, revision 72301

Make the modal print preview window behave like a modal dialog. It's unexpected for a modal dialog window to show up in the taskbar as app's another window. It also shouldn't be possible to minimize a modal window, because it's very confusing when a window is unresponsive without a clear reason, because the modal child is hidden in the taskbar. Set wxFRAME_NO_TASKBAR and remove wxMINIMIZE_BOX to fix this. Do it only for wxPreviewFrame_AppModal.

2012-08-06 14:28 VS, revision 72298

Don't crash in wxBitmap::AllocExclusive(). Just use the usual pattern, instead of abusing existing m_refData. In addition to being cleaner and easier to follow, it also has the benefit of not crashing when cloning ref data into an UnRef()ed bitmap from AllocExclusive().

2012-08-06 13:06 VZ, revision 72297

A better fix for wxHash{Map,Set} with g++ 4.7. This reverts r70556, i.e. removes the scope operators added by it to all WX_DECLARE_HASH_{MAP,SET} macros, and implements a workaround for the problem due to the use of empty base class optimization in g++ 4.7 standard library implementations inside the macros themselves by prepending the hasher and comparator classes with explicit "struct".

2012-08-06 00:44 VZ, revision 72296

Fix wxAutomationObject compilation in PCH-less build. Don't use LCID in a public header, windows.h might not be included. Use WXLCID stand-in instead.

2012-08-06 00:44 VZ, revision 72295

Fix uniconizing hidden top level windows in wxMSW. wxTLW wasn't properly restored if Iconize(false) was called while the window was hidden. Fix this by adding yet another special case to wxTopLevelWindowMSW::Show(). This makes it even less comprehensible than before but there doesn't seem to be any obvious way to simplify this code without totally changing it. Closes #14539.

2012-08-06 00:44 VZ, revision 72294

Fix the checkbox cell size in generic wxDataViewToggleRenderer. r62940 fixed an appearance problem with the checkboxes in wxDataViewCtrl but introduced another one: as the checkbox was now always drawn in the entire cell rectangle, the cell alignment was not taken into account any more. Fix this by only increasing the checkbox rectangle up to the required minimal size but not any more. Closes #14504.

2012-08-06 00:44 VZ, revision 72293

Add webview library in MSVC-specific setup.h. wxNO_WEBVIEW_LIB was documented but not implemented: webview library was never linked in implicitly at all. Fix this by adding the missing #pragma to msvc/wx/setup.h.

2012-08-03 17:36 VZ, revision 72292

Optimization: skip 0-sized cells in wxGrid::CalcCellsExposed(). There is no need to compute intersections with 0-sized cells, skip them to speed up refresh of big grids.

2012-08-03 17:36 VZ, revision 72291

Remove unnecessary statement from the grid sample. No real changes.

2012-08-03 15:05 VZ, revision 72290

Make wxGraphicsContext::GetSize() const. Closes #14556.

2012-08-03 14:50 VZ, revision 72289

Make wxRect2D::Get{Position,Size}() const. Accessors should be const. Closes #14555.

2012-08-03 05:57 RD, revision 72285

Revert change that installs the wx/gtk/dc.h header file, since we no longer need wxDCImpl classes to be public.

2012-08-03 05:56 RD, revision 72284

Add the ability to trigger a print from JavaScript for the OSX backend of the wxWebView control. Closes #14241

2012-08-03 05:56 RD, revision 72283

Add the ability to trigger a print from JavaScript for the old wxWebKitCtrl.

2012-08-02 22:25 RD, revision 72282

Enable the wxMediaCtrl backend for wxOSX-cocoa in the build and fix some bugs that were causing it to not send the EVT_MEDIA_LOADED events and to not have a valid best size set. Closes #13065

2012-08-02 22:25 RD, revision 72281

Have wxDCImpl::GetHandle return NULL by default instead of being pure virtual.

2012-08-02 18:37 PC, revision 72280

remove unused OSX includes

2012-08-02 18:25 PC, revision 72279

Fix wxGCDC::Clear() for Cairo, and possibly MSW. Maximum positive coordinate Cairo can handle is 2^23 - 1. Also convert coordinates to logical so it works right with modified origin or scale. See #14529

2012-08-02 07:38 RD, revision 72271

Add ctors for wxFileSystemWatcherEvent

2012-08-02 00:05 VZ, revision 72270

No changes, just fix typos in comments in wxOSX files. Closes #14549, #14552.

2012-07-31 18:49 VZ, revision 72269

Uncomment and improve wxFileName::CreateTempFileName() documentation. Most of CreateTempFileName() documentation was commented out in r57994 for some reason, uncomment it back and also improve it. Closes #14545.

2012-07-31 18:49 VZ, revision 72268

Fix comparisons of char and wchar_t with wxUniChar[Ref]. Comparisons didn't work correctly in the other direction as they were not reversed as needed. Fix this by adding wxDEFINE_COMPARISON_REV() macro which defines comparisons in terms of the reverse operations and use it for both wxUniChar and wxUniCharRef. Closes #14547.

2012-07-31 13:29 VZ, revision 72267

Fix wxKeyEvent::m_uniChar for EVT_CHAR for native controls in wxGTK. It was mistakenly set to the same value as in EVT_KEY_DOWN event but, just as m_keyCode, it may be different for EVT_CHAR. Use gdk_keyval_to_unicode() to set it correctly instead of inheriting EVT_KEY_DOWN value.

2012-07-31 13:09 VZ, revision 72266

Add an option to use wxTextCtrl as input window in keyboard sample. Keyboard handling is subtly different in wxGTK for native controls and generic wxWindows so add a way to test both of them in the sample.

2012-07-31 12:31 VZ, revision 72265

Allow setting LCID used by wxAutomationObject. Default user-locale-dependent LCID may be inappropriate for some situations, notably Microsoft Excel uses localized formula names for non-English LCIDs. So add a way to change the LCID to use at wxAutomationObject level while preserving the old behaviour by default. Closes #14540.

2012-07-31 12:31 VZ, revision 72264

Use compatibility_iterator instead of "Node*" in wxWinCE toolbar code. This allows the code to compile in all build configurations. Closes #14541.

2012-07-31 12:31 VZ, revision 72263

No changes, just fix some typos in wxDFB comments. Closes #14538.

2012-07-30 21:16 VZ, revision 72262

Use (newly) added wxStaticCastVariantData() to fix wxNO_RTTI build. Don't define wxDynamicCastVariantData if RTTI is disabled and don't use it in wxConvertVariantToOle() code as we don't really need it there anyhow.

2012-07-30 19:53 VZ, revision 72261

Add expand/collapse button to wxRibbonBar. This allows the user to toggle the ribbon bar visibility. Closes #14530.

2012-07-30 13:39 VZ, revision 72260

Fix the size of the buffer passed to wxTmemcpy() in wxTextDataObject. This corrects fatal bug introduced in r72259: we must not multiply the string length by sizeof(wxChar) as wxTmemcpy() does this internally. See #14444.

2012-07-30 00:08 VZ, revision 72259

Translate wxTextDataObject to/from native EOL format. The text data should use CR LF EOLs under Windows but the data inside the program typically has only LF EOLs, so translate between them automatically in wxTextDataObject. Closes #14444.

2012-07-30 00:08 VZ, revision 72258

No real changes, just use accessors in wxTextDataObject. Use {Set,Get}Text() instead of using m_text directly in wxTextDataObject as these virtual methods overridable and should be called in case the class doesn't actually use m_text for its storage at all.

2012-07-30 00:08 VZ, revision 72257

Support wxID_HELP_{INDEX,SEARCH} and wxID_MDI_WINDOW_XXX in XRC. Add missing wxStandardID enum elements to AddStdXRCID_Records(). Also add blank lines to make the code in this function align with the enum declaration to make side-by-side comparison easier.

2012-07-30 00:08 VZ, revision 72256

Fix bug in wxNumberFormatter::ToString() for negative numbers. Don't include the possible leading sign in the span of digits to be grouped as this gave nonsensical strings such as "-,123" when adding thousands separators to "123". Closes #14526.

2012-07-30 00:08 VZ, revision 72255

Remove workaround for slow scrolling in wxStyledTextCtrl. We don't need to drop mouse wheel events coming too fast after the previous commit as now scrolling in wxStyledTextCtrl works quickly enough. Closes #9057.

2012-07-30 00:08 VZ, revision 72254

Remove unnecessary Update() in wxStyledTextCtrl scrolling code. Calling Update() every time ScrollText() dramatically slowed down scrolling and doesn't seem to be necessary, so remove it. See #9057.

2012-07-30 00:08 VZ, revision 72253

Make keyboard sample output less confusing. Warn if key presses occur when the input window doesn't have focus as the usual key events are not generated then which could be understood as a bug in the sample instead of the correct result.

2012-07-30 00:08 VZ, revision 72252

Generate clipboard events for wxComboBox in wxGTK too. These events were only generated for wxTextCtrl but should be sent for non-readonly wxComboBox too, so refactor the code to allow its reuse from wxComboBox. Also add EVT_TEXT_PASTE handlers for both controls to the widgets sample for testing. Closes #14520.

2012-07-30 00:08 VZ, revision 72251

Revert HasModifiers() change in behaviour, add HasAnyModifiers(). In 2.8 wxKeyEvent::HasModifiers() returned false if (only) Shift was pressed as it tested for Control and Alt only but when it was moved to wxKeyboardState in r55745 it started checking for all modifiers as this made more sense now that it was used by wxMouseEvent. However it broke existing code using it, including in wxWidgets itself (in wxTreeCtrl), so revert it now and add HasAnyModifiers() that does check for all modifiers, including Shift.

2012-07-30 00:07 VZ, revision 72250

Add a wxGTK-specific function to set wxNotificationMessage icon name. It's trivial to use a stock icon with the given name in wxGTK with libnotify, so provide a way to do it. However this is not as simple as that in other implementations (notably Windows), so make it private to this port for now. In the future we should try to support arbitrary wxIcons as well as extend wxIconLocation to support FreeDesktop stock icon names.

2012-07-29 10:52 VS, revision 72249

Fix installed wx-config broken by r72205. In an attempt to fix DESTDIR support on platforms without symbolic links, this commit completely broke the wx-config symlink created by "make install" everywhere (unless you were insane enough to use "--prefix=/", that is): $(libdir) is absolute path and so using ../$(libdir) has no chance of working. Fixed by using `basename $(libdir)`. This is still unsatisfactory, because it assumes that $(libdir) and $(bindir) are at the same level in the filesystem -- which, while usually true, is by no means guaranteed. But at least this works most of the time. See #14517.

2012-07-28 23:52 RD, revision 72246

Add GetHandle for wxGnomePrinterDCImpl

2012-07-28 21:31 RD, revision 72226

wxDC::GetHandle support for wxGTK

2012-07-28 21:31 RD, revision 72225

wxDC::GetHandle support for wxMSW

2012-07-28 21:31 RD, revision 72224

Adding wxDC::GetHandle for wxOSX-cocoa and wxOSX-carbon

2012-07-27 21:36 VZ, revision 72220

Move new wxGTK wxNotificationMessage files to adv from core. The new files were erroneously added to the wrong place, move them where they belong.

2012-07-27 18:03 VZ, revision 72219

Fix compilation of new wxNotificationMessage for wxGTK without libnotify. Add the wxUSE_LIBNOTIFY check forgotten by the previous commit.

2012-07-27 17:36 VZ, revision 72218

Implement wxNotificationMessage using libnotify in wxGTK. Use libnotify -- if detected by configure -- to provide native notifications in wxGTK. Our API maps to libnotify one in rather straightforward way, we might consider extending it to cover more of libnotify functionality (categories, user-defined icons and, especially, actions) later. Also update the dialogs sample to show another kind of notification and the documentation to clarify the behaviour of various methods.

2012-07-27 17:36 VZ, revision 72217

Add a private wrapper for GError to wxGTK. This class simply calls g_error_free() automatically.

2012-07-27 17:36 VZ, revision 72216

Add all extra GTK libraries to GUI_TK_LIBRARY in configure. Some libraries (e.g. Pango) were added to GUI_TK_LIBRARY already while others (e.g. Hildon) had their own EXTRALIBS_HILDON variables that were then added to EXTRALIBS_GUI separately. Finally, some others were simply broken because neither EXTRALIBS_GNOMEVFS nor EXTRALIBS_GTKPRINT were set anywhere. Standardize on using GUI_TK_LIBRARY for everything.

2012-07-26 17:58 BP, revision 72214

Updated VCS checkout build instructions.

2012-07-26 00:21 VZ, revision 72213

wxOSX/Carbon compilation fix after the changes of r72207. Don't use position for keyboard events in Carbon code neither.

2012-07-25 18:31 VS, revision 72212

wxMSW: Use TBSTYLE_AUTOSIZE for toolbar buttons with horizontal text. Without this style, all buttons share the same width and look ugly when their labels differ even a little in their lengths. With TBSTYLE_AUTOSIZE, toolbar buttons use the size of their image plus label's width and look better, even though their sizes differ.

2012-07-25 01:13 VZ, revision 72211

Another wxOSX compilation fix after the changes of r72207. Don't use position for keyboard events in wxWebKitCtrl code neither.

2012-07-24 23:59 VZ, revision 72210

Add wxWebView::GetNativeBackend() method. This allows to use platform-specific methods in user code.

2012-07-24 23:44 VZ, revision 72209

Build fix for wxOSX after removing position in MacCreateKeyEvent(). This fixes compilation after the changes of r72207.

2012-07-24 23:43 SC, revision 72208

I don't think this is still necessary, see #13625

2012-07-24 22:45 VZ, revision 72207

Don't eagerly set wxKeyEvent position fields. This results in a noticeable delay when using wxGTK via a remote X11 connection for every key event as a round trip to server is needed to get the mouse pointer position every time a key is pressed or released. Only provide the position on demand. And explain that it's actually not very useful as it's simply the same as the current mouse position. Closes #14361.

2012-07-24 22:45 VZ, revision 72206

Extract OS X non-GUI event loop in a separate header. This will allow its reuse from non-wxOSX ports, e.g. wxGTK under OS X. Closes #14519.

2012-07-24 22:45 VZ, revision 72205

Use relative path for wx-config symlink in "make install". This fixes "make DESTDIR=..." Broken by r71050 but still allows "make DESTDIR=... install" to work even under MinGW where "ln -s" is mapped to "cp" and so doesn't work with non-existing first argument. Closes #14517.

2012-07-24 22:45 VZ, revision 72204

Add wxDir::Close(). This is trivial to have and can sometimes be useful and also is symmetric to Open(). Closes #14493.

2012-07-24 22:45 VZ, revision 72203

Set up scrollbars correctly for wxWebView in wxGTK. This allows Scroll{Lines,Pages}() methods inherited from wxWindow to work with it. Add a test of using them to the sample.

2012-07-24 22:45 VZ, revision 72202

Refactor: extract GtkScrolledWindow creation from wxWindow::Create(). No real changes, just make it possible to reuse the scrolled window and scrollbars creation code from derived classes.

2012-07-24 22:45 VZ, revision 72201

Allow passing the URL to open to webview sample on command line. This makes it simpler to test the sample with other pages and especially local HTML files.

2012-07-24 22:45 VZ, revision 72200

No real changes, just avoid overloaded virtual wxWebView::SetPage(). Instead, have two public non-virtual SetPage() methods forwarding to a private DoSetPage(), as usual. This avoids the need for "using wxWebView::SetPage" which is needed to avoid warnings about hiding the other base class virtual when implementing one of them and which was forgotten in wxMSW version resulting in warnings when using g++ to compile it.

2012-07-24 21:12 RD, revision 72198

Install the wx/gtk/dc.h header file.

2012-07-24 11:14 SC, revision 72195

avoid deprecated API, fixes #13727

2012-07-24 07:58 SC, revision 72194

guard against not-yet-existing font, fixes #14516

2012-07-23 17:04 VZ, revision 72185

Don't constantly reload comctl32.dll in wxTreeCtrl::MSWOnNotify(). The "loaded" flag was never set to true, so we kept reloading the DLL on every callback. Do set the flag after loading it successfully. Closes #14512.

2012-07-23 17:04 VZ, revision 72184

Fix wxMSW wxStaticBox compilation when wxUSE_UXTHEME==0. Don't compile the theme-using code in PaintForeground(). Closes #14511.

2012-07-23 17:03 VZ, revision 72183

Fix wxMSW wxTextEntry compilation in wxUSE_DYNLIB_CLASS==0 case. Simply don't define DoAutoCompleteFileNames() as it needs wxDynamicLibrary to compile and work. Closes #14510.

2012-07-23 17:03 VZ, revision 72182

Fix wxUSE_IFILEDIALOG definition in wxUSE_DYNLIB_CLASS==0 case. wxUSE_XXX symbols such as this one need to be defined as 0 and not as nothing at all. Closes #14509.

2012-07-23 17:03 VZ, revision 72181

Fix wxWindow::MSWShowWithEffect() compilation with wxUSE_DYNLIB_CLASS==0. Fall back to just plain Show() if wxDynamicLibrary, which we use to get function not existing in all Windows versions, is not available. Closes #14509.

2012-07-23 17:03 VZ, revision 72180

Use __DARWIN__ instead of __WXOSX__ in non-GUI code. This fixes compilation of non-wxOSX ports (e.g. wxGTK) under OS X. Also make the difference between the two symbols more clear in the documentation. Closes #14503.

2012-07-23 17:03 VZ, revision 72179

Fix --enable-webview_xxx options names in configure. Dashes can't be used in the option names, they're filtered out by configure. Closes #14507.

2012-07-23 17:03 VZ, revision 72178

Define wxGUIAppTraits for wxGTK/Windows port. Closes #14505.

2012-07-23 17:03 VZ, revision 72177

Fix compilation of wxOSX event loop without wxUSE_EVENTLOOP_SOURCE. Closes #14502.

2012-07-23 17:03 VZ, revision 72176

Handle accelerators earlier in keyboard processing code in wxGTK. Translate key presses to accelerators before sending wxEVT_KEY_DOWN. Also check for accelerators even for the key combinations handled by IM, normally IM should take precedence but IM seems to intercept common keys such as Shift+anything which it makes sense to use as accelerators.

2012-07-23 17:03 VZ, revision 72175

Use wxGTK platform-specific files in wxAdv under OS X. Closes #14501.

2012-07-23 17:03 VZ, revision 72174

Fix assert in webview sample when viewing pages without a title. Trying to append a menu item with empty label resulted in an assert (at least under wxGTK but probably elsewhere too), and in any case wasn't very useful, so use "(untitled)" instead in this case.

2012-07-23 17:03 VZ, revision 72173

Fix crash on wxWebViewWebKit window destruction. We were getting crashes due to using methods of already half-destroyed object when wxWebView window was destroyed in wxGTK, with the following abbreviated stack: #0 wxgtk_webview_webkit_load_status (widget=0x12eb380, webKitCtrl=0x13ee040) at src/gtk/webview_webkit.cpp:38 ... #8 0x00007ffff05ca281 in dispatchDidFailLoad (error=..., this=0x7fffe32db900) at ../Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:1054 #9 WebKit::FrameLoaderClient::dispatchDidFailLoad (this=0x7fffe32db900, error=...) at ../Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:1049 #10 0x00007ffff0b0de54 in WebCore::FrameLoader::checkLoadCompleteForThisFrame (this=0x7fffe3221b70) at ../Source/WebCore/loader/FrameLoader.cpp:2128 #11 0x00007ffff0b0cfde in WebCore::FrameLoader::checkLoadComplete (this=<optimized out>) at ../Source/WebCore/loader/FrameLoader.cpp:2370 #12 0x00007ffff0b0a3b2 in WebCore::FrameLoader::receivedMainResourceError (this=0x7fffe3221b70, error=..., isComplete=true) at ../Source/WebCore/loader/FrameLoader.cpp:2640 #13 0x00007ffff0b423b7 in cancel (error=..., this=0x7fffe3279680) at ../Source/WebCore/loader/ResourceLoader.cpp:399 #14 WebCore::ResourceLoader::cancel (this=0x7fffe3279680, error=...) at ../Source/WebCore/loader/ResourceLoader.cpp:353 #15 0x00007ffff0b420c0 in WebCore::ResourceLoader::cancel (this=<optimized out>) at ../Source/WebCore/loader/ResourceLoader.cpp:350 #16 0x00007ffff0afda9e in WebCore::DocumentLoader::stopLoading (this=0x7fffa081d800) at ../Source/WebCore/loader/DocumentLoader.cpp:258 #17 0x00007ffff0b09561 in stopAllLoaders (clearProvisionalItemPolicy=WebCore::ShouldClearProvisionalItem, this=0x7fffe3221b70) at ../Source/WebCore/loader/FrameLoader.cpp:1523 #18 WebCore::FrameLoader::stopAllLoaders (this=0x7fffe3221b70, clearProvisionalItemPolicy=WebCore::ShouldClearProvisionalItem) at ../Source/WebCore/loader/FrameLoader.cpp:1501 #19 0x00007ffff0b0d17a in WebCore::FrameLoader::stopForUserCancel (this=0x7fffe3221b70, deferCheckLoadComplete=false) at ../Source/WebCore/loader/FrameLoader.cpp:1541 #20 0x00007ffff05f3a36 in webkit_web_view_dispose (object=0x12eb380) at ../Source/WebKit/gtk/webkit/webkitwebview.cpp:1327 #21 0x00007ffff27ff7a0 in g_object_run_dispose (object=0x12eb380) at /tmp/buildd/glib2.0-2.32.3/./gobject/gobject.c:1061 #22 0x00007ffff4476c1e in gtk_scrolled_window_forall (container=0x7fff9c007d10, include_internals=0, callback=0x7ffff452cd20 <IA__gtk_widget_destroy>, callback_data=0x0) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkscrolledwindow.c:1085 #23 0x00007ffff439872f in gtk_container_destroy (object=0x7fff9c007d10) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkcontainer.c:1073 ... #28 0x00007ffff443cd60 in gtk_object_dispose (gobject=0x7fff9c007d10) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkobject.c:421 #29 0x00007ffff27ff7a0 in g_object_run_dispose (object=0x7fff9c007d10) at /tmp/buildd/glib2.0-2.32.3/./gobject/gobject.c:1061 #30 0x00007ffff6cb65ac in wxWindow::~wxWindow (this=0x13ee040, __in_chrg=<optimized out>) at src/gtk/window.cpp:2367 #31 0x00007ffff6d71241 in wxControlBase::~wxControlBase (this=0x13ee040, __in_chrg=<optimized out>) at src/common/ctrlcmn.cpp:49 #32 0x00000000005cf761 in wxControl::~wxControl (this=0x13ee040, __in_chrg=<optimized out>) at include/wx/gtk/control.h:27 #33 0x00007ffff7bd1eae in wxWebView::~wxWebView (this=0x13ee040, __in_chrg=<optimized out>) at include/wx/webview.h:96 #34 0x00007ffff7bd3443 in wxWebViewWebKit::~wxWebViewWebKit (this=0x13ee040, __in_chrg=<optimized out>) at include/wx/gtk/webview_webkit.h:26 #35 0x00007ffff7bd34ae in wxWebViewWebKit::~wxWebViewWebKit (this=0x13ee040, __in_chrg=<optimized out>) at include/wx/gtk/webview_webkit.h:26 Fix this by setting m_isBeingDeleted flag for wxWebViewWebKit early and checking it in the callback.

2012-07-23 17:03 VZ, revision 72172

Add missing wxSTDCALL to fix wxWebView compilation with Borland. This patch from Guru Kathiresan fixes compilation with Borland C++ Builder 2007 and XE2.

2012-07-23 17:02 VZ, revision 72171

Document wxGTK limitation for accelerators involving Shift. Using Shift with non-alphabetic characters doesn't work due to GTK+ bug, see https://bugzilla.gnome.org/show_bug.cgi?id=614146

2012-07-23 17:02 VZ, revision 72170

Don't change client size of TLW when centering it in wxGTK. Setting the frame client size and then calling Centre() on it resulted in the frame coming up with a wrong client size in wxGTK because the call to Centre() resulted in calling wxTopLevelWindow::DoSetSize() which unconditionally reset m_deferShowAllowed to true, undoing setting it to false in DoSetClientSize(). Only reset m_deferShowAllowed if the size was really changed but not if the window was only moved, as happens when centering it.

2012-07-23 15:18 SC, revision 72169

fixing capture problem for mouse moved events, fixes #14486

2012-07-22 12:07 VS, revision 72168

Fix typo introduced in r72167.

2012-07-22 11:21 VS, revision 72167

Document wxWindow::Close() return value.

2012-07-21 07:14 SC, revision 72166

turning off undo for setter, otherwise memory gets used up for the undo stack, fixes #14500

2012-07-20 22:23 VS, revision 72164

Call Realize() later in XRC toolbar handler (patch #13888). This is a workaround for a deeper compatibility problem in Cocoa implementation (see the bug for detailed discussion), but for now, this simple workaround is much better than not doing nothing. See #13888.

2012-07-20 13:55 VZ, revision 72163

No changes, just fix some typos in comments. Closes #14494.

2012-07-20 13:55 VZ, revision 72162

Remove unnecessary configure options from wxOSX install.txt. There is no need to specify --enable-unicode nor --disable-shared. The latter is mentioned below anyhow.

2012-07-20 13:55 VZ, revision 72161

Use both URL-specific and plain text formats in wxGTK wxURLDataObject. Just as in wxMSW, it makes sense to put URLs on clipboard (or drag them) in both URL-specific and plain text formats to facilitate pasting (or dropping) them into other applications. So make wxURLDataObject in wxGTK a composite data object containing both its old data object and wxTextDataObject.

2012-07-20 13:55 VZ, revision 72160

Use proper format in wxGTK clipboard selection handler. For some incomprehensible reason, GDK_SELECTION_TYPE_STRING was hard coded for all non-text formats even though it was clearly never the right format to use. Use the correct value specified by the format instead.

2012-07-20 13:55 VZ, revision 72159

Use text/uri-list instead of x-moz-url in wxGTK wxURLDataObject. The standard exchange format for URLs is text/uri-list and not the deprecated and Firefox-specific x-moz-url, support for which was moreover implemented incorrectly anyhow. Also add an example of copying URLs to the dnd sample. See https://developer.mozilla.org/En/DragDrop/Recommended_Drag_Types for more information.

2012-07-20 13:54 VZ, revision 72158

Don't use delayed destruction for sockets in other threads. The delayed destruction mechanism is not MT-safe, so using it for wxSocket objects destroyed from threads other than main resulted in crashes. Luckily, it is not necessary to use it for such sockets anyhow as they don't risk receiving any events -- which are only dispatched in the main thread -- and so can be destroyed immediately. So do destroy them directly instead of just scheduling for later destruction when wxSocket::Destroy() is called.

2012-07-20 06:59 PC, revision 72157

simplify mouse button handling code

2012-07-20 02:53 RD, revision 72148

I think the "specific to PostScript" methods have been gone since 2.6, so let's stop saying that they are there but undocumented.

2012-07-19 17:39 PC, revision 72146

improve appearance of themed borders

2012-07-19 08:46 RD, revision 72143

Interface fixes for Phoenix

2012-07-18 17:00 JS, revision 72137

Reverted format changes since 2.9 works differently

2012-07-18 16:04 JS, revision 72136

String formatting fixes

2012-07-18 16:01 JS, revision 72135

String formatting fix

2012-07-16 21:12 SC, revision 72115

adapting order to preference

2012-07-16 21:09 SC, revision 72114

correct handling of order of preference of formats

2012-07-15 20:05 SC, revision 72108

removing workaround for listbox, finishing drop target support, fixes #14484, see #14281

2012-07-15 12:26 JS, revision 72098

A better panel label font size on Mac

2012-07-15 08:42 JS, revision 72096

Added continuation bullet style for supporting multiple paragraphs in a list item The user can 'delete' the bullet to create a continuation paragraph

2012-07-15 03:40 PC, revision 72095

simplify ifdefs, deferred show and _NET_FRAME_EXTENTS are X11-only

2012-07-14 23:36 RD, revision 72087

Add wxSHOW_EFFECT_MAX

2012-07-14 23:36 RD, revision 72086

Add missing Calc[Un]ScrolledPosition overloads taking a wxPoint.

2012-07-14 23:36 RD, revision 72085

Add missing wxEVT_COMMAND_TEXT_ENTER

2012-07-14 23:36 RD, revision 72084

Add missing styles

2012-07-14 23:35 VZ, revision 72083

Add documentation for CURRENCY and SCODE wxVariant classes. This should have been part of r72081. See #14225.

2012-07-14 22:11 VZ, revision 72082

Refactor wxMSW helper functions to allow reuse in wxGTK. Extract wxMSW-specific part of src/msw/utilsgui.cpp into a new src/msw/utilswin.cpp file to allow reuse the rest of the former file in wxGTK. Closes #14424.

2012-07-14 22:10 VZ, revision 72081

Add support for CURRENCY and SCODE to MSW OLE helpers. This allows to call OLE Automation methods taking parameters or returning values of these types. Closes #14225.

2012-07-14 22:10 VZ, revision 72080

Disable the recently added wxFileSystemWatcher unit case under Windows. It currently fails there, so don't run it until this is fixed to let the tests pass globally. See #14480.

2012-07-14 22:10 VZ, revision 72079

Minor fixes to wxGTK3 with Broadway backend build. Reuse some functions for both Broadway and X11 backends. Fix invalid casts from Broadway screen/display types to X11 ones. Closes #14469.

2012-07-14 07:26 PC, revision 72076

fix creation of wxBitmapComboBox with GTK3

2012-07-13 20:22 VZ, revision 72075

Allow building wxGTK3 with Broadway backend. Use GDK_WINDOWING_BROADWAY to fix compilation with it. Closes #14469.

2012-07-13 20:11 JS, revision 72074

Fix for caret positioning bug when selecting content

2012-07-13 18:58 PC, revision 72073

avoid creating and immediately destroying a wxGraphicsContext when creating a wxDC with wxGTK3

2012-07-13 18:38 JS, revision 72072

Fixed wxRichTextCtrl caret test case

2012-07-13 14:00 VZ, revision 72071

Rename wxFileSystemWatcherBase::DoAdd() to AddAny() and make it public. Make this method public to fix compilation after the recent changes as traverser classes can't call it otherwise (no idea why did it compile with g++). And give it a better name just in case people decide to call it even though it's not documented and described as private in comment (but perhaps we could make it really public later).

2012-07-13 13:46 VZ, revision 72070

Add possibility to hide and show again wxRibbonBar pages. Added wxRibbonBar::ShowPage(), HidePage() and IsPageShown() methods and show them in the sample. Also add GetPageNumber() helper. Closes #14471.

2012-07-13 13:46 VZ, revision 72069

Generate tags for ribbon headers and sources too. Add the files in {include/wx,src}/ribbon to the list of ctags inputs.

2012-07-13 13:22 VZ, revision 72068

Test calling wxFileSystemWatcher::{Add,Remove}Tree(). Add a test for tree monitoring functions to the unit test. See #14480.

2012-07-13 13:22 VZ, revision 72067

Properly use RemoveTree() in fswatcher sample. We need to use RemoveTree() to remove watches for the paths added with AddTree(). See #14480.

2012-07-13 13:22 VZ, revision 72066

Add the root and all the files in wxFileSystemWatcherBase::AddTree(). When watching a tree recursively, add the files and not only the directories. Also, add -- and remove in RemoveTree() -- the root directory itself and not only its children. Closes #14480.

2012-07-13 08:51 SC, revision 72065

always use calibrated colors, fixes #14482

2012-07-12 22:50 RD, revision 72055

Interface fix for Phoenix.

2012-07-12 21:30 SC, revision 72050

removing 2.9 backport

2012-07-12 20:34 VZ, revision 72049

Fix bogus asserts in Unix wxFileSystemWatcher for removed files. Store the recently removed file descriptors and don't assert if we get an event for one of them, this can happen and is normal unlike unexpected events for completely unknown descriptors for which we still keep an assert. Closes #14465.

2012-07-12 20:34 VZ, revision 72048

Fix item data access in wxDataViewListCtrl. Map items to rows correctly, just using wxPtrToUInt()-1 is not the right thing to do if any items were deleted or changed. Closes #14479.

2012-07-12 15:18 VZ, revision 72047

Added more items to the release check list. Mention that the change log should be uploaded too (it would be perhaps more useful to have a change log for just this release but for now upload the entire file) and that the llatest available version must be update on the web site.

2012-07-12 08:56 SC, revision 72041

backport support for horizontal scrollwheel support

2012-07-11 21:28 VZ, revision 72040

No changes, just remove TABs from configure.in.

2012-07-11 21:16 RD, revision 72039

Just like dependency tracking don't disable precompiled headers if there is only one architecture being built.

2012-07-11 19:08 PC, revision 72033

fix some more improper widget casts

2012-07-11 18:49 PC, revision 72032

Use GTK_IS_ENTRY() to determine if widget is a GtkEntry. If widget is not a GtkEntry, using GTK_ENTRY() will result in assertion or crash

2012-07-11 14:16 VZ, revision 72031

Revert "Temporarily disable the failing wxRichTextCtrl case." Revert r71945 which disabled failing wxRichTextCtrl unit test. It fails again now and hopefully will be fixed before 2.9.5.

2012-07-11 13:42 VZ, revision 72030

Allow saving images under a different name in the image sample. Also allow saving in XPM format. See #13905.

2012-07-11 13:42 VZ, revision 72029

Ensure that names of saved XPMs are valid C identifiers. The name of the XPM should be based on the file name but can't always be exactly equal to it as it's possible (and relatively common, e.g. "foo-24.xpm") to have characters forbidden in identifiers to appear in the file names. Ensure that we use a valid C identifier here. Closes #13905.

2012-07-11 13:42 VZ, revision 72028

Fix bug with using invalid date in wxMSW wxCalendarCtrl. Fall back to the start date of the native control if our own date was not set yet. Closes #14476.

2012-07-11 13:42 VZ, revision 72027

Activate OLE ActiveX controls before requesting their window. Change the order of IOkeInPlaceActiveObject::GetWindow() and DoVerb(OLEIVERB_INPLACEACTIVATE) calls and do the latter first now as otherwise GetWindow() returned NULL for standard ActiveX controls created by MFC. Closes #14209.

2012-07-11 13:42 VZ, revision 72026

Change the format of the documentation archives for the release. Call them wxWidgets-x.y.z-docs-nnn instead of wxWidgets-docs-nnn.x.y.z.

2012-07-11 13:42 VZ, revision 72025

Fix compilation of newly added msw/evtloopconsole.cpp without PCH. Include <windows.h> and "wx/log.h" explicitly when not using PCH. Closes #14475.

2012-07-11 09:32 PC, revision 72021

fake paint events don't work with wxGTK3 either

2012-07-11 09:05 PC, revision 72020

remove code in SetFont which modifies font for no apparent purpose

2012-07-11 08:36 PC, revision 72019

Avoid creating and immediately destroying a wxGraphicsContext for most uses of wxGCDC. This also causes the dummy "measuring context" to be properly initialized with a default font

2012-07-11 06:23 RD, revision 72013

Interface fixes for Phoenix.

2012-07-11 06:23 RD, revision 72012

Add missing wxFRAME_SHAPED

2012-07-11 01:52 VZ, revision 72011

Fix wxNativeContainerWindowId definition for wxGTK/Windows port. It's a gpointer and not unsigned long as under Unix in this case. Closes #14447.

2012-07-11 01:52 VZ, revision 72010

Forbid setting hints for multi-line text controls. This doesn't work anyhow, so make it explicit by asserting if an attempt to do it is made. And document this. Also add a test of SetHint() to the text sample to verify it still works. Closes #14456.

2012-07-11 01:52 VZ, revision 72009

Fix German translation for "Shift+" keyboard accelerator prefix. Closes #14457.

2012-07-11 01:52 VZ, revision 72008

Use the same console event loop in wxBase and wxCore in wxMSW. Refactor the console event loop code into separate files to untangle it from the GUI version and ensure that it doesn't depend on the GUI at all. It can now be defined in the base library and simply reused by the core one. This also makes the console event loop usable for other ports under Windows, e.g. wxGTK. Closes #14426.

2012-07-11 01:51 VZ, revision 72007

Increase version to 2.9.5. Rebake all the project/make files.

2012-07-11 01:50 VZ, revision 72006

Fix unit tests compilation in STL build. Add missing c_str() calls forgotten by r70687. Closes #14472.

2012-07-10 19:27 PC, revision 72004

remove DoSetSize override, unneeded after r72001

2012-07-10 19:26 PC, revision 72003

remove STOCKITEM_26 macro, unneeded after r72001

2012-07-10 19:17 PC, revision 72002

no real changes, just remove unnecessary indentation and scoping after r72001

2012-07-10 18:39 PC, revision 72001

update minimum GTK2 version requirement to 2.6

2012-07-10 12:54 VZ, revision 72000

Give the newly added wxGTK trunk STL builder a unique name. It conflicted with the (unused) builder on StellarWerx slave.

2012-07-10 12:50 VZ, revision 71999

Add a wxGTK STL buildbot build on brandt32 slave. Also use --disable-compat28 as we don't have any builds testing this option.

2012-07-10 08:42 RD, revision 71998

Make a couple virtuals protected so they can be overridden.

2012-07-10 07:12 RD, revision 71989

Interface fixes for Phoenix.

2012-07-09 22:35 VZ, revision 71988

Added a release notes file for binaries. Also create wxWidgets-x.y.z_Headers.7z file when making the release, it is used with the binaries.

2012-07-09 16:15 VZ, revision 71986

Create tag WX_2_9_4

2012-07-09 16:15 VZ, revision 71985

Updated READMEs &c for 2.9.4 release. Updated the text of the announcement posted to wx-announce too and mention it in the release check list.

2012-07-09 14:41 VZ, revision 71984
  • D /wxWidgets/tags/WX_2_9_4

Remove prematurely created 2.9.4 tag.

2012-07-09 14:39 VZ, revision 71983

Create tag WX_2_9_4

2012-07-08 12:28 JS, revision 71982

Fix for scroll position being changed when partial layout is done

2012-07-08 05:48 RD, revision 71981

Revert r71595 for now, as the bug it fixed is the lesser of two evils with the potential bugs it causes. See #14453.

2012-07-07 18:34 SC, revision 71980

fixing double focus ring under 10.7, emulating only for 'NO_' and 'SIMPLE_' border

2012-07-07 17:36 VZ, revision 71979

Replace "_amd64" with "_x64" in a few more places. Fix bakefile presets and MSVC-specific setup.h. Also document TARGET_CPU=X64 instead of AMD64.

2012-07-07 15:27 VZ, revision 71978

Use "_x64" instead of "amd64" for x64 MSW makefile builds. Still accept "amd64" as a valid TARGET_CPU value but also accept, and encourage people to use, "x64". Add a new section about the build system changes to the change log and added a mini-TOC to it to make navigating it a bit easier and show what changes are there at a glance.

2012-07-07 15:27 VZ, revision 71977

Don't call HitTest() unnecessarily in MSW wxTreeCtrl code. We already called TreeView_HitTest() above, there is no need to call wxTreeCtrl::HitTest() again to retrieve exactly the same information. This also incidentally fixes a warning about unused variable, see #14459.

2012-07-07 15:27 VZ, revision 71976

Fix uninitialized variable warning in wxMSW wxFileSystemWatcher code. This warning was harmless as the variable was in fact always initialized if the code where it was used was reached but g++ 4.6.1 is not smart enough to see it, just as MSVC for which we already had a workaround. So initialize it explicitly just to suppress the warning. See #14459.

2012-07-07 15:27 VZ, revision 71975

Avoid warnings about uninitialized variables in TGA loading code. Initialize the variables containing the colour components: even though they should normally be always filled by Palette_GetRGB() call below, this presumably might not happen for a corrupted image with invalid palette table entries and g++ correctly complains about it. See #14459.

2012-07-07 15:27 VZ, revision 71974

Avoid warning about unused variable in wxGetUTCTimeMillis() in wxMSW. Put the declaration of the variable only used under Unix inside the corresponding "#if" branch. See #14459.

2012-07-07 15:27 VZ, revision 71973

Avoid unused variable warning in wxPropertyGrid code in non-wxGTK. Put the variable only used in wxGTK inside "#ifdef __WXGTK__". This fixes the warning but the real fix would be to get rid of this variable completely and just fix whatever problem in wxWindow::Navigate() this was supposed to work around. See #14459.

2012-07-07 15:27 VZ, revision 71972

Explicitly call base class ctor in wxRichTextFieldType copy ctor. Failure to do this provokes g++ warnings with -Wextra and is, generally speaking, wrong, even if it probably doesn't matter in this particular case. See #14459.

2012-07-07 15:27 VZ, revision 71971

Return correct index from wxGenericListCtrl::InsertColumn(). It used to always return 0 in the generic version, return the correct index of the newly inserted column now. Closes #13677.

2012-07-07 15:24 SC, revision 71970

adding support for enabled property, avoiding missing return values

2012-07-07 15:07 SC, revision 71969

added missing return value

2012-07-07 15:06 SC, revision 71968

new file added

2012-07-06 18:39 PC, revision 71967

guard against empty name field in inotify_event, see #14466

2012-07-05 20:56 VZ, revision 71966

Rename WX_2_9_4 tag to WX_2_9_4-rc1 as it doesn't correspond to final 2.9.4.

2012-07-04 19:09 VZ, revision 71965

Use list mode in wxListbook list control instead of report. Use wxLC_LIST instead of wxLC_REPORT when we don't have any icons. This makes the code simpler as wxLC_LIST is more similar to wxLC_ICON which we used, and continue to use, when we do have icons, because we don't need to add and remove any columns on the fly. And it fixes the appearance of wxListbook without images with wxBK_TOP or wxBK_BOTTOM styles as it now lays out its items horizontally and not vertically as before. It also fixes the best size calculation of wxListbook control since the changes to wxListCtrl best size calculations in r71733 as a nice side effect. Closes #14451.

2012-07-04 18:42 SC, revision 71964

supporting alignment in single line controls, see #14452

2012-07-04 18:30 SC, revision 71962

using correct constant

2012-07-04 18:17 SC, revision 71961

fixing another reference to wrong center flag

2012-07-04 18:15 SC, revision 71960

correcting text alignment flag

2012-07-04 13:45 VZ, revision 71959

Fix problem with most of wxGTK headers not being installed. GTK2_HDR should also include all the version-independent wxGTK headers. Closes #14455.

2012-07-04 13:45 VZ, revision 71958

Rename all setup0.h files to setup.h in git-based release script. We also need to rename wx/univ/setup0.h and wx/gtk/setup0.h and it probably doesn't hurt to rename all the other ones even if though they're unused anyhow.

2012-07-04 13:45 VZ, revision 71957

Put the README file used for SourceForge files page under version control. And this is another thing to do for the release.

2012-07-04 13:45 VZ, revision 71956

Remove duplicate item about Trac changes from release tech note. Part of the additions of r71951 was already present in this file, just in another place.

2012-07-04 13:45 VZ, revision 71955

Run unix2dos in quiet mode in git-oriented release script. Don't flood the screen with the messages about converting the files, we know that we convert them, this is what we run the bloody thing for.

2012-07-03 22:02 VZ, revision 71954

Create tag WX_2_9_4

2012-07-03 22:01 VZ, revision 71953

Also update the minimal GTK+ version in the introduction manual page. And mention GTK+ 3 there too.

2012-07-03 21:59 VZ, revision 71952

Update the date in the manual before 2.9.4 release. And mention the need to do it in the tech note for the next time.

2012-07-03 21:58 VZ, revision 71951

Updated readme and changelog for 2.9.4 release. Also add more things to do before the release to the tech note.

2012-07-03 21:41 VZ, revision 71950

Remove unnecessary checks for OS X 10.4 and gcc 4.0 in configure. As 10.4 is not supported any more, don't check for it. Also don't impose the use of gcc 4.0 for compiling wxOSX/Carbon as this compiler doesn't exist any more under OS X 10.7 but wxOSX/Carbon can be compiled using gcc 4.2 if 10.6 SDK is selected, so this change allows to build wxOSX/Carbon under 10.7.

2012-07-03 07:37 PC, revision 71948

synchronize GTK2 minimum version in docs

2012-07-03 00:59 VZ, revision 71947

Fix wxGTK compilation with MSVC after GTK+ 3 changes. Don't use preprocessor conditions inside a macro invocation, MSVC doesn't support this. Closes #14448.

2012-07-02 17:56 PC, revision 71946

add some mention of GTK3 support

2012-07-02 17:08 VZ, revision 71945

Temporarily disable the failing wxRichTextCtrl case. Disable CaretPosition() unit test as it is broken now. This is only temporary to allow tests to pass in 2.9.4, will be reenabled (and hopefully fixed) later.

2012-07-02 17:05 VZ, revision 71944

Clear larger area in wxGCDC::Clear(). Clearing a rectangle of size 32000 was not always enough to clear the entire DC, so use INT_MAX instead -- this is the best we can do with the current approach. Closes #13445.

2012-07-02 17:03 VZ, revision 71943

Keep client data in sync when deleting items from wxOSX wxComboBox. Correspondence between item indices and their client data was broken if any items were deleted or the combobox was cleared entirely. Fix this by updating the client data array whenever this happens. Closes #14147.

2012-07-02 17:03 VZ, revision 71942

Preserve client data in wxComboBox::SetString() in wxOSX/Cocoa. Don't reset the client data to NULL when we're just changing the item text. Closes #14146.

2012-07-02 17:03 VZ, revision 71941

Set string in wxEVT_COMMAND_COMBOBOX_SELECTED event in wxOSX/Cocoa. Pass the selected string and not only its index in the event generated when combobox selection changes in wxOSX/Cocoa. Closes #14383.

2012-07-02 17:02 VZ, revision 71940

Add extra border below the buttons in the generic log dialog. This fixes the problem with the dialog appearance in wxOSX/Cocoa where the bottom of the buttons was truncated otherwise and arguably makes the dialog look slightly better in the other ports too. Closes #14398.

2012-07-02 16:36 VZ, revision 71939

Fix wxDataViewChoiceRenderer behaviour in wxOSX/Cocoa. Changing the value of a "choice" cell in wxDataViewCtrl didn't work correctly in wxOSX/Cocoa because wxDataViewChoiceRenderer used the base class version of OSXOnCellChanged() which passed the integer index we received from NSOutlineView to the model instead of the expected string. Fix this by overriding OSXOnCellChanged() in wxDataViewChoiceRenderer itself and using its argument as an integer index of the selection because this is what it is, at least under OS X 10.7. Closes #14373.

2012-07-02 14:46 VZ, revision 71938

No changes, just suppress an unused parameter warning in wxOSX build. This one was especially annoying as it occurred in a header included by a couple of dozens of files.

2012-07-02 14:36 SC, revision 71937

adapting new osx modifier handling, fixes #14377

2012-07-02 13:54 SC, revision 71936

handling illegal fsrefs by returning an empty string, fixes #14384

2012-07-02 13:50 SC, revision 71935

guarding against invalid files passed to 'pdoc' apple event, see #14384

2012-07-02 13:47 SC, revision 71934

guarding against invalid files passed to 'odoc' apple event, see #14384

2012-07-02 12:28 VZ, revision 71933

Allow using wxGridCellEnumEditor with the mouse. Previously the combobox was immediately dismissed when the mouse was used. Fix this by copying the code from wxGridCellChoiceEditor to this class. This is obviously not ideal and both classes should be refactored to avoid this in the future but for now this at least fixes the user-visible problem. Closes #13943.

2012-07-02 04:58 RD, revision 71929

Add COMPILER_VERSION to nmake command line

2012-07-02 02:16 VZ, revision 71928

Show gstreamer errors in wxGStreamerMediaBackend to the user. If the media file fails to play, we really need to show to the user the corresponding gstreamer error, otherwise there is no way to understand what the problem is. Collect the errors in gst_error_callback() and show them from the main thread if we get a gstreamer error.

2012-07-02 02:16 VZ, revision 71927

Use wxFileSystem::FileNameToURL() in wxGStreamerMediaBackend. Converting files to URIs is not as simple as just prepending "file://" to them, notably we need to escape characters that are special in URIs such as "#" and "%", so use FileNameToURL() which already does do it correctly. Closes #13663.

2012-07-02 02:16 VZ, revision 71926

Fix command line parsing in media player sample. It was broken since the addition of the call to wxApp::OnInit() to wxMediaPlayerApp::OnInit() -- as the base class parses the command line itself, we need to use OnInitCmdLine() and OnCmdLineParsed() instead of doing it manually if we call it. Also don't load the play list saved in wxConfig if any command line parameters were given as otherwise the saved files would be used first (this seems to have been always broken...).

2012-07-02 00:39 VZ, revision 71925

Fix wxMSW compilation without PCH. Include wx/bitmap.h as we need its GetHBITMAP() method in wx/msw/dib.h.

2012-07-01 23:35 VZ, revision 71924

Use COMPILER_VERSION and ARCH_SUFFIX in libraries names in Windows makefiles. For the official builds (only), include the compiler version and the architecture suffix, unless it's the default x86, into the DLL names, to allow their concurrent installations for multiple compiler versions and architectures. Closes #13857.

2012-07-01 23:35 VZ, revision 71923

No real changes, just rename DIR_SUFFIX_CPU to ARCH_SUFFIX in bakefiles. This will be soon used in the libraries names and not only in the directory paths so rename the variable to make things more clear (or at least less confusing).

2012-07-01 23:10 VZ, revision 71922

Forward WM_{CUT,COPY,PASTE} from edit control to wxComboBox in wxMSW too. This allows us to receive wxClipboardTextEvents from wxComboBox as well. Update the documentation to mention this.

2012-07-01 21:10 PC, revision 71921

remove some unused files from GTK3 build

2012-07-01 19:44 PC, revision 71920

eliminate possibility of configure enabling gnomeprint with GTK3

2012-07-01 19:13 SC, revision 71919

using common code

2012-07-01 19:03 SC, revision 71918

common code for normalization

2012-07-01 18:43 PC, revision 71917

override DoSetValue() to avoid unnecessary clipboard operations, fixes #14369

2012-07-01 17:46 SC, revision 71916

native drop target method for cocoa

2012-07-01 17:46 SC, revision 71915

native hook for supported datatypes

2012-07-01 17:45 SC, revision 71914

adding native hook for drop target

2012-07-01 15:20 SC, revision 71913

make sure the pasteboard paste location is only set once

2012-07-01 13:35 VZ, revision 71912

Implement wxDisplay::GetFromWindow() for wxGTK/Windows. As wxWindow doesn't have an associated HWND when using wxGTK, use MonitorFromPoint() instead of MonitorFromWindow() for this port. Closes #14408.

2012-07-01 13:35 VZ, revision 71911

Fix the use of AutoHBITMAP in recently added LoadImageFromResource(). Assignment operator of AutoHBITMAP doesn't work as expected (and probably should be removed/fixed), avoid its use by explicitly calling Init(). Closes #14425.

2012-07-01 01:41 VZ, revision 71910

No changes, just suppress an unused variable warning. Omit the name of the exception object that we never use.

2012-07-01 01:41 VZ, revision 71909

VC6 compilation fix for the grid sample. Use Connect() instead of Bind() which is not available for VC6.

2012-07-01 01:41 VZ, revision 71908

Make wxBookCtrlBase::GetPage() virtual to fix it for wxAuiNotebook. wxAuiNotebook doesn't store its page in the base class m_pages array, so calling GetPage() on it via a wxBookCtrl pointer resulted in a crash. Make GetPage() virtual to allow overriding it at wxAuiNotebook level. Closes #13768.

2012-07-01 01:41 VZ, revision 71907

Add skeleton documentation for wxAuiNotebook-related classes. Closes #14386.

2012-07-01 01:41 VZ, revision 71906

Implement hatched/stippled pens/brushes in wxGraphicsContext for Cairo. Refactor the pen/brushes classes to introduce a common base class for them containing their colour and hatch pattern and stipple bitmap, if any. And actually create the hatched pattern and use it. Closes #11981.

2012-07-01 01:41 VZ, revision 71905

Added internal wxHatchStyle enum. It's annoying that the same code for hatched pens and brushes can't be reused without relying on deprecated wxXXX_HATCH constants, so add new, non-deprecated, wxHatchStyle enum that can be used in such code.

2012-06-30 22:59 RD, revision 71897

Only disable generation of dependencies if more than one architecture is being built.

2012-06-30 22:59 RD, revision 71896

Move a couple standard virtuals to protected sections so they can be overridden in derived classes

2012-06-30 22:59 RD, revision 71895

Interface fix for Phoenix

2012-06-30 22:39 PC, revision 71894

support for GTK3

2012-06-30 18:33 VZ, revision 71893

Force wide char environment version initialization in wxGetEnvMap(). When using MSVC CRT, the wide character version of the environment is not always initialized when using main() (and not _wmain()) as entry point, so force initializing it before using _tenviron. Closes #14231.

2012-06-30 18:33 VZ, revision 71892

Add a unit test verifying that wxSpinCtrl ctor doesn't generate any events. This shouldn't happen but did (and apparently still does, sometimes) under MSW so add a test verifying that no events are generated by the ctor. See #14428.

2012-06-30 18:33 VZ, revision 71891

Use wxString::t_str(), not fn_str(), with Windows API functions. fn_str() is supposed to be used with the CRT functions taking file names only, not Windows API functions that always take LPCTSTR with all compilers/CRT versions. Closes #14433.

2012-06-30 18:33 VZ, revision 71890

Define wxEntry() with WinMain-compatible signature for all Windows ports. Make wxEntry(HINSTANCE, ...) available in wxGTK under Windows too. Refactor the headers to allow this and extract Windows-specific wxEntry() declarations in wx/msw/init.h from wx/msw/app.h for consistency with the normal wxEntry(int, char**) declared in wx/init.h. Closes #14423.

2012-06-30 18:33 VZ, revision 71889

Use bitmaps from resources by default in wxGTK under Windows. Use wxBITMAP_TYPE_{BMP,CUR,ICON}_RESOURCE by default under Windows, even for non-wxMSW ports. Also allow loading wxImage from resources in all ports under MSW as a side effect of this change. Closes #14425.

2012-06-30 18:33 VZ, revision 71888

Add wxRibbonBar::DeletePage() and ClearPages() methods. Also add a trivial GetPageCount() helper. Closes #14437.

2012-06-30 18:33 VZ, revision 71887

Update debugging macros overview in the docs. Describe how the debugging macros really work since 2.9.1, i.e. explain wxDEBUG_LEVEL and NDEBUG instead of __WXDEBUG__. Closes #14435.

2012-06-30 18:33 VZ, revision 71886

Create wxStaticBoxSizer elements as children of wxStaticBox in XRC. As we now recommend creating the controls shown inside wxStaticBox as its children, and not siblings, follow our own recommendation by doing just this in XRC handler of wxStaticBoxSizer. Also add a test of using a tooltip with a wxStaticBoxSizer element to the XRC demo showing that tooltips do work now for them, unlike before. Closes #14431.

2012-06-30 18:33 VZ, revision 71885

Don't hard code horizontal border for wxStaticBox in wxGTK. Compute the border width from the average character width instead of hard coding it to 5 pixels. Probably doesn't make much difference in practice, but seems to make more sense.

2012-06-30 18:33 VZ, revision 71884

Fix vertical offset for wxGTK wxStaticBox without label. Don't use different size for the vertical border in wxStaticBox just because it doesn't have any label, this just doesn't seem necessary and results in different appearance for the static box with and without label. Closes #14430.

2012-06-30 01:55 VZ, revision 71883

Fix generation of wxEVT_CHAR in wxMSW wxComboBox. wxEVT_CHAR shouldn't be generated at all if wxEVT_KEY_DOWN was handled but it still was for wxComboBox because the code in its MSW implementation directly called HandleKeyDown() and HandleChar() methods, bypassing the logic dealing with m_lastKeyDownProcessed at wxWindow level. Fix this by calling MSWHandleMessage() instead to ensure that WM_CHAR after a handled WM_KEYDOWN are ignored as they ought to.

2012-06-29 08:44 JJ, revision 71881

Add wxUSE_COMPILER_TLS to OpenVMS setup file

2012-06-28 14:11 SC, revision 71879

unconditionally include coretext-replacement function when having a deployment target of 10.5

2012-06-28 13:58 VZ, revision 71878

Fix off by 1 error in wxHTML font size from points calculation. m_FontSize is in 1..7 range, not 0..6, so add 1 to it when setting it from the index into m_FontsSizes array. Also update the comment explaining the valid range of m_FontsSize. Closes #14442.

2012-06-28 08:55 RD, revision 71876

Interface fix for Phoenix

2012-06-26 20:25 RD, revision 71866

Don't hide the m_mm_to_pix_x and m_mm_to_pix_y in the base class by redefining them in a derived class. Fixes #14399.

2012-06-26 04:01 RD, revision 71862

Add missing parent classes

2012-06-25 17:23 SC, revision 71859

adding new API needed for screenshots as old method stopped working in 10.7

2012-06-25 10:02 JS, revision 71857

Fix for page break problem: fixes #14429

2012-06-24 18:18 PC, revision 71856

update size hints when decoration size becomes known, and preserve size hint increments

2012-06-24 08:33 PC, revision 71855

implement wxCairoContext::GetPartialTextExtents for wxGTK

2012-06-23 14:27 VZ, revision 71844

Clarify wxFileOffset description a bit. It wasn't clear how wxFileOffset was defined under Windows without wxHAS_HUGE_FILES.

2012-06-23 05:33 PC, revision 71843

properly handle stupidly small maximum size hints

2012-06-23 02:44 RD, revision 71835

Add simple document for wxGUIEventLoop

2012-06-22 08:41 PC, revision 71831

fix SetSizeHints when wxDefaultSize is given for min or max size GTK does unexpected things if both min and max size are not explicitly set

2012-06-21 22:12 JS, revision 71830

Fixed #14429: Printing a large table in wxRichTextCtrl fails

2012-06-21 21:12 JS, revision 71828

Prevent index access error

2012-06-21 20:39 JS, revision 71827

Compilation fix

2012-06-21 15:19 VZ, revision 71825

Don't call gtk_window_set_geometry_hints() if there are no hints to set. Calling gtk_window_set_geometry_hints() with the hints mask of 0 doesn't work correctly and sets the window size to the smallest possible. Avoid this by simply not calling this function at all if there is nothing to do.

2012-06-20 20:24 VZ, revision 71824

Add MSVS autoexp.dat fragment for some common wxWidgets types. As we have gdb pretty printers under the version control, it makes sense to also put MSVS visualizers there as well.

2012-06-20 19:54 VZ, revision 71823

Use wx/msw/winundef.h for wxGTK under Windows too. Avoid clashes due to <windows.h> definitions in wxGTK too. Closes #14427.

2012-06-20 19:54 VZ, revision 71822

No real changes, just simplify wxGDIPlusContext::GetTextExtent() a bit. Don't call Font::GetSize() and FontFamily::GetEmHeight() thrice, just do it once and store the results. This makes the code both simpler and shorter and marginally more efficient.

2012-06-20 19:54 VZ, revision 71821

Fix text extent computation in wxMSW wxGraphicsContext. The results were incorrect for italic or bold fonts as we hardcoded FontStyleRegular instead of using the real font style. Closes #14421.

2012-06-20 19:54 VZ, revision 71820

Add missing c_str() and similar calls to samples in STL build. Don't rely on implicit conversion of wxString to char*/wxChar*, it doesn't exist in STL build. Add explicit c_str(), wc_str() or t_str() calls. Closes #14420.

2012-06-20 19:54 VZ, revision 71819

Use C, not C++, comments in wx/gtk/chkconf.h. Remove C++ comments added in r71796. See #14412.

2012-06-20 19:10 RD, revision 71811

Interface tweaks for Phoenix

2012-06-20 12:34 SC, revision 71810

make sure native font exists, before asking about fixed width

2012-06-20 09:16 SC, revision 71809

using UTType constants wherever possible to avoid typos, checking for failed conversions, leveraging native conversion of types, fixes #13442

2012-06-18 22:27 SC, revision 71808

supporting promised file urls for transfer, see #14281

2012-06-18 20:45 JS, revision 71806

Fixed #14417: wxRichTextCtrl crashes on LoadFile

2012-06-18 18:11 PC, revision 71805

build fix for wxUSE_STL==1

2012-06-18 17:13 SC, revision 71804

supporting promised file urls for transfer, see #14281

2012-06-18 04:14 RD, revision 71800

Interface fixes for Phoenix

2012-06-17 23:35 VZ, revision 71799

Fixes for building wxGTK under Cygwin. Test for __WXMSW__ instead of __CYGWIN__ to not affect building non-MSW ports such as wxGTK under Cygwin. See #14382.

2012-06-17 23:35 VZ, revision 71798

Disable creation of wxDIB from wxBitmap in non-wxMSW ports. wxDIB can now be used with wxGTK under Windows, i.e. when not using wxMSW version of wxBitmap but it can't be created from wxBitmap then as it doesn't have a corresponding HBITMAP. Simply disable this functionality when not using wxMSW. Closes #14414.

2012-06-17 23:35 VZ, revision 71797

Move wxBell() from base to core library. This allows to get rid of ugly preprocessor checks due to the fact that this function could be defined in one or the other library depending on the port used and also fix a problem with it being defined differently in the base library depending on which GUI port (Carbon or Cocoa) was used under OS X. It also fixes the problem with wxBell() in wxGTK under Windows. Closes #14406.

2012-06-17 23:35 VZ, revision 71796

Disable options that don't work with wxGTK in wx/chkconf.h. When building wxGTK under Windows, some MSW-specific options can be defined but can't be implemented when using GTK, forcefully disable them. Also a few others that could be implemented but that don't work currently. Finally, forcefully enable Cairo support as wxGTK always needs it. Closes #14412.

2012-06-17 23:34 VZ, revision 71795

Define wxGTK GTK version symbols in GTK-specific setup.h. When not using configure __WXGTKxxx__ symbols should still be defined, assume we use a recent GTK 2.x version and define all of them. Closes #14411.

2012-06-17 23:34 VZ, revision 71794

Don't use Unix-specific wxGTK utility functions under non-Unix. Unix-specific functions shouldn't be used under Windows, add "#ifdef __UNIX__" guards around them. Closes #14410.

2012-06-17 23:34 VZ, revision 71793

Provide wxGetKeyState() studfor wxGTK under Windows. Under Unix this function is implemented in X11-specific code, so provide a stub under Windows to at least avoid link errors. Closes #14409.

2012-06-17 23:34 VZ, revision 71792

Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support. Compiler TLS support is broken under Win32/MSVC when used for a code which is part of a dynamically loaded DLL, so allow disabling it.

2012-06-17 19:08 PC, revision 71791

update version check for glib 2.32

2012-06-16 01:23 VZ, revision 71789

No real changes, just use wxSize::Get{Width,Height} and not Get{X,Y}. Use more readable accessors in wxGrid code to avoid confusion between wxGrid (x, y) coordinates and wxSize (x, y) fields. Closes #14347.

2012-06-16 01:23 VZ, revision 71788

Remove unnecessary base class OnPaint() call from wxGenericColourDialog. Events should be skipped instead of calling the base class event handler directly, but in this case even this is not needed as wxGenericColourDialog takes care of processing the event completely. Closes #14405.

2012-06-16 01:23 VZ, revision 71787

Remove left over conflict markers from documentation. Closes #14404.

2012-06-16 01:23 VZ, revision 71786

Fix compilation of MSW wxFSVolume with non-wxMSW ports. There is no way to construct wxIcon from HICON when not using wxMSW, just leave it unimplemented for non-wxMSW ports. Closes #14402.

2012-06-16 01:23 VZ, revision 71785

Fix harmless MSVC warning about converting pointer to bool. Compare the pointer with NULL explicitly to avoid "forcing value to bool" warning C4800 from MSVC in richtext code.

2012-06-16 01:23 VZ, revision 71784

Only use Unix sockets API under Unix in wxGTK. wxGTK can now be used under Windows where Unix sockets are not available, add a __UNIX__ preprocessor check. Closes #14407.

2012-06-15 19:48 SC, revision 71783

trying to improve appearance of gridcelltexteditor under OSX, see #14042

2012-06-15 18:57 SC, revision 71782

avoid idling in native file dialogs

2012-06-15 18:24 SC, revision 71781

better naming wxCFEventLoopPauseIdleEvents

2012-06-15 02:04 SC, revision 71779

using suppression of idle processing (delayed destruction happened too early eg when showing native message boxes)

2012-06-15 02:03 SC, revision 71778

offer suppression of idle processing (delayed destruction happened too early eg when showing native message boxes)