You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(622) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(303) |
Feb
(64) |
Mar
(5) |
Apr
(63) |
May
(82) |
Jun
(53) |
Jul
(50) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: stephan b. <sg...@us...> - 2004-12-24 01:43:31
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1207 Modified Files: PathFinder.h Log Message: changed a bogus return type Index: PathFinder.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/PathFinder.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- PathFinder.h 23 Dec 2004 03:22:50 -0000 1.2 +++ PathFinder.h 24 Dec 2004 01:43:15 -0000 1.3 @@ -69,7 +69,7 @@ /** Returns the path separator string. Default is ":"; */ - const std::string & pathSeparator() const; + std::string pathSeparator() const; /** Sets the path to p, which should be a path_separtor()-delimited string. |
From: stephan b. <sg...@us...> - 2004-12-24 01:40:38
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv663 Modified Files: Makefile.toc Log Message: added testPathFinder Index: Makefile.toc =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/Makefile.toc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.toc 23 Dec 2004 21:40:32 -0000 1.4 +++ Makefile.toc 24 Dec 2004 01:40:27 -0000 1.5 @@ -14,6 +14,7 @@ CriticalSection.cpp \ CriticalSection.generic.cpp \ Mutex.cpp \ + PathFinder.cpp \ SystemError.cpp \ timeout.cpp \ SharedLib.generic.cpp @@ -91,6 +92,10 @@ # Run targets STATIC_LIBS and SHARED_LIBS build these. endif +BIN_PROGRAMS = testPathFinder +testPathFinder_bin_OBJECTS = testPathFinder.o PathFinder.o +include $(TOC_MAKESDIR)/BIN_PROGRAMS.make + all: STATIC_LIBS SHARED_LIBS ################################################### # end auto-generated rules |
From: stephan b. <sg...@us...> - 2004-12-24 01:40:33
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv636 Added Files: testPathFinder.cpp Log Message: egg --- NEW FILE: testPathFinder.cpp --- #include "pclasses/System/PathFinder.h" #include "pclasses/pclasses-config.h" #include <stdlib.h> // getenv() #ifndef CERR #define CERR std::cerr << __FILE__ << ":" << std::dec << __LINE__ << " : " #endif int main( int argc, char ** argv ) { CERR << "PathFinder tests...\n"; using P::System::PathFinder; const char * ldp = getenv( "LD_LIBRARY_PATH" ); PathFinder f; f.addPath( "." ); if( ldp ) f.addPath( ldp ); f.addPath( PCLASSES_LIB_DIR ); f.addPath( PCLASSES_PLUGINS_DIR ); CERR << "path="<<f.pathString() << "\n"; return 0; } |
From: stephan b. <sg...@us...> - 2004-12-24 01:39:48
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv382 Modified Files: PathFinder.cpp Log Message: compile fixes for the P port. Index: PathFinder.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/PathFinder.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- PathFinder.cpp 23 Dec 2004 02:41:17 -0000 1.1 +++ PathFinder.cpp 24 Dec 2004 01:39:30 -0000 1.2 @@ -12,7 +12,7 @@ # include <unistd.h> #endif -#include "PathFinder.hpp" +#include "pclasses/System/PathFinder.h" // CERR is a drop-in replacement for std::cerr, but slightly more // decorative. @@ -31,7 +31,6 @@ PathFinder::~PathFinder() { - DTOROUT(PathFinder) << this->pathString() << std::endl; } PathFinder::PathFinder( const string & p, const string & e, const string & pathsep ) @@ -42,9 +41,9 @@ } - const string & PathFinder::pathSeparator() const + string PathFinder::pathSeparator() const { - return ( ( PathFinder * ) this )->pathseparator; + return this->pathseparator; } void PathFinder::pathSeparator( const string & sep ) |
From: stephan b. <sg...@us...> - 2004-12-24 01:14:26
|
Update of /cvsroot/pclasses/pclasses2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27520 Modified Files: Makefile.toc Log Message: added doc subdir Index: Makefile.toc =================================================================== RCS file: /cvsroot/pclasses/pclasses2/Makefile.toc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.toc 23 Dec 2004 00:29:20 -0000 1.1 +++ Makefile.toc 24 Dec 2004 01:14:17 -0000 1.2 @@ -1,13 +1,6 @@ -################################################### -# AUTO-GENERATED guess at a toc-aware Makefile, -# based off of the contents of directory: -# . -# Created by ./toc/bin/create_makefile_stubs.sh -# Thu Dec 23 01:26:47 CET 2004 -# It must be tweaked to suit your needs. -################################################### +#!/usr/bin/make -f include toc.make -SUBDIRS = AT include m4 src templates test toc +SUBDIRS = AT include m4 src templates test doc toc DIST_FILES += README \ NEWS \ ChangeLog \ @@ -15,16 +8,5 @@ autogen.sh \ find_toc.sh \ notes.txt -############## FLEXES: -# WARNING: FLEXES stuff only works for C++-based flexers -FLEXES = -FLEXES_ARGS = -+ -p -OBJECTS += -include $(TOC_MAKESDIR)/flex.make -# Run target FLEXES to process these. -# REMINDER: add the generated C++ files to your SOURCES, if needed. -############## /FLEXES -all: -################################################### -# end auto-generated rules -################################################### + +all: subdirs |
From: stephan b. <sg...@us...> - 2004-12-24 01:11:48
|
Update of /cvsroot/pclasses/pclasses2/doc/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27088/manual Added Files: Makefile.toc Log Message: egg --- NEW FILE: Makefile.toc --- #!/usr/bin/make -f include toc.make DIST_FILES += pclasses2.lyx ######################################################################## # LyX export... ifneq (,$(LYX_BIN)) LYX_EXPORT = pclasses2 LYX_EXPORT_FORMATS = pdf html ps LYX_EXPORT-post: @echo "Renaming and patching exported lyx files..." for y in $(LYX_EXPORT); do \ perl -i -pe s/$$y\.html\#/\#/g $$y.html; \ for f in $(LYX_EXPORT_FORMATS); do \ cmd="mv $$y.$$f $$y-$(PACKAGE_VERSION).$$f"; \ echo $$cmd; $$cmd || exit; \ done; \ done include $(TOC_MAKESDIR)/LYX_EXPORT.make CLEAN_FILES += $(wildcard *.html *.pdf *.ps) docs: LYX_EXPORT else docs: @echo "If you will install lyx and reconfigure you can build the documentation." endif # ^^^^ LYX_BIN ######################################################################## ################################################################ # doc tarball lyxportgend = $(wildcard *.ps *.pdf *.html) ifneq (,$(lyxportgend)) tbname = $(PACKAGE_NAME)-manual-$(PACKAGE_VERSION) pseudosubdir = $(tbname) $(pseudosubdir): ln -s . $@ CLEAN_FILES += $(pseudosubdir) .PHONY: doxygen TARBALL: $(pseudosubdir) TARBALL-%: $(pseudosubdir) TARBALL_TARGETS = docs_gz docs_bz docs_bz_TARBALL = $(tbname).tar.bz2 docs_bz_TARBALL_FLAGS = -j docs_bz_TARBALL_FILES = $(addprefix $(pseudosubdir)/,$(lyxportgend)) docs_gz_TARBALL_FLAGS = -z docs_gz_TARBALL = $(tbname).tar.gz docs_gz_TARBALL_FILES = $(addprefix $(pseudosubdir)/,$(lyxportgend)) include $(TOC_MAKESDIR)/TARBALL.make TARBALL: rm-symlink rm-symlink: rm $(pseudosubdir) endif # /tarball stuff ################################################################ all: docs |
From: stephan b. <sg...@us...> - 2004-12-24 01:11:48
|
Update of /cvsroot/pclasses/pclasses2/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27088 Added Files: Makefile.toc Log Message: egg --- NEW FILE: Makefile.toc --- #!/usr/bin/make -f include toc.make SUBDIRS = manual all: subdirs |
From: stephan b. <sg...@us...> - 2004-12-24 01:03:15
|
Update of /cvsroot/pclasses/pclasses2/doc/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25546 Modified Files: pclasses2.lyx Log Message: Most of the main doc outline is now in place. Index: pclasses2.lyx =================================================================== RCS file: /cvsroot/pclasses/pclasses2/doc/manual/pclasses2.lyx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pclasses2.lyx 23 Dec 2004 23:18:20 -0000 1.1 +++ pclasses2.lyx 24 Dec 2004 01:03:01 -0000 1.2 @@ -42,7 +42,13 @@ CVS Info: $Id$ \layout Abstract -This document will someday be the library manual for P::Classes 2.x +This is the library manual for P::Classes 2.x. +\layout Abstract + +It provides an overview of what features P::Classes provides and how to + use them. + This document is a supplement to the API docs, and does not provide a 100% + standalone source of information about the library. \layout Standard @@ -78,20 +84,26 @@ \begin_inset Quotes srd \end_inset - P provides cross-platform features such as: + P provides cross-platform APIs supporting such features as: \layout Itemize Device-, protocol- and network-transparent i/o. \layout Itemize -A Plugins module. +Threading. \layout Itemize -A generic SQL interface, including modules for MySQL(tm), Postgres(tm) and - Oracle(tm). +Plugins. +\layout Itemize + +Server-neutral database interface, including modules for MySQL(tm), Postgres(tm) + and Oracle(tm). \layout Itemize Unicode-capable string and regular expressions support. +\layout Itemize + +Signals and slots. \layout Standard P @@ -120,6 +132,14 @@ Solaris \layout Itemize +Mac OS/X +\layout Itemize + + +\color red +Mach??? +\layout Itemize + \color red TODO @@ -132,7 +152,16 @@ See the project page for the links and information: \layout Quote + +\family typewriter http://sourceforge.net/projects/pclasses +\layout Standard + +The repository is named +\family typewriter +pclasses2 +\family default +. \layout Subsection Disclaimers @@ -151,7 +180,9 @@ No Warranties, express or implied. \layout Itemize -You Have Been Warned. + +\emph on +You Have Been Warned! \layout Subsection License @@ -159,6 +190,9 @@ P::Classes is released under the terms of the GNU Lesser General Public License (LGPL). + Some included source code may fall under other licenses, such as BSD or + Public Domain. + Please see the specific files for details. \layout Subsection Credits @@ -192,9 +226,39 @@ \layout Subsection Module List +\layout Standard + +In approximate order of dependencies: +\layout Itemize + +Core: the most basic operations performed by the library. +\layout Itemize + +Unicode: Unicode string support. +\layout Itemize + +System: threading and shared library support. +\layout Itemize + +IO: device-independent i/o support. +\layout Itemize + +Net: network-transparent i/o support. +\layout Itemize + +SQL: db-neutral SQL support. +\layout Itemize + +Util: more advanced thread management. +\layout Itemize + +Crypto: cryptography and hasing support. \layout Section Core Module +\layout Standard + +The types in this section all live in the namespace P. \layout Subsection Alloc @@ -206,13 +270,22 @@ Atomic \layout Standard -A wrapper for performing atomic operations. +A wrapper for performing atomic operations on arbitrary objects. + It uses assembly-level operations for types and architectures which support + them, otherwise is uses Critical Sections. \layout Subsection Exception \layout Standard The base exception type used by P. +\layout Subsubsection + +SourceInfo +\layout Standard + +SourceInfo is a type used by Exception to tell developers exactly where + an exception is thrown from. \layout Subsection LinkedItem @@ -233,9 +306,19 @@ \layout Standard Object factory interface. +\layout Subsection + +Signals and Slots +\layout Standard + +A templates-based, thread-safe signals and slots (object messaging) implementati +on. \layout Section Unicode Module +\layout Standard + +The types in this section all live in the namespace P::Unicode. \layout Subsection Char @@ -259,9 +342,22 @@ \layout Section Plugin Module +\layout Standard + +The types in this section all live in the namespace +\color red +P::??? +\color default +. +\layout Standard + +The Plugin module provides per-protocol, per-mime-type dynamic object loading. \layout Section System Module +\layout Standard + +The types in this section all live in the namespace P::System. \layout Subsection Filesystems @@ -272,24 +368,63 @@ FSFile, for consistency? \color default ) +\layout Standard + +Encapsulates a filesystem file. \layout Subsubsection FSDirectory +\layout Standard + +Encapsulates a filesystem directory. \layout Subsubsection FSPath +\layout Standard + +Encapsulates a filesystem path. \layout Subsection Shared libraries \layout Subsubsection SharedLib +\layout Standard + +Provides a platform-neutral interface into shared libraries (also called + DLL's and .so's). +\layout Subsubsection + + +\family typewriter +openSharedLibrary() +\layout Standard + +This free function opens a DLL and returns a SharedLibrary handle to it. \layout Subsection Threading +\layout Standard + +Provides platform-neutral threading facilities. +\layout Subsubsection + +Thread +\layout Subsubsection + +Mutex +\layout Subsubsection + +CriticalSection +\layout Subsubsection + +Condition \layout Section IO Module +\layout Standard + +The types in this section all live in the namespace P::IO. \layout Subsection IODevice @@ -299,6 +434,9 @@ \layout Section Net Module +\layout Standard + +The types in this section all live in the namespace P::Net. \layout Subsection NetworkAddress @@ -308,4 +446,108 @@ \layout Section SQL Module +\layout Standard + +The types in this section all live in the namespace +\color red +P::Sql??? +\color default +. +\layout Standard + +Provides a database-neutral interface for working with SQL databases. +\layout Subsection + +Available drivers +\layout Subsection + +Connection +\layout Subsection + +Statement +\layout Subsection + +Result +\layout Section + +Signals and Slots Module +\layout Standard + +The types in this section all live in the namespace +\color red +P::??? +\color default +. +\layout Section + +Crypto Module +\layout Standard + +The types in this section all live in the namespace P::Crypto. +\layout Section + +Util Module +\layout Standard + +The types in this section all live in the namespace P::Util. +\layout Subsection + +ManagedThread +\layout Subsection + +ThreadPool +\layout Subsection + +WorkQueue +\layout Section + +Misc notes +\layout Subsection + +Building client software with this library +\layout Subsubsection + +Including P::Classes headers +\layout Standard + +Please use the following convention for including P headers: +\layout Quote + + +\family typewriter +#include <pclasses/....> +\layout Standard + +If P is installed under one of your default search paths, or defined using + +\family typewriter +-I/P/prefix/include +\family default +, then your compiler will find them. +\layout Subsubsection + +Linking under Microsoft DevStudio +\layout Standard + +Clue == 0. +\layout Subsubsection + +Linking under Unix +\layout Standard + +Use the +\family typewriter +pclasses2-config +\family default + script, installed under +\family typewriter +PREFIX/bin +\family default +, to get information regarding includes paths and linker options required + for building client code. +\layout Standard + + +\color red +TODO: add pkgconfig support. \the_end |
From: stephan b. <sg...@us...> - 2004-12-24 01:01:49
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25237 Modified Files: Factory.h Log Message: removed the no_create() function because it will cause problems later. Index: Factory.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Factory.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Factory.h 23 Dec 2004 20:11:49 -0000 1.4 +++ Factory.h 24 Dec 2004 01:01:38 -0000 1.5 @@ -86,16 +86,6 @@ } /** - A factory which always returns 0. This can - be used as a factory when, e.g., T is - abstract. - */ - static result_type no_create() - { - return 0; - } - - /** Same as create(). */ result_type operator()() const |
From: stephan b. <sg...@us...> - 2004-12-24 00:57:34
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24381 Added Files: FactoryReg.h Log Message: egg --- NEW FILE: FactoryReg.h --- //////////////////////////////////////////////////////////////////////// // FactoryReg.h // A "supermacro"-style classloader registration snippet for P::Factory. //////////////////////////////////////////////////////////////////////// // Macros to be set before including this file: // // PFACREG_TYPE: type to be registered. // // PFACREG_TYPE_NAME: string name to register PFACREG_TYPE with. // // PFACREG_TYPE_INTERFACE: base-most type of PFACREG_TYPE. // Defaults to PFACREG_TYPE. // // OPTIONAL/special-case macros: // // PFACREG_TYPE_IS_ABSTRACT: // This macro should be used only when PFACREG_TYPE is an abstract type. // If PFACREG_TYPE is an abstract base class, define this // macro to any value. If this is set then a no-op specialization // of P::Hook::FactoryCreateHook<> is installed so no calls to // new PFACREG_TYPE will be made by the default factories. // // // All of the above macros are #undef'd by this file, so it may be // included multiple times in succession. //////////////////////////////////////////////////////////////////////// #ifndef PFACREG_TYPE # error "You must define PFACREG_TYPE before including this file." #endif #ifndef PFACREG_TYPE_NAME # error "You must define PFACREG_TYPE_NAME before including this file." #endif #ifndef PFACREG_TYPE_INTERFACE # define PFACREG_TYPE_INTERFACE PFACREG_TYPE #endif # ifdef PFACREG_TYPE_IS_ABSTRACT // install a specialization of Factory's default factory type, // so that we won't try to instantiation a PFACREG_TYPE object. // Remember that this code will only happen when // ( PFACREG_TYPE_INTERFACE == PFACREG_TYPE ) // assuming the user doesn't mis-use the supermacro API. namespace P { namespace Hook { template <> struct FactoryCreateHook< PFACREG_TYPE_INTERFACE , PFACREG_TYPE > { typedef PFACREG_TYPE_INTERFACE * result_type; typedef PFACREG_TYPE actual_type; static result_type create() { return 0; } }; } } // namespace P::Hook # endif // PFACREG_TYPE_IS_ABSTRACT namespace { # ifndef p_FACTORY_REG_CONTEXT_DEFINED # define p_FACTORY_REG_CONTEXT_DEFINED 1 /////////////////////////////////////////////////////////////// // we must not include this more than once per compilation unit /////////////////////////////////////////////////////////////// // A unique (per Context/per compilation unit) space to assign // a bogus value for classloader registration purposes (see // the classloader docs for a full description of how this // works). template <typename Context> struct pfactory_reg_context { static bool placeholder; }; template <typename Context> bool pfactory_reg_context<Context>::placeholder = false; # endif // !p_FACTORY_REG_CONTEXT_DEFINED # define FACTORY_FUNCTION_ ::P::Hook::FactoryCreateHook< PFACREG_TYPE_INTERFACE , PFACREG_TYPE >::create //////////////////////////////////////////////////////////////////////// // Register a factory with the classloader: bool pfactory_reg_context< PFACREG_TYPE >::placeholder= ( P::NamedTypeFactory< PFACREG_TYPE_INTERFACE >::instance().registerFactory( PFACREG_TYPE_NAME, FACTORY_FUNCTION_ ), true); # undef FACTORY_FUNCTION_ } // anon namespace #ifdef PFACREG_TYPE_IS_ABSTRACT # undef PFACREG_TYPE_IS_ABSTRACT #endif #undef PFACREG_TYPE #undef PFACREG_TYPE_INTERFACE #undef PFACREG_TYPE_NAME |
From: stephan b. <sg...@us...> - 2004-12-23 23:18:59
|
Update of /cvsroot/pclasses/pclasses2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3396 Added Files: pclasses2-sgbeal.kdevelop Log Message: egg --- NEW FILE: pclasses2-sgbeal.kdevelop --- <?xml version = '1.0'?> <kdevelop> <general> <author>Christian Prochnow</author> <email>pcl...@li...</email> <version>$VERSION$</version> <projectmanagement>KDevCustomProject</projectmanagement> <primarylanguage>C++</primarylanguage> <ignoreparts/> <projectdirectory>.</projectdirectory> <absoluteprojectpath>false</absoluteprojectpath> <description/> <secondaryLanguages> <language>C</language> </secondaryLanguages> </general> <kdevcustomproject> <run> <mainprogram>pclasses2</mainprogram> <directoryradio>executable</directoryradio> <customdirectory>/</customdirectory> <programargs/> <terminal>false</terminal> <autocompile>true</autocompile> <envvars/> </run> <build> <buildtool>make</buildtool> <builddir/> </build> <make> <abortonerror>false</abortonerror> <numberofjobs>1</numberofjobs> <prio>0</prio> <dontact>false</dontact> <makebin/> <makeoptions/> <selectedenvironment>default</selectedenvironment> <environments> <default/> </environments> </make> </kdevcustomproject> <kdevdebugger> <general> <dbgshell/> <programargs/> <gdbpath/> <configGdbScript/> <runShellScript/> <runGdbScript/> <breakonloadinglibs>true</breakonloadinglibs> <separatetty>false</separatetty> <floatingtoolbar>false</floatingtoolbar> </general> <display> <staticmembers>false</staticmembers> <demanglenames>true</demanglenames> <outputradix>10</outputradix> </display> </kdevdebugger> <kdevdoctreeview> <ignoretocs> <toc>ada</toc> <toc>ada_bugs_gcc</toc> <toc>bash</toc> <toc>bash_bugs</toc> <toc>clanlib</toc> <toc>fortran_bugs_gcc</toc> <toc>gnome1</toc> <toc>gnustep</toc> <toc>gtk</toc> <toc>gtk_bugs</toc> <toc>haskell</toc> <toc>haskell_bugs_ghc</toc> <toc>java_bugs_gcc</toc> <toc>java_bugs_sun</toc> <toc>kde2book</toc> <toc>opengl</toc> <toc>pascal_bugs_fp</toc> <toc>php</toc> <toc>php_bugs</toc> <toc>perl</toc> <toc>perl_bugs</toc> <toc>python</toc> <toc>python_bugs</toc> <toc>qt-kdev3</toc> <toc>ruby</toc> <toc>ruby_bugs</toc> <toc>sdl</toc> <toc>sw</toc> <toc>w3c-dom-level2-html</toc> <toc>w3c-svg</toc> <toc>w3c-uaag10</toc> <toc>wxwidgets_bugs</toc> </ignoretocs> <ignoreqt_xml> <toc>Guide to the Qt Translation Tools</toc> <toc>Qt Assistant Manual</toc> <toc>Qt Designer Manual</toc> <toc>Qt Reference Documentation</toc> <toc>qmake User Guide</toc> </ignoreqt_xml> <ignoredoxygen> <toc>KDE Libraries (Doxygen)</toc> </ignoredoxygen> </kdevdoctreeview> <kdevfilecreate> <filetypes/> <useglobaltypes> <type ext="ui" /> <type ext="cpp" /> <type ext="h" /> </useglobaltypes> </kdevfilecreate> <cppsupportpart> <filetemplates> <interfacesuffix>.h</interfacesuffix> <implementationsuffix>.cpp</implementationsuffix> </filetemplates> </cppsupportpart> <kdevcppsupport> <codecompletion> <includeGlobalFunctions>true</includeGlobalFunctions> <includeTypes>true</includeTypes> <includeEnums>true</includeEnums> <includeTypedefs>false</includeTypedefs> <automaticCodeCompletion>true</automaticCodeCompletion> <automaticArgumentsHint>true</automaticArgumentsHint> <automaticHeaderCompletion>true</automaticHeaderCompletion> <codeCompletionDelay>250</codeCompletionDelay> <argumentsHintDelay>400</argumentsHintDelay> <headerCompletionDelay>250</headerCompletionDelay> </codecompletion> <references/> </kdevcppsupport> <kdevcvsservice> <recursivewhenupdate>true</recursivewhenupdate> <prunedirswhenupdate>true</prunedirswhenupdate> <createdirswhenupdate>true</createdirswhenupdate> <recursivewhencommitremove>true</recursivewhencommitremove> <revertoptions>-C</revertoptions> </kdevcvsservice> <kdevfileview> <groups> <hidenonprojectfiles>false</hidenonprojectfiles> <hidenonlocation>false</hidenonlocation> </groups> <tree> <showvcsfields>false</showvcsfields> <hidenonprojectfiles>false</hidenonprojectfiles> <hidepatterns>*.o,*.lo,CVS,*.so,*.a,*.so.*</hidepatterns> </tree> </kdevfileview> </kdevelop> |
From: stephan b. <sg...@us...> - 2004-12-23 23:18:29
|
Update of /cvsroot/pclasses/pclasses2/doc/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3329 Added Files: pclasses2.lyx Log Message: egg --- NEW FILE: pclasses2.lyx --- #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 2cm \topmargin 2cm \rightmargin 2cm \bottommargin 2cm \headheight 2cm \headsep 1cm \footskip 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language swedish \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title P::Classes 2.x \layout Author pcl...@li... \layout Abstract CVS Info: $Id: pclasses2.lyx,v 1.1 2004/12/23 23:18:20 sgbeal Exp $ \layout Abstract This document will someday be the library manual for P::Classes 2.x \layout Standard \begin_inset LatexCommand \tableofcontents{} \end_inset \layout Section Introduction \layout Subsection What is P::Classes? \layout Standard P::Classes, or simply P, is a C++ library aiming to provide a generic applicatio n framework. Thing \begin_inset Quotes sld \end_inset Qt \begin_inset Foot collapsed true \layout Standard http://www.trolltech.com/qt/ \end_inset without the UI parts. \begin_inset Quotes srd \end_inset P provides cross-platform features such as: \layout Itemize Device-, protocol- and network-transparent i/o. \layout Itemize A Plugins module. \layout Itemize A generic SQL interface, including modules for MySQL(tm), Postgres(tm) and Oracle(tm). \layout Itemize Unicode-capable string and regular expressions support. \layout Standard P \begin_inset Quotes sld \end_inset should run \begin_inset Quotes srd \end_inset at at least the following architectures: \layout Itemize Win32, MSVC ( \color red Versions? \color default ) \layout Itemize Posix (GNU/Linux), \color red gcc 3.2(?)+ \layout Itemize Solaris \layout Itemize \color red TODO \layout Subsection Where to get it \layout Standard This code currently exists only in CVS. See the project page for the links and information: \layout Quote http://sourceforge.net/projects/pclasses \layout Subsection Disclaimers \layout Itemize This code is experimental and up for any number of changes. \layout Itemize This code might have bugs. \layout Itemize These docs might inadvertently lie to you. Frequently. \layout Itemize No Warranties, express or implied. \layout Itemize You Have Been Warned. \layout Subsection License \layout Standard P::Classes is released under the terms of the GNU Lesser General Public License (LGPL). \layout Subsection Credits \layout Itemize Christian Prochnow: author, project lead and main developer. \layout Itemize Marc Duerner: \color red TODO \color default . \layout Itemize Bernhard Rosenkraenzer: \color red TODO \color default . \layout Itemize Gregor Jehle: w-w-webmaster. \layout Itemize stephan beal: likes to write docs and break old code/conventions. Writes the P::s11n support (http://s11n.net/ps11n/). \layout Section Architectural overview \layout Subsection Module List \layout Section Core Module \layout Subsection Alloc \layout Standard A memory allocator. \layout Subsection Atomic \layout Standard A wrapper for performing atomic operations. \layout Subsection Exception \layout Standard The base exception type used by P. \layout Subsection LinkedItem \layout Standard \color red ??? \layout Subsection Phoenix \layout Standard A shared object provider. \layout Subsection Factory \layout Standard Object factory interface. \layout Section Unicode Module \layout Subsection Char \layout Standard Encapsulates a Unicode character. \layout Subsection String \layout Standard Encapsulates a Unicode string. \layout Subsection \color red Regex??? \layout Standard Provides Perl-compatible regular expressions (PCRE). \layout Section Plugin Module \layout Section System Module \layout Subsection Filesystems \layout Subsubsection File ( \color red FSFile, for consistency? \color default ) \layout Subsubsection FSDirectory \layout Subsubsection FSPath \layout Subsection Shared libraries \layout Subsubsection SharedLib \layout Subsection Threading \layout Section IO Module \layout Subsection IODevice \layout Subsection IOHandler \layout Section Net Module \layout Subsection NetworkAddress \layout Subsection Socket \layout Section SQL Module \the_end |
From: stephan b. <sg...@us...> - 2004-12-23 22:38:15
|
Update of /cvsroot/pclasses/pclasses2/doc/manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27800/doc/manual Log Message: Directory /cvsroot/pclasses/pclasses2/doc/manual added to the repository |
From: stephan b. <sg...@us...> - 2004-12-23 22:37:51
|
Update of /cvsroot/pclasses/pclasses2/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27699/doc Log Message: Directory /cvsroot/pclasses/pclasses2/doc added to the repository |
From: stephan b. <sg...@us...> - 2004-12-23 22:36:39
|
Update of /cvsroot/pclasses/pclasses2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27287 Modified Files: Doxyfile Log Message: Changed OUTPUT_DIR to ./doxygen so that ./doc can be used for more general docs, like the lib manual. Index: Doxyfile =================================================================== RCS file: /cvsroot/pclasses/pclasses2/Doxyfile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Doxyfile 22 Dec 2004 17:54:33 -0000 1.1.1.1 +++ Doxyfile 23 Dec 2004 22:36:30 -0000 1.2 @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- PROJECT_NAME = P::Classes PROJECT_NUMBER = $VERSION$ -OUTPUT_DIRECTORY = ./doc/ +OUTPUT_DIRECTORY = ./doxygen/ CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English USE_WINDOWS_ENCODING = NO @@ -41,11 +41,11 @@ #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = NO -EXTRACT_LOCAL_METHODS = NO +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = YES HIDE_UNDOC_MEMBERS = NO HIDE_UNDOC_CLASSES = NO HIDE_FRIEND_COMPOUNDS = NO @@ -58,9 +58,9 @@ SORT_MEMBER_DOCS = YES SORT_BRIEF_DOCS = NO SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES +GENERATE_TODOLIST = NO +GENERATE_TESTLIST = NO +GENERATE_BUGLIST = NO GENERATE_DEPRECATEDLIST= YES ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 |
From: stephan b. <sg...@us...> - 2004-12-23 22:13:17
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22049 Modified Files: Phoenix.h Log Message: Renamed an internal helper type to use P's naming conventions. Index: Phoenix.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Phoenix.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Phoenix.h 23 Dec 2004 20:11:49 -0000 1.2 +++ Phoenix.h 23 Dec 2004 22:13:06 -0000 1.3 @@ -41,9 +41,9 @@ See the Phoenix<> class. */ - struct no_op_phoenix_initializer + struct DefaultPhoenixInitializer { - /** Does nothing: This class is called no_op for a reason ;) */ + /** Does nothing. */ template <typename T> void operator()( T & ) throw() { return; } }; @@ -122,7 +122,7 @@ template < typename BaseType, typename ContextType = BaseType, - typename InitializerType = no_op_phoenix_initializer + typename InitializerType = DefaultPhoenixInitializer > struct Phoenix : public BaseType { |
From: stephan b. <sg...@us...> - 2004-12-23 21:50:54
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16903 Modified Files: SharedLib.dl.cpp SharedLib.dyld.cpp SharedLib.generic.cpp SharedLib.ltdl.cpp SharedLib.shl.cpp SharedLib.win32.cpp Log Message: moved the operator[](const string &) into SharedLib.generic.cpp, to reduce code duplication. Index: SharedLib.dl.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.dl.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- SharedLib.dl.cpp 23 Dec 2004 21:13:27 -0000 1.4 +++ SharedLib.dl.cpp 23 Dec 2004 21:50:44 -0000 1.5 @@ -86,13 +86,6 @@ return addr; } -#ifdef PCLASSES_WITH_STL -void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) -{ - return operator[](symbol.c_str()); -} -#endif - } // !namespace System } // !namespace P Index: SharedLib.generic.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.generic.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SharedLib.generic.cpp 23 Dec 2004 21:44:27 -0000 1.2 +++ SharedLib.generic.cpp 23 Dec 2004 21:50:44 -0000 1.3 @@ -7,12 +7,21 @@ namespace P { namespace System { +#ifdef PCLASSES_WITH_STL +void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) +{ + return operator[](symbol.c_str()); +} +#endif + #ifdef PCLASSES_WITH_STL /** An internal helper type to clean up a list of SharedLib objects. + + ContainterT must be compatible with list<SharedLib *>. */ template <typename ContainterT> struct SharedLibCleaner @@ -21,6 +30,10 @@ SharedLibCleaner() { } + + /** + Calls delete() on each entry in container(). + */ ~SharedLibCleaner() { typename list_t::iterator it = m_list.begin(); @@ -32,6 +45,9 @@ m_list.clear(); } + /** + Returns this object's container. + */ list_t & container() { return this->m_list; Index: SharedLib.dyld.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.dyld.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SharedLib.dyld.cpp 23 Dec 2004 05:27:49 -0000 1.2 +++ SharedLib.dyld.cpp 23 Dec 2004 21:50:44 -0000 1.3 @@ -98,12 +98,6 @@ return (void*)addr; } -#ifdef PCLASSES_WITH_STL -void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) -{ - return operator[](symbol.c_str()); -} -#endif } // !namespace System Index: SharedLib.ltdl.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.ltdl.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- SharedLib.ltdl.cpp 23 Dec 2004 21:08:08 -0000 1.1 +++ SharedLib.ltdl.cpp 23 Dec 2004 21:50:44 -0000 1.2 @@ -112,12 +112,6 @@ return addr; } -#ifdef PCLASSES_WITH_STL -void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) -{ - return operator[](symbol.c_str()); -} -#endif } // !namespace System Index: SharedLib.shl.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.shl.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SharedLib.shl.cpp 23 Dec 2004 05:27:49 -0000 1.2 +++ SharedLib.shl.cpp 23 Dec 2004 21:50:44 -0000 1.3 @@ -91,13 +91,6 @@ return address; } -#ifdef PCLASSES_WITH_STL -void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) -{ - return operator[](symbol.c_str()); -} -#endif - } // !namespace System } // !namespace P Index: SharedLib.win32.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.win32.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SharedLib.win32.cpp 23 Dec 2004 05:27:49 -0000 1.2 +++ SharedLib.win32.cpp 23 Dec 2004 21:50:44 -0000 1.3 @@ -68,13 +68,6 @@ return addr; } -#ifdef PCLASSES_WITH_STL -void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) -{ - return operator[](symbol.c_str()); -} -#endif - } // !namespace System } // !namespace P |
From: stephan b. <sg...@us...> - 2004-12-23 21:44:37
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15218 Modified Files: SharedLib.generic.cpp Log Message: doh! Added a missing ++it Index: SharedLib.generic.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.generic.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- SharedLib.generic.cpp 23 Dec 2004 21:40:21 -0000 1.1 +++ SharedLib.generic.cpp 23 Dec 2004 21:44:27 -0000 1.2 @@ -27,6 +27,7 @@ while( m_list.end() != it ) { delete( (*it) ); + ++it; } m_list.clear(); } |
From: stephan b. <sg...@us...> - 2004-12-23 21:40:41
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14136 Modified Files: Makefile.toc Log Message: added SharedLib.generic.cpp Index: Makefile.toc =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/Makefile.toc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.toc 23 Dec 2004 21:08:19 -0000 1.3 +++ Makefile.toc 23 Dec 2004 21:40:32 -0000 1.4 @@ -15,7 +15,8 @@ CriticalSection.generic.cpp \ Mutex.cpp \ SystemError.cpp \ - timeout.cpp + timeout.cpp \ + SharedLib.generic.cpp SOURCES_SO_LIBDL = \ |
From: stephan b. <sg...@us...> - 2004-12-23 21:40:29
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14086 Added Files: SharedLib.generic.cpp Log Message: egg --- NEW FILE: SharedLib.generic.cpp --- #include "pclasses/Phoenix.h" #include "pclasses/System/SharedLib.h" #ifdef PCLASSES_WITH_STL # include <list> #endif namespace P { namespace System { #ifdef PCLASSES_WITH_STL /** An internal helper type to clean up a list of SharedLib objects. */ template <typename ContainterT> struct SharedLibCleaner { typedef ContainterT list_t; SharedLibCleaner() { } ~SharedLibCleaner() { typename list_t::iterator it = m_list.begin(); while( m_list.end() != it ) { delete( (*it) ); } m_list.clear(); } list_t & container() { return this->m_list; } private: list_t m_list; }; /** Internal marker type. */ struct opened_libs_context {}; /** Internal SharedLib container type. */ typedef std::list<SharedLib *> OpenedLibsList; // internal list of libs opened via openSharedLib() OpenedLibsList & opened_shared_libs() { return ::P::Phoenix< SharedLibCleaner<OpenedLibsList>, opened_libs_context> ::instance().container(); } SharedLib * openSharedLib( const std::string & path ) throw(RuntimeError) { SharedLib * sh = new SharedLib( path ); // ^^^^ if this throws, the mem is deallocated, right? opened_shared_libs().push_back( sh ); return sh; } #endif // PCLASSES_WITH_STL } } // namespace P::System |
From: stephan b. <sg...@us...> - 2004-12-23 21:40:22
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13878 Modified Files: SharedLib.h Log Message: added openSharedLib() free function Index: SharedLib.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/SharedLib.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- SharedLib.h 23 Dec 2004 05:27:48 -0000 1.3 +++ SharedLib.h 23 Dec 2004 21:39:51 -0000 1.4 @@ -94,6 +94,18 @@ unsigned long _handle; }; +#ifdef PCLASSES_WITH_STL +/** + Simply opens the given DLL name, using the platform-specific + SharedLib handler. + + The caller does not own the returned pointer - it is owned + by this function and will be cleaned up during application + shut-down (post-main()). +*/ + SharedLib * openSharedLib( const std::string & path ) throw(RuntimeError); +#endif // PCLASSES_WITH_STL + } // !namespace System } // !namespace P |
From: stephan b. <sg...@us...> - 2004-12-23 21:14:16
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8297 Modified Files: File.posix.cpp Log Message: moved some fixme code into a comment block, to allow compilation Index: File.posix.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/File.posix.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- File.posix.cpp 23 Dec 2004 05:56:10 -0000 1.4 +++ File.posix.cpp 23 Dec 2004 21:14:00 -0000 1.5 @@ -119,9 +119,9 @@ { if(!valid()) { - int flags = OpenMode2Flags(omode) | AccessMode2Flags(amode); - - /*@fixme int handle = ::open(name.utf8(), flags); + /*@fixme + int flags = OpenMode2Flags(omode) | AccessMode2Flags(amode); + int handle = ::open(name.utf8(), flags); if(handle == -1) throw IO::IOError(errno, "Could not open file", P_SOURCEINFO); |
From: stephan b. <sg...@us...> - 2004-12-23 21:13:36
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8179 Modified Files: SharedLib.dl.cpp Log Message: corrected a broken #ifndef ==> #ifdef Index: SharedLib.dl.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.dl.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- SharedLib.dl.cpp 23 Dec 2004 05:27:49 -0000 1.3 +++ SharedLib.dl.cpp 23 Dec 2004 21:13:27 -0000 1.4 @@ -59,7 +59,7 @@ throw SystemError(errno, dlerror(), P_SOURCEINFO); } -#ifndef PCLASSES_WITH_STL +#ifdef PCLASSES_WITH_STL SharedLib::SharedLib(const std::string& name, BindMode mode) throw(SystemError) { std::ostringstream realName; |
From: stephan b. <sg...@us...> - 2004-12-23 21:09:01
|
Update of /cvsroot/pclasses/pclasses2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7150 Modified Files: configure.pclasses2 Log Message: re-added libltdl support Index: configure.pclasses2 =================================================================== RCS file: /cvsroot/pclasses/pclasses2/configure.pclasses2,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- configure.pclasses2 23 Dec 2004 06:28:03 -0000 1.4 +++ configure.pclasses2 23 Dec 2004 21:08:53 -0000 1.5 @@ -24,8 +24,9 @@ # reminder: need to add SharedLib.ltdl.cpp -# toc_test libltdl || toc_test_require libdl # prefer ltdl, else allow dl. -toc_test_require libdl +toc_test libltdl || toc_test_require libdl # prefer ltdl, else allow dl. +# toc_test_require libdl +ldadd="${ldadd} ${LDADD_DL}" ############################################################ @@ -50,6 +51,7 @@ # /pthread ######################################################################## + ######################################################################## { # huge_kludges: cat <<EOF > /dev/null @@ -65,11 +67,16 @@ _POSIX_SOURCE EOF + +######################################################################## +# Force default config options until the config tests are all ported: +# reminder: the following list only works with numeric defines, not +# strings: force=" HAVE_LARGEFILE=1 -HAVE_DLFCN_H=1 -HAVE_DLOPEN=1 -HAVE_DYLD=1 +HAVE_DLFCN_H=${HAVE_DLFCN_H-0} +HAVE_DLOPEN=${HAVE_DLOPEN-0} +HAVE_DYLD=0 HAVE_FUNC_GETSERVBYNAME_R_4=0 HAVE_FUNC_GETSERVBYNAME_R_5=0 HAVE_FUNC_GETSERVBYNAME_R_6=0 @@ -97,14 +104,18 @@ HAVE_SYS_STAT_H=1 HAVE_SYS_TYPES_H=1 HAVE_UNISTD_H=1 +HAVE_ATALK=0 +HAVE_IPV6=0 +HAVE_IPX=0 SIZEOF___INT64=64 WITH_STL=${configure_with_stl-1} " - for i in ${force}; do toc_export PCLASSES_${i%%=*}=${i##*=} done + ################################ + # get SIZEOF defines: ${CC} -o sizes toc/tests/cpp/type_sizes.cpp -lstdc++ &>/dev/null || { toc_die $? "Error getting system's type sizes!" } @@ -125,24 +136,70 @@ toc_export PACKAGE_URL=http://pclasses.com toc_export PACKAGE_LICENSE="GNU LGPL" - -CLIENT_LDADD="-L${prefix}/lib -lpcore" +CLIENT_LDADD="-L${prefix}/lib -lpclasses_core" CLIENT_INCLUDES="-I${prefix}/include" + +######################################################################## +# removeDupes is a helper app to remove duplicate entries from linker/ +# includes arguments. removeDupes=${TOC_HOME}/bin/removeDupeArgs -# These are the libs the core lib The libs + +######################################################################## +# For each module, define: +# +# LIBPxxx_NAME = the DLL file's name +# LIBPxxx_LDADD/INCLUDES = the linker/includes flags needed to build +# LIBPxxx_NAME +# LIBPxxx_CLIENT_LDADD = linker args for clients of LIBPxxx_NAME. +######################################################################## +toc_export LIBPNET_NAME=libpclasses_net +toc_export LIBPNET_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPNET_CLIENT_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPNET_INCLUDES="$(${removeDupes} ${inc})" + +toc_export LIBPIO_NAME=libpclasses_io +toc_export LIBPIO_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPIO_CLIENT_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPIO_INCLUDES="$(${removeDupes} ${inc})" + +toc_export LIBPUNICODE_NAME=libpclasses_unicode +toc_export LIBPUNICODE_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPUNICODE_CLIENT_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPUNICODE_INCLUDES="$(${removeDupes} ${inc})" + +toc_export LIBPCORE_NAME=libpclasses_core toc_export LIBPCORE_LDADD="$(${removeDupes} ${ldadd})" +toc_export LIBPCORE_CLIENT_LDADD="$(${removeDupes} ${ldadd})" toc_export LIBPCORE_INCLUDES="$(${removeDupes} ${inc})" +toc_export LIBPSYSTEM_NAME=libpclasses_system toc_export LIBPSYSTEM_LDADD="$(${removeDupes} ${THREADS_INCLUDES})" +toc_export LIBPSYSTEM_CLIENT_LDADD="$(${removeDupes} ${THREADS_INCLUDES})" toc_export LIBPSYSTEM_INCLUDES="$(${removeDupes} ${THREADS_INCLUDES})" +toc_export LIBPUTIL_NAME=libpclasses_util toc_export LIBPUTIL_LDADD="$(${removeDupes} ${THREADS_LDADD})" +toc_export LIBPUTIL_CLIENT_LDADD="$(${removeDupes} ${THREADS_LDADD})" toc_export LIBPUTIL_INCLUDES="$(${removeDupes} ${THREADS_INCLUDES})" -toc_export LIBPSQL_MYSQL_LDADD="$(${removeDupes} ${ldadd} ${MYSQL_LDADD})" -toc_export LIBPSQL_MYSQL_INCLUDES="$(${removeDupes} ${inc} ${MYSQL_INCLUDES})" -toc_export LIBPSQL_POSTSQL_LDADD="$(${removeDupes} ${ldadd} ${POSTGRES_LDADD})" -toc_export LIBPSQL_POSTSQL_INCLUDES="$(${removeDupes} ${inc} ${POSTGRES_INCLUDES})" +######################################################################## +# Enable mysql driver... +if test -x "${MYSQL_CONFIG_BIN}"; then + toc_export LIBPSQL_HAVE_MYSQL=1 + toc_export LIBPSQL_MYSQL_LDADD="$(${removeDupes} ${ldadd} ${MYSQL_LIBS})" + toc_export LIBPSQL_MYSQL_INCLUDES="$(${removeDupes} ${inc} ${MYSQL_INCLUDES})" +fi + +######################################################################## +# Enable postgress driver... +if test -x "${POSTGRES_CONFIG_BIN}"; then + toc_export LIBPSQL_HAVE_POSTGRES=1 + toc_export LIBPSQL_POSTSQL_LDADD="$(${removeDupes} ${ldadd} ${POSTGRES_LIBS})" + toc_export LIBPSQL_POSTSQL_INCLUDES="$(${removeDupes} ${inc} ${POSTGRES_INCLUDES})" +fi + + + ######################################################################## # Anything below this line should not modify the config: we are |
From: stephan b. <sg...@us...> - 2004-12-23 21:08:27
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6995 Modified Files: Makefile.toc Log Message: added SharedLib.ltdl.cpp Index: Makefile.toc =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/Makefile.toc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.toc 23 Dec 2004 06:09:32 -0000 1.2 +++ Makefile.toc 23 Dec 2004 21:08:19 -0000 1.3 @@ -14,10 +14,22 @@ CriticalSection.cpp \ CriticalSection.generic.cpp \ Mutex.cpp \ - SharedLib.dl.cpp \ SystemError.cpp \ timeout.cpp + +SOURCES_SO_LIBDL = \ + SharedLib.dl.cpp + +SOURCES_SO_LIBLTDL = \ + SharedLib.ltdl.cpp + +ifeq (1,$(HAVE_LIBLTDL)) + SOURCES_SHAREDLIB = $(SOURCES_SO_LIBLTDL) +else + SOURCES_SHAREDLIB = $(SOURCES_SO_LIBDL) +endif + SOURCES_WTF = \ SharedLib.shl.cpp @@ -51,6 +63,7 @@ # TODO: use the config-mandated BUILD_SOURCES! BUILD_SOURCES = $(SOURCES_COMMON) BUILD_SOURCES += $(SOURCES_POSIX) +BUILD_SOURCES += $(SOURCES_SHAREDLIB) ############################################## DIST_FILES += $(wildcard *.cpp *.h) @@ -63,7 +76,7 @@ INCLUDES += $(LIBPSYSTEM_INCLUDES) LDADD += $(LIBPSYSTEM_LDADD) -LIBNAME = libpsystem +LIBNAME = $(LIBPSYSTEM_NAME) build_libs = 1 ifeq (1,$(build_libs)) STATIC_LIBS = $(LIBNAME) |