Commit Graph

697 Commits

Author SHA1 Message Date
Václav Slavík
05fbc682d6 fixed interpretation of line breaks in <pre> to conform to the spec (#10120)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:06:32 +00:00
Václav Slavík
5ddf8197fa fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:43:10 +00:00
Václav Slavík
cebbcdcf5e get help frame's icon using wxART_FRAME_ICON wxArtClient hint, not wxART_HELP_BROWSER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 20:18:19 +00:00
Václav Slavík
7525231807 fixed pagebreaks computation in tables (#9935, backport of r55505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:30 +00:00
Václav Slavík
02cfa300e7 fixed memory corruption in wxHTML when parsing '&;' in the markup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 13:59:55 +00:00
Václav Slavík
d1fcc2c2c7 apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:02:31 +00:00
Václav Slavík
9609c21f00 backport of r53980: fixed wxHTML default font size for printing to be 12pt regardless of the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 15:16:17 +00:00
Julian Smart
770756327c Fixed bug whereby sash would disappear beneath left-hand pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 10:55:16 +00:00
Václav Slavík
db978ce982 fixed SetUserScale() calls to use correct scale on Y axis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:08:49 +00:00
Julian Smart
06824a2876 Small improvement in HTML help options dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 12:52:43 +00:00
Robin Dunn
89dec509c4 Add wxWebKitNewWindowEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:12:34 +00:00
Václav Slavík
0d00401fba fixed &nbsp; handling in wxHtmlWinParser, broken by TAB-handling changes (bug #1957041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:53:58 +00:00
Václav Slavík
175fea401a check tables width parameter for invalid values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 09:37:00 +00:00
Vadim Zeitlin
8072d933e8 don't return junk from wxHtmlTag::GetParamAsInt() if the parameter is not an integer [backport of r53432 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 00:40:29 +00:00
Václav Slavík
c853b92bdb wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 11:54:05 +00:00
Václav Slavík
87be8ad315 fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:29:53 +00:00
Václav Slavík
f4e1026261 Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:55:46 +00:00
Václav Slavík
3bf1d42654 fixed TABs positioning inside <pre> so that tags don't throw it apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 21:19:47 +00:00
Václav Slavík
77392f0261 fixed crash in wxHtmlHelpController if the help window is still open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:29:27 +00:00
Václav Slavík
e37c9b6c2e clear statusbar 'Connecting...' message on failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 22:50:25 +00:00
Vadim Zeitlin
1c786fa848 don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 23:00:15 +00:00
Václav Slavík
5cb8b7450a backport of r48962: fixed cellpadding when printing (bug #1795572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:48:25 +00:00
Julian Smart
1a0eb174c3 Removed redundant mnemonic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 09:12:08 +00:00
Julian Smart
3d1ae41a86 Size of help window tabs reduced to prevent ugly overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:30:23 +00:00
Vadim Zeitlin
d1755c19e4 expand the table cells to fill the entire table width (patch 1722794)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Julian Smart
6dbe31d3de Avoid crash if user aborts the print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 16:40:46 +00:00
Václav Slavík
ee71546f91 optimized wxHtmlEntitiesParser::Parse() for the common case of no entities in the input
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:18:48 +00:00
Julian Smart
84426bea01 Added wxWindowMSW::GetThemedBorderStyle as a helper for 2.8
Improved help window borders


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:38:13 +00:00
Václav Slavík
b996028c3b when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530; this is standard behaviour when selecting text)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976 fixed selecting part of word from right to left in wxHTML (patch #1719530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Václav Slavík
eeb6a21019 don't crash when using wxHtmlWidgetCell in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Václav Slavík
ee42205879 Do not follow HTML links if selecting text (patch #1719577)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:17:11 +00:00
Vadim Zeitlin
b4c10903ff apply the table bg colour between the cells too (patch 1713170) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:12:33 +00:00
Vadim Zeitlin
0af3e42a1f create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:18:13 +00:00
Vadim Zeitlin
95be621f72 call SetEventObject() for wxHtmlLinkEvents we generate [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:04:23 +00:00
Vadim Zeitlin
7643dd1947 fix memory leak when handling background attribute (patch 1687900) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:14:35 +00:00
Vadim Zeitlin
574a10327f fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:41:37 +00:00
Bryan Petty
e5ab3bbc9c This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:46:14 +00:00
Vadim Zeitlin
a1d5a2937a corrected message about page number overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:58:48 +00:00
Kevin Ollivier
c70aaa0984 Fix eating of key events (cleaner impl will come after 2.8, right now I want to touch as little common code as possible) and add some extra checks to the Cocoa delegates as they are getting called when the Carbon control isn't in a valid state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 04:37:32 +00:00
Václav Slavík
325219cb26 fixed: clicking on links in the help view did nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:48:16 +00:00
Vadim Zeitlin
0f11c23345 generate wxEVT_COMMAND_TEXT_COPY event in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:18:45 +00:00
Vadim Zeitlin
630906de0e renamed OnLinkClicked() event handler to avoid hiding the virtual function with the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:20:03 +00:00
Vadim Zeitlin
735a74df5c search in the index case-insensitively in FindPageByName() if all else fails (replaces patch 1227882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:29:49 +00:00
Václav Slavík
a1c3cdc4a2 add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:03 +00:00
Václav Slavík
9920ad328b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:44:41 +00:00
Kevin Ollivier
959d17852d Don't use the superview when converting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 20:22:09 +00:00
Michael Wetherell
5c4035d686 Use wxFS_SEEKABLE when opening images since some image handlers need seeking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:14:03 +00:00
Robin Dunn
18fc605924 Pass the config object into the wxHtmlHelpFrame so it has the config
info in time to set the position and size of the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:16:18 +00:00
Kevin Ollivier
448f8f12b9 Several wxWebKitCtrl enhancements/fixes. Including:
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.

- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.

- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.

- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00