Commit Graph

41513 Commits

Author SHA1 Message Date
Julian Smart
ddd19343db Applied #10111: race condition bugs in wxCondition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:26:57 +00:00
Julian Smart
eb457f1656 Applied #12549: command line usage correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:00:30 +00:00
Julian Smart
8d91f5cacc Applied #11536: null ptr deref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:57:42 +00:00
Julian Smart
03d6b119ca Applied fix #11520: resource leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:55:02 +00:00
Julian Smart
10666a6642 Applied #12437: use static wxColourData in wxGetColourFromUser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:51:31 +00:00
Julian Smart
72db151696 Applied #12436: added wxFD_FILE_MUST_EXIST flag to wxFileSelector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:48:55 +00:00
Julian Smart
62f833c4af Applied #12438 IsUNCPath patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:46:49 +00:00
Julian Smart
26fe8aa995 Check for double creation (patch #12434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:44:15 +00:00
Julian Smart
6341be5072 Fix for OLE conversion to date (patch #12857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:40:07 +00:00
Julian Smart
c6eed10182 Fix CalculatePositions optimization (corrects #12435)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:35:13 +00:00
Julian Smart
b8ea9cd583 Allow m_docManager to be NULL (patch #12435)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:31:33 +00:00
Julian Smart
44c1bdc56a Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 20:53:53 +00:00
Julian Smart
0327625f62 Fix for lines not wrapping soon enough if tabs are present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-03 20:05:45 +00:00
Paul Cornett
c0c5e5296c build fix for wxUSE_XPM==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-28 06:39:05 +00:00
Bryan Petty
81be630d24 Backport of r66796 (Properly account for floated panes while restoring maximized pane.) - closes #11385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-28 02:35:21 +00:00
Julian Smart
88cc1ec13a Added circle-outline standard bullet style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-02 12:08:41 +00:00
Julian Smart
83ef06d42e XML output corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-21 11:12:53 +00:00
Julian Smart
0d7f162955 Fixed bad rendering with tabs by correcting the position tabs are calculated from
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-21 11:12:06 +00:00
Julian Smart
a7cb6034ff Added apos entity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-20 17:40:05 +00:00
Tim Kosse
d8adb049c3 In some cases menu bar height is reported as 0 when the menu hasn't fully realized yet. Nee to update the height during idle time if it is 0, otherwise no menu is shown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-06 18:40:46 +00:00
Julian Smart
f98779189c Fix for caret positioning inaccuracy when there are tabs and a non-zero control margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-29 20:20:46 +00:00
Julian Smart
c8b1284f7e Allow bullet style to be switched off via the UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-26 16:31:44 +00:00
Julian Smart
4424455daf Style page no longer grows to fit very long style names; freeze/thaw used for speed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-25 09:24:29 +00:00
Michael Wetherell
0600361f98 Fix for wxChm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-08 11:16:54 +00:00
Tim Kosse
8add3170fd Backport r65494: Initialize all fields of struct tm used by wxDateTime::Format(). Closes #12455
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 16:50:34 +00:00
Tim Kosse
25bbad770c Backport r65192: Fix attributes escaping when writing XML. Closes #12275
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 15:47:41 +00:00
Tim Kosse
01c11c0d32 Backport fix for crash in wxCommandProcessor::Store. Closes #12027
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 13:05:08 +00:00
Tim Kosse
31750f130d Backport r65496: Fix infinite loop in wxDateTime::Format() when fields width was used. Closes #12451
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 12:57:57 +00:00
Tim Kosse
db7213c07f Apply #12469: Do not start rename timer if the generic implementation is used which has its own rename timer already.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 08:53:36 +00:00
Michael Wetherell
ea44a9343c A couple of fixes for wxChm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-30 13:09:08 +00:00
Julian Smart
480c0b2864 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-28 06:27:35 +00:00
Julian Smart
e33ca4565c Fix bug finding line after line break
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-23 16:16:33 +00:00
Julian Smart
e6dffa8551 Fix for % symbols going missing from style parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-12 16:16:38 +00:00
Robert Roebling
636ba3c242 Unregister configure callback, fixes #12447: wxGTK patch: Segfault on Drag&Drop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-08 20:01:32 +00:00
Julian Smart
741c337588 wxRichTextCtrl::ApplyStyle now applies a paragraph style at the cursor
without needing a selection, and setting the default style now avoids duplicating
character attributes in subsequently typed text when they exist in the paragraph style.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-01 14:48:43 +00:00
Julian Smart
155deb3257 Forgotten commits - image loading and XML speedups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-31 19:04:30 +00:00
Julian Smart
f9d3e8cfec Documented recent wxRTC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 11:30:11 +00:00
Julian Smart
89d2fc492a Fixed wrong line spacing calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 11:27:22 +00:00
Julian Smart
52b18ceafe Don't add space before para twice in paragraph layout
Discard attributes from empty text object when merging


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 08:47:14 +00:00
Julian Smart
49e97b2532 Better close button placement on tabs, especially for bottom tab alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-19 12:12:51 +00:00
Julian Smart
bc830a8714 Don't reset bullet number and outline number when applying style sheet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-03 17:14:54 +00:00
Julian Smart
a2ac9be2ac Don't create a font when converting to wxTextAttrEx unless one exists
in the wxRichTextAttr


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-02 13:26:07 +00:00
Vadim Zeitlin
5b025a8d33 Replace _T() with wxT() in regex code.
This fixes compilation with SunCC for which _T() is not defined by default.

Closes #12261.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-23 11:56:53 +00:00
Vadim Zeitlin
b927c42116 Use -headerpad_max_install_names option for fractal demo under OS X.
Without it, changing install name fails which probably makes the demo
unrunnable and also prevents the Buildbot build from succeeding.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-16 11:39:06 +00:00
Vadim Zeitlin
89cac46c58 Initialize wxGrid::m_batchCount before using it.
Adjust the initialization order in wxGrid::Init() to avoid using uninitialized
variables.

Closes #12226.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 11:36:06 +00:00
Julian Smart
4fb8390e66 Added missing wxTEXT_ATTR_PAGE_BREAK from wxTEXT_ATTR_PARAGRAPH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-28 21:21:53 +00:00
Robin Dunn
5dcae7c2b5 Copy of the build/tools for the 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-25 21:08:17 +00:00
Robin Dunn
8bc521322d Removing svn:externals property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-25 21:06:39 +00:00
Julian Smart
dbf712b607 GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-07 07:39:45 +00:00
Jaakko Salli
74589ae82f Backported from wx2.9: Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (see #12087)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-03 15:25:41 +00:00