Commit Graph

757 Commits

Author SHA1 Message Date
Vadim Zeitlin
5886b072a8 fixed va_copy test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 13:46:33 +00:00
Ryan Norton
fa9ad408a1 generate mediaplayer sample in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:43:32 +00:00
David Elliott
1e9e8aba5a Rebaked and autoconfiscated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 06:53:06 +00:00
David Elliott
fc480dc16b Moved wxStandardPathsCF into base library when using CarbonLib or Darwin.
Make wxStandardPathsBase::Get() return a wxStandardPathsBase reference.
Implement it using wxAppTraits::GetStandardPaths() which is overridden by
wxMac and wxCocoa GUI libraries to return a reference to a wxStandardPathsCF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:21:00 +00:00
Ron Lee
0210f37397 Tagged DEBIAN_2_5_3_2 for release testing. Bumped subversion to 2.5.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 13:09:09 +00:00
Ron Lee
e653e18150 Bump WX_CURRENT back to 3, this must stay the same as
wx_release_number until bakefile is fixed to unlink the
the soversion from it.  Ideally of course it should track
binary incompatible releases instead.

Update the Debian scripts to suit the new site-packages
location for wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 11:39:03 +00:00
Ron Lee
6d3b231a02 Move stdpath into base on msw as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 05:50:08 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Ryan Norton
7e4a1c28d5 correctly generate wxUSE_MEDIACTRL define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 14:43:50 +00:00
Ron Lee
a98bf0c0df I really don't have to point out what went wrong here, do I?
Ryan, please fix this problem at the source, this is not funny
anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:16:28 +00:00
Ron Lee
3b57de8b1f Fixes for wxPython site-packages location.
Fixed and baked unchecked mediaplayer.bkl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:00:51 +00:00
Ron Lee
17a7bf57f8 Added gnome files to gtk dist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 04:51:25 +00:00
Robin Dunn
2cbbc68d20 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:28:29 +00:00
Ron Lee
54e83ca581 Added wx.manifest to the msw source dist, it seems to be necessary now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 13:52:51 +00:00
Vadim Zeitlin
abb9aae7ac use wx_release_number instead of WX_CURRENT in Mac .r and .rsrc file names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 17:17:04 +00:00
Vadim Zeitlin
d1c3880801 regenerated (fixes problem with undefined EXTRALIBS_GNOMEPRINT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 14:30:06 +00:00
David Elliott
b48a2016d0 Rebake after MacOS CarbonLib additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 06:00:58 +00:00
Ron Lee
ffa0583fbf Update for rpath with uninstalled builds and utility search.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 06:25:12 +00:00
Vadim Zeitlin
78a9e10da1 updated version to 2.5.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 14:56:35 +00:00
David Elliott
a49baeab5a Rebaked/autoconfiscated for wxCocoa wxTaskBarIcon addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 23:03:39 +00:00
Václav Slavík
6537ccf8cd don't create makefiles for nonexistent utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:27:15 +00:00
Václav Slavík
a30f955ffd fixes to building wxBase on Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 12:49:42 +00:00
Ryan Norton
f7e98dee7e cocoa doesn't need system framework - string conversion for cocoa - focus for cocoa - a bit of change for string unit tests for new functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 02:02:30 +00:00
Ryan Norton
207bc66c38 remove blatant hack from configure and do proper checking for stuff wxCocoa does not support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 17:22:56 +00:00
Ryan Norton
c228d3a4c2 cache mac and cocoa builds - so if you pick cocoa one time and don't specify it the next it will properly go back to cocoa, not default to mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 01:59:46 +00:00
Ryan Norton
2619179042 cocoa tooltips. Remove runtime warning from 10.2 (dave - I was too lazy to change this from my local copy, feel free to commit over this if you want)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:09:47 +00:00
Vadim Zeitlin
ba3d13e1c8 use AC_LINK to check for va_copy, not AC_COMPILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:31:34 +00:00
Ron Lee
a13a7f891a Add support for legacy 2.4 installs to wx-config.
Add /utils/wxrc to the dist target and fix some things that still
think it is in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 13:28:25 +00:00
Ron Lee
7714864e2f Update the wx-config man page.
Remove some cruft from the docs package.
Bump version in configure.
Update aclocal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:07:08 +00:00
Ryan Norton
5dcf30a03f IOKit framework now req. under darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 13:07:39 +00:00
Ron Lee
dd21ced8dc Restore WXBASEPORT for carbon. This is more than just a flavour
in all the ways mac is typically more than, so it can stay a mac'ism
until the easier platforms shake out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 06:39:37 +00:00
Ron Lee
0506bbbfdf Undo the link creation in builddir. contrib is still going to be
here for a while so there isn't much paydirt in working around the
problems on platforms with limited filesystems at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 11:56:48 +00:00
Ron Lee
ecd16d74ce Get rid of the symlink farm in $builddir too, contrib is here
to stay for a while.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 16:00:21 +00:00
Václav Slavík
d2ebf0b730 XRC needs wxXML, check it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 09:14:07 +00:00
Ron Lee
9103d280f9 Install the config files for cross debs under /usr/$(host), but link them
to the default system location under /usr.  This way the commands:
wx-config --prefix=/usr/$(host) and wx-config --prefix=/usr --host=$(host)
are much more congruent in their action.

Another nail in the coffin for inplace hacks.  Link $srcdir/include to
the build dir so that --prefix=$build_dir really does point to a
realistic looking installed development environment.  I don't know why
I didn't do this instead of (ab)using --exec-prefix to 'fix' this
simple omission for so long.  Probably because it is much more obvious
if contrib is out of the picture.  That makes it a little more work
right now, but long term this is a very clean and correct thing to do.
It completely absolves us of the two independent variables problem,
and of the tree becoming bogus without actually being stale.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 20:29:51 +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
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
Włodzimierz Skiba
92bbdbcdb8 wxChoicebook generic implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 15:13:52 +00:00
Vadim Zeitlin
4d4ff94c65 output "GTK+ 2" toolkit for gtk2 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 15:33:07 +00:00
Václav Slavík
a0f9686df5 removed code already present in AC_BAKEFILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 13:33:27 +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
Václav Slavík
0c3c69fc1e HP-UX fix: removed unneeded call to sed(patch #1005025)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 14:51:49 +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
Václav Slavík
2057db16c0 added splash sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 13:51:43 +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
Vadim Zeitlin
224bf05c9b added --version-full option to wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-01 22:21:54 +00:00
Václav Slavík
b3de4970ca fixed symlinks creation on platforms where ln -s is cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:24:53 +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
a87bf37838 wx-config symlink creation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:43:05 +00:00