Commit Graph

77 Commits

Author SHA1 Message Date
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Vadim Zeitlin
0b01706f2c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:21:06 +00:00
Mattia Barbon
69d27ff78b * added new --enable-logdialog option
* added warning for use of wxToolTip in wxUniv
* corrected some cut&paste errors ( now --disable-pnm doesn't disable XPMs anymore... )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:39:47 +00:00
Gilles Depeyrot
04eb894b5c added missing wxUSE_SYSTEM_OPTIONS define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:59:38 +00:00
Mattia Barbon
0fbb762e07 Test for wctype.h
Fix for broken Cygwin wchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:03:04 +00:00
Vadim Zeitlin
a3a584a7a6 added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 20:40:20 +00:00
Vadim Zeitlin
e37177c27b removed duplicated line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:45:18 +00:00
Mattia Barbon
0e44823110 Various cygwin compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00
Vadim Zeitlin
9952adac06 use statvfs() if statfs() is not available (Solaris)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:03:52 +00:00
Ron Lee
7cf43d5ef9 Merged IA64 build fixes from 2.2 (this will undoubtably need to be tested
before we can claim 2.3 works on that platform)
Updated config{guess,sub}


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 00:20:37 +00:00
Vadim Zeitlin
8754feb848 don't define wxUSE_OWNER_DRAWN for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:21:58 +00:00
Gilles Depeyrot
8eee02518d added Darwin related defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:45:26 +00:00
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Vadim Zeitlin
b3e8d00ab0 1. made description of some options in configure [hopefully] more readable
2. got rid of --enable-wcsrtombs option, configure can find it out itself


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:34:12 +00:00
Ron Lee
3a922bb4bd More build system polishing.. mostly. Some stuff ported over from
recent changes to the 2.2 branch.

Rationalised the autoconf scripts again, removed lots of stuff that
shouldn't be there anymore and pounded the rest into an even tighter
furball. (There's more work to be done here, but we're getting there..)

Implemented the library naming scheme outlined in tn0012.txt -- introduced
'toolchain' and 'widget set' into the autoconf scripts, obsoleted the
top level wx/setup.h and much of the mess associated with it.

More changes for cross compiling and 2.3 debs.

s/burnt_name/soname/g ; s/CC/CXX/g ; s/CCC/CC/g ;  Just because it's Right.
(Thanks Vadim for already doing *FLAGS..)

Fixed libfl Makefile to actually work.

Removed *_DEPS from tmake templates, in every case they can be determined
from the relevant *_OBJS

Added BASE_MSW_OBJS, a couple of missing #includes, some missing files to
the 'dist' targets, and fixed some compile warnings.

Changed setup.py to use wx-config --gl-libs instead of hard coded constants.

 Modified Files:
 	Makefile.in configure configure.in setup.h.in wx-config.in
 	wxBase.spec wxGTK.spec wxMotif.spec
 	contrib/include/wx/applet/window.h contrib/src/Makefile.in
 	contrib/src/applet/appletwindow.cpp contrib/src/fl/Makefile.in
 	debian/changelog debian/control.in debian/libwxbase-dbg.dirs
 	debian/libwxbase-dbg.links debian/libwxbase-dbg.postinst
 	debian/libwxbase-dbg.prerm debian/libwxbase-dev.dirs
 	debian/libwxbase-dev.files debian/libwxbase-dev.links
 	debian/libwxbase-dev.postinst debian/libwxbase-dev.prerm
 	debian/libwxgtk-dbg.dirs debian/libwxgtk-dbg.links
 	debian/libwxgtk-dbg.postinst debian/libwxgtk-dbg.prerm
 	debian/libwxgtk-dev.dirs debian/libwxgtk-dev.files
 	debian/libwxgtk-dev.links debian/libwxgtk-dev.postinst
 	debian/libwxgtk-dev.prerm debian/rules
 	distrib/msw/tmake/base.t distrib/msw/tmake/gtk.t
 	distrib/msw/tmake/mgl.t distrib/msw/tmake/motif.t
 	distrib/msw/tmake/msw.t distrib/msw/tmake/os2.t
 	distrib/msw/tmake/univ.t docs/motif/install.txt
 	include/wx/msw/private.h include/wx/os2/SETUP.H
 	include/wx/os2/SETUP0.H samples/ipc/Makefile.in
 	samples/sockets/Makefile.in src/files.lst src/make.env.in
 	src/makelib.env.in src/makeprog.env.in src/common/strconv.cpp
 	src/gtk/files.lst src/mgl/files.lst src/motif/files.lst
 	src/msw/files.lst src/msw/gsocket.c src/msw/gsockmsw.c
 	src/msw/toplevel.cpp src/msw/utils.cpp src/os2/files.lst
 	src/univ/files.lst wxPython/setup.py
 Added Files:
 	debian/libwxbase-msw-dev.dirs debian/libwxbase-msw-dev.links
 	debian/libwxbase-msw-dev.postinst
 	debian/libwxbase-msw-dev.prerm debian/libwxmsw-dev.dirs
 	debian/libwxmsw-dev.links debian/libwxmsw-dev.postinst
 	debian/libwxmsw-dev.prerm debian/wxwin-doc.doc-base
 	debian/wxwin-headers-msw.dirs
 Removed Files:
 	debian/wxwin-doc.doc-base.in include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 07:00:13 +00:00
Vadim Zeitlin
52e8b69060 statfs() detection for wxGetDiskSpace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:55:06 +00:00
Vadim Zeitlin
7e67ed0df4 moved wxINSTALL_PREFIX from CPPFLAGS to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:46:39 +00:00
Vadim Zeitlin
a3cb1afc37 1. next attempt to fix RH 7.1 build
2. CPPFLAGS are the flags for cpp, not for c++ compiler!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 22:52:53 +00:00
Vadim Zeitlin
8db37e0699 added generic implementation and documentation for wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:55:03 +00:00
Gilles Depeyrot
bfde68e43f added tree layout define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 18:07:19 +00:00
Vadim Zeitlin
3e44f09d77 added detection of regex support to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:13:59 +00:00
Václav Slavík
29fd3c0cc1 fixed windows.h check and added checks for MS HTML Help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 22:30:12 +00:00
Václav Slavík
d4158b5d93 added check for w32api.h to configure (so that libjpeg works when cross-compiling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:39:58 +00:00
Václav Slavík
9165395fd1 added wxUSE_OLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:54:13 +00:00
Vadim Zeitlin
dcb99cd3ac added wxUSE_LOG_DIALOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:28:21 +00:00
Vadim Zeitlin
3379ed3789 tons of fixes for wxGTK/Univ - seems to work, more or less, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Vadim Zeitlin
24fd6d87e9 changed wxUSE_DRAGIMAG to wxUSE_DRAGIMAGE and use it everywhere now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:39:00 +00:00
Vadim Zeitlin
54276ccf5b added WXWIN_COMPATIBILITY_2_2 option (disabled by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:23:59 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
d836ee960a hopefully finally fixed the problem with ambiguous overloads of wxString::operator[] for _all_ machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:27:44 +00:00
Vadim Zeitlin
4f3c5f06ff implemented wxSingleInstanceChecker for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:42:59 +00:00
Václav Slavík
6523de8a56 oops, forgot to check in change that adds WX_ICONV_TAKES_CHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-27 18:22:47 +00:00
Robert Roebling
29f45f85e9 Maybe compilation works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-27 16:30:22 +00:00
Václav Slavík
0046ff7c4f added wxUSE_IMAGE, wxUSE_XPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:23:05 +00:00
Vadim Zeitlin
d9b9876f6e fixed recursive mutexs compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 13:25:04 +00:00
Vadim Zeitlin
1db8dc4a2b applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
Ron Lee
b64f0a5fc7 More mostly cross compiling related mods..
Get configure to bring in the necessary libs and object files if
the compiler can handle ole.
Added --enable-metafile option, defaults to yes but again only used
if ole is supported.
Fixed the last of the #ifdef wxUSE_NORLANDER.. tests to check if its
non-zero (it's always defined)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 11:19:25 +00:00
Robert Roebling
67b888f0f3 Removing wxPlotWindow from configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-16 11:29:12 +00:00
Vadim Zeitlin
8fd0d89b7d added wxGet/Set/UnsetEnv() for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 22:46:35 +00:00
Robert Roebling
44f889cb5f Adding wxUSE_GEOMETRY to setup.h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:36:52 +00:00
Robert Roebling
3fed184012 Preparing makefiles for freetype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 11:51:42 +00:00
Robert Roebling
0fb0dd8361 Added check for <fnctl.h> which FreeType seems to need.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 12:47:14 +00:00
Ove Kaaven
6f72b08293 Configure checks for:
sizeof(wchar_t)
iconv.h
langinfo.h
gtk+ 1.3.1, defines __WXGTK20__ (I removed __WXGTK13__)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:08:43 +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
Vadim Zeitlin
bd3277fec0 1. corrected HAVE_PW_GECOS detection in configure (which never worked)
2. added and documented wxGetFreeMemory() for Unix (Linux/Solaris only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:45:43 +00:00
Vadim Zeitlin
eb4efbdc86 some files for wxHandleFatalException() I previously forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:25:22 +00:00
Robert Roebling
bdad4e7e02 Various changes due to OGL and glcanvas having changed
position.

  Had to butcher Vadims system header patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:27:16 +00:00
Václav Slavík
24528b0c14 added --enable-filesystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:17 +00:00
Vadim Zeitlin
9b33fe0222 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:06:32 +00:00
Stefan Neis
749aa5c178 SN: WXPM wants wxUSE_OWNER_DRAWN to be defined to 1 as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:25:47 +00:00