Commit Graph

24804 Commits

Author SHA1 Message Date
Ron Lee
5636172bce Filter out the 'std' pseudo-lib from monolithic builds too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 23:46:54 +00:00
Robin Dunn
49d55bdc6b Bump subrelease to 2.5.2.9.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 22:30:09 +00:00
Ron Lee
fdec35499d Add xrc to the dist target.
Bump subrelease to 2.5.2.9.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 21:54:57 +00:00
Vadim Zeitlin
9a2982a102 update from Petri Jooste for 2.5.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 21:21:50 +00:00
Włodzimierz Skiba
701a0b4766 Source cleaning: whitespaces, tabs, -1/wxNOT_FOUND, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 18:15:59 +00:00
Ron Lee
62b3a2467f Fix registered location of docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:58:23 +00:00
Ron Lee
ceec2216bd wx-config2.6
Designed to be resiliant against future cut and paste coders.  Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble.  In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs.  Functions now all have api
descriptions.  If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.

Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer.  Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future.  In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied.  If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested.  At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.

Removed references to --gl-libs in --help.  It still exists, but if
its deprecated, no need to fill space in a compact help summary.  It
will remain documented (as deprecated) in the man page.

Removed references to arcane order rules for arguments.  Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.

Removed references to --inplace, it doesn't need to be in the summary
help either.  It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly.  When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case).  If you do type it when you don't need it, bad things will
probably happen just like they always would have.

Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging.  If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.

Command line input is now controlled by a small generic parser.  You
define what options you want and what groups you want them in by
initialising them as lists.  It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.

Added a validator for it to check yes/no options.

Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.

Made --list more user friendly.  It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix.  Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called.  We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.

Delegation.  Too big a topic to remark on in depth here, see the code
for a fuller description.  With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified.  This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.

Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.

Added the inplace-config tweak for use in the build tree.  This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed.  It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with.  In that event, it will try to delegate as per the
normal rules.

The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs.  It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)

Enabled full support for static builds again, promoted --static to a
full feature option.  Fixed --ld to return something for them too.

Added --flavour, similar to the existing --vendor, but for autoconf
builds.  These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.

Fix bit rot in make-dist due to new/deleted files.

Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution.  Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about.  Remove extra files and symlinks added for the two
part wx-config version.

Removed the debian -contrib packages.  We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required.  This means the retained contribs will
now get __WXDEBUG__ versions packaged too.

Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.

Added support for flavoured debs as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
Włodzimierz Skiba
6d06e061dc Missed labels to replace number of 'topicNNN' in anchors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 13:24:41 +00:00
Chris Elliott
e5894d192c fix for gtk/mdi when changing menubars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 11:34:38 +00:00
Włodzimierz Skiba
79813ccaf8 XRC movement influenced depth of paths.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 10:18:38 +00:00
Włodzimierz Skiba
a62d884927 XRC library usage fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 10:11:43 +00:00
Włodzimierz Skiba
13bfd81cff Smartphone fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 09:08:52 +00:00
Włodzimierz Skiba
276c8cfb53 WinCE warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 09:03:26 +00:00
Václav Slavík
9a8f051375 moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 19:30:20 +00:00
Václav Slavík
a32f9aaf5f moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 19:15:54 +00:00
Václav Slavík
3849327bce moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 18:41:19 +00:00
Włodzimierz Skiba
7e548f6b13 Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 11:31:49 +00:00
Włodzimierz Skiba
a203f6c099 Missed labels to replace number of 'topicNNN' in anchors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 11:21:04 +00:00
Vadim Zeitlin
32d49041eb added unit tests for wxStringStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 22:00:16 +00:00
Vadim Zeitlin
a08f2b59fe fixed include header name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 21:59:35 +00:00
Vadim Zeitlin
a5ea75bc6a added wxStringOutputStream::TellO(); fixed bugs in OnSysWrite()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 21:58:50 +00:00
Vadim Zeitlin
5a4c7f718a fixed bug with seeking beyond the end in wxStringInputStream::OnSysSeek() triggered by unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 21:49:41 +00:00
Vadim Zeitlin
ba670bae4e made wxStringInputStream::GetSize() public instead of protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 21:35:26 +00:00
Vadim Zeitlin
121fa06ab6 added wxStringStream classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 21:26:45 +00:00
Julian Smart
95561814d9 Correction for GTK+1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 17:20:50 +00:00
Julian Smart
d0247623a6 GDK_WINDOW_TYPE_HINT_SPLASHSCREEN not available in GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 16:08:05 +00:00
Vadim Zeitlin
684dface9a compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 13:17:02 +00:00
Vadim Zeitlin
ef335a4fa8 rebaked to include latest modifications (mainly choicebkg addition)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 12:05:11 +00:00
Stefan Neis
52df30cf2d Applied patch #1023777 (Notebook initialisation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 12:03:52 +00:00
Vadim Zeitlin
b1f0abe45e don't crash under GTK1 if we failed to get GdkFont in GetTextExtent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 10:55:51 +00:00
Vadim Zeitlin
a6c255cbc0 added missing header to fix !USE_PCH compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 10:08:24 +00:00
Robin Dunn
9694b21a4d Added wx.Choicebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:51:14 +00:00
Robin Dunn
7e6581d421 MemoryFSHandler_AddFile updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:13:21 +00:00
Robin Dunn
debff7aa47 Getthe GIL before raisign an exception
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:12:24 +00:00
Robin Dunn
3077d12305 Added bin selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:11:47 +00:00
Robin Dunn
b728771971 docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:11:02 +00:00
Vadim Zeitlin
1892d641c6 mention that Check() doesn't work before the item is attached to a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 21:54:00 +00:00
Robin Dunn
ef5eca7acc Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 20:14:56 +00:00
Vadim Zeitlin
9a6bc6560b keep m_value in sync with real combobox value (set it initially and update it correctly in CBN_EDITCHANGE handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 19:51:39 +00:00
Robin Dunn
162662e91c Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:33:07 +00:00
Robin Dunn
ae601e32a8 Point x,y fixes from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:21:57 +00:00
Vadim Zeitlin
ccbc8038e6 added wxSizerItem::Init()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:29:15 +00:00
Vadim Zeitlin
e245458872 active mode support for wxFTP (extremely heavily modified patch 1006252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:24:49 +00:00
Vadim Zeitlin
6adbb0bf6e oops, compilation fix after moving code around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:23:13 +00:00
Vadim Zeitlin
db7c5931ed use 4K buffer instead of reading characters one by one in ReadLine()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:21:56 +00:00
Chris Elliott
1a838ff58b fix compile break for unknown FLASHWINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:16:37 +00:00
Václav Slavík
f5de33e90f moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 13:21:57 +00:00
Václav Slavík
7021360ad7 fixed corrupted file, checked in as text file now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 13:03:32 +00:00
Vadim Zeitlin
0a7fd06a09 removed unneeded (after patch 1027243) disable.bmp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:36:59 +00:00
Vadim Zeitlin
d50dbf7c6a construct brush used for painting disabled bitmap buttons dynamically (heavily modified patch 1027243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:34:45 +00:00