Commit Graph

1138 Commits

Author SHA1 Message Date
Vadim Zeitlin
0cf3e587a2 added new and improved wxFileCtrl implementation (patch 1763164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Paul Cornett
05787cec0d remove unused configure tests and macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 06:24:14 +00:00
Václav Slavík
479647105b Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Robert Roebling
fd220f13d4 Add Cairo to build, remove run-time dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:31:51 +00:00
Robert Roebling
bd8a7646cf Add GtkPrint detection code and configure switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 18:55:18 +00:00
David Elliott
118042914f Try the DefaultProperties key if the buildSettings key doesn't work when reading the SDKSettings.plist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:10:20 +00:00
Václav Slavík
91a5e00c75 --enable-iniconf and --enable-regkey aren't GUI-only options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:11:12 +00:00
Václav Slavík
10d1a99617 use UTF8 build by default on Unix (except Darwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 10:16:30 +00:00
Václav Slavík
b9d4eff64f check for HAVE_VISIBILITY first when setting WXIMPORT/WXEXPORT; only set it on platforms where it makes sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:36:14 +00:00
Vadim Zeitlin
a1353ea496 use unsetenv() instead of setenv(var, NULL) which is invalid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:29:07 +00:00
Václav Slavík
34b340a08e the Ubuntu visibility bug only happens when building shared libraries on some systems, use -shared when testing for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:13:11 +00:00
Vadim Zeitlin
ecac5b81f8 remove tests for Mac Rez and SetFile which are also already done by bakefile; restore assignment to RESCOMP which was removed by last commit but which bakefile doesn't set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 01:38:18 +00:00
Vadim Zeitlin
ebda9490d0 don't test for things which bakefile already tests for (STRIP, RANLIB, INSTALL, WINDRES, ...); don't chech for VPATH support in make at all as we don't use it any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 01:23:34 +00:00
Vadim Zeitlin
57c2270cd7 removed png and propsize samples from SAMPLES_SUBDIRS too (patch 1763216)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 19:08:51 +00:00
David Elliott
141fad6334 Use the ECHO_N and ECHO_C variables in lieu of echo -n since some shells need it.
Use cat /dev/null instead of echo -n in the non-Mac (but on OS X) POSTLINK_COMMAND and RESCOMP variables.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 03:36:22 +00:00
Vadim Zeitlin
39d6633948 removed empty or duplicated samples: checklst, dynamic, listbox, minifram, multimon, png, propsize, resource, rotate, tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 00:28:07 +00:00
Vadim Zeitlin
8630a814ce preserve the arguments read from configarg.cache in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 23:48:30 +00:00
Vadim Zeitlin
b55e184291 show wxUSE_STL in the summary at the end too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:23:33 +00:00
Paul Cornett
b3482afb55 fix last commit, it seems spaces are not allowed between macro and paren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:45:13 +00:00
Vadim Zeitlin
61873536a0 added wxUSE_INICONF (disabled by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 14:57:31 +00:00
David Elliott
b4e05bddd7 Implement --with-macosx-sdk[=SDK] and --with-macosx-version-min[=VER].
Deprecate --enable-universal_binary but support it by adding the -arch flags
as before and automatically setting the SDK using the new --with-macosx-sdk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 03:38:33 +00:00
Vadim Zeitlin
57309d1415 re-disable Universal Mac builds by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 16:27:29 +00:00
Vadim Zeitlin
1c2aa6f237 fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 21:59:56 +00:00
Václav Slavík
d6f513f829 fix visibility problems with libstdc++ on Debian and Ubuntu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 09:20:42 +00:00
Vadim Zeitlin
6fdf2acccd added --enable-ownerdrawn MSW-only option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:22:56 +00:00
Václav Slavík
6991087b08 fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 16:43:31 +00:00
Vadim Zeitlin
0295153cbc added --enable-ps-in-msw configure option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:09:57 +00:00
Vadim Zeitlin
f77c0fe312 added wxUSE_REGKEY option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:01:28 +00:00
Vadim Zeitlin
508d12b224 extracted MSW-specific setup.h options to their own wx/msw/setup_inc.h file which is now used to automaitcally generate both wx/msw/setup0.h and setup.h.in by update-setup-h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:56:22 +00:00
Vadim Zeitlin
8743ec79b7 corrected (and simplified) configarg.cache updating broken by last changes to WX_ARG_WITH/ENABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:15:38 +00:00
Vadim Zeitlin
9795e0dbc2 define wxUSE_FONTENUM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 07:31:28 +00:00
Vadim Zeitlin
ff42758536 added wxUSE_FONTENUM for wxFontEnumerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:00 +00:00
Vadim Zeitlin
5d18e02915 added --enable-uxtheme option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:42:58 +00:00
Paul Cornett
be2ad872dc more AC_CHECK_HEADERS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 18:27:35 +00:00
David Elliott
1f7e12cc26 Restore AC_CHECK_HEADERS in preference to AC_CHECK_HEADER so that the HAVE_*
defines will be generated when needed.  This fixes breakage caused by 44703.
Only usage where HAVE_* macro is in setup.h.in or was used by configure
itself (e.g. HAVE_X11_XLIB_H) is changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 17:59:45 +00:00
Vadim Zeitlin
c225b981b6 check for setenv first, then putenv as using setenv in wxSetEnv() is much easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:09 +00:00
Vadim Zeitlin
4f167b46b4 added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +00:00
Vadim Zeitlin
e7ff34edfd removed the hyphen from the new --enable{baseevt,epoll,select}loop options description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 12:58:28 +00:00
Vadim Zeitlin
5f6cafd149 test for gettimeofday/ftime even if we don't use wxDateTime -- we still need these functions for wxGetLocalTimeMillis() and wxStopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:20:54 +00:00
Vadim Zeitlin
47124ca667 fix WX_ARG_WITH behaviour when it's used before wxUSE_ALL_FEATURES is defined, as for --without-subdirs option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 16:18:41 +00:00
Vadim Zeitlin
39931206f7 regenerated after wxUSE_SELECT/EPOLL_DISPATCHER additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:32:36 +00:00
Vadim Zeitlin
d970f7d5cb allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros and renamed --disable-all_features to --disable-all-features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:12:32 +00:00
Vadim Zeitlin
3c7410a5ba don't change the wxUSE_XXX for the controls if --enable-controls wasn't specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 17:54:39 +00:00
Václav Slavík
a2bd84a532 added --disable-visibility configure option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:44:26 +00:00
Václav Slavík
3d44a14558 make --enable-optimise the default in absence of --enable-debug again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:13:55 +00:00
Vadim Zeitlin
84ebfcbd18 --with-sdl option should be taken into account for non-GUI builds too (closes bug 1196162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:31:24 +00:00
Vadim Zeitlin
238663c183 disable the libraries and features which were disabled before the latest changes but got accidentally enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:05 +00:00
Vadim Zeitlin
b0fc907f70 added wxUSE_SVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
Vadim Zeitlin
6534efcf7b add adv and core libraries to the built wx libs if GUI is enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:11:37 +00:00
Vadim Zeitlin
6e198e97ec Rewrote configure --enable/with options handling:
1. There is no more need to set DEFAULT_wxUSE_XXX for all options (although
   it's still taken into account if it is set), use WX_ARG_DISABLE/WITHOUT for
   the options which are enabled by default instead (and WX_ARG_ENABLE/WITH
   for those which are disabled): this makes configure messages more
   understandable (this closes bug 1038676)
2. Added --disable-all-features option which allows to disable everything
   which can be disabled at once in order to build the absolutely minimal
   wx library
3. General cleanup 



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:03:11 +00:00