Commit Graph

176 Commits

Author SHA1 Message Date
Vadim Zeitlin
5f9bd3678f Add XRC handler for wxSimplebook.
Similar to wxNotebook but even simpler as wxSimplebook doesn't use images.

Also add wxSimplebook::Create() as the version inherited from wxBookCtrlBase
didn't _quite_ work: we need to add wxBK_TOP style to prevent asserts due to
unknown alignment in the base class when creating wxSimplebook.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-05 22:01:52 +00:00
Václav Slavík
964352934e Add window variant support to XRC.
Fixes #16247.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-03 17:10:24 +00:00
Vadim Zeitlin
0ab7522921 Add wxRESERVE_SPACE_EVEN_IF_HIDDEN flag to the XRC schema.
It seems that this one was forgotten somehow and so is not recognized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-03 12:47:18 +00:00
Vadim Zeitlin
05d56ded40 Really add "hint" property to wxTextCtrl XRC handler schema description.
This was supposed to be done in r76629 but the property was mistakenly added
to wxRichTextCtrl instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-03 12:47:14 +00:00
Vadim Zeitlin
35353e0ff0 Display wxString in more readable way in MSVS debug visualizer.
Use "sb" format specifier to avoid having L"..." around the string and then
add just the quotes back manually.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-15 12:58:12 +00:00
Vadim Zeitlin
30856fdcff Add MSVS visualizers for wxArrayString, wxVector, wxWindowList.
Make viewing the contents of the (most common) container types easier when
debugging in MSVS 2012 or later.

Provide std::{vector,list}-like visualizers for wxVector and wxWindowList and
a special visualizer allowing to see the contents of wxArrayString in a
relatively common case when it has just or two elements.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-14 21:03:12 +00:00
Vadim Zeitlin
40e3379f54 Add a file with debug visualizers for MSVS 2013 and later.
For now this file contains just the visualizer for wxWindow which shows its
real (most derived) type as this is often the most useful thing you need to
know about the window.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-14 21:03:06 +00:00
Vadim Zeitlin
21fd108d23 Add support for "hint" property in wxTextCtrl XRC handler.
It is convenient to allow specifying the hints directly in the resources.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-30 16:35:58 +00:00
Vadim Zeitlin
01f9accd19 Remove wxPM, wxWidgets port to OS/2.
This port is not used and is not being worked on, so remove it to reduce the
amount of the code which needs to be updated for every global change.

Also remove tests for VisualAge compiler which isn't used since ages.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-15 23:56:58 +00:00
Vadim Zeitlin
25a8a7e745 Handle wxLANGUAGE_CAMBODIAN correctly in the generation script.
Fix wxLANGUAGE_CAMBODIAN definition in autogenerated code, this was already
done manually in r76368 but these changes would have been lost after the next
generation, so update the script itself to generate them.

Closes #16183.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-20 12:44:57 +00:00
Vadim Zeitlin
3a4e380ee7 Fix the addition of Kabyle language.
Data for this language was added manually in r75752, which meant that it was
going to be lost after the next regeneration of the automatically generated
files.

Add it properly, by updating misc/language/langtabl.txt now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-20 12:44:47 +00:00
Robin Dunn
8dda8dcefb working version of the trac hooks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:40:28 +00:00
Robin Dunn
5068bf7ca7 Yet another test commit. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:28:54 +00:00
Robin Dunn
06fe44b6e0 Yet another test commit. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:08:09 +00:00
Robin Dunn
b0f1a084b9 Another test commit. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:59:47 +00:00
Robin Dunn
73150db467 Another test commit. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:51:30 +00:00
Robin Dunn
90647db02a Another test commit. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:35:24 +00:00
Robin Dunn
8a3694af86 Update svn hooks. Closes #16155
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:26:32 +00:00
Vadim Zeitlin
8ef0ed2198 Add a one liner script to show symbols exported from a DLL.
This is useful to check if ABI wasn't accidentally broken between two micro
wxMSW releases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 23:40:50 +00:00
Vadim Zeitlin
0206eb6161 Add support for fixed spacers and labels to wxAuiToolBar XRC handler.
Allow specifying "width" and "proportion" attributes for the "space" elements
and add "label" element support.

Closes #15964.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-18 15:05:52 +00:00
Vadim Zeitlin
60a3e0cc54 Rename wxLANGUAGE_CAMBODIAN to wxLANGUAGE_KHMER.
Keep the old name for compatibility.

See https://github.com/wxWidgets/wxWidgets/pull/2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 02:52:17 +00:00
Vadim Zeitlin
4736f13d79 No real changes, just fix a typo in a comment.
z/preffered/preferred/

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 02:52:13 +00:00
Vadim Zeitlin
f269f868d7 Add XRC handler for wxAuiToolBar.
Also add the demonstration of AUI handlers (this one and the existing one for
wxAuiNotebook) to the xrc sample.

