* src/rtl/hbdoc.prg
+ Added logic to detect in which column the actual
content starts and read it accordingly.
It uses the first content line as a base, so if
that one is wrong, the content will be read wrongly
and such NG sources should be fixed manually.
* On output it will always start content in column 8 (base 1).
* contrib/hbmysql/mysql.c
! MYSQL_REAL_ESCAPE_STRING() fixed taking wrong params.
Reported by Bacco, thanks!
* contrib/hbrun/pullext.prg
* contrib/hbrun/hbrun.prg
* contrib/hbrun/plugins.prg
* contrib/hbrun/headers.prg
* Formatting.
138 lines
5.2 KiB
Plaintext
138 lines
5.2 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/*
|
|
* Harbour Project source code:
|
|
* header puller
|
|
*
|
|
* Copyright 2010-2011 Przemyslaw Czerpak <druzus / at / priv.onet.pl>
|
|
* www - http://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.
|
|
*
|
|
*/
|
|
|
|
/* command to store header files in hash array */
|
|
#command ADD HEADER TO <hash> FILE <(cFile)> => ;
|
|
#pragma __streaminclude <(cFile)>|<hash>\[ <(cFile)> \] := %s
|
|
|
|
FUNCTION __hbrun_CoreHeaderFiles()
|
|
LOCAL hHeaders
|
|
|
|
#ifdef HBRUN_WITH_HEADERS
|
|
|
|
hHeaders := { => }
|
|
|
|
ADD HEADER TO hHeaders FILE "achoice.ch"
|
|
ADD HEADER TO hHeaders FILE "assert.ch"
|
|
ADD HEADER TO hHeaders FILE "blob.ch"
|
|
ADD HEADER TO hHeaders FILE "box.ch"
|
|
ADD HEADER TO hHeaders FILE "button.ch"
|
|
ADD HEADER TO hHeaders FILE "color.ch"
|
|
ADD HEADER TO hHeaders FILE "common.ch"
|
|
ADD HEADER TO hHeaders FILE "dbedit.ch"
|
|
ADD HEADER TO hHeaders FILE "dbinfo.ch"
|
|
ADD HEADER TO hHeaders FILE "dbstruct.ch"
|
|
ADD HEADER TO hHeaders FILE "directry.ch"
|
|
ADD HEADER TO hHeaders FILE "error.ch"
|
|
ADD HEADER TO hHeaders FILE "fileio.ch"
|
|
ADD HEADER TO hHeaders FILE "getexit.ch"
|
|
ADD HEADER TO hHeaders FILE "hb.ch"
|
|
ADD HEADER TO hHeaders FILE "hbclass.ch"
|
|
ADD HEADER TO hHeaders FILE "hbcom.ch"
|
|
ADD HEADER TO hHeaders FILE "hbdebug.ch"
|
|
ADD HEADER TO hHeaders FILE "hbdyn.ch"
|
|
ADD HEADER TO hHeaders FILE "hbextcdp.ch"
|
|
ADD HEADER TO hHeaders FILE "hbextern.ch"
|
|
ADD HEADER TO hHeaders FILE "hbextlng.ch"
|
|
ADD HEADER TO hHeaders FILE "hbgfx.ch"
|
|
ADD HEADER TO hHeaders FILE "hbgfxdef.ch"
|
|
ADD HEADER TO hHeaders FILE "hbgtinfo.ch"
|
|
ADD HEADER TO hHeaders FILE "hbhrb.ch"
|
|
ADD HEADER TO hHeaders FILE "hbinkey.ch"
|
|
ADD HEADER TO hHeaders FILE "hblang.ch"
|
|
ADD HEADER TO hHeaders FILE "hblpp.ch"
|
|
ADD HEADER TO hHeaders FILE "hbmacro.ch"
|
|
ADD HEADER TO hHeaders FILE "hbmath.ch"
|
|
ADD HEADER TO hHeaders FILE "hbmemory.ch"
|
|
ADD HEADER TO hHeaders FILE "hbmemvar.ch"
|
|
ADD HEADER TO hHeaders FILE "hboo.ch"
|
|
ADD HEADER TO hHeaders FILE "hbpers.ch"
|
|
ADD HEADER TO hHeaders FILE "hbsetup.ch"
|
|
ADD HEADER TO hHeaders FILE "hbsix.ch"
|
|
ADD HEADER TO hHeaders FILE "hbsocket.ch"
|
|
ADD HEADER TO hHeaders FILE "hbstdgen.ch"
|
|
ADD HEADER TO hHeaders FILE "hbsxdef.ch"
|
|
ADD HEADER TO hHeaders FILE "hbthread.ch"
|
|
ADD HEADER TO hHeaders FILE "hbtrace.ch"
|
|
ADD HEADER TO hHeaders FILE "hbusrrdd.ch"
|
|
ADD HEADER TO hHeaders FILE "hbver.ch"
|
|
ADD HEADER TO hHeaders FILE "hbzlib.ch"
|
|
ADD HEADER TO hHeaders FILE "inkey.ch"
|
|
ADD HEADER TO hHeaders FILE "memoedit.ch"
|
|
ADD HEADER TO hHeaders FILE "ord.ch"
|
|
ADD HEADER TO hHeaders FILE "rddsys.ch"
|
|
ADD HEADER TO hHeaders FILE "reserved.ch"
|
|
ADD HEADER TO hHeaders FILE "set.ch"
|
|
ADD HEADER TO hHeaders FILE "setcurs.ch"
|
|
ADD HEADER TO hHeaders FILE "simpleio.ch"
|
|
ADD HEADER TO hHeaders FILE "std.ch"
|
|
ADD HEADER TO hHeaders FILE "tbrowse.ch"
|
|
ADD HEADER TO hHeaders FILE "harbour.hbx"
|
|
ADD HEADER TO hHeaders FILE "hbcpage.hbx"
|
|
ADD HEADER TO hHeaders FILE "hblang.hbx"
|
|
ADD HEADER TO hHeaders FILE "hbscalar.hbx"
|
|
ADD HEADER TO hHeaders FILE "hbusrrdd.hbx"
|
|
|
|
#if defined( __PLATFORM__UNIX )
|
|
hb_HCaseMatch( hHeaders, .T. )
|
|
#else
|
|
hb_HCaseMatch( hHeaders, .F. )
|
|
#endif
|
|
|
|
#else
|
|
|
|
hHeaders := NIL
|
|
|
|
#endif /* HBRUN_WITH_HEADERS */
|
|
|
|
RETURN hHeaders
|