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
sergei
2981f73aaa
- Removed redundant functions "power", they were neither used nor accessible through interface. The actual function "power" is located in Math unit.
...
git-svn-id: trunk@27499 -
2014-04-07 09:04:13 +00:00
michael
4a969eef33
* Removed httpdefs dependency, added several missing raise statements
...
git-svn-id: trunk@27498 -
2014-04-07 08:42:10 +00:00
nickysn
626000e50d
+ added System.SelectorInc to the msdos rtl (BP7 compatibility)
...
git-svn-id: trunk@27497 -
2014-04-07 08:26:53 +00:00
sergei
e951887154
* Fixed linking of non-PIC code to indirect functions in shared objects.
...
git-svn-id: trunk@27496 -
2014-04-06 23:04:57 +00:00
nickysn
9f2e59de3a
+ implemented far pointer arithmetic in the i8086 add node simplify method
...
git-svn-id: trunk@27495 -
2014-04-06 18:51:53 +00:00
michael
89092232b9
* Parameter inverted for abortread in content read
...
git-svn-id: trunk@27494 -
2014-04-06 17:00:39 +00:00
michael
12e9772111
* Attempt to fix Bug ID #25940
...
git-svn-id: trunk@27493 -
2014-04-06 16:55:53 +00:00
michael
d45ced0221
* Added DegNormalize
...
git-svn-id: trunk@27492 -
2014-04-06 16:37:43 +00:00
nickysn
4563b2994d
+ handle constint+pointerconst in taddnode.simplify
...
git-svn-id: trunk@27491 -
2014-04-06 16:36:09 +00:00
nickysn
bf1e15fd39
+ added another far pointer arithmetic test
...
git-svn-id: trunk@27490 -
2014-04-06 15:36:17 +00:00
nickysn
cef4092f3d
- rm some unneeded assignments from the test
...
git-svn-id: trunk@27489 -
2014-04-06 15:27:53 +00:00
nickysn
a11c7fe476
+ report the number of the failing test in the exit code
...
git-svn-id: trunk@27488 -
2014-04-06 15:15:22 +00:00
florian
701cdf8ea2
* fix for #25956 : left is not necessarily the array load node when accessing an open array/array of const element
...
git-svn-id: trunk@27487 -
2014-04-06 15:15:16 +00:00
nickysn
cd90154b9c
+ added pointer const tests to the far pointer arithmetic test tfarptr3.pp
...
git-svn-id: trunk@27486 -
2014-04-06 15:11:49 +00:00
nickysn
8d1ed088c8
+ implemented far pointer arithmetic (operating only on the offset, without
...
touching the segment)
git-svn-id: trunk@27485 -
2014-04-06 13:12:29 +00:00
michael
9e93e4293b
* Only put unbound params in the list of fieldnames (bug ID 25955)
...
git-svn-id: trunk@27482 -
2014-04-06 11:22:49 +00:00
nickysn
198960b17c
* preserve the segment of the reference in tx86vecnode.update_reference_reg_mul
...
on i386 and x86_64 as well
git-svn-id: trunk@27481 -
2014-04-05 14:46:35 +00:00
nickysn
f00f7d6ee7
* override tcgvecnode.update_reference_reg_mul for i8086 and add code that
...
preserves the reference segment (because reference_reset_base, which is
sometimes used by the base method, kills the segment)
git-svn-id: trunk@27480 -
2014-04-05 14:02:52 +00:00
nickysn
7a873f495d
* use the stack segment for SP-relative addresses in Tcgx86.g_concatcopy in
...
the memory models with SS<>DS (necessary, because make_simple_ref isn't called
in the copy_string case)
git-svn-id: trunk@27479 -
2014-04-05 12:02:04 +00:00
reiniero
fadbe3b43e
fcl-db:
...
+ Let TBlobField.LoadFromFile also open shared files. Adapted from patch by Erwin van den Bosch, thanks! Fixes mantis issue #25972
git-svn-id: trunk@27478 -
2014-04-05 11:00:01 +00:00
sergei
5c48804240
* Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed.
...
git-svn-id: trunk@27477 -
2014-04-05 09:43:13 +00:00
michael
181892cc5f
* First implementation of pas2js converter program
...
git-svn-id: trunk@27476 -
2014-04-05 09:19:55 +00:00
michael
e05b77e759
* Check for nil
...
git-svn-id: trunk@27475 -
2014-04-05 09:07:00 +00:00
michael
0c50662156
* Initial version of pascal-to-javascript converter
...
git-svn-id: trunk@27474 -
2014-04-05 09:06:05 +00:00
nickysn
ee20ecfcf2
* tcgx86.make_simple_ref: in i8086 memory models with DS<>SS, add an SS: segment
...
override when converting SP-relative references to use a general purpose
register
git-svn-id: trunk@27473 -
2014-04-05 08:56:40 +00:00
sergei
adc8cdb5af
* Calling tlabelsym.mangledname should not define the label. This was causing "already defined" errors if a label was referenced before it was defined.
...
+ Test.
+ Check duplicate labels in assembler blocks. This was impossible due to above bug and duplicate labels were detected only at assembling stage where no location information could be provided.
git-svn-id: trunk@27472 -
2014-04-05 01:17:36 +00:00
nickysn
e43791cf7c
* ti8086callnode.extra_call_ref_code: do not change the base register to BX if
...
it's BP, because that breaks memory models with DS<>SS
git-svn-id: trunk@27471 -
2014-04-04 21:43:40 +00:00
nickysn
9da1ee0138
* i8086 far data model fixes in the copying of openarray value params
...
git-svn-id: trunk@27470 -
2014-04-04 20:18:47 +00:00
nickysn
c0709eef40
* i8086 far data model fixes in Save/RestoreStateVGA and Save/RestoreStateVESA
...
git-svn-id: trunk@27469 -
2014-04-04 19:51:15 +00:00
nickysn
f31d7e665b
* fix for i8086 far data memory models in dos.getintvec
...
git-svn-id: trunk@27468 -
2014-04-04 17:03:18 +00:00
svenbarth
8ae36f3ef4
tstaticvarsym.ppuload: read the section string outside of the symansistr define to match the code of ppuwrite
...
git-svn-id: trunk@27467 -
2014-04-04 16:18:08 +00:00
svenbarth
5c1b8fdad9
Fix for Mantis #19697 . For this we need to have the internal static var symbol know that it came from a static field var symbol so that we can check that for generic or not.
...
symsym.pas, tfieldvarsym:
+ add new field fieldvarsym which holds a reference to a tfieldvarsym if the static sym was created based on such a symbol
+ add necessary methods and code to correctly load from and store to PPU
+ add new constructor create_from_fieldvar
symcreat.pas, make_field_static:
* use new create_from_fieldvar constructor instead of the default one
hlcgobj.pas, finalize_static_data:
* check whether the static var is based on a generic's class var
ppu.pas:
* increase PPU version
+ added test
git-svn-id: trunk@27466 -
2014-04-04 16:15:41 +00:00
svenbarth
c5050ea645
Forgot to commit test mentioned in last commit
...
git-svn-id: trunk@27465 -
2014-04-04 16:10:08 +00:00
svenbarth
b9a59c33f4
Fix for Mantis #25915 .
...
* ptype.pas, id_type:
generate the "identifier not found" message only if the identifier was really not found and not when the identifier is a non-type
* pexpr.pas, statement_syssym:
don't generate the "type id expected" error message for Default() anymore; this is already handled by single_type
+ added test (though this again will not help much as output is not parsed...)
git-svn-id: trunk@27464 -
2014-04-04 15:48:06 +00:00
svenbarth
689996d84f
Fix for Mantis #25959 .
...
* pdecsub.pas, parse_proc_direc:
when a hint directive is parsed we need to check whether the new token can still be a directive
+ added test (though that won't help much as we don't check the compiler output yet... :/ )
git-svn-id: trunk@27463 -
2014-04-04 14:04:32 +00:00
nickysn
8efd857d76
* i8086 far data memory model fixes in unit msmouse
...
git-svn-id: trunk@27462 -
2014-04-04 08:57:14 +00:00
nickysn
b36a98ce51
+ Tcgx86.g_concatcopy: added support for memory models with DS<>SS
...
git-svn-id: trunk@27461 -
2014-04-04 01:13:02 +00:00
nickysn
e9e4cc8bcb
* Tcgx86.g_concatcopy: use boolean variables saved_ds and saved_es to keep track
...
whether these segment registers were saved on the stack or not
git-svn-id: trunk@27460 -
2014-04-04 00:10:36 +00:00
nickysn
34e8e5a0dc
* handle zero length strings correctly in DebugWrite/DebugWriteLn
...
git-svn-id: trunk@27459 -
2014-04-03 21:47:42 +00:00
nickysn
4832682c58
* fixed i8086 far pointer typed constants that are initialized with nil
...
git-svn-id: trunk@27458 -
2014-04-03 21:39:00 +00:00
michael
910e5ff888
* Compact arrays/object literals and func. arguments
...
git-svn-id: trunk@27457 -
2014-04-03 20:17:26 +00:00