lacak
721d695ae4
fcl-db: base: implements AsBytes for TBlobField
...
git-svn-id: trunk@25294 -
2013-08-19 12:06:36 +00:00
lacak
9cf1ef90cd
fcl-db: base: formatting (char-case)
...
git-svn-id: trunk@25293 -
2013-08-19 11:43:16 +00:00
nickysn
a1fa1954b8
* i8086 medium model fixes in Tresourcestrings.CreateResourceStringData
...
git-svn-id: trunk@25292 -
2013-08-18 21:18:22 +00:00
masta
dad4079e0c
Fix shift128Right in rtl/inc/softfpu.pp
...
The old code would always return 0 if the shiftamount was more than 63.
git-svn-id: trunk@25291 -
2013-08-18 21:12:53 +00:00
nickysn
e4f84b0f5d
* i8086 medium model fixes in tnodeutils.InsertResourceTablesTable
...
git-svn-id: trunk@25290 -
2013-08-18 20:37:18 +00:00
florian
2806947a8f
+ FindRegAllocBackward
...
* search reg. allocations backward in RemoveSuperfluousMove because the changed instruction could be the first one in a list
git-svn-id: trunk@25289 -
2013-08-18 18:56:56 +00:00
florian
bca6dafbc5
* mark the current procedure if it has a non local exit, not the targetted one
...
git-svn-id: trunk@25288 -
2013-08-18 18:55:53 +00:00
florian
bb397e2b2f
+ has_sse2_support for i386
...
+ has_sse3_support for i386
git-svn-id: trunk@25287 -
2013-08-18 18:54:56 +00:00
nickysn
10db067372
* specify Tasmsymtype=AT_FUNCTION and use Create_nil_codeptr when generating the code pointers in the InitFinal table
...
git-svn-id: trunk@25286 -
2013-08-18 18:27:48 +00:00
florian
e147895f80
* make symbols generated in procedures global when auto-inlining is on
...
git-svn-id: trunk@25285 -
2013-08-18 17:32:47 +00:00
paul
17ef986b17
compiler: don't treat methods without self node (static class methods, class contructors, destructors, operators) as method pointers, fix comparison of procdef and procvardef to allow assignment of a static class method to a regular procedural variable (issue #24486 )
...
git-svn-id: trunk@25284 -
2013-08-18 17:29:23 +00:00
florian
a2a405581c
* don't call the ansistring val variant for a zero based array if not necessary to avoid ansistring usage in embedded applications
...
git-svn-id: trunk@25283 -
2013-08-18 17:04:06 +00:00
florian
38f3448e22
* applied patch by Cyrax to fix #24722 , revertes partially r25054 which was wrong
...
git-svn-id: trunk@25282 -
2013-08-18 16:05:43 +00:00
paul
dc95ba5b07
compiler: handle other places where we check current_procdef for self node
...
git-svn-id: trunk@25281 -
2013-08-18 13:09:32 +00:00
paul
4b76782691
compiler: fix property access from a nested routine of the static class method and extend a test
...
git-svn-id: trunk@25280 -
2013-08-18 12:36:04 +00:00
sergei
38058505ba
* Changed linking infrastructure to look like assembler one:
...
* Changed direct references to linker classes in TSystemInfo records to enumerated ids.
* RegisterExtennalLinker and RegisterInternalLinker procedures replaced by single RegisterLinker procedure and moved to link.pas.
- TAbstractLinker is no longer necessary, removed.
This change allows to register linker once per id, rather than once per target, and also allows TSystemInfo records to be read-only.
git-svn-id: trunk@25279 -
2013-08-18 12:01:21 +00:00
sergei
9e3d17778d
- Removed TAbstractAssembler and TAbstractAssemblerClass, they are not used anymore.
...
git-svn-id: trunk@25278 -
2013-08-18 11:03:30 +00:00
sergei
eec8129738
* TInternalLinker.Load_ReadStaticLibrary: exit if error has occurred while opening a static library or dynamic object, continuing can cause other errors/crashes in this case.
...
* t_linux.pas: use sysrootpath when specifying dynamic interpreter (for cross-linking).
git-svn-id: trunk@25277 -
2013-08-18 09:14:16 +00:00
nickysn
088c06d308
* fixed class VMT generation for the i8086 medium memory model (near code, far data) by setting correctly the Tasmsymtype to each symbol according to whether it points to code or data
...
git-svn-id: trunk@25276 -
2013-08-18 00:03:55 +00:00
Jonas Maebe
57cdd8c106
* set symbol type/binding of data referred by ppc and arm/darwin stubs (part
...
of r25264, fixes internalerror 2013081601 after r25266)
git-svn-id: trunk@25275 -
2013-08-17 16:26:37 +00:00
paul
5c33644e5c
compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865 )
...
git-svn-id: trunk@25274 -
2013-08-17 04:44:19 +00:00
paul
89e154bc10
compiler: if method has no self node then load it as a usual identifier (issue #0024871 )
...
git-svn-id: trunk@25273 -
2013-08-17 02:54:55 +00:00
marco
d55a32e875
* fix for #24878
...
git-svn-id: trunk@25272 -
2013-08-16 20:45:41 +00:00
sergei
d11ec8ac47
- Reverted r25269 and commented out r25261. The former one is wrong because it changes unit initialization order. The latter one causes RTL build failures on some targets, needs testing and likely RTL/makefiles patching.
...
git-svn-id: trunk@25271 -
2013-08-16 15:17:25 +00:00
sergei
feaa006243
* This test uses C-style operators and needs -Sc to compile.
...
git-svn-id: trunk@25270 -
2013-08-16 14:39:55 +00:00
sergei
e1ddd914ac
* Do not implicitly load Variants unit when compiling units. Doing so is mostly waste of time, and introduces unwanted build dependencies. It is enough to set uf_uses_variants flag for units, and examine these flags when compiling program/library. Resolves #24880 .
...
git-svn-id: trunk@25269 -
2013-08-16 12:42:47 +00:00
lacak
4db6a866a1
fcl-db: tests: formatting (comments, grouping tests)
...
git-svn-id: trunk@25268 -
2013-08-16 11:54:19 +00:00
Jonas Maebe
da6d9cf3f3
* give an internalerror when we try to change the type of an asmsymbol from
...
anything but none (= undefined) to local
git-svn-id: trunk@25266 -
2013-08-16 10:10:38 +00:00
Jonas Maebe
d8c84706dd
* use Tai_symbol.Create_global() when emitting a global symbol for an
...
abstract method wrapper (tai_symbol.create() currently overrides the
symbol type from global to local; will fix in next commit)
* only generate global abstract method wrappers for the class in which
the abstract method is declared to prevent duplicate symbol errors
after the above fix
git-svn-id: trunk@25265 -
2013-08-16 10:09:37 +00:00
Jonas Maebe
3b9b6a0cd7
* explicitly define the asmsymbols for Darwin call stubs as local
...
git-svn-id: trunk@25264 -
2013-08-16 10:07:46 +00:00
Jonas Maebe
51f7d0645a
* give a different error if the second test fails
...
git-svn-id: trunk@25263 -
2013-08-16 10:04:59 +00:00
paul
9f023fcfe0
rtl, utils: apply patch of Inoussa which adds dynamic loading of charset binary files (issue #0024862 )
...
git-svn-id: trunk@25262 -
2013-08-16 09:32:27 +00:00
sergei
c558991d8f
* Implicitly use Variants unit when (ole)Variant type appears as a function/operator result and nowhere else. Mantis #24863 .
...
git-svn-id: trunk@25261 -
2013-08-16 08:38:21 +00:00
sergei
92811d09c1
* Generate stub bodies for abstract methods, so corresponding symbols can be referenced from code. Resolves #24536 .
...
git-svn-id: trunk@25260 -
2013-08-15 10:04:37 +00:00
sergei
3a12e94d21
* TVMTWriter.writeinterfaceids: pass target asmlist as parameter.
...
* Changed section type for interface GUID and name from sec_rodata to sec_rodata_norel, because GUIDs and strings are not relocatable.
git-svn-id: trunk@25259 -
2013-08-14 11:54:00 +00:00
pierre
c92eaebf34
Fix option passing for freebsd ans netbsd, add -Xd for linux also
...
git-svn-id: trunk@25256 -
2013-08-13 14:10:34 +00:00
michael
cdc7ee0998
* Fix authorization header
...
git-svn-id: trunk@25255 -
2013-08-13 13:18:37 +00:00
marco
9f34e4237c
* remove forgotten debug feature, (uses dbugintf,which is not part of the
...
package dependencies), introduced in r23172
git-svn-id: trunk@25254 -
2013-08-13 13:13:38 +00:00
michael
ae4810edd6
* Restore old behaviour for caNone for Action
...
git-svn-id: trunk@25252 -
2013-08-12 12:56:16 +00:00
michael
b1c111b423
* Mark transaction as closed in caNone case of EndTranscation
...
git-svn-id: trunk@25251 -
2013-08-12 12:44:03 +00:00
michael
75362b0bb8
* Fixed ROLLBACK : all statements must be unprepared
...
git-svn-id: trunk@25250 -
2013-08-12 08:19:00 +00:00
michael
abae19b553
* Reworked pool to a thread list
...
git-svn-id: trunk@25249 -
2013-08-12 07:48:08 +00:00
michael
ae19359a7c
* Thread-safe connection pool
...
git-svn-id: trunk@25248 -
2013-08-12 07:25:21 +00:00
florian
d23a5b7c7d
* store break/continue usage in a variable
...
git-svn-id: trunk@25247 -
2013-08-11 21:13:24 +00:00
florian
cfcb4cab26
* simplify body of for loop before unrolling
...
git-svn-id: trunk@25246 -
2013-08-11 21:13:22 +00:00
florian
5d4a094799
* calculate complexity of exit nodes correctly
...
git-svn-id: trunk@25245 -
2013-08-11 21:13:20 +00:00
florian
0a22199738
* always use the varrec size retrieved from the system unit when advancing to the next element
...
git-svn-id: trunk@25244 -
2013-08-11 20:13:57 +00:00
nickysn
fe4cac96be
+ added overloads to tai_const.Createname and Create_type_name, which take a Tasmsymtype parameter; to be used for declaring external symbols which reside in the data segment with AT_DATA, which is necessary for i8086 medium and compact memory models (where code and data pointers are of different size)
...
git-svn-id: trunk@25243 -
2013-08-11 19:46:17 +00:00
nickysn
7ae9c5b668
+ added optional Tasmsymtype parameter to TAsmData.RefAsmSymbol and WeakRefAsmSymbol to allow specifying things like AT_DATA for external symbols that reside in the data segment, which is needed for i8086 medium and compact memory models
...
git-svn-id: trunk@25242 -
2013-08-11 19:24:54 +00:00
florian
b29591ffd3
* fix msdos rtl makefile for newer makes
...
git-svn-id: trunk@25240 -
2013-08-11 16:12:43 +00:00