nickysn
fc71081b74
* i8086 and i386-specific code from tabstractprocdef.is_pushleftright moved to
...
symi86
git-svn-id: trunk@27549 -
2014-04-12 15:34:08 +00:00
nickysn
0a515311e6
* tabstractprocdef.address_type i8086-specific code moved to symcpu, ifdef i8086 removed
...
git-svn-id: trunk@27548 -
2014-04-12 15:09:17 +00:00
nickysn
9f4dd78701
* the ifdef i8086 in taddrnode.pass_typecheck removed via using tabstractprocdef.address_type
...
git-svn-id: trunk@27547 -
2014-04-12 14:49:54 +00:00
nickysn
37168c8625
* use voidcodepointertype to determine tprocvardef.size; ifdef i8086 removed
...
git-svn-id: trunk@27546 -
2014-04-12 14:19:30 +00:00
nickysn
89584164b1
+ added virtual methods tabstractprocdef.declared_far and .declared_near, which
...
are called, when the 'near' or 'far' directive is parsed in a procedure
definition. This allows overriding and implementing them on architectures,
which support near and far calls.
git-svn-id: trunk@27545 -
2014-04-12 12:55:05 +00:00
nickysn
b41892f048
* set po_far in the i8086-specific descendants of tprocdef and tprocvardef,
...
instead of in tabstractprocdef.create; ifdef i8086 removed
git-svn-id: trunk@27544 -
2014-04-12 12:17:10 +00:00
nickysn
015c3269a7
* don't print a 'smart link requires external linker' warning in _any_ of the
...
following cases:
1) external linking is already enabled
2) target does not support an internal linker
3) the 'omit linking stage' option is used
git-svn-id: trunk@27543 -
2014-04-12 08:19:23 +00:00
michael
352f7cf47b
* Remove debug statement
...
git-svn-id: trunk@27542 -
2014-04-12 06:47:54 +00:00
nickysn
b9af57b97a
* use voidcodepointertype when creating the methodpointertype in
...
psystem.create_intern_types; ifdef i8086 removed.
git-svn-id: trunk@27541 -
2014-04-11 23:41:53 +00:00
nickysn
e1716c097d
* set the vmtParent constant according to sizeof(SizeInt) instead of
...
SizeOf(ptruint), because the +size and -size fields are of type SizeInt and
not ptruint or pointer.
git-svn-id: trunk@27540 -
2014-04-11 23:10:04 +00:00
nickysn
902d118ec8
* i8086 far data memory model fixes in tobjectdef.vmtmethodoffset
...
git-svn-id: trunk@27539 -
2014-04-11 23:05:42 +00:00
nickysn
8d9fda9264
* use voidcodepointertype.size in tobjectdef.vmtmethodoffset, avoid ifdef i8086
...
git-svn-id: trunk@27538 -
2014-04-11 22:09:30 +00:00
nickysn
be08957a96
* use voidcodepointertype in traisenode.pass_typecheck to avoid ifdef i8086
...
git-svn-id: trunk@27537 -
2014-04-11 21:59:07 +00:00
nickysn
542719c8f5
+ added symdef.voidcodepointertype
...
git-svn-id: trunk@27536 -
2014-04-11 20:47:45 +00:00
svenbarth
e85075de7f
Fix for Mantis #25604 .
...
nmat.pas:
* correctly disable type checks if one of the arguments for MOD, DIV, SHR, SHL, NOT, -X and +X is a generic type parameter
+ added tests
git-svn-id: trunk@27535 -
2014-04-11 16:43:53 +00:00
svenbarth
c623824374
Fix for Mantis #25605 .
...
symtable.pas, search_objectpascal_helper:
* handle more symbol types than just properties and methods; afterall helpers can have types, static variables and constants as well
+ added test
git-svn-id: trunk@27534 -
2014-04-11 16:13:44 +00:00
svenbarth
256c852631
Fix for Mantis #23776 .
...
ninl.pas, tinlinenode.pass_typecheck:
* don't generate a type error if Length() is used inside generics with a generic argument
+ added test
git-svn-id: trunk@27533 -
2014-04-11 15:57:21 +00:00
svenbarth
b0670ee34c
Fix for Mantis #25600 .
...
ptype.pas, read_named_type.array_dec:
* generate a valid range definition if we are inside a generic and the array bounds are not ordinals (Note: the check for "parse_generic" should be improved to really detect erratic indexes that are not related to generics in any way)
+ added test
git-svn-id: trunk@27532 -
2014-04-11 14:57:23 +00:00
svenbarth
02495c17bd
Fix a typo. The CPU specific version of "ttypesym" should be called "tcputypesym" and not "tcpuypesym".
...
git-svn-id: trunk@27531 -
2014-04-11 14:30:59 +00:00
pierre
9c78abafce
Add SmartFilesCount number to AddAsmCommand call for SmartAsm
...
git-svn-id: trunk@27530 -
2014-04-11 13:37:00 +00:00
michael
aaab5f9edc
* Copyright notice
...
git-svn-id: trunk@27529 -
2014-04-11 13:02:04 +00:00
michael
aa2b80b578
* Copyright notice
...
git-svn-id: trunk@27528 -
2014-04-11 13:01:04 +00:00
michael
19f8e051e8
* Added support for https
...
git-svn-id: trunk@27527 -
2014-04-11 12:16:55 +00:00
michael
26a9a8ac2e
* Added initial secure sockets support
...
git-svn-id: trunk@27526 -
2014-04-11 12:15:05 +00:00
michael
3f53917606
* Introduced TSocketHandler
...
git-svn-id: trunk@27525 -
2014-04-11 12:12:33 +00:00
michael
7e99d5ad08
* Small OO layer on top of SSL/SSLContext
...
git-svn-id: trunk@27524 -
2014-04-11 11:52:39 +00:00
michael
ef399c78e5
* Thread-safe loading of libraries.
...
* Locking mechanisms in place.
* Both libraries always loaded at once, kept backwards compatible functions.
(old, separated loading mechanisms were buggy)
git-svn-id: trunk@27523 -
2014-04-11 11:51:16 +00:00
lacak
c8ecf2eecd
fcl-db: tests: Add MS SQL Server to list of servers, which do not support TIME data type >= '24:00:00'
...
git-svn-id: trunk@27522 -
2014-04-11 08:37:55 +00:00
Jonas Maebe
d9dab6f2f1
* changed the severity of messages showing overloaded routines with all
...
parameters from hint to error in case they give more information
about definition errors
git-svn-id: trunk@27521 -
2014-04-10 21:07:17 +00:00
Jonas Maebe
4a0528399e
* check all overloaded routines for mangled name conflicts on the JVM
...
platform, as different Pascal declarations are mapped to the same
JVM representation
git-svn-id: trunk@27520 -
2014-04-10 21:07:14 +00:00
Jonas Maebe
3a5e675a2b
* fixed typo in last change (javaa instead of java)
...
git-svn-id: trunk@27519 -
2014-04-10 21:07:09 +00:00
sergei
bd58adfcc9
+ Added credits for functions reused from AMath/DAMath libraries.
...
git-svn-id: trunk@27518 -
2014-04-10 20:29:49 +00:00
nickysn
afcb8c3f10
* initialize DS from CS in the interrupt procedure entry code in tiny model,
...
because dgroup emits relocations, which results in a linker warning and broken
code when the target format is .com file.
git-svn-id: trunk@27517 -
2014-04-10 20:02:35 +00:00
nickysn
e21783a281
* i8086 small and tiny memory model ppus made incompatible. Rationale:
...
o the maintenance effort will be less - previously we had to test 4
combinations:
tiny program with tiny rtl
tiny program with small rtl
small program with tiny rtl
small program with small rtl
I only tested both tiny and small programs with the small rtl, so I missed
a bug, which caused small programs built with the tiny rtl to always give
a "Nil pointer assignment" error. Now we only need to test two cases:
tiny program with tiny rtl
small program with small rtl
o I'm planning a bug fix for interrupt procedures in the tiny model, which
will make their prolog differ between small and tiny. Currently, they're
not used in the rtl, but that may change. And even if it doesn't,
interrupt procedures may also be used by user units.
git-svn-id: trunk@27516 -
2014-04-10 16:31:06 +00:00
pierre
179390d63d
Use script gnu ar for go32v2 target
...
git-svn-id: trunk@27515 -
2014-04-10 16:20:14 +00:00
pierre
29a7f75d1d
Complete previous commit: add EXECPPAS to ALL explicit rules
...
git-svn-id: trunk@27514 -
2014-04-10 16:14:58 +00:00
pierre
2f5fcf775c
Add EXECPPAS on explicit roules
...
git-svn-id: trunk@27513 -
2014-04-10 16:00:32 +00:00
pierre
ca156aa64a
Force external linker for nasm smartlinking
...
git-svn-id: trunk@27512 -
2014-04-10 15:02:04 +00:00
pierre
816dfa69c1
Avoid new line after lock prefix for nasm
...
git-svn-id: trunk@27511 -
2014-04-10 14:56:30 +00:00
pierre
e0744b9759
Fix section output for user section in smart mode
...
git-svn-id: trunk@27510 -
2014-04-10 14:18:48 +00:00
pierre
62b3375033
Use slash instead of backslash inside linker script to allow use of cross-linker
...
git-svn-id: trunk@27509 -
2014-04-10 13:24:42 +00:00
pierre
3d34a8a3b0
Makefiles updated with fpcmake rev 27428
...
git-svn-id: trunk@27508 -
2014-04-10 09:58:17 +00:00
pierre
f188dec303
Add missing unixtype unit dependencies
...
git-svn-id: trunk@27507 -
2014-04-10 09:54:26 +00:00
pierre
63363b6d8f
Remove objects and matrix units now in rtl-extra package
...
git-svn-id: trunk@27506 -
2014-04-10 09:52:52 +00:00
pierre
efa80632ed
Remove varutils, variants and dateutils units which are now in rtl-objpas package
...
git-svn-id: trunk@27505 -
2014-04-10 09:50:59 +00:00
pierre
ae8679ec60
Remove varutils and variants units which are now in rtl-objpas package
...
git-svn-id: trunk@27504 -
2014-04-10 09:48:38 +00:00
nickysn
a9cfd647ae
+ added i8086-msdos tests for interrupt procs, intr, getintvec and setintvec
...
git-svn-id: trunk@27503 -
2014-04-07 22:26:45 +00:00
nickysn
e725af86fe
* fixed the handling of the register parameters of i8086 interrupt procedures
...
git-svn-id: trunk@27502 -
2014-04-07 22:19:10 +00:00
michael
59a9a595c5
* Fixed typo (t->s)
...
git-svn-id: trunk@27501 -
2014-04-07 13:12:53 +00:00
sergei
217bac7a0b
- Removed fpc_pi_real compilerproc, it is no longer used. At least two releases (2.6.2 and 2.6.4) emit Pi directly as a constant.
...
git-svn-id: trunk@27500 -
2014-04-07 09:16:24 +00:00