These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2014-04-17 09:30:04

Select Changelog:

FileZilla 3, FileZilla,
FileZilla Server, wxWidgets

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (68399 changes):

2011-06-19 22:52 PC, revision 67985

fix GTKGetLabel() and DoApplyWidgetStyle(): children are GtkWidget, not GtkBoxChild

2011-06-18 21:40 SC, revision 67984

adding universal as devices

2011-06-18 18:47 SC, revision 67983

adding universal as devices

2011-06-18 18:46 SC, revision 67982

adding instantiated xcodeproj

2011-06-18 17:53 SC, revision 67980

removing obsolete flags, switching to universal builds

2011-06-18 17:23 SC, revision 67979

fixing iphone build

2011-06-18 16:30 SC, revision 67978

updating project format to 3.2

2011-06-18 16:21 SC, revision 67977

removing old settings

2011-06-18 14:03 PMO, revision 67976

Update to trunk r67975

2011-06-18 13:32 PMO, revision 67975

Added panel.h, panel.cpp

2011-06-18 13:28 PMO, revision 67974

Use common Init

2011-06-17 23:53 VZ, revision 67973

Fix g++ warnings about initialized variables being declared extern. Don't declare variables extern when initializing them, this is already the case implicitly anyhow and explicit "extern" results in g++ warnings.

2011-06-17 23:53 VZ, revision 67972

Use GdipStringFormatCachedGenericTypographic hack for MinGW as well. When using GDI+ with MinGW, the same hack as for Cygwin is needed (see r66787) as it uses the same w32api headers and libraries for GDI+ support (if it has them at all). See #11716.

2011-06-17 23:53 VZ, revision 67971

Don't use __declspec(dllexport) for MinGW gcc 4.5 and later. Due to the changes in gcc 4.5, copies of dllexported inline functions are now generated in all object files including their declarations, increasing their sizes tenfold, and they are also now instantiated in the DLL itself increasing its size fourfold. Moreover, linking such a gigantic DLL requires inordinate amounts of memory and takes a very long time, see some statistics at To avoid all these problems, don't use dllexport at all any more but rely on binutils support for auto export/import which seems to work fine and results in much smaller DLLs which are created much faster.

2011-06-17 23:53 VZ, revision 67970

Avoid problems with conflicting UINT16 definitions in Cygwin headers. UINT16 is incorrectly defined inside Gdiplus namespace in w32api gdiplus.h used by Cygwin and MinGW resulting in compilation errors about ambiguous symbols. Fix this by forcefully redefining UINT16 in our own code. Closes #13113.

2011-06-17 07:02 JC, revision 67969

Tried to make sample/minimal work. Several bugs has been found and fixed. But samples/minimal still does not work. dcscreen and dcclient remain a lot to modify

2011-06-16 18:22 VZ, revision 67968

Fix wxStringOutputStream in wxUSE_UNICODE_UTF8 build. For some reason the conversion of the bytes written to this stream to Unicode was only done in wxUSE_UNICODE_WCHAR build but not in wxUSE_UNICODE_UTF8 one. Do it in any wxUSE_UNICODE build now. This allows to use wxStringOutputStream under Unix again, in particular it fixes an assert in samples/html/zip when trying to load the raw contents of a ZIP file in wxHtmlWindow.

2011-06-16 18:14 VZ, revision 67967

Italian translations update from Roberto Boriotti.

2011-06-16 18:12 VZ, revision 67966

Italian translations update from Roberto Boriotti.

2011-06-16 17:19 VZ, revision 67965

Disable wxFileSystemWatcher in configure if threads are disabled. wxFileSystemWatcher requires threads under MSW so disable it automatically in configure if --disable-threads was used to avoid compilation errors in wx/msw/chkconf.h later.

2011-06-16 17:14 VZ, revision 67964

Suppress various harmless warnings in MinGW build with -Wconversion. No real changes, simply add casts to make the implicit conversions that g++ warns about when using -Wconversion explicit.

2011-06-16 17:13 VZ, revision 67963

Make wxUIActionSimulator mouse move events marginally more precise. Round the values instead of truncating them when converting from pixel values to Win32 ::mouse_event() 0..65535 scale. This probably doesn't make any real difference in practice but seems more correct and also avoids g++ warnings.

2011-06-16 17:13 VZ, revision 67962

Use symbolic WAIT_FAILED constant instead of raw -1. No real changes, just make the code slightly more readable by using a symbolic constant instead of a magic value. This also avoids g++ warnings about implicit conversion of a signed value (-1) to unsigned type (DWORD).

2011-06-16 17:13 VZ, revision 67961

Round the values in wxDC coordinate calculations. Make the conversion of logical coordinates to the device ones more precise by avoiding errors due to truncation of floating point values to integer ones. See #13284.

2011-06-16 17:13 VZ, revision 67960

Round font sizes in AdjustToSymbolicSize() instead of truncating. This was mainly done to suppress g++ warning about implicit float to int conversion but it also seems to make more sense to round the value here instead of truncating it to int.

2011-06-16 11:07 JJ, revision 67959

add src/gtk/anybutton.cpp to OpenVMS makefile

2011-06-16 09:54 JC, revision 67958

Milestone 1: Preliminary port to gtk3 has been done. Compilation pass

2011-06-16 02:43 RD, revision 67949

Use wxAnyButton's DoGetBestSize for toggle buttons

2011-06-15 23:56 VZ, revision 67948

Generic wxHyperlinkCtrl appearance and behaviour improvements. Show focus rectangle around the control when it has focus. Also handle the space key to trigger the link. Also allow using either the native or generic version of the class in the widgets sample. Closes #11285.

2011-06-15 23:56 VZ, revision 67947

Don't crash in wxOSX wxTextEntry if the window wasn't created yet. Assert instead of crashing in wxTextEntry method if the associated window hadn't been fully created yet. Closes #13218.

2011-06-15 23:31 VZ, revision 67946

Fall back to the valid normal bitmap if no state-specific bitmap is set. After the recent changes we could try to use an invalid bitmap in wxMSW toggle button code as GetNormalState() could return State_Pressed and then we used the bitmap for the pressed state unconditionally even if it wasn't set. It seems more correct to always fall back to the normal bitmap as the pressed state is already taken into account by GetButtonState(). This fixes unit test failures under MSW after the button classes refactoring.

2011-06-15 16:19 LV, revision 67945

* Downgraded to Xcode 3 from Xcode 4 * Tabs -> spaces

2011-06-15 15:33 VZ, revision 67944

Fix keyboard navigation in wxGrid with reordered columns. Don't mix up column internal indices and display positions in wxGrid keyboard navigation code. This ensures that pressing left/right cursor arrows always moves the cursor to the previous/next column on the display, even if the columns were reordered. Closes #13281.

2011-06-15 15:33 VZ, revision 67943

Rename some parameters in wxGrid code to make them more clear. No real changes, just call the variables containing display positions "pos" and not "line" in wxGridOperations to avoid giving the impression that they contain indices.

2011-06-15 15:33 VZ, revision 67942

Fix crash when creating and quickly destroying a wxTLW in wxGTK. Don't crash in timer callback added to work around broken Ubuntu 11.04 WM, remove it when the window is being destroyed. This corrects a crash which happened if a TLW was created and destroyed before this timer had time to fire under Ubuntu. Closes #13146.

2011-06-15 15:14 JS, revision 67941

Removed header guards

2011-06-15 09:55 JS, revision 67940

Caret dropout fix

2011-06-15 09:54 JS, revision 67939

Caret dropout fix

2011-06-15 09:28 JC, revision 67938

window.cpp has been port to gtk3

2011-06-15 01:24 LV, revision 67937

Interface and dummy (stub) implementation of native wxMobile

2011-06-15 00:19 RD, revision 67936

wxButtonBase::GetDefaultSize is declared but not implemented in the wxOSX-cocoa port. Add an implementation that uses wxAnyButton::GetDefaultSize.

2011-06-15 00:05 JC, revision 67935

wx_gtk.cpp has been ported to wxgtk3

2011-06-14 23:15 SJL, revision 67934

Add wxWebView backend wxUSE_ macros

2011-06-14 20:46 JC, revision 67933

toplevel.cpp passed the compilation

2011-06-14 17:18 LV, revision 67932

native (iOS) Xcode mobiledemo target

2011-06-14 15:00 VZ, revision 67931

Refactor wxButton and wxToggleButton to derive from wxAnyButton. Introduce wxAnyButton class, a common base class for wxButton and wxToggleButton, allowing to reuse the same implementation for them. This also allows to implement support for bitmaps in wxToggleButton for all platforms and make wxBitmapToggleButton a trivial subclass of it everywhere, similarly to wxBitmapButton and wxButton. Closes #13198.

2011-06-14 09:04 JC, revision 67930

Making effort to port toplevel.cpp to gtk+3 even though there is compilation error messages

2011-06-14 06:22 PC, revision 67929

ensure new menubar is sized correctly, fixes #13280

2011-06-13 04:47 JC, revision 67928

My previous port work has been completely merged to wxWidgets GSOC2011 branch. The future port will be totally based one this branch.

2011-06-13 04:00 JC, revision 67927

The code of gtk2 and gtk3 differs a lot, so I push the compilation through. Need to be fixed in future

2011-06-13 01:16 JC, revision 67926

Merged aboutdlg.cpp and app.cpp

2011-06-12 23:19 JC, revision 67925

