Commit Graph

451 Commits

Author SHA1 Message Date
Robin Dunn
8998887c22 added some missing mac headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 23:03:53 +00:00
Ryan Norton
3e17bc3f73 wxDrawerWindow - [ 909351 ] Drawer window for OS X Carbon - somewhat heavily modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 17:22:43 +00:00
Ryan Norton
607667fde8 mark changes. Mac OSX taskbar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 13:36:07 +00:00
Ron Lee
589e20d03c Move the WX_FLAVOUR variables to be defined generally, not just for
autoconf builds, else the wince targets (at least) will complain.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 15:08:33 +00:00
Włodzimierz Skiba
541cbfa0f4 wxrc impossible on WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 06:10:49 +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
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
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
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
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
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
b521a84a30 moved GTK headers needed by wxUniv to GTK_LOWLEVEL_HDR from GTK_HDR (should fix 1016249)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:34:52 +00:00
Włodzimierz Skiba
7b44c67058 Reverted wxMGL/OpenWatcom fix until some difficoulties will not be solved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 17:44:29 +00:00
Ron Lee
31aa94e3ae Using != doesn't work for bakefile, I don't know what does, or what this
change really wanted to achieve, but its been broken for a couple of days
now.  Back to you ABX for a real fix.  But please install bakefile if you
are going to tweak these files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 16:02:52 +00:00
Włodzimierz Skiba
f5e0b4bc7c wxChoicebook generic implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 11:29:15 +00:00
Włodzimierz Skiba
a2668a908a MGL workaround for the build system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 11:41:21 +00:00
Vadim Zeitlin
de20cd5f3b msw/helpchm and helpwin.cpp should be LOWLEVEL; msw/dirdlg.cpp should not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 19:18:46 +00:00
Włodzimierz Skiba
302e251b4d Native Smartphone wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 06:20:42 +00:00
Robin Dunn
e6cbc5e169 stockitem.h needs installed too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 17:24:46 +00:00
Václav Slavík
5f7bcb48fd new stock buttons API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Włodzimierz Skiba
1550d5f80d Native SmartPhone wxChoice implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 10:53:57 +00:00
Václav Slavík
7bebedd826 added GTK2 implementation of wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 19:23:53 +00:00
Václav Slavík
649f705317 don't use pch when building samples for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:47:36 +00:00
Václav Slavík
401e3b6e5f added stock buttons support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:56:56 +00:00
Václav Slavík
a92d711e45 ABX's changes to support MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 20:22:23 +00:00
Václav Slavík
4b167aca0c moved wx-config to wx-config-VERSION (with symlink), to satisfy Debian packagers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 20:37:33 +00:00
Mattia Barbon
e50408bf8f wxMotif now uses wxX11 region code (forgot to commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 21:51:40 +00:00
Václav Slavík
314a6446dd fixed plugins naming in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 19:41:14 +00:00
David Elliott
0f45d57fdd Compile gsockpm.cpp instead of gsockpm.c for wxOS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:47:16 +00:00
Václav Slavík
ebee3cd033 gsocket compilation fixes: use .cpp files, not .c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 21:28:16 +00:00
Włodzimierz Skiba
daa9deb2a2 splash sample into distribution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 09:06:40 +00:00
David Elliott
83a9be3427 Use new C++ sockets for everything except OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:22:44 +00:00
David Elliott
ea7db9ff0a Support building X11 and Motif on Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 00:35:43 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Václav Slavík
48112931db fixes to wx-config config name matching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:17:51 +00:00
Vadim Zeitlin
8fb75ec30f added except sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:43 +00:00
Václav Slavík
8708fa7618 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 11:19:34 +00:00
Włodzimierz Skiba
12f003edba Warning fixes for Digital Mars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 18:06:34 +00:00
Václav Slavík
93a15cf1c3 moved clntdata.h,cpp to wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:55:16 +00:00
Václav Slavík
b778f9d6f5 update for CVS versions of bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 18:44:35 +00:00
David Elliott
5369a0543e wxCocoa: Added wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:26:44 +00:00
Václav Slavík
0a16b43640 reverted Julian's incorrect rename of wxWindows.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:03:03 +00:00
Włodzimierz Skiba
fb8a56b77c Smartphone menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:37:55 +00:00
Włodzimierz Skiba
6db6859926 Reverted generic dialogs usage in MSW makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 11:10:17 +00:00
Julian Smart
be368bc833 Use old project file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:20:22 +00:00
Julian Smart
2f608603ad Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:18:41 +00:00
Włodzimierz Skiba
23c47bc1f3 Generic font dialog is still an option in wxMSW in non Univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:24:59 +00:00
Włodzimierz Skiba
524bb0fad0 Generic colour dialog is still an option in wxMSW in non Univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 18:37:15 +00:00
Václav Slavík
274ad000d2 added native wxColourDialog for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:02:14 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00