Commit Graph

39706 Commits

Author SHA1 Message Date
michael
0703b2b7c0 * Better way of handling date/time conversion in params
git-svn-id: trunk@23941 -
2013-03-20 10:15:36 +00:00
michael
228d03248a * Patch from José Mejuto to fix handling of firebird string params in case Pascal parameter type differs (Bug ID 24080)
git-svn-id: trunk@23940 -
2013-03-20 08:07:03 +00:00
sergei
483dc13f92 + Extended test for MIPS
git-svn-id: trunk@23930 -
2013-03-19 18:21:56 +00:00
Jonas Maebe
0ad9f345dd * handle explicit typecasts of procdefs to procvardefs always via
proc_to_procdef, because a methodpointer may have to be discarded

git-svn-id: trunk@23929 -
2013-03-19 13:23:51 +00:00
Jonas Maebe
5152c86932 * set the location size of load nodes of procsyms without methodpointer/
framepointer
  * fixed conversion of procedure of object/nested procedure into a procvar
    that only contains the code address

git-svn-id: trunk@23928 -
2013-03-19 12:27:57 +00:00
lacak
81c8825623 fcl-db: sqlite: starting from SQLite 3.7.16, there is changed output of PRAGMA table_info. Now column "pk" shows order of given column in PK (or zero if column is not a part of PK).
Patch keeps backward compatibility.
Test TestMultipleFieldPKIndexDefs

git-svn-id: trunk@23927 -
2013-03-19 07:51:29 +00:00
Jonas Maebe
8b7071c8e8 * fixed recording generics token line info on big endian systems
git-svn-id: trunk@23926 -
2013-03-18 13:29:15 +00:00
paul
cf760602ef utils: unicode
- remove unused variables
  - reduce some hints/warnings

git-svn-id: trunk@23923 -
2013-03-18 11:46:53 +00:00
lacak
19132fc98d fcl-db: sqldb: implemented TSQLConnection.GetSchemaNames
Added stSchemata to TSchemaType (Delphi has strange stUserNames instead)
At TSQLConnection level stSchemata defaults to 'select *  from INFORMATION_SCHEMA.SCHEMATA', which can be overriden in descendants.