Added __WXGTK30__ flag in needed include/wx/* headers

2011-06-12 09:00 JC, revision 67924

Merged clipbrd.h and clipbrd.cpp

2011-06-12 08:02 JC, revision 67923

Merged bitmap.h

2011-06-12 05:39 SC, revision 67922

adding docset processing instructions

2011-06-12 04:47 SC, revision 67921

adding lighter css variant for xcode docsets

2011-06-12 01:56 VZ, revision 67920

Implement wxDataViewCtrl::SetRowHeight() for wxGTK. Also document that this method can only be used to increase the row height compared to the default, not to make it smaller. See #12749.

2011-06-11 17:41 SC, revision 67917

adding more specific info for docset

2011-06-11 05:08 LV, revision 67916

wxmobile-demo now builds/runs on OSX (sort of); Xcode project added

2011-06-11 01:48 LV, revision 67915

autogen'ed configure

2011-06-10 08:25 JC, revision 67914

Merged assertdlg_gtk.cpp and bitmap.h

2011-06-10 05:12 SC, revision 67913

adding implementation for osx

2011-06-10 01:05 SC, revision 67912

adding implementation for osx

2011-06-10 01:05 SC, revision 67911

adding default interpolation enum

2011-06-09 23:44 SC, revision 67910

fixing test, adding minimal docs

2011-06-09 23:38 SC, revision 67909

adding placeholders for interpolation setting

2011-06-09 09:18 JC, revision 67907

Initial effort to merge my previous port from src/gtk3 to src/gtk

2011-06-09 05:30 JC, revision 67906

Update tags files for easy browsing

2011-06-09 03:25 SC, revision 67905

fixing two warnings

2011-06-09 03:24 SC, revision 67904

fixing memory leak

2011-06-09 03:09 SC, revision 67903

inner layout support

2011-06-09 03:08 SC, revision 67902

adapting ownership semantics to cocoa convention

2011-06-09 03:07 SC, revision 67901

init pattern

2011-06-09 02:32 SC, revision 67900

better ownership handling

2011-06-09 02:31 SC, revision 67899

guard against nullptr

2011-06-09 02:30 SC, revision 67898

using common colorspace method

2011-06-09 02:29 SC, revision 67897

add member for sheetdialog

2011-06-09 02:28 SC, revision 67896

add member for sheetdialog

2011-06-09 02:24 SC, revision 67895

better retain/release semantics

2011-06-09 01:05 SC, revision 67894

adapting to init pattern

2011-06-09 01:05 SC, revision 67893

adding fallback

2011-06-09 01:02 SC, revision 67892

newstate already set

2011-06-09 01:01 SC, revision 67891

adding fallback

2011-06-09 01:00 SC, revision 67890

making intention clearer by explicit parentheses

2011-06-09 00:58 SC, revision 67889

fixing uninit vars warning and memory errors

2011-06-09 00:50 SC, revision 67888

adapting to init pattern

2011-06-09 00:48 SC, revision 67887

adapting to init pattern

2011-06-08 10:19 JC, revision 67886

Added personal settings about tag generation and vim

2011-06-08 00:49 VZ, revision 67885

Add wxDataViewCtrl::SetRowHeight() and provide its generic implementation. Allow changing the (fixed) row height without using wxDV_VARIABLE_LINE_HEIGHT which may slow down the control display too much. The new method is not implemented for the native GTK and OS X implementations yet but should be simple to implement there. See #12749.

2011-06-08 00:49 VZ, revision 67884

Update status bar fields widths from WM_SIZE handler. Doing it immediately after calling ::SetWindowPos(), as we used to do, didn't work correctly (presumably because the status bar fields widths were not updated yet internally) and resulted in not updating the ellipsized fields values when "Show window contents while dragging" Windows option was off. Doing it when we get WM_SIZE works in this case too. Closes #13257.

2011-06-08 00:27 VZ, revision 67883

Handle colours with alpha channel correctly in wxSVGFileDC. wxColour::GetAsString(wxC2S_HTML_SYNTAX) doesn't accept colours with alpha channel as alpha is not representable in HTML syntax, so avoid calling this function with such colours, remove the alpha component in the caller before using it instead. Also slightly simplify wxBrushString() and wxPenString() functions code in wxSVGFileDC implementation. Closes #13214.

2011-06-07 18:48 VZ, revision 67882

Replace more DECLARE_CLASS occurrences with DECLARE_DYNAMIC_CLASS. Correct more mismatches between DECLARE_CLASS and IMPLEMENT_DYNAMIC_CLASS usage.

2011-06-07 18:24 PC, revision 67881

avoid direct struct access for GTK3

2011-06-07 16:28 VZ, revision 67880

Use DECLARE_DYNAMIC_CLASS instead of DECLARE_CLASS. Correctly use DECLARE_DYNAMIC_CLASS for the classes that are supposed to be dynamically creatable as using DECLARE_CLASS doesn't work any longer after the last commit.

2011-06-07 15:06 VZ, revision 67879

Make wxDECLARE_CLASS synonym of wxDECLARE_ABSTRACT_CLASS. Previously wxDECLARE_CLASS was a synonym for wxDECLARE_DYNAMIC_CLASS which was inconsistent with its documentation and wxIMPLEMENT_CLASS that was the same as wxIMPLEMENT_ABSTRACT_CLASS. Resolve this in the most backwards compatible and also arguably logical way.

2011-06-07 15:06 VZ, revision 67878

2011-06-07 07:56 JC, revision 67877

Added WXGTK3 support

2011-06-07 07:45 JC, revision 67876

Added WXGKT3 flag

2011-06-07 04:27 JC, revision 67875

Rename from .c to .cpp to make bakefile and make happy

2011-06-07 04:20 JC, revision 67874

Modified bakefile file.bkl to hold gtk3 source files

2011-06-07 01:23 SC, revision 67873

using higher abstraction to allow for optimized implementations

2011-06-07 01:15 SC, revision 67872

speeding up rectangle drawing by using specific methods, needs 40% less time

2011-06-06 23:13 SC, revision 67871

10.4 compatibility

2011-06-06 23:12 SC, revision 67870

reverting to idle handling

2011-06-06 22:13 JC, revision 67869

Migrated to gtk3

2011-06-06 22:13 JC, revision 67868

Migrated to gtk3

2011-06-06 21:19 SC, revision 67867

turning off unconditional usage of filter-delegate, using native capabilities under 10.6, proper handling of empty default directories for dialogs by passing in nil to native calls,

2011-06-06 18:32 SC, revision 67866

supporting nested window disablers on the same window

2011-06-06 17:53 JC, revision 67865

Fixed UNICODE support in

2011-06-06 17:39 JC, revision 67864

Added gtk3 define entry in

2011-06-06 09:09 JC, revision 67863

Define -D__WXGTK3__

2011-06-06 04:28 SC, revision 67862

supporting native background color on wxWindow descendants that are not themselves native controls, like eg wxPanel , see #13032

2011-06-05 22:26 LV, revision 67861

autogen'ed configure

2011-06-05 18:08 SC, revision 67860

supporting native background on nonownedwindow, see #13032

2011-06-05 17:32 SC, revision 67859

adding another assert for tracking modalSession problems

2011-06-05 11:26 LV, revision 67858

Merged JS's wxMobile proposal ( incl. vector artwork

2011-06-03 19:18 JS, revision 67850

Removed erroneous second reference to status bar height

2011-06-03 19:18 JS, revision 67849

Removed erroneous second reference to status bar height

2011-06-03 19:17 JS, revision 67848

Added missing defines

2011-06-03 11:15 SC, revision 67847

allowing more system keys in fullscreen mode, properly taking framestyle into account

2011-06-02 11:25 SC, revision 67843

first implementation for state on custom renderer, see #12890

2011-06-02 10:36 SC, revision 67842

fixes #12867

2011-06-02 10:19 SC, revision 67841

reactivate commented out method

2011-06-02 10:18 SC, revision 67840


2011-06-02 08:30 JC, revision 67839

Added -with-gtk=3 flag

2011-06-02 06:51 JC, revision 67838

Added gtk3 flag

2011-06-02 06:50 JC, revision 67837

Added gtk3 flag

2011-06-02 05:18 JC, revision 67835

2011-06-02 00:58 VZ, revision 67832

No changes, just avoid unused parameters warnings. Wrap parameters of the stub implementation of the newly added StartEditor() in WXUNUSED().

2011-06-01 22:05 SC, revision 67831

first stab at supporting custom renderers

2011-06-01 20:56 JC, revision 67830

2011-06-01 20:50 JC, revision 67829

2011-06-01 19:31 JC, revision 67828
  • D /wxWidgets/branches/SOC2011_GTK3/src/test.txt

deleted test.txt

2011-06-01 19:28 JC, revision 67827

Added a test.txt to see the version number chanage under git-svn

2011-05-31 21:36 RD, revision 67817

Virtualize StartEditor and add implementations for the ports that can do it.

2011-05-31 21:16 RD, revision 67816

Build fixes for using Cairo on MSW.

2011-05-31 19:16 PC, revision 67814

fix memory leak in wxScreenDC, fixes #13249

2011-05-31 10:09 SC, revision 67813

making sure

2011-05-31 07:53 JC, revision 67812

Added one entry in todo list

2011-05-31 07:14 JC, revision 67811

Import my previous gtk3 port

2011-05-31 07:14 JC, revision 67810

Try again with github

2011-05-31 06:30 JC, revision 67809

Added a TODO list

2011-05-31 05:07 JC, revision 67808

Recreate my branch for GTK3 port

2011-05-31 05:04 JC, revision 67807
  • D /wxWidgets/branches/SOC2011_GTK3

I decided to remove the old SOC2011_GTK3 branch and recreate one.

2011-05-28 21:35 VZ, revision 67806

Free calloc()'d pointer correctly in wxFSWatchEntryMSW. OVERLAPPED struct was allocated using calloc() but deleted later. Fix this by deallocating it with free() instead.

2011-05-27 21:47 SJL, revision 67805

Overhaul the wxWebView sample. Bring the style into line with the other samples and improve naming and consistency. Also use a wxInfoBar rather than a custom notification system.

2011-05-27 18:24 JC, revision 67804

Import my previous gtk3 work

2011-05-27 14:25 DS, revision 67802

Fixed saving GIFs on big-endian architectures. Word (16 bits) values were written in the wrong order resulting in invalid GIF files on for example PowerPC machines.

2011-05-27 11:46 VZ, revision 67801

Use #ifdef, not #if, to check for __WXGTK26__ symbol. This fixes gcc warning given if __WXGTK26__ is not defined (which almost never happens nowadays but still).

2011-05-27 08:32 JC, revision 67800
  • D /wxWidgets/branches/SOC2011_GTK3/interface

Remove interface directory

2011-05-27 08:31 JC, revision 67799
  • D /wxWidgets/branches/SOC2011_GTK3/build

Remove build directory

2011-05-27 08:14 JC, revision 67798
  • D /wxWidgets/branches/SOC2011_GTK3/lib

Remove lib directory and try to use symbolic link

2011-05-27 07:31 JC, revision 67797
  • D /wxWidgets/branches/SOC2011_GTK3/samples

Remove samples directory and try to use symbolic link

2011-05-27 07:29 JC, revision 67796
  • D /wxWidgets/branches/SOC2011_GTK3/distrib

Remove distrib directory and try to use symbolic link

2011-05-27 07:28 JC, revision 67795
  • D /wxWidgets/branches/SOC2011_GTK3/debian

Remove debian directory and try to use symbolic link

2011-05-27 07:27 JC, revision 67794
  • D /wxWidgets/branches/SOC2011_GTK3/utils

Remove utils directory and try to use symbolic link

2011-05-27 07:25 JC, revision 67793
  • D /wxWidgets/branches/SOC2011_GTK3/misc

Remove misc directory and try to use symbolic link

2011-05-27 07:23 JC, revision 67792
  • D /wxWidgets/branches/SOC2011_GTK3/locale

Remove locale directory and try to use symbolic link

2011-05-27 07:22 JC, revision 67791
  • D /wxWidgets/branches/SOC2011_GTK3/docs

Remove docs directory and try to use symbolic link

2011-05-27 07:17 JC, revision 67790
  • D /wxWidgets/branches/SOC2011_GTK3/demos

Remove demos directory and try to use symbolic link

2011-05-27 07:14 JC, revision 67789
  • D /wxWidgets/branches/SOC2011_GTK3/art

Remove art directory and try to use symbolic link

2011-05-26 21:53 SJL, revision 67788

Load the wxWidgets homepage by default in the wxWebView sample

2011-05-26 21:36 SJL, revision 67787

Do not show the wxWebView sample tools menu unless a page has been loaded. Originally it crashed but it doesn't make sense to change the zoom or view the source if there is no page loaded.

2011-05-26 21:17 SJL, revision 67786

Remove various bit of redundant code from the wxWebView sample source view dialog.

2011-05-26 20:43 SJL, revision 67785

Add a new event type for new window creation, document and implement under MSW. Update the sample to veto new window events, this means under Window we no long get Internet Explorer windows appearing for some links.

2011-05-25 13:26 SC, revision 67784

using systemui for full screen to allow modal dialogs

2011-05-25 10:37 JMS, revision 67783

In wxVListBoxComboPopup::Insert(), code adding client data was missing (fixes #13244)

2011-05-24 23:19 VZ, revision 67782

Correct the picker button best size computation. Fix the typo in the changes of r67763. See #13232.

2011-05-24 19:38 SC, revision 67781

guard against NULL textctrl, fixes #13247

2011-05-24 01:20 VZ, revision 67780

Correct type MSVCProjectBuilder in the build script. This prevented MSVC version detection from environment variables from working. Closes #13243.

2011-05-23 17:26 VZ, revision 67777

Don't use native MSW wxHyperlinkCtrl implementation in wxUniv. Move src/msw/hyperlink.cpp and include/wx/msw/hyperlink.h to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR respectively to ensure that these files are not used in wxUniv build that uses its own, generic, versions. This should fix wxUniv/MSW build as the native files didn't even compile with wxUniv.

2011-05-23 17:26 VZ, revision 67776

Rebake after the addition of more richtext headers. The project files haven't been updated after the last files.bkl modification, do it now.

2011-05-23 13:06 VZ, revision 67775

Add a trivial benchmark for wxDateTime::ParseDate(). Add a test to check the performance of this method. See #13242.

2011-05-22 12:53 VZ, revision 67774

Italian translations update from Stefano <>. Minor updates to the translations themselves. Also changed the charset to UTF-8 from Latin-1.

2011-05-21 00:48 DS, revision 67771

Fixed wxMessageBox with only an OK button returning wxCANCEL under MSW. Since r67620 when wxMessageDialog::ShowModal uses a native task dialog and only has an OK button it actually uses a Cancel button, this resulted in the function's return value wrongly changing to wxID_CANCEL. Fix this by handling the special case with only an OK button and return wxID_OK instead of wxID_CANCEL (and thus wxMessageBox, which uses wxMessageDialog::ShowModal, returning wxOK instead of wxCANCEL).

2011-05-21 00:44 DS, revision 67770

Applied patch containing small corrections to German translations. Patch by Blake Oleander (snowleopard2) with input from Robert Hoffmann. Closes #13212.

2011-05-20 16:29 VZ, revision 67769

Avoid conversion from wxString to wxChar* and back in wxListBase::DoCopy(). Don't use temporary wxChar* variable to store the node string. This is not only inefficient because we need to convert wxString to it only to convert it back to wxString on the next line but also breaks compilation when wxUSE_STD_STRING==1 and wxUSE_STD_CONTAINERS==0 as there is no implicit conversion between wxString and wxChar* in this case. Also modify the code for long keys in the same way just for consistency.

2011-05-20 16:26 JMS, revision 67768

Allow wxPGProperty::IsChildSelected() to work recursively

2011-05-19 22:43 SJL, revision 67767

Don't pass raw urls to logging functions in the wxWebView sample as they can contain percent characters which then cause format string errors.

2011-05-19 22:14 SJL, revision 67766

Block new frames being created in wxWebViewIE, bringing it into line with the other ports. The existing code was mostly correct but a missing break in the switch caused many spurious events.

2011-05-19 21:42 SJL, revision 67765

Remove defined values from wxWebView enums. We probably don't want people relying on these as they may well end up changing and there is no benefit to fixing them.

2011-05-19 20:28 SJL, revision 67764

Move wxWebView documentation into a separate interface file and add the wxWeb library to the libraries page

2011-05-19 16:14 VZ, revision 67763

Make picker control at least as high as the associated text and square. Ensure that the height of the picker control is at least as big as the height of the associated text control and that it's at least as wide as it is high as it looks bad otherwise. Closes #13232.

2011-05-18 18:35 SJL, revision 67762

Update wxWebViewIE::Reload so that reloading without using the cache works and doesn't crash.

2011-05-18 09:32 SC, revision 67761

making sure clip (device coordinages) is applied before any transforms, fixes #13216

2011-05-18 00:12 VZ, revision 67760

Allow passing wxLongLong values directly to wx pseudo-vararg functions. Allow passing wxLongLong objects when a "%lld" format specifier (or equivalent) is used just as we already do for wxString objects when "%s" is used. This is more convenient and makes wxLongLong closes to the native type.

2011-05-18 00:12 VZ, revision 67759

Don't construct invalid wxDateTime in GTK calendar control callbacks. GTK+ may momentarily return invalid date when switching the month in the calendar control. Check for this and adjust the date ourselves to make it valid if necessary in order to avoid the asserts from wxDateTime ctor. Closes #13224.

2011-05-17 15:35 VZ, revision 67758

Fix client to screen translation in wxWindowMSW::PopupMenu(). Use wxWidgets ClientToScreen() function for computing the screen coordinates of the popup menu instead of Windows ::ClientToScreen() as the latter doesn't know about the toolbar which may be present in wxFrame and excluded from the client area. Closes #13223.

2011-05-16 22:49 SJL, revision 67755

Rename source files for consistency

2011-05-16 16:07 VZ, revision 67754

Ensure that we never return negative client size. wxMSW could return negative client size for tiny windows with borders, this was unexpected and shouldn't happen so explicitly ensure it does not. Also add a unit test to check that this problem doesn't exist in other ports. Closes #13184.

2011-05-16 12:01 VZ, revision 67753

No changes, just refactor the code in MSW wxGetOsDescription() slightly. Construct the description string from several pieces: the OS name, its build number and any extra information about it, instead of duplicating the code appending the build number to the name in several places.

2011-05-16 12:01 VZ, revision 67752

Recognize Windows 7 and Server 2008 versions in wxGetOsDescription(). Use marketing names for these systems instead of just describing them as "Window NT x.y". Closes #13220.

2011-05-15 18:16 VZ, revision 67751

Allow dragging floating AUI frames by the gripper. Previously starting to drag a pane by its gripper worked but once it undocked it was impossible to drag it by the gripper any more which was annoying for the user and unexpected. Fix this by ensuring that we move the correct top level window and not the child window when dragging floating panes. Closes #13177.

2011-05-14 16:18 VZ, revision 67745

Fix small error in floating AUI frames client size under wxMSW. The client size of the floating frames ended up being wrong because we changed the wxRESIZE_BORDER flag after setting it and this changed it (at least under MSW). Reset wxRESIZE_BORDER first now and set the client size correctly afterwards. Closes #13043.

2011-05-14 16:18 VZ, revision 67744

Fix restoring of wxAuiManager::m_has_maximized when restoring perspective. If the perspective being loaded contains a maximized pane, set the m_has_maximized flag to true. Otherwise the flag and the effective pane state was out of sync resulting in several problems in the UI behaviour. Closes #12527.

2011-05-14 16:18 VZ, revision 67743

Correct the drawing of check tools with a drop down button in wxAuiToolBar. This combination was simply not covered by the existing code, add the missing DrawDropDownButton() call. Closes #11139.

2011-05-14 16:18 VZ, revision 67742

Reset the checked state of the first radio item in wxAuiToolBar too. Fix the condition of the loop in wxAuiToolBar::ToggleTool() to also uncheck the item with index 0 that was always excluded before because of "i > 0" check in the loop. Also exclude the item being turned on itself from the loops, it's useless to reset its checked state only to turn it on again below. Closes #11110.

2011-05-14 16:18 VZ, revision 67741

Check for NULL pane window in wxAuiManager. Check that the AUI pane has a non-NULL associated frame before checking whether it's shown. This should fix a crash which could happen when docking an undocked toolbar. Closes #10926.

2011-05-14 16:18 VZ, revision 67740

Improve checking for the landing point when docking windows in wxAUI. This is especially important for multiple monitor setups in which the old code could result in false positives and suggest docking a window on a wrong display. Closes #10612.

2011-05-14 16:17 VZ, revision 67739

Draw wxAuiToolbar button text even if it has no bitmap. Don't skip drawing the button label if it doesn't have any bitmap. Closes #10303.

2011-05-14 16:17 VZ, revision 67738

Take the AUI floating title bar height into account when dragging it. The cursor wasn't positioned correctly when a floating toolbar was dragged by pressing the mouse over its gripper because its position didn't take into account the difference between the client and window coordinates of the floating window (which is basically the height of the window title bar). Notice that the same problem still remains when starting to drag a docked toolbar as it doesn't have the title bar initially but does have it later so the same fix should probably be applied when we reparent the toolbar. Closes #9984.

2011-05-14 16:17 VZ, revision 67737

Cancel dragging in wxAuiNotebook on capture loss. Don't leave the display and internal variables in inconsistent state when the mouse capture is lost while a notebook page is being dragged (as can happen if Alt-Tab is pressed under Windows, for example). Closes #9976.

2011-05-13 15:30 VZ, revision 67735

Don't use the standard containers by default. Revert the change of wxUSE_STD_CONTAINERS to 1 by default as this introduces more incompatibilities which risk hamper upgrading to 3.0 unnecessarily. Update the documentation to better explain why do the non-standard container classes exist in wxWidgets and, especially, that they shouldn't be used when possible. Also document the differences between the normal and STL containers build in the manual.

2011-05-13 15:30 VZ, revision 67734

Fix the comparison function in the list control sample to do what it says. The comment in the function implied that it exchanged the items but in fact it did not and kept their existing order instead. Do revert them now, at least like this something visibly happens in the sample when the items are sorted.

2011-05-13 15:30 VZ, revision 67733

Make wxListCtrl sort function take wxIntPtr, not long, arguments. As the arguments to the sort function contain the client data associated with the items, they may be pointers and hence of greater size than long in Win64 builds. Use wxIntPtr instead of long everywhere to fix this. Notice that this doesn't break compatibility for 32 bit code where long can still be used as it is the same as wxIntPtr there after the previous commit. Closes #4309.

2011-05-13 15:29 VZ, revision 67732

Define wx[U]IntPtr as long, not [s]size_t, in 32 bit builds. Defining wxIntPtr as ssize_t or long in 32 bit builds doesn't really change anything but using long means that we can replace longs in the existing API with wxIntPtr without breaking compatibility, like in wxListCtrl::SortItems(). It is also more compatible with 64 bit builds where wxIntPtr is long already. So it has some minor advantages and no apparent drawbacks.

2011-05-13 15:29 VZ, revision 67731

Remove duplicated portability warning from wxShowEvent description. The warning about this event not being generated by all ports was already present, remove the second copy.

2011-05-13 13:24 DS, revision 67730

Fixed wxUSE_STD_DEFAULT==0 compilation. ScintillaWX.cpp didn't compile because std::string is unknown. Include <string> in case the defines that (by default) are set to wxUSE_STD_DEFAULT are 0.

2011-05-11 20:03 JC, revision 67729
  • D /wxWidgets/branches/SOC2011_GTK3/test.txt

This is a test

2011-05-11 20:02 JC, revision 67728

2011-05-11 18:45 JS, revision 67727

wxRTC doc updates

2011-05-11 18:44 JS, revision 67726

Use more appropriate border style

2011-05-11 17:52 VZ, revision 67725

Don't document wxFileSystemWatcher::AddTree() as pure virtual. It isn't. See #12847.

2011-05-11 08:46 SC, revision 67724

separating observers for default mode (outer 'normal' loop) and common mode loops, fixes #13208

2011-05-10 11:58 VS, revision 67723

Clarify that wxFileName::GetPath() appends separator for toplevel dirs.

2011-05-10 10:54 VZ, revision 67722

Attempt to work around Mac g++ 4.0 bug in fswatcher unit test. Don't define the class overriding a virtual base class method inside the test function as g++ 4.0 under OS X 10.5 fails to compile this for some mysterious reason.

2011-05-10 10:50 VZ, revision 67721

Fix inserting radio menu items in wxGTK too. After fixing the insertion of radio menu items in wxMSW, also do it for wxGTK to make the newly added unit test pass there as well. Remove the unneeded wxMenu::m_prevRadio which doesn't make any sense neither (just as the "current radio group" pointer removed from wxMSW code before) and simply use the radio group of the existing item this radio item is being inserted before or after instead. See #13200.

2011-05-10 10:50 VZ, revision 67720

Rewrote wxMSW radio menu items code to support not only appending them. Previously the radio menu items could only be appended to a menu in wxMSW, inserting them (either in an existing radio group or to start a new one) not only didn't work but could even result in crashes because invalid iterators in the menu items list could be used. Fix this by storing the ranges of all radio groups in wxMenu itself instead of storing the information about the radio group an item belongs to in the item itself and by updating this data whenever a new radio item is inserted. Also get rid of the notion of "current radio group" in wxMenu which doesn't really make any sense. Finally add a unit test checking that inserting radio items works as expected. Closes #13200.

2011-05-09 21:44 JMS, revision 67719

Fixed a bug: Disabling a property didn't work properly if a child item was selected.

2011-05-09 12:08 JS, revision 67718

Added further wxRTC files to files.bkl

2011-05-09 11:21 VZ, revision 67717

Document wxBitmapToggleButton XRC parameters. Describe the properties specific to this class in the XRC format documentation. Closes #13204.

2011-05-09 11:21 VZ, revision 67716

Add wx/richtext/richtextuicustomization.h to the headers list. This header wasn't installed before, add it to RICHTEXT_HDR files list in files.bkl to fix this. Closes #13203.

2011-05-09 11:21 VZ, revision 67715

No changes, just sort richtext files in files.bkl. Sort RICHTEXT_{SRC,HDR} contents in alphabetical order, just as it's done for all the other files list and to make it easier to check if a file already occurs in these lists or not.

2011-05-08 20:29 JS, revision 67714

More work on improving wxRTC documentation, copied buffer and control headers to interface folder.

2011-05-06 17:28 SJL, revision 67712

Enable IE backend in msw builds unconditionally until the backend flags work properly. Conditionally define INET constants only under mingw as it does not apparently provide them. Fix some typos. The sample now compiles under msw.

2011-05-06 15:37 SJL, revision 67711

Use correct reload flags on all platforms to avoid compilation errors

2011-05-06 14:59 SJL, revision 67710

Move msw configuration checking to chkconf.h

2011-05-06 13:00 SJL, revision 67709

Add the correct dll export macros

2011-05-06 01:52 DS, revision 67708

Fixed failing to load ANI, BMP, and ICO images from non-seekable streams. Guarded recently added SeekI() calls by calling is IsSeekable() first. Regression since r67671. Closes #12861 (again).

2011-05-05 22:51 SJL, revision 67707

Minor fixes to allow web sample to compile

2011-05-05 22:30 SJL, revision 67706

Fix compilation under dll builds. Wrap source files in wxUSE_WEB checks to allow minimal builds.

2011-05-05 20:48 SJL, revision 67705

A few more build fixes

2011-05-05 19:56 RD, revision 67704

When we're using GDI+, the DC might have transforms applied to it, but the renderer APIs don't respect them. So we need to apply the transforms to the rect ourselves.

2011-05-05 15:01 SJL, revision 67702

Various typos fixes and minor build system changes. After a rebake wxMSW should now compile, although without any functionality.

2011-05-04 21:03 SJL, revision 67700

Tidy the files list, move the wxWEB files to their own section. Include the headers in the all headers section.

2011-05-04 20:24 SJL, revision 67699

Set the correct svn properties on the new files. Correct a minor date typo.

2011-05-04 17:40 SJL, revision 67698

Application of the most recent wxWebView patch, the only changes were so tab to space conversions. Please note this probably won't compile.

2011-05-04 02:41 RD, revision 67697

Adda virtual dtor to silence warnings

2011-05-04 02:40 RD, revision 67696

Wipe the old framework (if any) when building a new one. Fix symlinks. Add a plist.

2011-05-04 02:01 VZ, revision 67695

Fix compilation of wxFileSystemWatcher unit test in non-PCH build. Add #include of wx/timer.h needed when not using PCH.

2011-05-04 01:31 VZ, revision 67694

Fix wxFileSystemWatcher usage instructions. Don't mention the virtual OnXXX() functions which were removed from the final API. Also mention AddTree() limitations on non-MSW platforms. See #12847.

2011-05-04 01:31 VZ, revision 67693

Implement watching directory correctly in MSW wxFileSystemWatcher. The directories used to be always monitored recursively, even when this wasn't requested, in wxMSW implementation. Change this but also implement efficient support for monitoring the entire hierarchies using the native support for this. Also update the sample to allow monitoring directories recursively as well. See #12847.

2011-05-04 01:31 VZ, revision 67692

Don't watch directories recursively in wxMSW wxFileSystemWatcher. MSW implementation of this class always watched the added entries recursively, i.e. always behaved as if the entry to watch was added using AddTree(). Fix this simply by not asking ::ReadDirectoryChangesW() to watch the entire subtree. See #12847.

2011-05-04 01:31 VZ, revision 67691

Fix wxFileSystemWatcher::Remove() in wxMSW. Removing the path watched by wxFileSystemWatcher didn't do anything in wxMSW implementation so we still continued getting events for the changes to this path even after calling Remove(). Fix this by really implementing Remove() properly. Also add a unit test checking that we don't get any events after calling Remove(). See #12847.

2011-05-04 01:31 VZ, revision 67690

No changes, just slightly simplify wxFileSystemWatcher unit test. CheckResult() method of the test event handler doesn't need to return anything, it uses CPPUNIT_ASSERTs and related macros inside it to check that everything is expected.

2011-05-04 01:31 VZ, revision 67689

Fix assert when creating wxBitmapButton without a valid bitmap in wxMSW. wxBitmapButton can be created without a valid bitmap if SetBitmapLabel() is called later, so don't call SetBitmapLabel() from the constructor if no bitmap was provided.

2011-05-03 21:05 SC, revision 67687

project files for xcode

2011-05-03 20:28 SC, revision 67686
  • D /wxWidgets/trunk/src/wxWindows.xcodeproj

removing old xcode files

2011-05-03 20:24 SC, revision 67685
  • D /wxWidgets/trunk/src/jpeg/jpegM8.xml
  • D /wxWidgets/trunk/src/regex/regexM8.xml
  • D /wxWidgets/trunk/src/stc/stcM8.xml
  • D /wxWidgets/trunk/src/zlib/zlibM8.xml
  • D /wxWidgets/trunk/utils/helpview/src/helpviewM5.xml

removing old codewarrior files

2011-05-03 20:22 SC, revision 67684
  • D /wxWidgets/trunk/samples/access/accesstestW7.xml
  • D /wxWidgets/trunk/samples/controls/controlsW7.xml
  • D /wxWidgets/trunk/samples/dialogs/dialogsW7.xml
  • D /wxWidgets/trunk/samples/dnd/dndW7.xml
  • D /wxWidgets/trunk/samples/docview/docviewW7.xml
  • D /wxWidgets/trunk/samples/minimal/minimalW7.xml

removing old codewarrior files

2011-05-03 20:21 SC, revision 67683
  • D /wxWidgets/trunk/samples/minimal/minimal.xcodeproj

removing old xcode files

2011-05-03 20:21 SC, revision 67682
  • D /wxWidgets/trunk/samples/minimal/minimal.xcode

removing old xcode files

2011-05-03 18:29 DS, revision 67681

Replaced Ok() occurrences with IsOk() throughout trunk. Additionally renamed wxOSX' private wxNativePrinterDC::Ok() function to IsOk(). Didn't deprecate the various Ok() functions: given the amount of changes already introduced in 3.0 a trivial one like this seems more suitable for after 3.0.

2011-05-03 14:47 DS, revision 67679

Restored wxNotebook::HitTest for wxOSX-Carbon. Since the copying of src/osx/carbon/notebmac.cpp to src/osx/notebook_osx.cpp in r55202 the code in wxNotebook::HitTest has been disabled. Enabled it again for at least the Carbon build. See #13045.

2011-05-03 12:40 VZ, revision 67678

Don't crash on startup of console programs in monolithic wxX11 build. When using monolithic build, GUI-specific wxWinModule is still linked in but its initialization crashes because there is no global display. Simply don't do anything in this module OnInit() in this case to avoid the problem (which affected e.g. wxrc in this build configuration).

2011-05-03 12:40 VZ, revision 67677

Correct wxDirExists() check in OS X wxFileSystemWatcher implementation. Pass the full path to wxDirExists, not the relative path from the watched directory as this won't work unless the watched directory is the same as the current one. Closes #13161.

2011-05-03 12:40 VZ, revision 67676

Add wxDocManager::GetPageSetupDialogData() accessor. Allow accessing the print data stored in wxDocManager from outside the class. Closes #13190.

2011-05-03 12:40 VZ, revision 67675

Increase the number of index items shown by default in wxHTML. Consider that small index is up to 1000 items, not up to 100 which is really too small. See #10573.

2011-05-02 09:25 JJ, revision 67673

add src/common/affinematrix2d.cpp to OpenVMS makefiles

2011-05-02 01:35 DS, revision 67671

Fixed reading multiple images from ANI and ICO image files. In r60852 various 'unneeded' SeekI(0) calls were removed. Examined the changes in that revision and restored all SeekI(0) calls after finding out their removal caused problems with reading more than one image from ICO and ANI files. The image handling code for these formats expects to read from the start of a stream for reading its images (as well as for DoCanRead and DoGetImageCount), regardless of the index of the requested image. Closes #12861.

2011-05-01 21:07 SC, revision 67666

support multiline strings using the same workaround as msw, fixes #13019

2011-05-01 20:44 VS, revision 67665

Make wxSpinCtrlGeneric usable as wxDVC editor control. wxDVC installs temporary event handler that watches for focus changes and some key events. Make wxSpinCtrlGeneric look like a native wxControl in this respect even though it's actually a composite control.

2011-05-01 18:06 VZ, revision 67664

Create branch for GSoC 2011 animation project.

2011-05-01 18:06 VZ, revision 67663

Create branch for wxiOS GSoC 2011 project.

2011-05-01 18:05 VZ, revision 67662

Create branch for wxWebView GSoC 2011 project.

2011-05-01 18:05 VZ, revision 67661

Create branch for GTK3 porting GSoC 2011 project.

2011-05-01 17:58 VZ, revision 67660

Translate various user-visible strings in rich text print code. Make default wxRichTextPrintout title and the name of wxRichTextPrinting object translatable. Closes #13187.

2011-05-01 17:47 VZ, revision 67659

Verify the validity of the buffer size in wxBufferedDC. Passing invalid (e.g. negative) buffer size to wxBufferedDC resulted in many problems later on so refuse it immediately. Closes #13175.

2011-05-01 17:47 VZ, revision 67658

Add a section about STL containers-related incompatible changes. Document the main incompatibilities between the STL and non-STL containers builds.

2011-05-01 16:58 DS, revision 67657

Rebaked test GUI projects with toplevel.cpp included. Added toplevel.cpp to GUI test projects and removed the test suite from the unnamed registry so that by default its tests don't run (some regarding ShowWithoutActivating are failing). This way at least the source file has more of a chance to be in a compilable state (compilation was broken). toplevel.cpp has never been included in a project since its addition in r62508 ("[...] until the mainloop issues are resolved [...]").

2011-04-30 12:57 DS, revision 67656

No code changes, fixed some typos. Changed several occurrences of "it's" where "its" is meant, as well as a few other minor typos.

2011-04-29 22:03 RD, revision 67650

Fix popen2 deprecation warning. Fix binary name inside the framework to be the same as the framework name. Inject a bit of info about the framework into wx-config, so it can output framework flags/names instead of lib flags/names.

2011-04-28 18:57 VZ, revision 67645

Remove fixed size of gs_encodingNames array in font mapper code. Specifying the size explicitly made wxCOMPILE_TIME_ASSERT() checking that the array sizes were synchronized useless as the array always had the correct size, independently of the real number of elements in it.

2011-04-28 18:57 VZ, revision 67644

Correct wxFontMapper tables for Big-5, Shift-JIS and GB2312 encodings. As wxFONTENCODING_{BIG5,SHIFT_JIS,GB2312} are only synonyms for the other encoding constants, we must append the corresponding names to the array of names for the real encoding value instead of having the (never used) separate entries for them in the names array. Closes #13164.

2011-04-28 18:16 VZ, revision 67643

Fix wxULongLongNative::ToDouble() compilation with VC6. The problem alluded to by the commit message of r40658 arose only in the DLL build using VC6 so reintroduce the workaround for it removed by r67634 but make it VC6-specific and, arguably even more importantly, also make it work correctly for wxULongLongNative values greater than LONGLONG_MAX.

2011-04-28 16:29 VZ, revision 67642

Use correct GTK macro in wx_gtk_widget_get_sensitive(). Using GTK_WIDGET_VISIBLE() to test for sensitivity was not going to work (and, in fact, it didn't and broke the unit tests).

2011-04-28 16:20 VZ, revision 67641

Fix check in assert in wxULongLong::ToULong(). We can convert values up to ULONG_MAX to unsigned long losslessly, not up to LONG_MAX.

2011-04-28 16:20 VZ, revision 67640

Don't specialize std::numeric_limits<> for wxLongLong when using VC6. This doesn't work with VC6 anyhow as it doesn't provide numeric_limits<> specialization for __int64 and results in many warnings C4663 as the standard header itself uses obsolete template specialization syntax.

2011-04-28 08:08 RD, revision 67638

Change --j to --jobs, add --mac_framework_prefix, add some helper functions to be used from and fix a bunch of other little stuff.

2011-04-27 20:51 VZ, revision 67634

Fix wxULongLong::ToDouble() for MSVC. The conversion of wxULongLong to double was broken for MSVC by r40658 which was supposed to correct some unspecified compilation problem but this code seems to compile fine with at least recent versions of MSVC and, in any case, correcting compilation only for the code to work incorrectly during run-time doesn't look like a good idea. This fixes current unit test failures in wxMSW.

2011-04-27 20:44 VZ, revision 67633

Disable numeric_limits<wxLongLong> test for VC6. VC6 doesn't specialize numeric_limits<> for its __int64 so it's not specialized for wxLongLong neither when using this compiler.

2011-04-27 20:44 VZ, revision 67632

Get rid of useless temporaries in wxAffineMatrix2D unit test. See #13092.

2011-04-27 20:43 VZ, revision 67631

Add wxUSE_DC_TRANSFORM_MATRIX checks to the unit test. Allow the unit test to compile even when wxUSE_DC_TRANSFORM_MATRIX is 0. See #13092.

2011-04-27 12:26 JJ, revision 67627

Add wxUSE_DC_TRANSFORM_MATRIX to setup for OpenVMS

2011-04-27 00:57 VZ, revision 67624

Change VIEWPORT_EXTENT constant in wxMSW wxDC code to be a power of two. Notice that this commit doesn't really change anything, in particular it doesn't correct zooming for zoom factors that are power of 2 (which was broken before as ticket #11669 showed), this was already done by the previous commit. This one simply makes multiplying by VIEWPORT_EXTENT a tiny bit more efficient. See #9554.

2011-04-27 00:57 VZ, revision 67623

Avoid rounding errors in wxMSW wxDC scaling code. Multiply by scale factor when it's > 1 and divide by it when it's < 1 to avoid rounding errors. By choosing whether to increase the viewport or window extents we increase precisions without any apparent negative effects (at least under Windows NT where the coordinates in 2^27 range are supported, but even under Windows 9x it's not clear if the old code was better as while we never overflowed the viewport extents, we could overflow the window ones easily for small zoom factors). Closes #9554.

2011-04-27 00:57 VZ, revision 67622

Remove apparently erroneous -1 from DrawBitmap() in wxMSW wxGC code. We didn't draw the last line and row of the image for some reason, simply remove the -1 which prevented us from doing this. Closes #12476.

2011-04-27 00:57 VZ, revision 67621

Make wxSMALL_FONT larger under MSW as it was unreadable otherwise. The default size of the normal font is 9pt under MSW and 7pt is too small for wxSMALL_FONT, use 8pt for it instead. Closes #13104.

2011-04-27 00:57 VZ, revision 67620

Ensure that message boxes with only "OK" can be closed with Escape in wxMSW. The native task dialog doesn't allow using Escape (nor Alt-F4 but this is less annoying) to close it unless it has a Cancel button, so by default the dialogs with only "OK" couldn't be closed with Escape. Work around this by creating a Cancel button with "OK" label instead. This is not ideal but there doesn't seem to be any other way to make this work. See #12501.

2011-04-27 00:57 VZ, revision 67619

Allow showing the print preview frame non modally. Still show the print preview app modally by default, i.e. disabling all the other windows, but also allow disabling only the preview parent or nothing at all. Closes #13108.

2011-04-27 00:57 VZ, revision 67618

No changes, just replace #defines with enums in printing sample. This makes it more convenient to define menu ids with consecutive values as will be done in the next commit.

2011-04-27 00:57 VZ, revision 67617

Add a unit test for wxAffineMatrix2D class and its support in wxDC. Verify that applying a world transformation to wxDC really does result in the expected transformation. See #13092.

2011-04-27 00:57 VZ, revision 67616

Make it easier to compare wxImages in the unit tests. Instead of forcing the tests to manually use memcmp(), specialize CppUnit::assertion_traits<> for wxImage. This allows to simply use CPPUNIT_ASSERT_EQUAL() and related macros with wxImage objects.

2011-04-27 00:57 VZ, revision 67615

Update line height in generic wxListCtrl to match images height. The height of the items of the generic wxListCtrl remained too small if an image of a greater than standard size was used. Fix this by forcing the line height recalculation when adding an item using an image higher than the current line height. Closes #12806.

2011-04-27 00:57 VZ, revision 67614

No changes, just simplify the mask checks in wxImage::Paste(). Replace the test of the form "(!a && b) || (a && b)" with a simple test for "b" and then also replace the test for "b || (c && !b)" with just "b || c". The end result is much easier to read and understand.

2011-04-27 00:57 VZ, revision 67613

Optimize alpha handling in wxImage::Rotate90() too. The changes of r66309 optimized the rotation of the pixel data by doing it in entire strips instead of pixel by pixel, apply the same technique now to the rotation of alpha data as well. Closes #12739.

2011-04-27 00:57 VZ, revision 67612

Fix assert when destroying wxDataViewCtrl being edited in wxGTK. If wxDataViewCtrl was destroyed while showing a generic editor, an assert occurred in wxWindowBase dtor as the event handler pushed on it by the editor. Fix this by calling CancelEditing() when the control is destroyed and also fix the crash in CancelEditing() in wxGTK due to recursive calls to FinishEditing(). Closes #12683.

2011-04-27 00:56 VZ, revision 67611

No changes, just get rid of wxDataViewColumn::GetConstGtkHandle(). If both const and non-const accessors are needed, it's custom to use the same name for both but in this case we don't even need them as the const version can always be used, so simply remove the weird and badly named (because the returned handle is not const at all) GetConstGtkHandle().

2011-04-27 00:56 VZ, revision 67610

Specialize std::numeric_limits<> for wxLongLong and wxULongLong. numeric_limits<> should be specialized for number-like types to allow using them in a similar way to the built-in types. Closes #13162.

2011-04-26 21:02 RD, revision 67608

Don't change CC and CXX for the SDK options until after the compiler version has been chosen so it doesn't mess up the version tests.

2011-04-26 19:39 RD, revision 67604

Remove lipo options, that hack is no longer needed since we are not supporting OSX 10.3 any more. Also some work to get framework builds working properly.

2011-04-26 19:35 RD, revision 67603

Use DESTDIR properly and fix change-install-names script. Closes #12461

2011-04-26 19:14 SC, revision 67602

fixes #12220

2011-04-26 01:18 RD, revision 67600

Fix the size of the tree's text editing box on Cocoa

2011-04-25 15:18 DS, revision 67598

Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type. When using SetFilterIndex to indicate a different initial file type the dialog would still use the extension of the first file type (if the filename had no extension then unchecking "Hide extension" would append the first file type's extension). Fixed this by calling code, that formerly got called only from OnFilterSelected, to notify OS X of the file type change.

2011-04-24 15:14 VS, revision 67592

Don't rely on RVO in wxON_BLOCK_EXIT_SET(). MakeVarSetter() relies on the compiler always using RVO, as VariableSetterImpl<> doesn't have correct copy ctor; worse yet, its use wasn't detected at compile time. With some compilers (e.g. VC++ 2008 with non-trivial variable types), this resulted in the variable being reset too soon, immediately in the place where the macro was used. Fixed by using the same technique already used in wxScopeGuardImpl. In fact, VariableSetterImpl is just another special case of wxScopeGuardImpl, so just derive from the latter.

2011-04-23 20:01 VZ, revision 67591

Don't generate wxEVT_COMMAND_DATAVIEW_CACHE_HINT for empty control. Don't send any cache hint events for empty wxDataViewCtrl. Sending them was unnecessary, inconsistent with wxListCtrl (which doesn't send them when it's empty) and the events also had incorrect range. Just don't create them at all to avoid all these problems at once. Closes #13132.

2011-04-23 19:36 VZ, revision 67590

Don't close arcs drawn in wxPostScriptDC. Draw arcs, not pies, in DoDrawArc(): simply remove the apparently unnecessary last lineto and closepath PostScript statements. Closes #13141.

2011-04-23 18:19 VZ, revision 67589

Change wxNotebook selection before sending page changed event in wxMSW. wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED handler should see the new page selected in the control, not the old one as was the case if the page was changed using the mouse in wxMSW. This should have been done together with the other changes of r66224, see its commit message for more details. Closes 13145.

2011-04-23 18:03 VZ, revision 67588

Add wxDC::SetTransformMatrix() and related methods and implement them in wxMSW. Add support for world transformations to wxDC too. Currently this is implemented in wxMSW only but could be easily provided in the ports that use wxGraphicsContext for wxDC implementation later. Closes #13092.

2011-04-23 17:12 VZ, revision 67587

Fix compilation error in recent change to wxSizeEvent generation. Wrong variable name was used in r67583, fix it.

2011-04-23 16:53 VZ, revision 67586

Correct names of parameters in wxAffineMatrix2D documentation. Some parameters were misnamed in @param paragraphs, fix this. Closes #13143.

2011-04-23 16:53 VZ, revision 67585

Add a simple unit test for wxParseCommonDialogsFilter(). Verify that this function (which is used for parsing the wildcard strings used with file-related dialogs) works as expected and also asserts when given invalid input. See #4489.

2011-04-23 13:17 VZ, revision 67584

Document that wxTreeCtrl::SelectItem() generates events. This is another exception to the general rule that program actions don't generate any events so document it explicitly. See #13153.

2011-04-23 13:17 VZ, revision 67583

Set event object correctly for the generated wxSizeEvents. wxSizeEvent event object was not set correctly in at least a couple of places. Do set it now. Closes #13156.

2011-04-23 13:17 VZ, revision 67582

Remove duplicate negated option indicator in wxCmdLineParser help. The indicator of a negatable option (one with wxCMD_LINE_SWITCH_NEGATABLE flag) appeared twice in the usage message, don't add it the second time. Closes #13157.

2011-04-23 13:17 VZ, revision 67581

Fix file paths in wxFileSystemWatcherEvent under OS X. The separator between the watched directory and the name of the file in the generated event was missing, add it now. Closes #13161.

2011-04-23 12:49 VZ, revision 67580

Set page range in the print preview correctly. The valid pages range was set too early before, we need to postpone it until after the OnPreparePrinting() call of the user-defined wxPrintout object as only it can determine the number of pages (after running the pagination algorithm) in general. Set the pages range during the first call to RenderPageIntoDC() to fix this. Also add wxPrintPageMaxCtrl class for symmetry with the existing wxPrintPageTextCtrl and use a shared constant MAX_PAGE_NUMBER instead of hard coded 99999. Slightly improve the layout of wxPrintPageMaxCtrl too. Closes #12965.

2011-04-23 12:41 VZ, revision 67579

Make the source files non-executable again. Revert the (probably accidental) mode change of r67576.

2011-04-22 21:20 RD, revision 67578

Use a relative link for wx-config so it will also work even when not located at the install prefix. Ported from the wxPy- tag/branch.

2011-04-22 21:18 RD, revision 67577

Explicitly specify the Mac SDK for wxPython builds

2011-04-22 20:25 VS, revision 67576

Return wxWindow* from wxDataViewCustomRenderer::CreateEditorCtrl(). There's no reason to limit custom editor controls to wxControl, which would rule out e.g. composite controls or any custom widgets. Make appropriate changes to related functions and code too.

2011-04-22 17:48 SC, revision 67575

osx 64 bit multilib build needs an explicit export as in this architecture our visibility flags get respected for obj-c classes as well

2011-04-22 17:20 SC, revision 67574

implementation of HotKey, see #12354

2011-04-22 16:50 VS, revision 67573

Compilation fix for DEFINE_GUID uses. DEFINE_GUID doesn't define the value, only declares an external variable, unless initguid.h was included. This leads to linker errors.

2011-04-22 12:43 DS, revision 67572

Fixed wxUSE_STD_STRING==0 compilation. With at least MSVC9 numformatter.cpp wouldn't compile because of unknown identifiers related to locales. Include <locale.h> in case wxUSE_STD_STRING is set to 0.

2011-04-22 01:43 VZ, revision 67570

Define ACO_AUTOAPPEND for MinGW/Cygwin. Apparently this symbol is not defined in MinGW headers neither, so do it ourselves as well.

2011-04-22 01:43 VZ, revision 67569

Use "wx" prefix for the GUIDs we (re)define in wxMSW code. CLSID_AutoComplete became ambiguous with MinGW because it does define it in its shlguid.h header (although MSVC/Platform SDK does not define this one) so use a "wx" prefix for it to avoid ambiguity. Also use the same prefix for the IID_IAutoCompleteDropDown value we define for consistency.

2011-04-21 17:47 VZ, revision 67567

Redefine IAutoCompleteDropDown in our code as it's not always available. MinGW doesn't have shobjidl.h header file which is normally part of the Platform SDK and doesn't have IAutoCompleteDropDown interface definition in any of its headers at all, so define this interface and its IID ourselves to make the code compile with it. Notice that MinGW-64 does have the interface declaration but still doesn't define IID_IAutoCompleteDropDown. So to be on the safe side just always define everything ourselves, as long as we need to do it for one of the compilers, it's not more difficult to do it for all of them.

2011-04-21 14:44 JS, revision 67566

Added ForceDelayedLayout

2011-04-21 14:44 JS, revision 67565

Added ForceDelayedLayout

2011-04-20 16:54 DS, revision 67551

Make use of SetFilterIndex in wxOSX-Cocoa's file dialog. Previously the file type would solely be based on the extension of the passed filename. This is still done, but any valid filter index as set by the user will now take precedence. See also #12429.

2011-04-20 09:53 DS, revision 67550

Fixed saving dialog's filter index always being -1 with wxOSX-Cocoa. This problem was reproducable using the Save file dialog in the dialogs sample. The member m_filterIndex was only initialised to -1 and never set at another point. Set it to the filter's selection during ModalFinishedCallback. Closes #13158.

2011-04-19 07:17 PC, revision 67546

fix conversion of gdk_input_add() to g_io_add_watch() from r67326

2011-04-19 01:50 VZ, revision 67541

Do send wxEVT_UPDATE_UI events to hidden windows. Failing to send wxEVT_UPDATE_UI to hidden windows made it impossible to show them from their update UI handler which was totally unexpected as the documented wxUpdateUIEvent::Show() method could never be used. Do send these events to the hidden windows themselves but avoid sending the update UI events to the children of hidden windows as this is really useless because any change of their state wouldn't be seen by the user anyhow (even if the child is shown, it would still remain hidden until its parent is) and would just waste time processing a lot of needless events.

2011-04-19 01:36 VZ, revision 67540

Don't send wxWindowDestroyEvent if we hadn't sent wxWindowCreateEvent. Don't generate wxWindowDestroyEvent when destroying the windows that had been never created for symmetry with wxWindowCreateEvent which wasn't sent for this window neither.

2011-04-19 01:36 VZ, revision 67539

Don't assert when destroying a never created window in wxGTK. The other ports don't assert if a default-constructed wxWindow object for which Create() had never been called is Destroy()d and wxGTK shouldn't do this neither. The new behaviour is more logical but also fixes a problem with an assert in wxOwnerDrawnComboBox that can currently be seen in wxGTK unit tests.

2011-04-18 15:47 VZ, revision 67532

Correct a typo in DoAutoCompleteCustom() stub in wxMSW. Fix a compilation error introduced by r67518.

2011-04-18 12:06 JMS, revision 67531

Use Connect() to bind embedded wxTextCtrl events instead of event table. This seems to be more reliable approach here, and fixes a bug with wxPropertyGrid's wxEditEnumProperty.

2011-04-18 12:03 JMS, revision 67530

In wxComboCtrlBase::OnTextCtrlEvent(), make sure to call event.StopPropagation() only after it has been copied

2011-04-18 11:58 JMS, revision 67529

Also show EVT_TEXT_ENTER in the combo sample

2011-04-18 01:15 VZ, revision 67527

Correct wrong port-specific note in AutoCompleteFileNames() documentation. This function is only implemented in wxMSW, not wxGTK2.

2011-04-18 01:14 VZ, revision 67526

Implement auto-completion support for wxTextEntry in wxOSX/Cocoa. Both completing a set of fixed strings and dynamic completion using a custom completer are supported, although completing the file names remains MSW-only for now. Note that, unlike under MSW, auto-completion under Mac is not automatic and has to be triggered manually by calling complete: method. This is done by pressing F5 key by default. In the future we should call it automatically on a timer event to make it more obviously discoverable.

2011-04-18 01:14 VZ, revision 67525

Refactor: extract wxTextCompleterFixed from wxMSW to a header. This class will be used in other ports too so don't make it private to wxMSW (although it still remains private to wxWidgets for now as it doesn't make much sense to use it in user code).

2011-04-17 23:47 DS, revision 67524

Removed wxOSX conditional code from generic calendar control. Tested the calendar sample with Cocoa and Carbon to determine the behaviour and looks are still the same.

2011-04-17 23:46 DS, revision 67523

Improved year control of generic calendar being too narrow when using a locale with long month names. See #11444.

2011-04-17 23:45 DS, revision 67522

Removed invalid use of sizeFlags parameter for SetSize call in generic calendar control. In r39715 the height parameter of a call to SetSize was changed to -1, however the previous coordinate value remained and became the fifth parameter which represents bit flags. Simply removed the fifth parameter.

2011-04-17 02:09 VZ, revision 67520

Add wxAffineMatrix2D and related classes. This class represents an affine 2D transformation and will be used in wxDC for now and maybe in wxGC later. Closes #13143.

2011-04-17 02:09 VZ, revision 67519

Fix wxXmlDocument::SetRoot() broken by recent changes. Support for wxXML_PI_NODE introduced in r67346 broke SetRoot() and, because of this, saving XML documents. Correct this and add a unit test for this method. Closes #13135.

2011-04-17 01:17 VZ, revision 67518

Define wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too. Forgot to define this function in !HAS_AUTOCOMPLETE case. This fixes linking problems with old compilers/headers such as VC6 with its original SDK.

2011-04-16 19:27 VZ, revision 67515

Split wxTextCompleter into a base class and wxTextCompleterSimple. Allow overriding either the iterator-like methods of the base class or the single and possibly more convenient, albeit slightly less efficient, method of the derived wxTextCompleterSimple class. This makes it possible to completely delegate to wxTextCompleter from wxMSW IEnumString implementation and actually makes the code there easier, even if it it still not quite trivial because of multi-threading concerns. It also would make it possible to show the completions progressively, as they are retrieved, in a future generic implementation of auto-completion (MSW native implementation doesn't do this unfortunately and waits until all of the completions become available before showing them).

2011-04-16 19:27 VZ, revision 67514

Don't block the main UI thread while generating completions in wxMSW. The native IAutoComplete implementation takes care to retrieve the completions from a background thread to prevent the UI from freezing while they're being generated, but we worked against it by always generating all the completions from the main thread and just enumerating them from the background one. Change this now and call wxTextCompleter::GetCompletions() method from the background thread itself to never block the main one.

2011-04-16 19:27 VZ, revision 67513

Use ACO_AUTOAPPEND option for text completion in wxMSW. This option appends the first candidate completion value to the text control itself making it more user-friendly as it reduces the amount of typing needed to enter it. See #11465.

2011-04-16 19:27 VZ, revision 67512

Added private wxEVT_AFTER_CHAR event for wxMSW implementation needs. This event is sent by wxMSW after the default handling of WM_CHAR has taken place. It can be used to define an event handler triggered by key presses and having access to the new value of the control, updated to take the last key press into account. This event will be used by auto-completion implementation for wxMSW only for now.

2011-04-16 19:27 VZ, revision 67511

Add support for dynamic auto-completion in wxTextEntry. Add wxTextCompleter class which allows to return the possible completions dynamically and wxTextCompleter::AutoComplete() overload using it. So far this is only implemented for wxMSW. Also fix calling wxTextEntry::AutoComplete(wxArrayString) multiple times under MSW, this didn't correctly update the list of shown completions before.

2011-04-16 19:27 VZ, revision 67510

No changes, just simplify preprocessor checks in wxMSW wxTextEntry. Separate !HAS_AUTOCOMPLETE stub versions from the real one as the code was too difficult to read otherwise and would become even more so after the addition of the upcoming custom auto-completer support.

2011-04-16 19:27 VZ, revision 67509

Refactor wxTextEntry::AutoComplete() to simply call DoAutoCompleteXXX(). No real changes, just make the public AutoComplete() non-virtual and add virtual DoAutoCompleteXXX() methods to make it easier to add new public AutoComplete() overloads in the upcoming commits.

2011-04-16 18:59 SC, revision 67508

adding missing part when using the native paint CGContextRef on osx, see #11853

2011-04-16 15:07 SC, revision 67505

supprting flag for pixel offsetting for msw, see #11853

2011-04-16 15:05 SC, revision 67504

supprting flag for pixel offsetting for osx, see #11853

2011-04-16 14:47 SC, revision 67503

supprting flag for pixel offsetting for cairo, see #11853

2011-04-16 14:21 SC, revision 67502

support generic flag for pixel offsetting, see #11853

2011-04-15 21:18 DS, revision 67497

Replaced C++ comments with C ones in C files. Replaced C++ comments (occurring outside of __cplusplus blocks) in files that contain the warning "THIS IS A C FILE" with C comments.

2011-04-15 20:31 PC, revision 67496

workaround for broken window managers which claim to support _NET_REQUEST_FRAME_EXTENTS, but don't respond to it see #13146

2011-04-15 11:23 JMS, revision 67494

Removed wxPG_DOUBLE_BUFFER constant. Now all wxPG rendering is done double-buffered, regardless of the platform. Code path with wxPG_DOUBLE_BUFFER = 0 did not render correctly (fixes #13140). In future should probably use wxAutoBufferedPaintDC or something similar, but this will require non-trivial code changes and testing.

2011-04-14 15:22 JMS, revision 67488

Rebuild textctrl events using copy ctor

2011-04-13 18:39 JMS, revision 67440

wxEVT_COMMAND_TEXT_UPDATED events from wxComboCtrl's embedded wxTextCtrl kept confusing wxPropertyGrid::HandleCustomEditorEvent(). We need to ignore them.

2011-04-13 18:35 JMS, revision 67439

Completely re-construct the wxComboCtrl textctrl-events instead of just redirecting them

2011-04-13 11:22 SC, revision 67438

preparing for completions support

2011-04-12 11:35 JMS, revision 67436

Describe what re-implemented wxComboPopup::DestroyPopup() should do

2011-04-11 18:59 JS, revision 67435

When we load an image from the block, we should invalidate the cached bitmap.

2011-04-11 12:23 JJ, revision 67434

Update Makefile for OpenVMS

2011-04-11 11:36 JJ, revision 67433

revoke OpenVMS dependend part of r67326

2011-04-10 17:36 VZ, revision 67429

Re-define push_back() in wxSortedArrayString to behave correctly. Adding items to wxSortedArrayString should always keep them sorted but while Add() did this, push_back() didn't breaking the class invariant. Redefine push_back() in _WX_DEFINE_SORTED_TYPEARRAY_2 macro to fix this and add a unit test checking that wxSortedArrayString::push_back() does work now. Closes #13134.

2011-04-10 17:36 VZ, revision 67428

Allow customizing AUI tab colours in wxAuiTabArt. Add wxAuiTabArt::SetColour() and SetActiveColour() methods and provide trivial default implementation of them in wxAuiDefaultTabArt to allow customizing the tab colours. Closes #11411.

2011-04-10 17:36 VZ, revision 67427

Fix off by one pixel error when drawing active tab in wxAUI. The active tab had a drawing artefact because its gradient background was drawn in a rectangle one pixel too short. See #11411.

2011-04-10 17:35 VZ, revision 67426

Correct Javanese language code. It is "jv" and not "jw", the latter was an error in a previous edition of ISO 639 standard and was corrected since then. Closes #13131.

2011-04-09 12:28 JS, revision 67421

Correction to position in character insertion event when also deleting selected text.

2011-04-09 12:28 JS, revision 67420

Correction to position in character insertion event when also deleting selected text.

2011-04-09 11:22 SC, revision 67419

fixing configure builds for iphone

2011-04-08 22:22 TIK, revision 67418

Fix a comment typo.

2011-04-08 18:31 SC, revision 67417

see #9715

2011-04-08 17:09 SC, revision 67416

workaround OSX bug, fixes #4555

2011-04-08 14:16 SC, revision 67415

support 3.X deployment

2011-04-08 10:08 JJ, revision 67414

Update OpenVMS compile support

2011-04-07 14:55 SC, revision 67412

adding 10.5 APIs to avoid CGErrors, fixes #13121

2011-04-06 19:04 PC, revision 67411

build fix for wxUSE_LOG==0

2011-04-06 19:03 PC, revision 67410

2011-04-06 19:02 PC, revision 67409

fix typo from r67326

2011-04-06 18:37 VZ, revision 67408

Fix vararg function in wxXml unit test broken by recent changes. The changes in r67345 changed CheckXml() vararg function to take a reference as the first argument but this doesn't work with va_start(), so revert to using a pointer here. This fixes the current unit test failures in the XML tests.

2011-04-06 16:37 VZ, revision 67407

Avoid dereferencing invalid iterator in wxMessageDialog code. The iterator wxString::rbegin().base()+1 is invalid so check that we don't use it. Closes #13126.

2011-04-06 16:37 VZ, revision 67406

Correctly restore the old locale in wxXLocale functions. In non-wxHAS_XLOCALE_SUPPORT case we didn't restore the original locale correctly in wxStrtoxxx_l() functions as the return value of wxSetlocale() was incorrectly assumed to be the old locale instead of the new one. Fix this and also replace the macros used by the old code with a small helper class, this simplifies the code and is less ugly. Finally add a unit test which failed before these changes when the program ran in any non-C locale but passes now. Closes #13117.

2011-04-06 16:37 VZ, revision 67405

Fix incorrect use of setlocale() in wxLocale::IsAvailable(). The return value of setlocale() was used incorrectly in this code: it represents the newly set locale and not the previously active one so we didn't actually restore the original locale before. Fix the code and check that we do actually restore the locale in a new unit test for it. See #13117.

2011-04-06 10:53 JJ, revision 67401

Update OpenVMS compile support

2011-04-06 10:47 JJ, revision 67400

Fix for broken wxGTK1 compilation

2011-04-06 00:29 VZ, revision 67399

Don't do anything in WX_ASSERT_FAILS_WITH_ASSERT when wxDEBUG_LEVEL==0. We can't test for assert failure when using a build of wxWidgets in which asserts don't exist at all. Closes #13119.

2011-04-06 00:29 VZ, revision 67398

Fix VarArgTestCase compilation when type traits are unavailable. When type traits are unavailable we can't check whether a type can be passed to a vararg function but we still need to pass a copyable object to wxString::Format() for the code to compile, even if we just want to check that it will fail with the assert at run-time. Closes #13118.

2011-04-05 17:50 PC, revision 67394

build fix for gtk1

2011-04-05 00:07 DS, revision 67393

Compilation fixes for wxUSE_LOCALE and wxUSE_XLOCALE set to 0.

2011-04-04 20:01 JS, revision 67390

Corrected XML conversion for style names, face name to avoid loading errors

2011-04-04 19:56 JS, revision 67389

Corrected XML conversion in style names and face names

2011-04-04 19:55 JS, revision 67388

Further commenting

2011-04-04 11:21 DS, revision 67387

Changed licence references to "wxWindows licence". Use "wxWindows licence" and not "wxWidgets licence" and also use British spelling for licence. Updated new occurrences in recently added files and a couple of previously (r64940) missed ones. See #12165.

2011-04-04 00:41 DS, revision 67386

Fixed failing image test. ImageTestCase::DibPadding was always failing due to differences in pixel data between the decoded GIF and encoded ICO image. Instead of comparing image content just check if the saving of the ICO succeeds (prior to r67296 it would crash).

2011-04-03 22:52 DS, revision 67385

No code changes, fixed forgotten typo that is a part of r67384. See #13076.

2011-04-03 22:31 DS, revision 67384

No code changes, fixed various typos. Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk. Closes #13076.

2011-04-03 07:19 PC, revision 67383

For wxGTK2, link with X11 explicitly, since we use many X11 functions directly. Some linkers, notably newer Linux ones, don't implicitly link against dependent libs Fixes #13100

2011-04-03 01:37 PC, revision 67382

Correct query for formats supported by wxDataObject in wxGTK wxClipboard, closes #11811

2011-04-03 01:37 PC, revision 67381

fix for wxUSE_COMBOBOX==0, closes #12268

2011-04-03 01:31 VZ, revision 67380

Disable wxUSE_STD_CONTAINERS by default for MSVC6. This compiler can't compile its own standard headers with the default options as it overflows an internal heap. Disable the use of standard containers by default for it to avoid this problem and indicate that /Zm option must be used to avoid this.

2011-04-03 00:19 PC, revision 67379

make sure value label updates even if handle position does not change, fixes #13042

2011-04-02 22:43 PC, revision 67378

need to override DoGetBestClientSize() to get correct size, fixes #13088

2011-04-02 20:28 PC, revision 67377

fix overwrite of upper left part of parent window with sunken/raised border, fixes #13072

2011-04-02 18:38 VZ, revision 67376

No real changes, just some more minor cleanup in wxSVGFileDC. Harmonize spaces, remove unnecessary semicolons, remove useless return statements from void functions.

2011-04-02 18:38 VZ, revision 67375

Remove wxSVG_DEBUG from wxSVGFileDC. Remove the weird wxSVG_DEBUG which could apparently be used to trace the code execution by triggering asserts in all functions. This is really not the right way to implement tracing and seems pretty useless, just remove it.

2011-04-02 18:37 VZ, revision 67374

Clean up of string operations in wxSVGFileDC code. Use operator+=() instead of "s = s + ...". See #13086.

2011-04-02 18:37 VZ, revision 67373

Add support for alpha channel in colours in wxSVGFileDC. Use stroke-opacity and fill-opacity SVG attributes to handle pens and brushes created from colours with alpha channel in wxSVGFileDC. Closes #13086.

2011-04-02 18:37 VZ, revision 67372

No changes, just merge some strings in wxSVGFileDC. Concatenate string literals at compile-time instead of run-time. See #13086.

2011-04-02 18:37 VZ, revision 67371

Use wxPENSTYLE_XXX and wxBRUSHSTYLE_XXX instead of wxXXX constants. Use non-deprecated constants in wxMSW wxGC code. Closes #13109.

2011-04-01 18:20 PC, revision 67368

build fix for GTK1 after r67299

2011-03-31 19:22 JMS, revision 67365

Added wxComboPopup::DestroyPopup(), which responsibility is to call Destroy() for the popup control and also delete the combo popup object itself. The default implementation should be able to handle common cases.

2011-03-31 15:11 JS, revision 67363

Buffer size calculation correction

2011-03-31 15:10 JS, revision 67362

Buffer size calculation correction

2011-03-31 12:52 JJ, revision 67361

Update configuration for OpenVMS

2011-03-31 12:08 VZ, revision 67360

Compilation fix for wxUSE_STL==1 build after r67356. An explicit conversion to char* is required in wxUSE_STL build.

2011-03-31 11:38 VZ, revision 67359

Implement wxGraphicsContext::GetSize() for Cairo. As the implementation of this method is basically the same for all ports move it to the base class itself instead of requiring the derived classes to implement it. Now the derived classes need to fill in m_width and m_height members instead. Do fill them when creating wxGraphicsContext in Cairo version.

2011-03-31 11:37 VZ, revision 67358

Tentative compilation fix for wxMSW with MinGW after STL changes. Include wx/stack.h, which includes the standard <stack> header, before <windows.h> as the latter redefines min and max as macros conflicting with the standard headers.

2011-03-31 11:28 VZ, revision 67357

Add wx/msw/panel.h to the list of wxMSW headers in bakefile. Also move src/msw/panel.cpp to the list of normal wxMSW sources from the list of low-level ones as it's not needed by wxUniv. Closes #13103.

2011-03-31 11:28 VZ, revision 67356

Fix alpha handling in CSS syntax in wxColour in non-"C" locale. Use locale-independent functions to parse and generate the floating point alpha representation in CSS syntax for colours to make it work in locales which don't use period as decimal separator. Closes #13077.

2011-03-31 11:28 VZ, revision 67355

Fix HMENU to wxMenu translation in wxMSW code. We didn't find the menus corresponding to the submenu handles. This resulted in incorrect processing of EVT_UPDATE_UI events for the submenus and probably other problems. Fix this by searching for the HMENU recursively in all menus. Closes #13080.

2011-03-31 11:28 VZ, revision 67354

Document unexpected wxWindowDisabler taskbar UI in wxMSW. It may be unexpected that the application can still be closed from the taskbar even if its main window is disabled. Mention this in the documentation and indicate how to prevent this from happening if required. Closes #13081.

2011-03-31 11:28 VZ, revision 67353

Correct wxGraphicsContext::StrokeLines(n, points) documentation. This method draws a single polyline. Closes #13099.

2011-03-31 10:19 DS, revision 67352

Moved mention of buffer overrun fix from 2.8.12 to 2.8.13 section because it was too late for 2.8.12.

2011-03-30 16:16 VZ, revision 67347

Remove REMOVE_UNUSED_ARG option from setup.h files. This identifier wasn't used anywhere as WXUNUSED() is always defined as nothing for all compilers since quite some time. Also moved wxUSE_IOSTREAMH together with the other wxUSE_STD_XXX options and removed the "compiler (mis)features" section which became empty after doing this.

2011-03-30 16:16 VZ, revision 67346

Add support for elements preceding the document node in wxXML. This is mainly useful for parsing and generating processing instructions but can be used for any kind of elements, e.g. also comments, occurring before the document node in XML documents. Closes #11593.

2011-03-30 16:16 VZ, revision 67345

Fix memory leaks in wxXml unit test. Ensure that the root wxXmlNode is deleted by storing it in a wxScopedPtr instead of a raw pointer. See #11593.

2011-03-30 16:16 VZ, revision 67344

Always update internally stored AUI floating frame position. Update the internally stored position of a floating AUI frame even if the user is dragging it too fast to update its position on screen. This prevents the frame from snapping back to the initial position when movement is over. Closes #13014.

2011-03-30 16:16 VZ, revision 67343

Add wxUSE_STD_CONTAINERS and turn it on by default. Previously, wxUSE_STL enabled both implicit conversion of wxString to std::[w]string and use of standard containers for the implementation of their wx equivalents. Split up the two roles now by allowing to enable the use of the standard containers independently of (backwards incompatible) implicit conversion in wxString and actually enable wxUSE_STD_CONTAINERS by default.

2011-03-30 16:15 VZ, revision 67342

Fix XTI compilation in STL build. Use explicit c_str() calls in XTI code as implicit conversion to "const char *" doesn't exist in STL build. This fixes compilation problems when wxUSE_EXTENDED_RTTI && wxUSE_STL. Closes #13087.

2011-03-30 11:26 DS, revision 67341

Tagged 2.8.12 release

2011-03-30 07:59 PC, revision 67339

build fix for older GTK2

2011-03-30 07:35 PC, revision 67338

convert assertdlg_gtk to C++

2011-03-30 07:29 PC, revision 67337

prepare to convert file to C++

2011-03-29 20:40 SC, revision 67336

fix clang warning (? having two different operand types)

2011-03-29 19:49 PC, revision 67335

must use deprecated function for gtk2

2011-03-29 07:29 PC, revision 67334

don't crash on error

2011-03-29 07:17 PC, revision 67333

build fix

2011-03-29 07:16 PC, revision 67332

fix typo

2011-03-29 07:15 PC, revision 67331

GTK_WIDGET_SENSITIVE should have been converted to gtk_widget_get_sensitive

2011-03-28 16:10 VS, revision 67328

wxDataViewChoiceRenderer's editor control should have the same size as the cell. It looks weird when it's significantly shorter than the content cell being edited.

2011-03-28 08:27 PC, revision 67326

avoid deprecated functions and direct struct access

2011-03-27 21:38 PC, revision 67324

yet more avoiding direct struct access

2011-03-27 20:41 PC, revision 67321

add more functions we will need

2011-03-27 20:30 JMS, revision 67320

Instead of just deleting m_popupInterface, call Destroy() of its wxWindow-based popup control obtained via GetControl() member function. Also still delete m_popupInterface if there was no popup control, or if it was implemented as a separate class (versus being multiple-inherited along side wxComboPopup, as has been the common practice).

2011-03-27 19:23 VS, revision 67319

Always use gtk2-compat.h definitions. We support building against newer GTK+ version and using an older one at runtime, so we must provide our implementations of these functions even if GTK_CHECK_VERSION would indicate the function is already available in GTK+.

2011-03-27 19:23 VS, revision 67318

Renamed wx/gtk/private/compat.h to gtk2-compat.h.

2011-03-27 09:17 PC, revision 67317

more avoiding direct struct access

2011-03-27 08:51 PC, revision 67316

remove unused mouse event and redundant checks

2011-03-27 08:38 PC, revision 67315

a few changes for gtk3, avoiding direct struct access

2011-03-26 19:09 VS, revision 67313

Compilation fix for r67312: add explicit cast to GtkStateType.

2011-03-26 16:49 VS, revision 67312

Use accessor functions instead of deprecated GTK+ macros.

2011-03-25 17:42 JS, revision 67311

Fix for image saving speedup

2011-03-25 17:41 JS, revision 67310

Fix for image saving speedup

2011-03-25 16:08 VS, revision 67308

Don't use deprecated gtk_widget_ref().

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

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

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

wxRTC image writing speedup didn't make it into 2.8.12

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

fix tool item enter/leave notify, fixes #13083

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

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

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

Speeded up image saving to XML (WriteHex).

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

Speeded up image saving to XML (WriteHex).

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

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

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

clean up wxGTK tooltip code

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

wiring notifications

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

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

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

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

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

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

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

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

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

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

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

first version of osx_cocoa implementation

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

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

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

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

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

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

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