Commit Graph

38734 Commits

Author SHA1 Message Date
pierre
fb60e17602 Regenerated after: Fix wrong arg number in parser_e_nostackframe_with_locals
git-svn-id: trunk@22688 -
2012-10-17 10:52:55 +00:00
pierre
01c8ac4b3e Fix wrong arg number in pareser_e_nostackframe_with_locals
git-svn-id: trunk@22687 -
2012-10-17 10:52:12 +00:00
pierre
5ce88e3f99 Regenerated after: Also set CYCLELEVEL for cross-compilation rtl parts
git-svn-id: trunk@22686 -
2012-10-17 10:15:18 +00:00
pierre
bf80b55a1b Also set CYCLELEVEL for cross-compilation rtl parts
git-svn-id: trunk@22685 -
2012-10-17 10:14:45 +00:00
michael
9d6b4aa946 * Fix dayOfWeek for dates < 0 (bug ID #23144)
git-svn-id: trunk@22679 -
2012-10-17 07:15:01 +00:00
pierre
1cfb612513 Add new tests related to nostackframe checks added in commit 22677
git-svn-id: trunk@22678 -
2012-10-16 22:45:41 +00:00
pierre
be5839e44a Add warning/error message about possible problems with nostackframe modifier
git-svn-id: trunk@22677 -
2012-10-16 22:42:28 +00:00
reiniero
6bd0e88e6b + Support for sqlite3 on win64
Patch by Cyrax

git-svn-id: trunk@22669 -
2012-10-16 11:07:30 +00:00
lacak
382cd9483c Adds test for Firebird's EXECUTE BLOCK RETURNS statement, which returns resultset. Test correct detection of StatementType. Mantis #0022972
DO NOT BACKPORTABLE TO 2.6

git-svn-id: trunk@22668 -
2012-10-16 10:57:08 +00:00
sergei
a178e28275 + Extend TObjRelocation to hold untranslated platform-specific relocation types. This allows to avoid translating relocations into generic format when reading object files (which is just waste of time), and allows TObjRelocationType enumeration contain only types that are actually produced by compiler.
git-svn-id: trunk@22667 -
2012-10-16 10:40:34 +00:00
lacak
83c866637b Adjust TestTemporaryTable test. Adds support for Firebird/Interbase Global Temporary Tables. (+small cleanup)
Mantis #0022976 , original patch by Reinier Olislagers 
 

git-svn-id: trunk@22666 -
2012-10-16 10:26:55 +00:00
sergei
339d06aa58 * When writing section names of .o files, let sh_name of sections with relocations point into names of corresponding relocation sections past the .rel/.rela prefix. In case of smartlinked sections this saves almost half of .shstrtab section size.
* Fixed writing of weak defined symbols, TLS and GNU_IFUNC symbols.

git-svn-id: trunk@22665 -
2012-10-16 10:21:21 +00:00
pierre
25b0de0c28 Use -march and -mabi options for GNU assembler call.
This avoids problems on newer GNU assembler, which might have
 a default ABI different from O32.

git-svn-id: trunk@22664 -
2012-10-16 10:01:23 +00:00
pierre
305206354a Add arch and abi values for mips cpu
git-svn-id: trunk@22663 -
2012-10-16 09:57:24 +00:00
michael
8962703312 * Enable datadictionary for MySQL 5.1 and 5.5
git-svn-id: trunk@22662 -
2012-10-16 07:05:54 +00:00
yury
76dd6cfaac * Do not write unneeded registry keys if ClassName is empty.
* VersionIndependentProgID should not include version.
* Also delete the "CurVer" registry key during un-registration to perform complete clean-up.

git-svn-id: trunk@22657 -
2012-10-15 21:30:54 +00:00
yury
91988e611a * Ignore an error returned by UnRegisterTypeLib() to allow successful un-registration of whole COM object if type library is not registered atm.
git-svn-id: trunk@22656 -
2012-10-15 21:27:45 +00:00
pierre
66872fafa2 Fix wrong ifdef for MIPS cpu check
git-svn-id: trunk@22655 -
2012-10-15 14:01:30 +00:00
yury
25602c7cbd * Make TRegIniFile Delphi compatible.
* Fix completely broken TRegistryIniFile.
+ Tests.

git-svn-id: trunk@22654 -
2012-10-15 12:43:14 +00:00
yury
9a3225f1af * Clear CurrentPath when closing registry.
* Delete test registry keys.

git-svn-id: trunk@22653 -
2012-10-15 11:27:59 +00:00
yury
7607cc06de * Implemented CurrentPath property.
* Fixed handle leak when calling OpenKey() for already opened registry.

git-svn-id: trunk@22652 -
2012-10-15 11:11:43 +00:00
yury
8b63363878 * Removed unused vars.
git-svn-id: trunk@22651 -
2012-10-15 11:09:16 +00:00
yury
7b5baf71f0 + Added tests for TRegistry bugs.
git-svn-id: trunk@22650 -
2012-10-15 11:08:21 +00:00
Legolas
5e40262fe2 * Updated libndsfpc to ver. 1.5.7
git-svn-id: trunk@22648 -
2012-10-14 21:18:38 +00:00
Jeppe Johansen
9892aea2ca Added register specifications to lpc1768.pp. From Joan Duran
git-svn-id: branches/laksen/arm-embedded@22647 -
2012-10-14 19:28:08 +00:00
Jeppe Johansen
84ea70fddc Fixed some minor formating issues
Implemented a small heap mananger
Implemented console IO
Changed default LineEnding to CrLf(to ease console IO parsing)

git-svn-id: branches/laksen/arm-embedded@22646 -
2012-10-14 19:10:20 +00:00
reiniero
a632021d62 Firebird/Interbase connection minor+cosmetic fix:
* Use ibase.h time precision constant ISC_TIME_SECONDS_PRECISION instead of fixed value 10 000, making it more resilient against FB code changes
* Use IBTimeFractionsPerDay instead of IBSecsCount as it better matches naming within Firebird and it has nothing to do with counting seconds

git-svn-id: trunk@22645 -
2012-10-14 16:05:04 +00:00
Jonas Maebe
bc35f4b3db * fixed writing of local static symbols on AIX
o the order of .lcomm operands was inverted and can't specify an alignment
   o the section in which to place them can't be adorned using [RW] access
     specifiers (it's always in .bss, which is [RW] by definition)

git-svn-id: trunk@22644 -
2012-10-14 15:59:49 +00:00
florian
d7e0f07aab + UseAVX check
git-svn-id: trunk@22642 -
2012-10-14 14:04:31 +00:00
florian
c57f463ede + AVXSupport function to detect if the CPU and OS support AVX
git-svn-id: trunk@22641 -
2012-10-14 14:04:27 +00:00
reiniero
91f1a8736c + Added experimental support for Sybase ASE connector in database tests
+ Indicated how to use MS SQL Server trusted authentication/SSPI in database tests

git-svn-id: trunk@22639 -
2012-10-14 07:17:04 +00:00
yury
b0b2353f58 * Fixed declaration of ITypeInfo.Invoke(). The last 3 parameters should be able accept nil values. This fixes calling late binding methods of ActiveX server implemented with FPC. Patch by Ludo Brands.
git-svn-id: trunk@22638 -
2012-10-13 17:16:23 +00:00
joost
9035d3ae5d * Clear fpmkunit bootstrap files when make (dist)clean is called from packages directory
git-svn-id: trunk@22636 -
2012-10-13 12:12:59 +00:00
Jonas Maebe
6697ee21bb * "merge" of r382-383 from macosxintf repository (383 is whitspace fix):
r382 | jonas | 2012-10-13 13:27:03 +0200 (Sat, 13 Oct 2012) | 2 lines

  * "bool" is only 32 bit on Darwin/ppc, it's 8 bit on all other platforms

git-svn-id: trunk@22635 -
2012-10-13 11:38:30 +00:00
marco
d52ce0f6fb * fix from Ludo to optionally skip generation of "tag" records and associated
symbols. Mantis #23113

git-svn-id: trunk@22634 -
2012-10-13 11:27:20 +00:00
marco
287adff8a1 * applied patch from Lacak2
Mantis #22858 TCustomBufDataset.SaveToFile in XML format fails if fields are ftBytes or ftVarBytes and contain binary data 
    

git-svn-id: trunk@22633 -
2012-10-13 11:25:05 +00:00
joost
e98213814b * When performing a distclean while there is no fpmake-executable available,
also recurse into all sub-directories with a Makefile-file present. Based
   on patch from Pierre.

git-svn-id: trunk@22632 -
2012-10-13 10:35:37 +00:00
masta
aef7361f9f Fix RemoveSuperfluousMov in ARM Peephole optimizers.
The last patch (r22622) got the condition wrong.

git-svn-id: trunk@22624 -
2012-10-12 22:33:45 +00:00
masta
938c8f1ee1 Fix regLoadedWithNewValue for A_STR on ARM
The function regLoadedWithNewValue returned true if the oper[0].reg
matched in an STR instruction, which is wrong as it will only be read.

git-svn-id: trunk@22623 -
2012-10-12 22:33:40 +00:00
masta
29bac200dd Fix interaction between peephole optimizers on ARM
Up until now DataMov2Data could be run on an strb generated by
AndStrb2Strb.

Code like this:

and  reg0, reg1, #255
strb reg0, [r13]
mov  reg2,reg1

would get transformed into:

strb reg2, [r13]

which is clearly wrong. The problem was that DataMov2Data expected that
it's first parameter is an instruction which loads new data into
oper[0]. With the introduction of AndStrb2Strb this wasn't true anymore.

This fix now checks if the first register is actually written to, this
is done by using regLoadedWithNewValue.

git-svn-id: trunk@22622 -
2012-10-12 21:30:40 +00:00
joost
5f3f7d862b * For some reason burried in the past a 'make distclean' in fpc's root
is passed to utils as a 'make cleanall' which is an alias for 'distclean'.
   The Makefile.fpc did not recognize the 'cleanall' alias because in 
   packages 'distclean' is being used. This means that nothing was cleaned
   at all.

git-svn-id: trunk@22621 -
2012-10-12 21:26:16 +00:00
sergei
0e8829e4e2 * ModulesLinkToLibc: Search for both bare and prefixed names of libc. When this function is invoked, import library names are not yet normalized and either one may be present. Failure to detect libc may end up in using wrong sysinit unit, this fortunately affects only i386-linux (other Linux targets aren't using Pascal sysinit units yet).
git-svn-id: trunk@22620 -
2012-10-12 20:47:07 +00:00
yury
1a6605fd02 * Fixed warnings.
git-svn-id: trunk@22619 -
2012-10-12 16:24:59 +00:00
yury
cce786676a * Fixed declaration of IEnumUnknown.Next().
* Added IOleContainer.EnumObjects() flags.
* Added IObjectWithSite
* Fixed nested comments warnings.

git-svn-id: trunk@22618 -
2012-10-12 16:22:38 +00:00
pierre
2fdd8656d5 * Fix tw18702.pp i386-win32 specific failure (stack was not properly maintained)
git-svn-id: trunk@22617 -
2012-10-12 14:00:35 +00:00
Jonas Maebe
614436d8cb * added pocall_mwpascal to cdecl_pocalls so we no longer have to explicitly
add it everywhere in the paramanagers (where it was often forgotten)
  - removed places where it was explicitly added to cdecl_pocalls checks
  + test

git-svn-id: trunk@22616 -
2012-10-12 08:41:03 +00:00
marco
b0a984086f * add comment to size_t definition. Documents issue #22834 a bit.
git-svn-id: trunk@22615 -
2012-10-12 08:07:17 +00:00
sergei
3d63b1a2b2 + Added a flag allowing a section to be written into both .dbg and executable files. This is needed at least for ELF SHT_NOTE sections.
git-svn-id: trunk@22614 -
2012-10-11 19:26:40 +00:00
marco
aed4f10d67 * corrected IPrint and IOleCommandtarget to functions. Patch by Ludo, Mantis #22109
git-svn-id: trunk@22613 -
2012-10-11 14:37:24 +00:00
marco
0562192fb9 * Fix for typelib importer by Ludo Mantis #22109
git-svn-id: trunk@22612 -
2012-10-11 14:30:34 +00:00