Changelogs

Overview

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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

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

Move wxCheckBoxNameStr declarations to wx/tglbtn.h from wx/port/tglbtn.h. Don't duplicate wxCheckBoxNameStr declarations in all ports. Of course, the question still remains why does wxToggleButton use wxCheckBoxNameStr and not a specific name in the first place.

2011-02-22 13:13 JS, revision 66991

Documented menu bar fix

2011-02-22 13:10 JS, revision 66990

VC6 build fix

2011-02-20 21:08 JS, revision 66986

Regenerated makefiles using Bakefile 0.2.9

2011-02-20 19:18 VS, revision 66985

Put normal space between Back and Next buttons in wxWizard. Use regular space between these two buttons even on Windows, where they were previously close together. This used to be done in older Windows versions, but modern Windows HIG documents show wizards with equal spacing between all buttons and that's what Windows OS itself does. In other words, not treating this pair of buttons specially is more native.

2011-02-20 13:05 JS, revision 66984

Corrected a hit test problem when tabs are present

2011-02-20 13:05 JS, revision 66983

Corrected a hit test problem when tabs are present

2011-02-20 12:04 TIK, revision 66982

Check for bind() failing. Closes #12299

2011-02-20 11:48 TIK, revision 66981

Apply #12084: Double-clicking disabled left/right scroll buttons in wxAuiNotebook no longer counts as background doubleclick.

2011-02-20 11:26 TIK, revision 66980

Need to call wxFrame::Create instead of wxWindowBase::CreateBase in the wxPseudoTransparentFrame constructor. Fixes crash reported in #11474

2011-02-20 07:31 SC, revision 66979

handling nil images correctly, solves #12956

2011-02-19 17:18 SC, revision 66978

appeasing clang

2011-02-19 15:51 SC, revision 66977

only draw separator line on the area adjacent to content, avoids double frames

2011-02-19 15:26 VZ, revision 66976

Work around an intermittent crash in GSocket under Mac. The socket descriptor may somehow be invalid when an input timeout notification is received. This is almost certainly not the right fix but the code has completely changed in 2.9 so it doesn't make much sense to spend time on fixing it properly here. But adding this check seems to be enough to fix the crash, see #12264. Closes #8904.

2011-02-19 15:26 VZ, revision 66975

No changes, just de-TAB gsocket.cpp. TABs must be removed before committing other (significant) changes to this file which would otherwise be blocked by svn commit hook.

2011-02-19 15:17 VZ, revision 66974

Remove unused variables in wxOSX code. Simply remove some unused variables that Xcode 4 compiler warned about. See #12927.

2011-02-19 15:16 VZ, revision 66973

Remove extra semicolons in Objective-C code. The semicolons after the method signature in its implementation are useless and, in fact, provoke warnings from the compiler used by Xcode 4. Simply remove them. See #12927.

2011-02-19 15:16 VZ, revision 66972

Remove stray #pragma implementation. This #pragma is obsolete and shouldn't be used any more (if it ever had to be). See #12927.

2011-02-19 15:16 VZ, revision 66971
  • D /wxWidgets/trunk/src/html/htmlfilter.cpp
  • D /wxWidgets/trunk/src/html/search.cpp

Remove long unused wxHTML files. These files seem to be left overs from the initial cvs import many years ago, remove them to avoid confusion. See #12927.

2011-02-19 14:54 VZ, revision 66970

Define forward-compatible wxT_2() macro. This macro is the same as wxT() in wx 2.8 but allows to write code compatible with wxWidgets 3 where it expands to nothing. See #12925 and r66968.

2011-02-19 14:54 VZ, revision 66969

Replace a name with Latin-1 characters with ASCII equivalent. The file wxchar.h currently doesn't have UTF-8 encoding but contained non-ASCII 'å' character which prevented any changes to it from being committed. Instead of converting the file to UTF-8 (which would be better but just might create some unforeseen problems) simply use the ASCII spelling of the name, as it's already done in several other files.

2011-02-19 14:44 VZ, revision 66968

Add wxT_2() macro for compatibility with wxWidgets 2 API. This macro can be used to make the same code compile with both v2 and v3 as it expands to wxT() in 2.8 and nothing in later versions. See #12925.

2011-02-19 13:33 VZ, revision 66967

Add wxAutomationInstance_SilentIfNone flag for wxMSW OLE code. This flag allows to suppress the error message in case there are no currently running instances of this object and can be useful if the caller doesn't know in advance whether it's available or not. Closes #12734.

2011-02-19 13:32 VZ, revision 66966

Move "static" keyword out from wxDEPRECATED() macros to placate icc. Intel compiler gives warnings if the static keyword is not at the beginning of the declaration and this happened when using it inside wxDEPRECATED() and related macros because the declaration started with __declspec(deprecated) or __attribute__((deprecated)) instead. To avoid this problem, simply move "static" outside the macro. Closes #12932.

2011-02-19 13:32 VZ, revision 66965

Correct signed/unsigned comparison in wxGridBagSizer code. Casting a signed value to unsigned type is a recipe for disaster if it actually turns out to be negative because the comparison remains always false and the loop becomes practically infinite. So cast the unsigned value to signed int instead, this should be perfectly safe as the number of columns or rows in a sizer can't exceed INT_MAX anyhow. Notice that after the changes of the previous revision the signed value should actually be always positive so this change is not strictly needed but it is still safer to write the comparison like this. See #12934.

