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
svenbarth
5399fd6664
Regenerated fpmkunitsrc.inc after r23793
...
git-svn-id: trunk@23794 -
2013-03-11 20:48:23 +00:00
svenbarth
c6d9b56dbb
Fix a problem with fppkg: the function FixPath is declared in fpmkunit and pkgglobals with different semantics. Now recently the fpmkunit was added to one of the fppkg units which resulted in the unit using fpmkunit's implementation instead of the one from pkgglobals. Because of list fppkg no longer worked correctly if paths without trailing path delimiter were used in the configuration files. To prevent further problems a new overloaded version was added with combined semantics of both original functions and these were deprecated.
...
fpmkunit/src/fpmkunit.pp:
+ add FixPath overload with an AIsDir argument that appends a trailing path delimiter if missing (basically the behavior of pkgglobals.FixPath)
* deprecate FixPath with only one parameter, but let it call the new overload
* adjust all calls to FixPath depending on the context (most calls are directories, so the new behavior is a nice addition)
fppkg/src/pkgglobals.pp:
* deprecate FixPath and let it call the FixPath variant from pkgglobals
fppkg/src/pkgoptions.pp:
* adjust all calls to FixPath according to context
git-svn-id: trunk@23793 -
2013-03-11 20:44:46 +00:00
michael
03e605e0a2
* Patch from Michael Fuchs to fix mem leakn (bug ID 23247)
...
git-svn-id: trunk@23790 -
2013-03-11 15:26:12 +00:00
lacak
3658b939cb
fcl-db: mssql: small extending (like in others sqldb/sonnections) schema information returned using SetSchemaInfo call. System tables and functions used should be compatible with MS SQL and also with Sybase.
...
git-svn-id: trunk@23789 -
2013-03-11 09:48:42 +00:00
florian
2c7b34cda1
* don't apply cse on static variables being regable
...
git-svn-id: trunk@23785 -
2013-03-10 20:29:52 +00:00
florian
c2baf7b4c0
Merge r23058
...
git-svn-id: trunk@23776 -
2013-03-10 16:37:57 +00:00