Commit Graph

267 Commits

Author SHA1 Message Date
Ryan Norton
c33fae85b0 Regen Bakefiles for OSX HID integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 06:53:08 +00:00
Ron Lee
a1bf307a46 Limit the influence of flavour more strictly to autoconf format.
Remove '-' and '.' from the $release tag for non autoconf platform.
This may like slightly finer tuning than that for some people.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 08:46:55 +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
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
54e29ef9c1 bool if enough for true/false results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 10:03:30 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Julian Smart
c4839ccf58 Regenerated makefiles for 2.5.2
Other version updates
Added list of Cocoa files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 14:12:40 +00:00
David Elliott
3fd9c29882 Baked with Bakefile 0.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:44:08 +00:00
Stefan Csomor
0b0efa9a67 corrected Info.plist.in location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 12:14:34 +00:00
Václav Slavík
b92ca8cf62 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 19:36:30 +00:00
David Elliott
c3255f5fba Bakefile 0.1.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:14:15 +00:00
David Elliott
b92ca05a69 Baked bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-24 06:22:55 +00:00
David Elliott
b17c174693 Baked files with Bakefile 0.1.2 (Mac OS 10.3 Python 2.3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 03:48:09 +00:00
David Elliott
69ada15b30 Baked files with Bakefile 0.1.1 using Python 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 06:16:56 +00:00
Václav Slavík
9bfe7ad92d regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 11:42:03 +00:00
Dimitri Schoolwerth
1857c88d26 Ignore isosurf.dat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 04:50:11 +00:00
Dimitri Schoolwerth
5cf036d017 Fixed Open Watcom compilation of OpenGL samples; Code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 04:21:10 +00:00
Václav Slavík
e1a098d1ec fixed bakefile so that in-tree headers take precedence over system-installed ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 21:37:54 +00:00
Václav Slavík
a4ad36cdc5 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 13:49:34 +00:00
Vadim Zeitlin
b71531ad92 regenerated after adding gzstream.* and vidmode.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:48:14 +00:00
Julian Smart
ec08d395bd Updated makefiles etc. for 2.5.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 15:36:27 +00:00
Julian Smart
2db98bf520 Applied patch [ 802596 ] warning and error free Open GL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 07:20:55 +00:00
Václav Slavík
5a89970f76 opengl fixes for msvc5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 18:53:57 +00:00
Václav Slavík
22cef5668d better way of dealing with EXTRALIBS_xxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:15:25 +00:00
Václav Slavík
e09c7b2d62 forgot to commit regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 17:11:29 +00:00
Václav Slavík
a93aa55a00 fixed win32res
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 20:16:10 +00:00
Václav Slavík
1c3a6972f4 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 10:23:35 +00:00
Václav Slavík
b328fad371 regenerated with fixed version of bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 11:38:02 +00:00
Robin Dunn
e8f60bac1a regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 21:02:44 +00:00
Václav Slavík
6c04a87329 removed old bc++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 21:22:26 +00:00
Václav Slavík
75a0a7b7de change MSW libs directories so that libraries are shared by builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 22:08:13 +00:00
Václav Slavík
1ee9f07ca1 removing old makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 17:13:25 +00:00
Václav Slavík
17283f91ee corrected DSW dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 16:49:50 +00:00
Václav Slavík
a1900c9e1d new VC++ project files with both dll and lib in one project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:43:53 +00:00
Václav Slavík
ab892b9519 makefiles update with OSX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 12:38:44 +00:00
Václav Slavík
3f8f6b8fd0 don't generate install commands, not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 22:31:07 +00:00
Václav Slavík
4e209a2064 1) some compilers (Watcom) don't like it if wxBase library PCH file contains
symbols from GUI components and won't link a DLL
2) fixed subdirs recursion code - all options must be output
3) fixed subdirs recursion code - all options must be output
4) fix for watcom resource compiler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 13:15:16 +00:00
Václav Slavík
fd9f42b6a9 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 22:44:22 +00:00
Václav Slavík
e93c6860ed added opengl samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 20:42:41 +00:00
Václav Slavík
3579ddfe4f added opengl samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 20:35:09 +00:00
Václav Slavík
7269d29bde fixed wrong target names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 13:41:28 +00:00
Václav Slavík
f53ce3a89f fixed some VC++ projects bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 01:18:15 +00:00
Václav Slavík
1eae284d4f added VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 19:42:50 +00:00
Václav Slavík
67757ff749 regenerated after adding DEBUG_ options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 19:27:51 +00:00
Václav Slavík
5eddd67bed added VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 19:19:48 +00:00
Václav Slavík
25a7343959 regenerated after adding DEBUG_ options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 18:59:37 +00:00
Václav Slavík
bdc408c4c6 1. use three numbers version in win32 DLLs on unstable branch
2. automatically increase major soname version with every unstable release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 12:38:48 +00:00
Václav Slavík
f509d00d20 fixed /Mxx flag when using static RTL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:37:15 +00:00
Robin Dunn
250700e4ac A new set of baked makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 00:06:37 +00:00
Mattia Barbon
77c35b7185 Added bakefiles for cube OpenGL sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:01:55 +00:00
Václav Slavík
6c974d0b05 don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:01 +00:00
Václav Slavík
b1169abb83 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:39:53 +00:00
Václav Slavík
3b20263dbd added Mingw makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:36:51 +00:00
Václav Slavík
0706fb236c regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:40:50 +00:00
Václav Slavík
3af038c0dc regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 14:03:07 +00:00
Václav Slavík
9c859e43d7 multilib linking fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:45:12 +00:00
Václav Slavík
fcf61db4d1 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:43:30 +00:00
Václav Slavík
c656b78389 new dependencies tracking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:27:50 +00:00
Václav Slavík
49b0a3aad9 new dependency tracking from bakefile cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:14:32 +00:00
Václav Slavík
9747f85dad regenerated makefiles, with support for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:13:17 +00:00
Václav Slavík
481290e226 moved to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:05:29 +00:00
Václav Slavík
cbd63f42f6 generated new makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:42:25 +00:00
Václav Slavík
fe0895cf82 new build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:50 +00:00
Chris Elliott
0e4c7ab4f2 makefiles for samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 16:51:46 +00:00
Robert Roebling
bcc4c54184 Penguin Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:22:13 +00:00
Gilles Depeyrot
99c2d4f20c added CarbonFrameworkLib to CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 11:24:49 +00:00
Ron Lee
b1d4dd7add Split this out from other changes to keep things sane..
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/    / and s/TRUE/true/ etc. a couple of these too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Ron Lee
12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Julian Smart
df37f0c65c Added opengl32.lib glu32.lib to OpenGL samples VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:37:28 +00:00
Julian Smart
c31752dadf Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
788233da90 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Gilles Depeyrot
33ac313082 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:08:41 +00:00
Vadim Zeitlin
14494b5b29 fixed compilation error when x-compiling (patch from Fabian Wenzel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:56:51 +00:00
Gilles Depeyrot
0f15e00bcb updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:38:11 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Gilles Depeyrot
c97ff4d83d changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 19:56:08 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +00:00
Vadim Zeitlin
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Julian Smart
bbb8f29b4a Applied patch #484508 (mostly sample warnings).
I've no idea why CVS thinks that the .mcp files have been changed - they haven't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 12:58:44 +00:00
Gilles Depeyrot
9d705dfa81 applied SourceForge patch #479670 (fixes for OpenGL samples) by Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 07:17:37 +00:00
Gilles Depeyrot
6616a36dbf use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:22:05 +00:00
Vadim Zeitlin
ec2995088d fixes for cube sample from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:37:33 +00:00
Vadim Zeitlin
750b113f76 updated templates and regenerated project files for OpenGL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 12:55:54 +00:00
Vadim Zeitlin
e0221ef7cb 1. new samples proejct files for VC++
2. a few fixes (mainly compilation warnings) to the code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:34:22 +00:00
Vadim Zeitlin
e0d876d20c regenerated from .pro files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:59:06 +00:00
Vadim Zeitlin
ffc63dcae0 changed html and opengl project names to start with html/gl prefix to avoid conflicts inside samples.dsw workspace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:57:30 +00:00
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +00:00
Gilles Depeyrot
56cfd0d766 recompiled header support
removed doubled definitions (already in wx headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:55:54 +00:00
Gilles Depeyrot
594f0f5bf1 added wx/defs.h include to correct compilation issues under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:38:44 +00:00
Gilles Depeyrot
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Gilles Depeyrot
94e2ed3b8d corrected CodeWarrior project target names and generated application names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:29:21 +00:00
Julian Smart
e9799102dd Fixed project files for regex.lib, taking the regex C files out of the main wxvc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 17:03:02 +00:00
Gilles Depeyrot
cb71207424 corrections for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:57:47 +00:00
Gilles Depeyrot
73486557c0 ignore files produced by CodeWarrior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:50:50 +00:00
Gilles Depeyrot
e195c8c95f correction for Mac OS compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:23:55 +00:00
Gilles Depeyrot
1197380cfa added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:19:42 +00:00
Gilles Depeyrot
39e808c3a1 replaced hardcoded wxgtk_gl library with appropriate configure macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:51:11 +00:00
Julian Smart
9806a0e71e Updated version to 2.3.2 so apps can test for differences in new merged source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 20:36:30 +00:00
Gilles Depeyrot
aec73dbba4 added CodeWarrior 5 projects for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:22:36 +00:00
Gilles Depeyrot
6099721bfb added OpenGL sample project for CodeWarrior 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:12:14 +00:00
Julian Smart
0ddef74db4 Updates for version change to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 10:57:58 +00:00
Stefan Csomor
3dec57adfd icon support moved to wxBitmap, allowing for fully transparent usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
Václav Slavík
d969af82fc makefile.unx's now default to OpenGL, not Mesa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-29 17:57:22 +00:00
Vadim Zeitlin
f4a7108f73 fixed (?) bug 407974 (arrows not working)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-16 19:37:50 +00:00
Julian Smart
1ddfb726b2 Updated VC++ project files for making DLL-based samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 17:50:06 +00:00
Julian Smart
f485492a1e Added VC++ project files (seems logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 16:59:34 +00:00
Unknown (NI)
919ae91ad7 uses now the platform independant attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 10:16:53 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Julian Smart
5fa399c9e2 Made VC++ makefiles and project files a bit more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:32:31 +00:00
Robert Roebling
c661ecca60 Various makefile and installation things.
main() is now always in the program. Also added a
    macro that doesn't set main at all so that users
    can have their own.
  The isosurf sample doesn't work anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 17:49:58 +00:00
Robert Roebling
335258dcdd get opengl samples going again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:17 +00:00
Julian Smart
8b089c5e8c Moved wxGLCanvas to more normal positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00