2011-02-19 13:32 VZ, revision 66964

Don't accept invalid values for rows/columns in wxGBSpan ctor. wxGBSpan must have strictly positive row and column span as otherwise the grid bag sizer code could enter an infinite loop trying to exceed a negative number which it casted to an unsigned one. And while the cast itself is incorrect too the program still behaves undesirably (produces a lot of asserts in debug build and then crashes or crashes directly in release) if a zero size span is used so it seems better to prevent this from happening. Closes #12934.

2011-02-19 01:30 VZ, revision 66961

Fix out of bounds string access in wxMSW wxDirDialog. Using the initial directory of "/" (or "\\" or in fact any string consisting solely of slashes and backslashes) resulted in a crash as the code incorrectly tried to read the character before the beginning of the string. Fix this by checking that the string is not empty before using s.end()-1 iterator. Closes #12946.

2011-02-19 01:30 VZ, revision 66960

Don't ask for wxTextAttr colour if it doesn't have any in text sample. This fixes an assert which could happen when showing the rich text editor. Also show the colour in a more readable form if possible. Closes #12950.

2011-02-19 01:30 VZ, revision 66959

Compilation fix for PCH-less wxOSX build. Forward declare wxChoice. Closes #12953.

2011-02-19 00:42 JS, revision 66958

Version number change

2011-02-18 20:06 SC, revision 66956

fixes #12935

2011-02-18 19:44 SC, revision 66955

bail out with error in case of carbon set for 64 bit architecture

2011-02-18 19:25 SC, revision 66954

precomp header fixes

2011-02-18 18:48 SC, revision 66953

updating sysopt string

2011-02-18 18:29 SC, revision 66952

support for file-type popup, compatible for 10.4+, solves #12429

2011-02-18 08:26 SC, revision 66951

support non precomp builds

2011-02-17 23:08 JS, revision 66949

Change log updates and version/date updates

2011-02-17 16:01 JS, revision 66945

Workaround for #10040: wxGrid scrolls back to the previous edit position

2011-02-17 14:39 JS, revision 66943

Applied backport for #11157: Generic wxTreeCtrl - SelectItem toggles selection if item already in desired state

2011-02-17 13:30 JS, revision 66942

Applied fix #11254: assert on wxEVT_MOUSE_CAPTURE_LOST and wxGrid

2011-02-17 12:01 JS, revision 66941

Backport for for #12143: Click anywhere inside wxListBox generates wxEVT_COMMAND_LISTBOX_SELECTED event Needs wxUSE_LISTBOX_SELECTION_FIX to be set to 1 in include/wx/msw/listbox.h since it is not binary compatible.

2011-02-17 11:20 JS, revision 66940

Fix for backport

2011-02-17 11:12 JS, revision 66939

Applied backport for fix to #4111: wxFileName::IsFileReadable fails under Windows 98

2011-02-17 10:57 JS, revision 66938

Fixed #12312: Can't use --disable-radiobtn with 2.8

2011-02-17 10:53 JS, revision 66937

Fixed bug #9856: wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer

2011-02-17 10:52 JS, revision 66936

Fixed bug #9856: wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer

2011-02-17 10:46 SC, revision 66935

activating high-res support via artprov mac

2011-02-17 07:46 SC, revision 66934

patch applied with thanks, fixes #10524

2011-02-17 00:51 VZ, revision 66932

Correct example of wxRegKey use in its documentation. Don't check for the key existence, it ought to exist if we create it like this. Also don't allocate wxRegKey object on the heap unnecessarily.

2011-02-17 00:45 VZ, revision 66931

Remove WXDLLIMPEXP_CORE from VC6 wxCompositeWindow declaration. Hopefully not using WXDLLIMPEXP_CORE here should fix VC6 warnings about using non dll-interface class as a base class for a dll-interface one.

2011-02-17 00:45 VZ, revision 66930

Don't use native MSW wxProgressDialog version in wxUniv. The native version should only be used in the native port.

2011-02-17 00:44 VZ, revision 66929

Compile wxUIActionSimulator in wxUniv builds. Move wxUIActionSimulator implementation files to low level sources to ensure that they are included in wxUniv builds.

2011-02-17 00:31 JS, revision 66928

Applied #11097: wxGraphicsContext::DrawBitmap: x and y coords should not be affected by stretch factor

2011-02-17 00:27 JS, revision 66927

Applied patch #12444: wxAcceleratorEntry::IsOk() is broken

2011-02-17 00:25 JS, revision 66926

Applied #10079: wxAuiToolBar: Allow right-click on any kind of button

2011-02-17 00:19 JS, revision 66925

Applied #11389: dataview GetValueByRow, SetValueByRow

2011-02-16 23:58 JS, revision 66924

Applied #10576: msw build fails when using watcom with no-threads option

2011-02-16 23:37 JS, revision 66923

Applied #11350: LP64 LLP64 conflicts in wxStyledTextCtrl result in crashing win64 applications

2011-02-16 23:26 JS, revision 66922

Applied #10111: race condition bugs in wxCondition

2011-02-16 23:00 JS, revision 66920

Applied #12549: command line usage correction

2011-02-16 22:57 JS, revision 66919

Applied #11536: null ptr deref

2011-02-16 22:55 JS, revision 66918

Applied fix #11520: resource leak

2011-02-16 22:51 JS, revision 66917

Applied #12437: use static wxColourData in wxGetColourFromUser

2011-02-16 22:48 JS, revision 66916

