2009-03-25 14:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
+ Added HB_INC_SQLITE3
* include/hbapi.h
+ Added HB_IS*() flavour of classic Clipper compatibility IS*()
macros. I'd recommend everyone to start using these new ones,
as the old ones might be deprecated in future versions.
* Makefile
+ Added new 'external' dir to host foreign, non-Harbour code.
+ external
+ external/sqlite3
+ external/sqlite3/_sqlite3.c
+ external/sqlite3/sqlite3.c
+ external/sqlite3/sqlite3.h
+ external/sqlite3/Makefile
- contrib/hbsqlit3/sqlite3
+ Moved sqlite3 code into its dedicated place.
* contrib/hbsqlit3/tests/hbsqlit3.hbp
+ Added sqlite3 to liblist.
* contrib/hbsqlit3/hbsqlit3.c
* contrib/hbsqlit3/Makefile
+ Changed to use external headers just like other external
dependent libs. The only difference here is that it will
pickup the locally hosted sqlite3 source from
external/sqlite3 if not specified by user.
* Changed to no embed sqlite3 code anymore.
ATTENTION: This also means that hbsqlit3 users will now
have to add sqlite3 lib to their liblist, since
this code isn't anymore embedded into hbsqlit3.
* contrib/hbqt/hbqt_qfontcombobox.cpp
* contrib/hbqt/hbqt_qgroupbox.cpp
* contrib/hbqt/hbqt_qcombobox.cpp
* contrib/hbqt/hbqt_qtoolbutton.cpp
* contrib/hbqt/slots.h
* contrib/hbqt/hbqt_qpushbutton.cpp
* contrib/hbqt/hbqt_qpagesetupdialog.cpp
* contrib/hbqt/hbqt_qprintpreviewdialog.cpp
* contrib/hbqt/hbqt_qlabel.cpp
* contrib/hbqt/hbqt_qinputdialog.cpp
* contrib/hbqt/hbqt_qprogressdialog.cpp
* contrib/hbqt/hbqt_qtoolbox.cpp
* contrib/hbqt/hbqt_qcommandlinkbutton.cpp
* contrib/hbqt/hbqt_qmenubar.cpp
* contrib/hbqt/hbqt_qhboxlayout.cpp
* contrib/hbqt/hbqt_qabstractbutton.cpp
* contrib/hbqt/hbqt_qabstractprintdialog.cpp
* contrib/hbqt/hbqt_qwizard.cpp
* contrib/hbqt/hbqt_qabstractspinbox.cpp
* contrib/hbqt/hbqt_qfont.cpp
* contrib/hbqt/hbqt_qdial.cpp
* contrib/hbqt/hbqt_qtablewidgetitem.cpp
* contrib/hbqt/hbqt_qlcdnumber.cpp
* contrib/hbqt/hbqt_qmainwindow.cpp
* contrib/hbqt/hbqt_qprintdialog.cpp
* contrib/hbqt/hbqt_qcalendarwidget.cpp
* contrib/hbqt/hbqt_qabstractitemview.cpp
* contrib/hbqt/hbqt_qaction.cpp
* contrib/hbqt/hbqt_qspinbox.cpp
* contrib/hbqt/hbqt_qwidget.cpp
* contrib/hbqt/hbqt_slots.cpp
* contrib/hbqt/hbqt_qdateedit.cpp
* contrib/hbqt/hbqt_qcheckbox.cpp
* contrib/hbqt/hbqt_qprogressbar.cpp
* contrib/hbqt/hbqt_qframe.cpp
* contrib/hbqt/hbqt_qfocusframe.cpp
* contrib/hbqt/hbqt_qtabbar.cpp
* contrib/hbqt/hbqt_qcqlendarwidget.cpp
* contrib/hbqt/hbqt_qerrormessage.cpp
* contrib/hbqt/hbqt_qfiledialog.cpp
* contrib/hbqt/hbqt_qformlayout.cpp
* contrib/hbqt/hbqt_qtoolbar.cpp
* contrib/hbqt/hbqt_qdatetimeedit.cpp
* contrib/hbqt/hbqt_qmenu.cpp
* contrib/hbqt/hbqt_qabstractslider.cpp
* contrib/hbqt/hbqt_qwebview.cpp
* contrib/hbqt/hbqt_qlayout.cpp
* contrib/hbqt/hbqt_qslider.cpp
* contrib/hbqt/hbqt_qtableview.cpp
* contrib/hbqt/hbqt_qfontdialog.cpp
* contrib/hbqt/hbqt_qboxlayout.cpp
* contrib/hbqt/hbqt_qtreeview.cpp
* contrib/hbqt/hbqt_qtextedit.cpp
* contrib/hbqt/hbqt_qradiobutton.cpp
* contrib/hbqt/hbqt_qcolordialog.cpp
* contrib/hbqt/hbqt_qapplication.cpp
* contrib/hbqt/hbqt_qtimeedit.cpp
* contrib/hbqt/hbqt_qsplitter.cpp
* contrib/hbqt/hbqt_qlistview.cpp
* contrib/hbqt/hbqt_qtabwidget.cpp
* contrib/hbqt/hbqt_qabstractscrollarea.cpp
* contrib/hbqt/hbqt_qvboxlayout.cpp
* contrib/hbqt/hbqt_qdoublespinbox.cpp
* contrib/hbqt/hbqt_qscrollbar.cpp
* contrib/hbqt/hbqt_qscrollarea.cpp
* contrib/hbqt/hbqt_qtablewidget.cpp
* contrib/hbqt/hbqt_qsizegrip.cpp
* contrib/hbqt/hbqt_qlayoutitem.cpp
* contrib/hbqt/hbqt_qmessagebox.cpp
* contrib/hbqt/hbqt_qlineedit.cpp
* Formatting, indenting.
! ISNIL() usage removed.
* contrib/hbwin/wapi_commctrl.c
* contrib/hbwin/wapi_winuser.c
! ISNIL() usage removed.
* contrib/hbfbird/tfirebrd.prg
* contrib/hbpgsql/tests/simple.prg
* contrib/hbpgsql/tests/test.prg
* contrib/hbpgsql/tests/cache.prg
* contrib/hbpgsql/tests/stress.prg
* contrib/hbpgsql/tests/dbf2pg.prg
* contrib/hbpgsql/tpostgre.prg
* contrib/examples/uhttpd/uhttpd.prg
* contrib/examples/uhttpd/uhttpdc.c
* contrib/examples/terminal/trm_server.prg
* ISNIL() usage and other code cleanup, formatting.
This commit is contained in:
83
harbour/external/sqlite3/_sqlite3.c
vendored
Normal file
83
harbour/external/sqlite3/_sqlite3.c
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* SQLite3 stub
|
||||
*
|
||||
* Copyright 2009 Viktor Szakats <harbour 01 syenar hu>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
|
||||
#if !( defined( __WATCOMC__ ) || (defined(__POCC__) && __POCC__ <= 450) )
|
||||
#if defined( __GCC__ ) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
|
||||
#pragma GCC diagnostic ignored "-Wunused"
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#elif defined( __BORLANDC__ )
|
||||
#pragma warn -aus
|
||||
#pragma warn -use
|
||||
#pragma warn -par
|
||||
#pragma warn -prc
|
||||
#pragma warn -eff
|
||||
#pragma warn -amp
|
||||
#elif defined( _MSC_VER )
|
||||
#pragma warning( disable: 4018 4244 )
|
||||
#endif
|
||||
#include "sqlite3.c"
|
||||
#if defined( __GCC__ ) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
|
||||
#pragma GCC diagnostic warning "-Wunused"
|
||||
#pragma GCC diagnostic warning "-Wsign-compare"
|
||||
#pragma GCC diagnostic warning "-Wuninitialized"
|
||||
#elif defined( __BORLANDC__ )
|
||||
#pragma warn +aus
|
||||
/* #pragma warn +use */ /* This affects the whole file, so don't turn it back on. */
|
||||
#pragma warn +par
|
||||
#pragma warn +prc
|
||||
#pragma warn +eff
|
||||
#pragma warn +amp
|
||||
#elif defined( _MSC_VER )
|
||||
#pragma warning( default: 4018 4244 )
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user