Commit Graph

454 Commits

Author SHA1 Message Date
Vadim Zeitlin
da55d0644f extracted Unix code in a separate new file (src/unix/dlunix.cpp), it remains only to refactor Mac/OS2 versions to finally fix the mess in common/dnylib.cpp...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 22:21:44 +00:00
David Elliott
888c4e8f0d Renamed src/cocoa/settings.cpp to settings.mm.
Don't forget to rm .deps/corelib_settings.o.d in your build directory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 18:57:38 +00:00
David Elliott
3cab022fe5 Rebaked (Bakefile 0.1.4)
* Remove installation of afm and gsafm
* Remove configure during distclean
* Copy *.mpg files during SAMPLES_DIST


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 17:51:56 +00:00
Julian Smart
e2ac17aa7a Further AFM removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 13:20:19 +00:00
Vadim Zeitlin
8329fea8ad rebaked after adding src/tiff/tif_color.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 08:46:26 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Ryan Norton
4e69ff2268 makefile regen, include fix, duplicate file fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 15:53:38 +00:00
Ryan Norton
ff4aedc554 Massive reworking of wxMediaCtrl code - backend everything, search for backends via RTTI lookup, and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:26:55 +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
David Elliott
6a91f7142d Fix build on platforms without any real source in the new media library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 15:48:10 +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
Robin Dunn
ed9e79665c Removed the "include/" from the corefoundation headers in files.bkl so
they will actually get installed.  I expect that the other "include/"
prefixes need to be removed too but I left them in case I am wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 21:33:34 +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
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
David Elliott
f1108504ce Use gsockosx.cpp from new corefoundation directory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 06:26:53 +00:00
David Elliott
5d553c56c9 Moved duplicated wxMac/wxCocoa code into src/mac/corefoundation/utilsexc_cf.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:45:42 +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
David Elliott
726b98e9a1 Added wxStandardPaths for wxMac and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:38:33 +00:00
David Elliott
e313e308c0 Build the new cfstring stuff for both wxMac (as part of Mac's base) and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:37:41 +00:00
Ryan Norton
dd65d8c830 wxURI. Move Convert/to/fromURI into uri.cpp so that it is compiled in base. Regenerate Bakefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:47:26 +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
David Elliott
f31424dbe9 wxCocoa: Add native file dialog from Ryan Norton. Modified patch #1039368
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1039368&group_id=9863


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 19:15:42 +00:00
David Elliott
0e3165d725 Rebaked (build/bakefiles/common.bkl 1.95->1.96 change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 17:02:37 +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
c55504f7f7 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 14:10:55 +00:00
Ron Lee
10f206ad20 For autoconf/unix builds update the hardcoded afm dir too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 07:50:21 +00:00
Julian Smart
501591aad2 Make dist correction for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 22:38:43 +00:00
Václav Slavík
f9e1c3c501 fixed wxrc installation and cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-09 12:53:00 +00:00
Václav Slavík
92a50a3990 fixed AFM metrics installation so that PostScript printing works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 16:26:51 +00:00
Ryan Norton
ab921f5f80 bakefile time!! (Mainly stuff for wxCocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:35:53 +00:00
Ron Lee
fdefae196a Clean up the soversion/flavour labelling of binary runtime packages.
Split out a common wxPython package so the runtime support for it
doesn't need to conflict any more either.

Makefile.in was apparently committed from out of date bakefiles
so it is included here again too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 05:14:55 +00:00
Václav Slavík
559f532de1 don't cd into utils/xrc if USE_XRC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 22:10:44 +00:00
David Elliott
bd2af42857 wxCocoa: Added (mostly) stubs for wxGLCanvas and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:23:59 +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
Václav Slavík
e30fbc5234 build and install wxrc by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 22:20:34 +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
Ron Lee
148e141b23 Enable concurrent installs of runtime packages after a soname change.
Add a common package for afm metrics, and other 'static' data and utilities.
Remove the version/flavour from afm installs on unix as discussed with Vaclav,
these files really do never change.
Mention --static along with other selection options in --help.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 14:47:08 +00:00
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
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
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
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
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
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
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