git-svn-id: trunk@23921 -
2013-03-18 09:58:50 +00:00
michael
7d6717be86 * Attempt at fix for Bug ID #24068
git-svn-id: trunk@23920 -
2013-03-18 09:18:48 +00:00
florian
c345ed8945 * generate branches for arm-thumb which are always sufficient big, the optimizer can fix this later on
git-svn-id: trunk@23904 -
2013-03-17 20:26:06 +00:00
michael
daf98ff87d * Some optimizations from Luiz Americo, bug ID #23678
git-svn-id: trunk@23900 -
2013-03-17 17:09:08 +00:00
michael
37ba6f9b27 * Fixed 23805
git-svn-id: trunk@23899 -
2013-03-17 17:00:39 +00:00
florian
d4613fe961 * update init_settings.setalloc in SetCompileMode if changeinit is set
git-svn-id: trunk@23898 -
2013-03-17 16:42:34 +00:00
florian
5a6e879248 * patch by Aleksa Todorovic: store relative include paths in PPUs, resolves #9961
git-svn-id: trunk@23897 -
2013-03-17 16:22:00 +00:00
marco
7f3f0e538b * TJSONArray.Extract by Luiz, mantis #23677
git-svn-id: trunk@23896 -
2013-03-17 16:11:08 +00:00
florian
fdde11fcc8 - -CPPAKCSET=NORMAL and CPPAKCSET=DEFAULT should set setalloc to 0 as $PACKSET=... with the same parameters does
git-svn-id: trunk@23893 -
2013-03-17 15:10:33 +00:00
florian
7511968f2b + warn if one of the linux libc startup code files is not found
git-svn-id: trunk@23892 -
2013-03-17 14:51:19 +00:00
florian
136c96c22d * avoid range check error when compiled with -Cr
git-svn-id: trunk@23890 -
2013-03-17 14:25:28 +00:00
florian
20a534e63f * fixed code which causes range check errors when compiled with -Cr
git-svn-id: trunk@23889 -
2013-03-17 14:24:50 +00:00
Jonas Maebe
e1e11f81e3 * fixed using readstr/writestr inside routines called from the parameter
list of another readstr/writestr expression (mantis #23912)

git-svn-id: trunk@23888 -
2013-03-17 14:23:33 +00:00
florian
784641ec46 * delay parsing of the closing SEMICOLON of a uses clause till the
unit map is updated to avoid symbols not being found, resolves #8611

git-svn-id: trunk@23886 -
2013-03-17 11:06:04 +00:00
sergei
1c652eb8f9 MIPS procinfo improvements:
- Removed TMIPSProcInfo.needs_frame_pointer, it duplicates pi_needs_stackframe flag.
- Don't save RA for leaf procedures.
* GP is caller-saved register, it does not need saving/restoring as nonvolatile registers. Handle its restore position as a "normal" temp, whose offset is known before secondpass. This allows to handle PIC calls without involving GAS macro processing.

git-svn-id: trunk@23885 -
2013-03-17 08:43:39 +00:00
florian
d5985b4f0e * patch by Christophe Staïesse to implement more ISO-like read behaviour in iso mode, resolves #24060
git-svn-id: trunk@23884 -
2013-03-17 08:27:21 +00:00
paul
f12a0b7ece utils: patch to unicode utils from Inoussa:
The CLDR parser now actually parses the selected
  collation type only. This should significantly reduce
  the memory consumption.

git-svn-id: trunk@23883 -
2013-03-17 05:00:54 +00:00
sergei
be1fcc8e3d * Forgotten delay slot was causing exit code loss in most library-related tests.
git-svn-id: trunk@23874 -
2013-03-16 20:01:33 +00:00
michael
3f4a19db7d * Adapted patch from Mario Ray Mahardhika to fix empty mime type
git-svn-id: trunk@23866 -
2013-03-16 14:15:22 +00:00
florian
380bc56e32 + create a default heap on embedded targets and register this default heap
* sysutils for the embedded target depends on a working heap manager

git-svn-id: trunk@23853 -
2013-03-16 10:37:18 +00:00
masta
d60049a1fd Removing duplicated hash functions in compiler/cclasses.pas
FPHash was duplicated 4 times for different input types. I've
consolidated it to a single function with 3 proxy-functions which can be
inlined.

I've also modified the hash function itself slightly, it now resembled
the original DJB hash and seems to perform a tiny bit better.

git-svn-id: trunk@23850 -
2013-03-16 00:50:45 +00:00
pierre
8e2fcd6bfe Enable use of dllprt0 for netbsd
git-svn-id: trunk@23848 -
2013-03-15 16:21:22 +00:00
pierre
050cc0b0a7 Regenerated after: Added dllprt0.as fro netbsd
git-svn-id: trunk@23847 -
2013-03-15 16:07:57 +00:00
pierre
12d4b0b173 + Added dllprt0.as fro netbsd
git-svn-id: trunk@23846 -
2013-03-15 16:07:25 +00:00
pierre
503b8c73c2 Avoid infinite loops with RTE 204 if heap is corrupted
git-svn-id: trunk@23845 -
2013-03-15 15:40:23 +00:00
pierre
18ece9cf75 Also use VERSION in scripts for openbsd and netbsd
git-svn-id: trunk@23844 -
2013-03-15 15:39:32 +00:00
sergei
0a155e3ae1 MIPS startup code:
- Removed tabs.
- Removed nonsense code involving $s7.
+ Call finalization procedure in the end, fixes webtbs/tw9089.
+ added non-executable stack marker.

git-svn-id: trunk@23842 -
2013-03-15 12:33:10 +00:00
pierre
adfecc8173 Real i386 version of dllprt0.as file
git-svn-id: trunk@23831 -
2013-03-14 14:15:34 +00:00
pierre
350ae58dc9 Fix error in last commit, include name must be enclosed in double quotes
git-svn-id: trunk@23830 -
2013-03-14 13:58:22 +00:00
pierre
1ad6aacb78 * Also use dllprt0 for openbsd
git-svn-id: trunk@23829 -
2013-03-14 13:51:16 +00:00
pierre
8d8509590f Add dllprt0 for x86_64 (i386 version simply includes cprt0.as)
git-svn-id: trunk@23828 -
2013-03-14 13:50:21 +00:00
pierre
7d0e45b142 Regenerated after commit 23822, Add clocale unit target, contributed by Pascal Stumpf
git-svn-id: trunk@23823 -
2013-03-14 09:40:47 +00:00
pierre
dede8a159e Add clocale unit target, contributed by Pascal Stumpf
git-svn-id: trunk@23822 -
2013-03-14 09:40:15 +00:00
sergei
6245bfd74f + ELF linker: load e_ident and e_flags from ELF header into properties of TElfObjData, necessary for targets that must be able to link together object files of different flavors.
git-svn-id: trunk@23821 -
2013-03-14 08:34:17 +00:00
paul
8c76535014 rtl: add missing 4 _be collations (2 collations are still not generated)
git-svn-id: trunk@23820 -
2013-03-14 03:30:53 +00:00
paul
7e591e1ea9 utils: unicodeset remove duplicate ord(), initialize cp variable
git-svn-id: trunk@23815 -
2013-03-13 07:03:54 +00:00
svenbarth
9a26fc6994 For now revert the FixPath usage from "is a directory" to "is a path" as at least on Windows it doesn't work as intended. I'll need time to check this correctly (which I don't have today and tomorrow).
packages/fpmkunit/src/fpmkunit.pp:
  * change all FixPath(..., True) to FixPath(..., False) except those that replaced IncludeTrailingPathDelimiter
packages/fppkg/src/fpmkunitsrc.inc:
  * regenerate

git-svn-id: trunk@23804 -
2013-03-12 14:15:12 +00:00
paul
db357320d7 rtl: install all cpXXX .ppu and .o files
git-svn-id: trunk@23802 -
2013-03-12 11:44:15 +00:00
paul
5157304998 rtl: build fpwidestring for the same platforms as character unit
git-svn-id: trunk@23801 -
2013-03-12 03:23:08 +00:00
paul
032b241c6b rtl: fpwidestring - fix length of UnicodeStrings after UTF8ToUnicode. UTF8ToUnicode returns length + 1 for zero byte which is not needed for UnicodeString.
git-svn-id: trunk@23800 -
2013-03-12 03:14:22 +00:00
paul
e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets
git-svn-id: trunk@23799 -
2013-03-12 01:35:25 +00:00
paul
3682fddc49 compiler: minor optimization of tscannerfile.recordtoken
git-svn-id: trunk@23798 -
2013-03-12 01:32:07 +00:00