Commit Graph

39608 Commits

Author SHA1 Message Date
yury
853ecde8f9 * Build jni package.
git-svn-id: trunk@24142 -
2013-04-03 19:19:39 +00:00
reiniero
4fd80b88ab * fcl-db/dbase: fix trace datasets for tests
git-svn-id: trunk@24141 -
2013-04-03 16:26:25 +00:00
reiniero
e74474ec73 + fcl-db/dbase: (Visual) FoxPro fixes:
+ initial read support for Visual FoxPro
* annotated file structures, constants etc
* better error reporting:
  different message for valid header but 
	invalid field definitions
* refactored some procedures for readability

git-svn-id: trunk@24139 -
2013-04-03 15:49:20 +00:00
yury
9aa320e91f + jni package. It does not included to build yet.
git-svn-id: trunk@24138 -
2013-04-03 13:40:53 +00:00
yury
5d1b97fd67 + pas2jni - an utility to generates a JNI (Java Native Interface) bridge for a Pascal code. Then the Pascal code (including classes and other advanced features) can be easily used in Java programs.
git-svn-id: trunk@24137 -
2013-04-03 13:38:36 +00:00
reiniero
97e3e6e50e * fcl-db/dbase: cosmetic: use more constants, clarify structure
git-svn-id: trunk@24136 -
2013-04-03 06:01:25 +00:00
marco
b625439dae * committed Graeme's IPF patches, mantis #24084:
- Fixes the resolving of links issues in the Class Hierarchy output for IPF
	- Implements BeginURL and EndURL methods for the IPF writer. Now it correctly
	     handles the [url] tag in fpdoc XML files.