Applied #12436: added wxFD_FILE_MUST_EXIST flag to wxFileSelector

2011-02-16 22:46 JS, revision 66915

Applied #12438 IsUNCPath patch

2011-02-16 22:44 JS, revision 66914

Check for double creation (patch #12434)

2011-02-16 22:40 JS, revision 66913

Fix for OLE conversion to date (patch #12857)

2011-02-16 22:35 JS, revision 66912

Fix CalculatePositions optimization (corrects #12435)

2011-02-16 22:31 JS, revision 66911

Allow m_docManager to be NULL (patch #12435)

2011-02-16 21:53 JS, revision 66910

Updated version

2011-02-16 19:51 SC, revision 66908

adding edit menu in order to be able to support native edit menu commands (osx)

2011-02-16 19:32 SC, revision 66907

support native edit menu handling (cocoa enables menu items in built-in modal dialogs automagically, if they have the proper selectors)

2011-02-16 19:31 SC, revision 66906

toolbar support in all orientations

2011-02-16 19:30 SC, revision 66905

toolbar support in all orientations

2011-02-16 17:37 SC, revision 66904

remove ununsed member

2011-02-16 17:10 SC, revision 66903

conforming to deprecation recommendation for 10.6

2011-02-16 08:38 SC, revision 66901

support for file types in save panel

2011-02-16 07:59 SC, revision 66900

support wxFD_MULTIPLE

2011-02-16 07:55 SC, revision 66899

fixing naming to conform to effective ownership, cleaning up releasing

2011-02-16 06:13 PC, revision 66898

fix GCC warning

2011-02-15 21:31 MBN, revision 66897

Fixed compilation when WXINTL_NO_GETTEXT_MACRO is defined.

2011-02-15 11:15 VZ, revision 66894

Make the source file non-executable. The file ctrlcmn.cpp somehow got the executable bit in r66871, undo this.

2011-02-14 23:12 VZ, revision 66893

Don't increase button height in wxMSWButton::GetFittingSize(). This is unnecessary and resulted in too high buttons in some cases for buttons with images. As we increase the button height to at least the standard value later in all code using function anyhow, it's not necessary to do anything with the height inside it. Now the buttons with an image get the same height whether they have the text or not. This change also gets rid of (completely arbitrary) decision to use 11/10 of the label height when computing the fitting button size and it's always nice to get rid of dirty hacks like this. Closes #12924.

2011-02-14 23:12 VZ, revision 66892

Don't make buttons with images too wide in wxMSW. We used to increase the button size to the standard size first and then add the extra padding the buttons with images. This resulted in too much padding for the buttons with short text labels and images. Instead, add the padding for the image first and only then increase the button size to the standard one if still needed. See #12924.

2011-02-14 23:12 VZ, revision 66891

Don't add margins for buttons with text and images by default in wxMSW. For some reason wxXPButtonImageData added (big) margins around the button by default resulting in too much padding. Simply remove these margins to make it behave similarly to wxODButtonImageData. See #12924.

2011-02-14 23:11 VZ, revision 66890

Clarify wxButton::AdjustForBitmapSize() semantics in wxMSW. This method should only be called if we do have an image, assert (instead of silently returning) if it's called when we don't. Also explain in a comment why do we need to call CacheBestSize() only when we have an image in DoGetBestSize().

2011-02-14 20:13 SC, revision 66888

support framelayout for choice

2011-02-14 13:30 VZ, revision 66885

Remove X11-specific wxWindowIsVisible() from common Unix file. XGetWindowAttributes() used in this function resulted in link problems under Fedora 14 because we don't explicitly link with libX11. Instead of doing this, simply get rid of this function as it seems to be used in exactly one place in wxX11 code only anyhow.

2011-02-14 12:59 VZ, revision 66884

Explain wxSizer::SetVirtualSizeHints() deprecation. Tell people that FitInside() should be used instead.

2011-02-13 18:09 VS, revision 66881

Fix VC2008 dependencies with Bakefile 0.2.9.

2011-02-09 20:52 VS, revision 66875

More wxControl::Ellipsize() tests.

2011-02-09 20:52 VS, revision 66874

Don't eliminate text completely in Ellipsize(). If the shortened text is so short there's nothing left of the original, show one character and "...". This is standard behaviour on both Windows and OS X, in addition to making lot of sense. Fixes #11360.

2011-02-09 20:52 VS, revision 66873

Calculate ellipsized width exactly. Width calculation using partial extents is just an inaccurate estimate: partial extents have sub-pixel precision and are rounded by GetPartialTextExtents(). Use partial extents to estimate string width and only verify it with GetTextExtent() when it looks good.

2011-02-09 20:52 VS, revision 66872

Don't shorten text too much in wxControl::Ellipsize(). If the allowed width is so small that nothing reasonable can fit it, overlap it. Ellipsized text must always contain "..." to indicate that it was shortened, it isn't acceptable to omit it. See #11360.

2011-02-09 20:51 VS, revision 66871

Ellipsization can't shorten 1-character string. It doesn't make sense to attempt to shorten 1 character long string, so don't do it. Note that 2 characters strings may be shortened (consider e.g. "mm" in some typefaces).

2011-02-09 20:51 VS, revision 66870

Remove "safety margin" from wxControl::Ellipsize(). When ellipsizing kicks in, the text is much shorter than the available space -- there's a "safety margin" of one character's width that is always left unused. This appears to be some kludge that worked around algorithm defects, not something that should really be needed.

2011-02-09 20:11 JMS, revision 66869

Added missing wxBitmapComboBox::Insert() implementation

2011-02-08 18:24 VZ, revision 66866

Tweak offset in the RichTextCtrlTestCase::UrlEvent() to make it pass. The mouse was not positioned over the URL in this test so clicking it didn't work. Tweak the offset to make it pass but it would be better to have some more fool-proof way of finding the real position of the text in the control.

2011-02-08 18:24 VZ, revision 66865

Use wxLocale instead of setlocale() to change the locale in the tests. Numeric validator tests rely on wxLocale::GetInfo() returning the decimal point and calling setlocale() is not enough to ensure this under MSW, we must use wxLocale for this currently.

2011-02-08 15:19 SC, revision 66864

disabling multiline text controls correctly

2011-02-08 15:11 SC, revision 66863

forward enable functionality to inner view in scrollview (eg for multiline textviews)

2011-02-08 14:36 VZ, revision 66862

Fix wxWrapSizer minimal size calculation. Add a unit test checking that wxWrapSizer::CalcMin() returns the expected results. Closes #12464.

2011-02-08 14:36 VZ, revision 66861

Fix bytes to integers conversion in png2c script. Use really correct coefficients for all the bytes.

2011-02-08 14:36 VZ, revision 66860

Define KEY_WOW64_64KEY if it is missing from SDK headers. Fixes compilation with old SDKs, e.g. the one used by VC6.

2011-02-08 11:47 SC, revision 66859

copy item text for app menu items from wx menus

2011-02-06 02:01 VZ, revision 66853

Correct more wxEVT_AUXn_XXX event types names. This completes the changes of r64414 and also removes the extraneous "MOUSE" from the event types listed in the wxMouseEvent ctor documentation. Closes #12095.

2011-02-06 02:01 VZ, revision 66852

Use better title by default in wxDocPrintout. Use the document name instead of the default "Printout" if no title is explicitly specified when creating wxDocPrintout. Closes #12885.

2011-02-06 02:01 VZ, revision 66851

Allow accessing 64 bit registry from 32 bit MSW code and vice versa. Implement support for KEY_WOW64_32KEY and KEY_WOW64_64KEY in wxRegKey code. Closes #10792.

2011-02-06 02:00 VZ, revision 66850

Use Explorer style for wxTreeCtrl with wxTR_TWIST_BUTTONS in wxMSW. The tree control style used by Explorer uses rotating triangles instead of the standard "+/-" buttons and so seems to correspond relatively well to this style. And this provides a possibility to have a more standard-looking tree controls in wxWidgets programs.

2011-02-06 02:00 VZ, revision 66849

Clean up wxMSW wxTreeCtrl code by removing obsolete workarounds. Remove wxUSE_COMCTL32_SAFELY that hasn't been needed for years, the current code seems to work just fine on all the systems so remove this obsolete workaround to simplify it.

2011-02-05 21:25 VZ, revision 66848

Link console programs with PNG library in monolithic build. PNG images are used by the main wxWidgets library itself now and so linking with the monolithic wx library introduces dependencies on PNG as well, even for the console applications. Link them with linpng to avoid linker errors. Closes #12889.

2011-02-05 21:24 VZ, revision 66847

Correct decoding of 4-byte integers in png2c script. Wrong multiplier was used for the most significant byte. Fix it even though it doesn't risk to be a problem in practice as the images of such gigantic size would surely break some limit anyhow.

2011-02-05 21:24 VZ, revision 66846

Re-enable generation of wxEVT_MOVE_{START,END} events under wxMSW. Handling of WM_{ENTER,EXIT}SIZEMOVE was disabled as a side-effect of r47927, possibly unintentionally. Revert this change to generate these events again. Also document that they're MSW-only for now.

2011-02-05 17:38 VZ, revision 66845

Don't adjust menu item positions for title for menubar menus in wxMSW. The code in wxMSW menu code which accounted for the extra items used to show popup menu title has become incorrect since the changes of r66178 as now the non-popup menus have titles as well. Correct the check to only do the adjustment for the popup menus. Closes #12922.

2011-02-05 17:36 VZ, revision 66844

Deprecate second parameter of wxSlider::SetTickFreq(). This parameter was never needed nor properly documented. Simply remove it from SetTickFreq() and keep the overload still taking it for backwards compatibility only. Closes #12907.

2011-02-05 17:36 VZ, revision 66843

Implement restoring default video mode under OS X. Use CGRestorePermanentDisplayConfiguration() to implement switching to default video mode in wxOSX wxDisplay implementation. Closes #12914.

2011-02-05 17:14 VZ, revision 66842

Check for WLAN interface names in wxDialUpManager under Unix. Recognize "wlan" and "ath" interfaces as well as the "eth" ones. Closes 12923.

2011-02-03 21:05 JS, revision 66838

Fix for lines not wrapping soon enough if tabs are present

2011-02-03 21:05 JS, revision 66837

Fix for lines not wrapping soon enough if tabs are present

2011-02-03 16:02 VZ, revision 66836

Rebake everything using bakefile 0.2.9. Update configure and bakefile.m4 for the new version too. Also add the missing makefiles and projects for the XTI sample.

2011-02-03 11:59 JJ, revision 66835

Avoid incompatible operand types

2011-02-03 11:20 SC, revision 66834

fixes #10978

2011-02-02 14:49 SC, revision 66829

switching to assert

2011-02-02 12:19 DS, revision 66828

Added support for reading comments from a GIF image. Applied (modified) patch by troelsk. Changed comments (which are allowed per frame in an animated GIF) to be read using wxIMAGE_OPTION_GIF_COMMENT with wxImage.GetOption. Added unit tests for reading and writing GIF comments. Closes #12843.

2011-02-02 08:56 SC, revision 66827

testing for define alone is sufficient and more portable

2011-02-02 08:55 SC, revision 66826

fixing searchctrl on osx_cocoa, changing type for peer to wxSearchCtrl

2011-02-02 08:36 SC, revision 66825

guard against null ptr access

2011-01-31 19:23 VS, revision 66823

Account for first removal char with wxELLIPSIZE_MIDDLE. wxControl::Ellipsize() in wxELLIPSIZE_MIDDLE mode starts the string-shortening loop with the removal interval initially set to remove only the len/2-th character. But it didn't add its size to the running total of removal characters' length, thus always removing one more character. Fixed by making the initial interval 0-sized rather than 1-sized.

2011-01-31 19:23 VS, revision 66822

Remove chars one-by-one with wxELLIPSIZE_MIDDLE. Previously, Ellipsize() would always remove two characters at a time in wxELLIPSIZE_MIDDLE mode. This was clearly a bug: it led to shortening the text more than was strictly necessary.

2011-01-31 17:54 VS, revision 66821

Fix vertical rules rendering in generic wxDataViewCtrl. Vertical rules are now drawn in the last pixel of a column instead of in the first, so that they align perfectly with native MSW wxHeaderCtrl as well as for consistency with MSW native list control. There's no vertical rule at the most-left side of the control anymore.

2011-01-30 20:01 SC, revision 66819

adding support for wxCANCEL_DEFAULT

2011-01-29 15:20 VZ, revision 66814

OLE uses VARIANT_TRUE and not TRUE for its boolean values. VARIANT_TRUE is -1, unlike TRUE which is just 1, and we must use the former and not the latter with OLE VARIANT values. Closes #12910.

2011-01-29 14:55 VZ, revision 66813

Revert "Set up pages range in the wxMSW print dialog correctly." This patch changed the relative order of calls to wxPrintout::GetPageInfo() and OnPreparePrinting(), breaking the existing code and the documentation promise about OnPreparePrinting() being called first, so revert it. Reverts r66549. See #12819. Closes #12911.

2011-01-28 16:01 JJ, revision 66804

Update OpenVMS makefile

2011-01-28 09:36 DS, revision 66803

Allow writing a comment to each GIF frame. Don't write a comment as part of the GIF header during the first frame only but write a possible comment for each wxImage in an animation.

2011-01-28 09:10 DS, revision 66802

Added support for writing a long comment to a GIF image. Instead of limiting a comment to a maximum length of 255 bytes write multiple comment data blocks (each a Pascal string) followed by the block terminator.

2011-01-28 08:35 SC, revision 66801

clang fix, fixes #12332

2011-01-28 08:27 DS, revision 66800

Changed the procedure for writing a comment to a GIF image. Use wxImage.SetOption with newly introduced wxIMAGE_OPTION_GIF_COMMENT to set a GIF's image comment now. Formerly this was done (since recently) using wxGIFHandler::ms_comment which has now been removed.

2011-01-28 07:39 PC, revision 66799

build fix for wxUSE_XPM==0

2011-01-28 07:18 PC, revision 66798

better way to silence unused parameter warning

2011-01-28 03:35 BP, revision 66797

Backport of r66796 (Properly account for floated panes while restoring maximized pane.) - closes #11385

2011-01-28 03:21 BP, revision 66796

Properly account for floated panes while restoring maximized pane.

2011-01-27 19:35 SC, revision 66792

clang fixes, fixes #12332

2011-01-27 18:15 SC, revision 66791

clang fix

2011-01-27 14:27 VZ, revision 66788

Document wxEVT_COMMAND_SPINCTRL_UPDATED in EVT_SPINCTRL description. Also mention the name of the event type when documenting the corresponding event table macro. Closes #12897.

2011-01-27 14:27 VZ, revision 66787

Fix link errors under Cygwin with wxUSE_GRAPHICS_CONTEXT==1. Define ourselves _GdipStringFormatCachedGenericTypographic variable referenced by Cygwin GDI+ headers to fix linking errors due to the fact that we don't link with gdiplus.lib at all but load gdiplus.dll dynamically. Closes #11716.

2011-01-27 14:00 SC, revision 66786

__BIG_ENDIAN__ is either defined AND has a value of 1, or it is not defined at all, so #ifdef is sufficient

2011-01-27 13:38 SC, revision 66785

fixing return type

2011-01-27 12:54 SC, revision 66784

clang warnings

2011-01-27 12:53 SC, revision 66783

good catch by clang ...

2011-01-27 12:37 SC, revision 66782

clang warnings

2011-01-27 12:04 SC, revision 66781

reverting inadvertent commit

2011-01-27 12:00 SC, revision 66780

supporting clang 2.0 under xcode, see #12332

2011-01-26 19:49 SC, revision 66777

keeping opaqueness and backgroundcolor in synch with bgstyle

2011-01-26 19:46 SC, revision 66776

per default wx' static text items have a transparent background

2011-01-26 17:15 SC, revision 66775

artmac extended for cocoa

2011-01-26 16:55 SC, revision 66774

fixing toplevel position

2011-01-26 16:54 SC, revision 66773

hinting support

2011-01-26 16:53 SC, revision 66772

PNG is the native format on iOS

2011-01-26 16:52 SC, revision 66771

avoid populating the array with NULL controls during creation (SetWindowVariant calling SetFont crashing)

2011-01-26 16:51 SC, revision 66770

support for hints, fixing textfield implementation on iOS

2011-01-26 08:42 SC, revision 66766

Maximize for iPhone

2011-01-25 19:47 SC, revision 66761

supporting a null cgimage so that we don't get exceptions, only an wxbitmap that is !Ok()

2011-01-25 19:46 SC, revision 66760

support for separator (fixed width spacE)

2011-01-25 16:47 SC, revision 66759

adding constructor from CGImageRef

2011-01-25 12:23 DS, revision 66758

Fixed heap corruption when reading a corrupted RLE TGA image. There were no boundary checks in place to verify an indicated repeat of pixels would still be inside the image's data. Added these checks and a unit test making sure these kind of TGAs now fail to load.

2011-01-25 09:15 DS, revision 66757

Fixed typo in wxFileName::GetHumanReadableSize docs. Closes #12898.

2011-01-25 06:14 RD, revision 66752

Save the mode in SetMode

2011-01-25 06:03 RD, revision 66751

Add wxRTTI macros for the wxSimpleHtmlListBox class

2011-01-24 18:36 PC, revision 66743

remove deprecated voidp, closes #12896

2011-01-24 17:45 SC, revision 66742

fixing toolbar repositioning (iOS)

2011-01-24 17:45 SC, revision 66741

guarding code in case of delayed controller release

2011-01-24 15:35 VS, revision 66740

Don't allow user to resize non-resizable columns to best size. Double-clicking columns separator resizes the column to the best width for its content. This should only be done for resizeable columns, though.

2011-01-24 15:35 VS, revision 66739

Remove incorrect comment. UpdateColumnWidthToFit() is in fact used when double-clicking columns separators.

2011-01-24 14:17 SC, revision 66738

direct constructor from CGImageRef

2011-01-23 11:13 JMS, revision 66734

To work around harmless memory leaks reported by Visual C++ static runtime libs, assume that C++ typeid operator works well with VC++ 9.0 and later (fixes #12023)

2011-01-23 11:10 SC, revision 66733

loading png and jpg from resource bundle

2011-01-22 22:25 JS, revision 66731

Reverted for a quiet life

2011-01-22 21:43 JS, revision 66730

Don't pointlessly forbid calling AddGrowableRow/Col before adding items.

2011-01-22 20:02 VS, revision 66729

wxDataViewCtrl: fix autosized columns recalculation. The code and its assumptions were correct only for generic wxHeaderCtrl, it didn't work for MSW implementation. Fixed by updating all columns every time.

2011-01-22 15:38 DS, revision 66728

Use wxString's empty() when checking if the string is (non-)empty throughout wx. Instead of constructs such as if "( s.length() )" and "if (s.length() > 0)" use "if ( !s.empty() )" instead. Similarly for "if (s.length() == 0)" or "if ( s.IsNull() )", use "if ( s.empty() )". No code changes intended except for a few instances where a construct like "if ( s.length() && wxFileExists(s) )" was changed to not check the length of the string and let wxFileExists handle such cases.

2011-01-20 16:06 VZ, revision 66727

Explicitly set "C" locale for the tests using decimal point. Ensure that the tests expecting the results with a point as decimal separator really are done in C locale. This should help the tests pass in (French) locale used by the MSW build bot slaves.

2011-01-20 16:06 VZ, revision 66726

Further improve caching of locale-specific data in wxNumberFormatter. Also update the cached data if setlocale() was called explicitly instead of using wxLocale to change the locale because at least under Unix systems calling setlocale() changes the result of wxLocale::GetInfo() and so the result returned by wxNumberFormatter::GetDecimalSeparator() and GetThousandsSeparatorIfUsed() could be inconsistent with the locale being really used.

2011-01-20 16:02 JS, revision 66725

Fixed some bugs in up/down cursor navigation.

2011-01-20 09:38 SC, revision 66724

using explicit fixes #12689

2011-01-20 00:47 VZ, revision 66723

Include more information in assert in wxNumberFormatter. Show more information in the assert failure message to try to understand why is the unit test failing on the buildbot.

2011-01-20 00:47 VZ, revision 66722

Work around wxNumValidator compilation problems with MSVC 6. Surprisingly, MSVC 6 seems to be able to compile most of the code but chokes on a wxCOMPILE_TIME_ASSERT involving an inherited typedef. As this assert is not critical, simply disable it for this compiler.

2011-01-19 21:40 SC, revision 66721

make sure Raise is also activating the window

2011-01-19 19:36 SC, revision 66720

missing release

2011-01-19 19:32 SC, revision 66719

support icns in bundle

2011-01-19 16:08 VZ, revision 66718

Use setUp/tearDown() for NumFormatter test case locale setup. Setting the locale in the ctor of the test object doesn't work because the locale is changed by the other tests that run before this one, use the initialization method provided by cppunit to change the locale instead, this is somewhat wasteful but at least it does work, unlike the old version.

2011-01-19 14:47 DS, revision 66717

Improved detection of alpha channels in TIFF images. Some TIFF images are not properly formed, for example having an extra channel marked as being unspecified data while they should be treated as being an alpha channel. Detect some of those cases so that these TIFF images now will have alpha. Applied patch by gmeeker. Closes #12874.

2011-01-19 13:28 DS, revision 66716

Added GIF and animated GIF saving support. Applied (modified) patch by troelsk. Also added a basic unit test for checking the frames of a saved animated GIF (a previous unit test already handles content of a GIF with a single frame). Closes #8583.

2011-01-19 12:30 DS, revision 66715

removed some leftover debugging code

2011-01-19 11:48 VZ, revision 66714

Add wxIntegerValidator and wxFloatingPointValidator classes. Add validators for integer and floating point numbers. Add an example of their use to the validate sample as well as a new unit test and documentation for them. Use the new classes instead of wxTextValidator in wxGrid code. Closes #12166.

2011-01-19 11:48 VZ, revision 66713

Update cached values in wxNumberFormatter when locale changes. Caching the decimal and thousands separators in wxNumberFormatter is a useful performance optimization, however it can give wrong results if the locale changed since the cached values were initialized. So remember the locale used for the initialization and redo it if it changed. This should still be almost as fast as the previous version but now also correct (still not MT-safe though).

2011-01-19 11:47 VZ, revision 66712

Add support for long long to wxNumberFormatter. It seems to make sense to allow using it for formatting and parsing long long values as well as it can be done trivially using almost the same code as for long. It would be nice to support long double in a similar way but we don't wrap C99 strtold() right now so it wouldn't be as simple, leave it for later.

2011-01-19 11:47 VZ, revision 66711

Add wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG symbol. Instead of writing a rather unreadable "defined(wxLongLong_t) && !defined(wxLongLongIsLong)" expression every time we need to decide if a function needs to be overloaded for both long and long long, add a new symbol which can be tested directly. No real changes in the code.

2011-01-19 11:47 VZ, revision 66710

Add wxNumberFormatter class helping to deal with thousands separators. wxNumberFormatter formats and parses numbers with thousands separators. Add the class itself as well as documentation and the unit test for it. See #12166.

2011-01-19 11:46 VZ, revision 66709

Mention modal dialogs in the wxWindow objects allocation guide. The modal dialogs are an important exception to the usual rules of dealing with wxWindow-derived objects so mention them here too. Closes #12880.

2011-01-19 11:46 VZ, revision 66708

Avoid collapsing the hidden root in wxTreeCtrl::CollapseAllChildren(). The hidden root item can't be collapsed so don't even try to do it as this just results in an assert. This is similar to the changes of r48097 in ExpandAllChildren(). Closes #12881.

2011-01-19 10:33 JMS, revision 66707

In wxStringProperty::ValueToString(), regenerate composed value string also when it was empty. This is needed in cases where property's children were added before property itself was added to the wxPropertyGrid (fixes #12877).

2011-01-19 09:09 RD, revision 66706

On OSX don't propogate the alignment setting from column to renderer if it is a custom renderer. This allows the Render function to deal with the alignment itself and brings the behavior into alignment (pun intended!) with the GTK and generic DV classes. Fixes #12883

2011-01-18 14:34 JS, revision 66705

Fix for incorrect programmatic formatting (default style set immediately if not using Thaw/Freeze)

2011-01-18 13:32 JS, revision 66704

Fixed some problems with floating objects

2011-01-17 11:11 JMS, revision 66699

Changed wxMSW wxGraphicsContext font rendering and extent calculation to take into the account that the page scale has been manually changed when using print contexts (fixes #12830)

2011-01-17 00:24 VZ, revision 66698

Add skeleton documentation for wxAuiToolBar and related classes. Add classes declarations to Doxygen-generated documentation. This doesn't replace the real documentation but is better than nothing. See #10232.

2011-01-17 00:24 VZ, revision 66697

Document wxDialog::ShowWindowModal(). This function is not yet really implemented under all platforms but provide the documentation for it hinting at how (and where) it works. Closes #12873.

2011-01-17 00:24 VZ, revision 66696

Override HasTransparentBackground() in wxHyperlinkCtrl to return true. At least in wxMSW the control must override HasTransparentBackground() to return true if it really wants its background to be transparent, so do it in wxHyperlinkCtrlBase to fix the background appearance when using the generic implementation in wxMSW. See #12271.

2011-01-16 15:09 VZ, revision 66695

Remove undefined wxScrollBarBase::Create() declaration. Create() method in a base class can't be implemented and actually shouldn't even have been defined there in the first place.

2011-01-15 19:52 PMO, revision 66689

Handle 'central widget' in wxFrame, Introduce wxQtSignalHandler, wxQtEventSignalHandler

2011-01-15 16:31 JS, revision 66688

Corrected wrong range in GetText

2011-01-15 14:20 JS, revision 66687

XML import corrections

2011-01-14 20:32 JS, revision 66684

Small doc tweaks

2011-01-14 20:32 JS, revision 66683

Removed GCC 4 warning

2011-01-14 13:15 JS, revision 66682

Compile fix

2011-01-14 13:08 JS, revision 66681

Compile fixes

2011-01-14 12:57 JS, revision 66680

Implemented text boxes and tables, and further editing pages for backgrounds, borders and margins. wxRTC functions now operate on the currently focused object, which by default is the whole buffer. Up to three property commands are now shown on the context menu, depending on available objects in the current hierarchy.

2011-01-13 15:49 VZ, revision 66678

Fixes for parsing invalid HTML without tag ends. The code in wxHtmlParser supposed in many places that a '<' character must be always followed by a '>' one and could create (and sometimes dereference) invalid iterators if this wasn't the case resulting in asserts from MSVC debug CRT and possibly crashes. Fix this by ensuring that only valid iterators are used and add a trivial unit test for wxHtmlParser which checks that it can parse invalid HTML without crashing. Closes #12869.

2011-01-13 15:49 VZ, revision 66677

No changes, just remove a level of indentation in wxHtmlTagsCache ctor. Get rid of characters not starting a tag immediately in the beginning of the loop instead of putting the entire loop body inside an if statement. This doesn't change anything (this becomes more apparent if the patch is viewed with "ignore white space changes" option) except making the code easier to read and modify.

2011-01-13 15:49 VZ, revision 66676

Fix MSVC warnings about signed to unsigned conversion in the tests. Recently modified client data test added calls to SetClient{Object,Data}(-1) and MSVC complained about them, suppress these warnings.

2011-01-13 09:45 JJ, revision 66675

wxComboBox::GetClassInfo() should not be defined here

2011-01-12 19:04 PC, revision 66673

non-pch build fix

2011-01-12 18:58 JMS, revision 66672

In wxBitmapComboBox::RecreateControl(), only call ChangeValue() if the control doesn't have wxCB_READONLY style (fixes #12859)

2011-01-12 14:39 VZ, revision 66670

Add support for icons in wxAUI panes title bars. Add wxAuiPaneInfo::Icon() method and shows its use in the sample. Closes #12856.

2011-01-12 14:39 VZ, revision 66669

Fix crash in wxGenericRichMessageDialog::IsCheckBoxChecked(). The test for checkbox existence was inversed resulting in a guaranteed crash when calling IsCheckBoxChecked() before showing the dialog. Closes #12866.

2011-01-12 14:39 VZ, revision 66668

Disable deprecation and other warnings in MFC sample. VC8+ give tons of deprecation warnings for the standard functions which are usually suppressed by wx headers but they need to be included first for the suppression to be effective. In the MFC sample they were not resulting in many useless warnings. Fix this by pre-defining _CRT_SECURE_NO_WARNINGS to suppress them in the sample itself. Also suppress a warning about WINVER being undefined.

2011-01-12 14:39 VZ, revision 66667

Fix entry point in Unicode build of the MFC sample. MFC needs the entry point to be wWinMainCRTStartup() in Unicode builds but the bakefile-generated projects use the default WinMain() so the sample didn't link in Unicode. Fix this by providing WinMain() which simply forwards to wWinMainCRTStartup() as this seems to work for all MSVC/CRT versions.

2011-01-11 18:05 JJ, revision 66666

make sure wxNativeFontInfo is defined

2011-01-11 17:32 JJ, revision 66665

update OpenVMS makefile

2011-01-10 13:00 VZ, revision 66664

Check index in wxItemContainer methods working with client data. The test for index validity should be done by the base class public methods themselves so that the protected methods in the derived classes don't need to do it because this allows to have the check in one place only and not in every port-specific derived class and also because a protected method can reasonably expect to be called with already validated parameters. This makes it unnecessary to perform the same check in many derived classes and fixes the problem with those that forgot to check for item validity at all before (like wxGTK wxChoice). Also add a unit test checking for the correct behaviour. Unfortunately we don't have any way to test for the precise assert being triggered so the test passed for wxGTK wxChoice even before in debug builds because the expected assert was raised by wxArray::Item() but the code crashed in release build -- whereas now it doesn't any more. Closes #12858.

2011-01-10 13:00 VZ, revision 66663

Remove redundant top level const in wxRibbonBar::ShowPanels(). Use just "bool show" instead of "const bool show". This fixes compilation for some compilers (notably OpenVMS one) broken since r66612.

2011-01-10 12:42 SC, revision 66662

adding new files

2011-01-10 12:40 SC, revision 66661

adding new files

2011-01-10 12:32 SC, revision 66660

adding new files

2011-01-08 19:22 PC, revision 66658

remove always-true test of unsigned >= 0

2011-01-08 19:05 PC, revision 66657

remove unneeded #includes

2011-01-08 18:55 PC, revision 66656

fix GCC warning about not explicitly initializing base class

2011-01-08 18:45 PC, revision 66655

remove always-true tests of unsigned >= 0

2011-01-08 18:33 PC, revision 66654

fix GCC warning about not explicitly initializing base class

2011-01-08 18:17 PC, revision 66653

proper const-ness for GetLine() and operator[]()

2011-01-08 18:16 PC, revision 66652

proper const-ness for Item(), operator[](), and Last()

2011-01-08 11:22 SC, revision 66651

removing xti code which isn't necessary for unicode under trunk anymore

2011-01-08 09:03 SC, revision 66650

rearranging xti code

2011-01-08 07:57 PC, revision 66649

update docs after r66615

2011-01-08 07:42 PC, revision 66648

Move SendIdleEvents() from wxApp to wxWindow. Use it to properly implement idle events for wxGTK menubar, toolbar and statusbar.

2011-01-08 07:39 SC, revision 66647

adding xti info for commandlinkbutton

2011-01-07 23:52 SC, revision 66646

gcc fixes

2011-01-07 23:46 SC, revision 66645

bracketing xti-only methods

2011-01-07 23:37 SC, revision 66644

adding xti info