See #15686.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-11-23 00:34:55 +00:00
Vadim Zeitlin
e4cbdb96db Correct the name of Doxyfile containing the version.
Use the correct file name in the version update script and version update
instructions, it is called just Doxyfile and not Doxyfile_inc now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-11-21 13:45:52 +00:00
Václav Slavík
7bc51afc03 Add debugger visualizers for Visual Studio 2012+.
Starting with 2012, Visual Studio uses a new, XML-based and actually
quite understandable format for the debug visualizers. Only basics are
included so far.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-30 07:25:57 +00:00
Václav Slavík
1662725c75 XRC spec: say that all properties are optional.
Provide defaults for all properties in the spec.  In XRC schema, make
all properties optional.  The previously required ones are annotated as
"important" (read: should be set unless you know what you're doing), but
aren't enforced.

The code already behaved like this, so this just synchronizes the
specification with the reality.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-18 15:00:06 +00:00
Václav Slavík
380aa9533e XRC schema: Validate wxSizerItem flag property rigorously.
Validating all style flags strictly would be unmaintainable mess of
verbose regular expressions that would quickly get out of sync.  But we
can validate at least wxSizerItem flags, which are both stable and so
frequently used that it is worth the effort.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-18 15:00:03 +00:00
Václav Slavík
e2a8850cc4 XRC: File bugs in wxFileCtrl spec, schema and samples.
Incredibly, there were bugs, inaccuracies or missing content in all
three of them, but each one had its own unique problems.  Fix them all
to be in sync with the implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-18 15:00:00 +00:00
Vadim Zeitlin
59e7f02424 Add a simple README for the XRC schemas.
Explain how they can be used.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-18 11:21:12 +00:00
Václav Slavík
882b1e5d74 XRC format: clarify that cols/rows are unsigned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-11 15:31:33 +00:00
Václav Slavík
81c148a2c4 XRC schema: fix t_style to allow 0-9 in style names.
Example: wxCHK_2STATE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-11 15:31:30 +00:00
Václav Slavík
60f8d69a98 Add RELAX NG schema for XRC files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-03 11:08:57 +00:00
Vadim Zeitlin
1828600933 Remove RPM .spec files from the repository.
They were not really used for anything but still had to be updated and
maintained.

Get rid of them as all RPM-based distributions use their own spec files
anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-01 16:08:44 +00:00
Vadim Zeitlin
81f4ed62dd Exclude zlib 3rd party sources from our checks too.
zlib ChangeLog file is not in UTF-8 in 1.2.8 and so doesn't pass our checks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-01 15:25:00 +00:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Robin Dunn
7e05f038b9 Comment out the CIAbot script, the site has been dead a long time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-11 01:28:56 +00:00
Vadim Zeitlin
d20f23838d Exclude expat files from pre commit hook checks too.
All the other 3rd party libraries were already excluded but not this one, for
some reason -- do exclude it now as upcoming Expat 2.1.0 sources contain some
files with TABs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-06 14:46:26 +00:00
Vadim Zeitlin
57b15758aa Exclude src/msw/version.rc from svn pre-commit hook checks.
This file must be remain in CP1252 encoding and not UTF-8 because this is what
Windows uses for showing the strings in it, so exclude it from this check.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:29:06 +00:00
Vadim Zeitlin
c59fb496ea Parse files from include/wx/*.h when making wxMSW tags.
Fix missing wxTextMeasure &c in wxMSW tags.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 16:03:09 +00:00
Vadim Zeitlin
f1021a56a6 Exclude files in vendor branches from svn hook checks.
These files correspond to upstream sources and shouldn't be subject to our
checks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 17:05:07 +00:00
Vadim Zeitlin
c2d4b6971f Create tags for Cocoa, not Carbon, by default under wxOSX.
Just change the default value of the "port" parameter.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:51:36 +00:00
Vadim Zeitlin
187fad412a Fix annoying warning when running the script to generate tags under OS X.
It complained about no matches for src/osx/cocoa/*.cpp.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:51:13 +00:00
Vadim Zeitlin
d166393042 Allow using _T() in docs/doxygen/overviews/changes_since28.h.
This file describes changes to this macro so don't block commits changing it
just because it contains "_T".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 12:44:49 +00:00
Vadim Zeitlin
516fdb4f52 Generate tags for ribbon headers and sources too.
Add the files in {include/wx,src}/ribbon to the list of ctags inputs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 11:46:39 +00:00
Vadim Zeitlin
692a0709d3 Add MSVS autoexp.dat fragment for some common wxWidgets types.
As we have gdb pretty printers under the version control, it makes sense to
also put MSVS visualizers there as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-20 18:24:22 +00:00
Vadim Zeitlin
ed4caec714 Minor change to wxString pretty-printer for gdb.
Calling string() explicitly isn't necessary, at least not with gdb 7.2, and is
actually harmful when using Python 2.5 (which doesn't support UTF-32) with
wide strings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-13 21:37:13 +00:00
Vadim Zeitlin
d4bc7a1601 Recognize wxDefaultDateTime in gdb wxDateTime pretty-printer.
Trying to print an uninitialized/invalid wxDateTime in gdb resulted in an
error (Python exception from datetime module), recognize it specially now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 22:24:57 +00:00
Vadim Zeitlin
a6a181a303 Add a gdb pretty-printer for wxFileName objects.
This pretty-printer works by calling the C++ wxFileName::GetFullPath()
directly instead of interpreting the object data from gdb because this is much
simpler to do, so it can only be used when debugging live programs. If this is
a serious restriction, it would need to be changed to use gdb data access only
later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 22:24:52 +00:00
Vadim Zeitlin
14f3866748 Add a gdb pretty printer for wxDateTime.
Format it using Python datetime module in the standard ISO notation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-25 00:31:38 +00:00
Vadim Zeitlin
eeea7e8cf0 Don't apply svn commit hook checks to 2.8 branch.
Some of the files in 2.8 still use the old conventions, allow doing changes in
them without completely updating them to follow the rules checked by the hook.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 15:50:32 +00:00