git-svn-id: trunk@24132 -
2013-04-02 15:37:59 +00:00
lacak
c844ae8cb5 fcl-db: fields: use new implemented FormatBCD function to format TFMTBCDField. Depends on rev.24128! Bug #24096
git-svn-id: trunk@24130 -
2013-04-02 11:40:43 +00:00
michael
95e6be9853 * Patch from Laco to enhance test for bug #24096
git-svn-id: trunk@24129 -
2013-04-02 11:28:03 +00:00
michael
3f910197c6 * Patch from Laco to fix bug ID #24096
git-svn-id: trunk@24128 -
2013-04-02 11:23:57 +00:00
sergei
37a347ce7b * Another fix to PIC assembler: GOT slot stores the address of variable, not variable itself.
git-svn-id: trunk@24127 -
2013-04-02 10:48:58 +00:00
reiniero
539e977273 * fcl-db/tests: disable storing dbfs by default.
git-svn-id: trunk@24126 -
2013-04-02 10:35:23 +00:00
reiniero
d54af2322f * fcl-db/tests: test memorybacked dbf equals filebased dbf. Use memory dbfs because of speed.
git-svn-id: trunk@24125 -
2013-04-02 10:34:27 +00:00
reiniero
aeeb353d47 * fcl-db/tests: add dbf tablelevel test, option to retain dbfs after tests
git-svn-id: trunk@24124 -
2013-04-02 08:59:02 +00:00
sergei
999c3a0a02 * COFF linker: postpone import section generation until unreferenced sections (and imports) are removed, and put all remaining imports into a single section. This is much more efficient than generating multiple smart-linkable import sections and immediately discarding a good half of them.
git-svn-id: trunk@24123 -
2013-04-02 05:46:32 +00:00
reiniero
b9fc64f697 + fcl-db/dbase: allow creation of Visual Foxpro tablelevel 30 files
git-svn-id: trunk@24122 -
2013-04-02 03:11:01 +00:00
reiniero
19e5ddcbbf * fcl-db/dbase tests: cosmetic/formatting
git-svn-id: trunk@24121 -
2013-04-02 02:48:10 +00:00
florian
43b6139b66 + setlocalloc resets currentregloc
git-svn-id: trunk@24118 -
2013-04-01 19:52:46 +00:00
florian
364f170765 * cosmetic formatting changes
git-svn-id: trunk@24117 -
2013-04-01 19:52:43 +00:00
florian
7155808570 + ttempcreatenode.printnodedata writes tempinitcode node
git-svn-id: trunk@24116 -
2013-04-01 19:52:39 +00:00
reiniero
a79d79980a * fcl-db/dbase: fix for r24109
git-svn-id: trunk@24112 -
2013-04-01 17:06:04 +00:00
reiniero
6fc43628da fcl-db/dbase: tests for findfirst etc, and visual foxpro
git-svn-id: trunk@24111 -
2013-04-01 16:52:23 +00:00
reiniero
9aae445b12 * fcl-db/dbase: cosmetic
git-svn-id: trunk@24110 -
2013-04-01 16:49:02 +00:00
reiniero
db7b1aa940 * fcl-db/dbase: start splitting out FoxPro and Visual FoxPro support
git-svn-id: trunk@24109 -
2013-04-01 16:47:22 +00:00
reiniero
7d3504ead5 + fcl-db/dbase: cosmetic; r24107 fixes Mantis #13017
git-svn-id: trunk@24108 -
2013-04-01 14:22:09 +00:00
reiniero
2569f52b73 + fcl-db/dbase: implemented FindFirst,FindNext,FindPrior,FindLast and associated tests
git-svn-id: trunk@24107 -
2013-04-01 14:21:04 +00:00
reiniero
373ab729c7 * fcl-db/dbase: updated maintenance notice
git-svn-id: trunk@24106 -
2013-04-01 13:05:57 +00:00
Jonas Maebe
25ebb36103 * catch invalid floating point operations in TextToFloat (mantis #24197)
git-svn-id: trunk@24105 -
2013-04-01 11:50:49 +00:00
reiniero
669a16c98d sqldb/tests improvements:
* fix memory leak in gui runner
sqldb/tests for dbf/tdbf/dbase/foxpro unit:
* added dbf specific tests
* specify desired tablelevel by connectorparams=<tablelevel> (e.g. 4 for DBase IV)
* dbftoolsunit set up similar to bufdataset tools unit including autocleaning files
- dbname= field in database.ini no longer used for dbf files; always write to temp directory
To do: go through other tests and add ignores if necessary for non-relevant tests

git-svn-id: trunk@24104 -
2013-04-01 10:38:23 +00:00
marco
545a3e708c * avoid prepending unitname with abs paths.
git-svn-id: trunk@24099 -
2013-03-31 22:01:52 +00:00
sergei
cded05ccef + MIPS linker: support linking PIC object files with non-PIC ones, by routing absolute calls into PIC code through stubs that load R25.
git-svn-id: trunk@24098 -
2013-03-31 19:58:52 +00:00
reiniero
9758f4fa6a sqldb/dbtestframework fixes:
* slight cleanup dbftoolsunit
* Fix gui framework selecting old connector after selecting another.
* Cosmetic, spelling fixes.

git-svn-id: trunk@24090 -
2013-03-31 15:09:47 +00:00
marco
ad455d05b1 * throw warning when there is a space in the XCT imported link.
git-svn-id: trunk@24089 -
2013-03-31 13:05:36 +00:00
Jonas Maebe
7ad6c5028e * package depends on x11 for Linux (mantis #24179)
git-svn-id: trunk@24086 -
2013-03-30 22:30:54 +00:00
sergei
a5850f8d43 * mips-linux has SOCK_STREAM and SOCK_DGRAM swapped, compared to other Linux targets. Fixes tbs/tb0524.pp.
git-svn-id: trunk@24085 -
2013-03-30 21:46:56 +00:00
Jonas Maebe
db86fb7db5 * enabled package for linux, win32, win64, wince (mantis #24149)
git-svn-id: trunk@24073 -
2013-03-30 14:15:24 +00:00
reiniero
c9161bc51d * sqldb/dbase: explicit cast to pchar to avoid writing widestrings in dbf header. Fixes mantis #14473
git-svn-id: trunk@24069 -
2013-03-30 11:43:41 +00:00
florian
5ee9fe75e9 * unicodenumtable is also an implicitly built unit
git-svn-id: trunk@24062 -
2013-03-29 18:48:59 +00:00
florian
9375529430 + put guids in a constant pool as well
git-svn-id: trunk@24061 -
2013-03-29 18:48:55 +00:00
sergei
e4949e3044 + ELF linker: finish support for imported symbol versions.
git-svn-id: trunk@24056 -
2013-03-29 15:17:48 +00:00
sergei
29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags.
git-svn-id: trunk@24053 -
2013-03-29 14:46:44 +00:00
sergei
c5bf2ecb65 + MIPS linker: added ELF header flags, TLS relocations and an utility procedure to handle endianness.
git-svn-id: trunk@24052 -
2013-03-29 14:11:27 +00:00
reiniero
09bee62013 * sqldb/dbf: remove deprecated status as it is maintained by FPC devs
git-svn-id: trunk@24050 -
2013-03-29 09:07:40 +00:00
Jonas Maebe
9973a5737f * don't give an error when calling a class method on an object typecasted
into a class reference (problem introduced by r23976)

git-svn-id: trunk@24039 -
2013-03-28 18:45:09 +00:00
Jonas Maebe
4daa40f480 * reorder register parameters to minimise the number of register conflicts,
which usually (but not always) results in better register allocation

git-svn-id: trunk@24038 -
2013-03-28 18:44:57 +00:00
pierre
3ceac493eb Commit go32v2 specific fix in 2.6.0 branch rev 20576
git-svn-id: trunk@24033 -
2013-03-28 13:04:54 +00:00
pierre
4f2691c729 + Search CC, MAKE and AWK variables inside Makefile
+ Set CC_is_gcc to 1 if CC contains gcc substring
  + Use --verbose for LDFLAGS if using gcc
  + Create gdb_get_stdin.c source to avoid problems related to stdin
    macro expansion on some targets. Add gdb_get_stdin.o object
    to XM_ADD_FILES if compilation successful.
    Set LIBGDB_HAS_GET_STDIN conditional in gdblib.inc on success.
  * Rebuild libgdb.a with possible gdb_get_stdin.o added.
  * Check for collect2 in make.log
  + Add libgdb.a manually if not use anymore on gdb executable command line.
  * Try to avoid wrong parsing of library list.

git-svn-id: trunk@24032 -
2013-03-28 12:40:11 +00:00
pierre
2da4a7b3d9 * Add moe information about libgdb.a and examples from tests directory
git-svn-id: trunk@24031 -
2013-03-28 12:29:13 +00:00
pierre
d4ecf952f9 Basic GDB 7.6 support
git-svn-id: trunk@24030 -
2013-03-28 12:27:56 +00:00
sergei
1d32b107f5 * Made address comparison 64-bit safe.
* Referencing a section is basically referencing its AT_SECTION symbol, fixed reporting in map file.

git-svn-id: trunk@24029 -
2013-03-28 10:44:09 +00:00