Commit Graph

26 Commits

Author SHA1 Message Date
Vadim Zeitlin
3d8438619d Use PCRE as built-in regex library
Replace the use of Henry Spencer's regex library with PCRE at the build
level and enable wxUSE_PCRE in wxRegEx code to switch to PCRE-based
implementation there.

Note that this has to be done unconditionally because there is no simple
way to select between the previously used regex library and PCRE at the
makefiles level.

We could still keep the possibility to use the system regex library
under Unix, but this doesn't seem to be worth doing, as we don't support
Unicode REs properly when using it (and never did), so drop support for
this too.
2021-07-24 19:17:59 +02:00
Tobias Taschner
8282c1be0f Remove Windows CE support
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE
release was in early 2013 and the PocketPC and Smartphone targets supported by
wxWidgets are long gone.

The build files where already removed in an earlier cleanup this commit
removes all files, every #ifdef and all documentation regarding the Windows CE
support.

Closes https://github.com/wxWidgets/wxWidgets/pull/81
2015-09-23 00:52:30 +02:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Włodzimierz Skiba
99713fe395 After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:08:21 +00:00
Julian Smart
9c2d002b3e Regenerated makefiles for 3rd-party lib change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 11:20:24 +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
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
a92d711e45 ABX's changes to support MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 20:22:23 +00:00
Włodzimierz Skiba
12f003edba Warning fixes for Digital Mars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 18:06:34 +00:00
Václav Slavík
d628323f13 regex lib doesn't build under WinCE either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:22:20 +00:00
Václav Slavík
e3f9e20cb1 applied patch 890642: wxRE_ADVANCED flag and docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 17:28:56 +00:00
Václav Slavík
cb9548d9a7 removed duplicated code and really fixed setup.h problems in regex.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 22:41:33 +00:00
Ryan Norton
1ec597c015 added back $id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 12:19:07 +00:00
Ryan Norton
2acf1768a6 Added setup.h logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 12:17:15 +00:00
Václav Slavík
f101c18df6 supressing legitimate warnings was bad idea, reverting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 10:30:38 +00:00
Václav Slavík
bf94841aaa supress warnings in regex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 10:03:09 +00:00
Václav Slavík
1c29c1fead regex libs needs _UNICODE define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 23:19:40 +00:00
Václav Slavík
5eb3512030 regex lib needs wx headers now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:42:09 +00:00
Václav Slavík
698ec18272 disable Borland C++ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:21:50 +00:00
Václav Slavík
ea66c762e8 cross-compiled libraries have host embedded in the name again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:13:32 +00:00
Václav Slavík
580ac8cb57 fixed $(top_srcdir)// bug, should be $(top_srcdir)/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:53:02 +00:00
Václav Slavík
7b11429dc3 fixed include paths to our copies of 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 08:48:34 +00:00
Václav Slavík
4d2efb51e6 fixed linking against 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:55:22 +00:00
Václav Slavík
82cb028026 different name for release and debug build of third party libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:29:07 +00:00
Václav Slavík
332cc656f3 1) Added INC_FOO variable with include directory for 3rd party libraries
2) Don't compile ODBC on Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 13:25:11 +00:00
Václav Slavík
ddf9896893 moving bakefile build system to the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 19:50:43 +00:00