Commit Graph

39513 Commits

Author SHA1 Message Date
pierre
f17f58a6ee Regenerate with an up-to-date fpcmake binary
git-svn-id: trunk@23951 -
2013-03-22 08:33:27 +00:00
sergei
6f1997f5e5 + MIPS: added profiling support
git-svn-id: trunk@23950 -
2013-03-21 13:40:50 +00:00
pierre
889181c4a5 Avoid including MakeChunk filefor clean'ing targets
git-svn-id: trunk@23949 -
2013-03-21 11:44:48 +00:00
Jonas Maebe
e621bff943 * don't make a deep copy of records (and in the future, objects) in with-
statements on the JVM target (mantis #24089)

git-svn-id: trunk@23945 -
2013-03-20 16:23:25 +00:00
svenbarth
376bd046aa Don't allow "static" for class operators or normal methods (except in objects).
pdecsub.pas, pd_static:
  * check whether the given pd is an operator or a class method not inside an Object and generate an error if either of these is true
msg/errore.msg, msgidx.inc, msgtxt.inc:
  * add a message to inform that a certain procedure directive is not allowed

+ added tests

git-svn-id: trunk@23944 -
2013-03-20 10:46:55 +00:00
pierre
0b358e8554 Regenerated after: Try to fix problems related to inclusion of non-existing MakeChunk file
git-svn-id: trunk@23943 -
2013-03-20 10:18:13 +00:00
pierre
3b655c312e Try to fix problems related to inclusion of non-existing MakeChunk file
git-svn-id: trunk@23942 -
2013-03-20 10:17:46 +00:00
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