Commit Graph

53205 Commits

Author SHA1 Message Date
pierre
5368f1fbe9 Add handling of DelFiles
git-svn-id: trunk@38685 -
2018-04-04 21:27:36 +00:00
pierre
450f62efcc Move GetToken function to testu unit
git-svn-id: trunk@38684 -
2018-04-04 21:27:07 +00:00
pierre
33de492553 * Improve support in temporary directory.
+ CopyNeededFiles to copy additional files to temp directory.
  + TempFileList: New variable.
  * Cleanup: Use TempFileList to delete more file.
  + Add optional -Ssource_file_name directory.

git-svn-id: trunk@38683 -
2018-04-04 21:00:26 +00:00
nickysn
58ead31f49 * optimized ofs(proc) on i8086, so it only loads the offset in all memory models
git-svn-id: trunk@38682 -
2018-04-04 15:26:47 +00:00
nickysn
c7503ca291 + introduced tabstractprocdef.ofs_address_type - the address type, generated for
ofs()

git-svn-id: trunk@38681 -
2018-04-04 15:16:42 +00:00
nickysn
6929af07b7 + added flag tcnf_proc_2_procvar_get_offset_only
git-svn-id: trunk@38680 -
2018-04-04 14:48:12 +00:00
nickysn
99a1cf89b3 + print convnodeflags in printnodeinfo
git-svn-id: trunk@38679 -
2018-04-04 13:20:41 +00:00
nickysn
4a3a64d8f4 + print addrnodeflags in printnodeinfo
git-svn-id: trunk@38678 -
2018-04-04 12:48:52 +00:00
nickysn
dadd5568db + override set_labelsym_resultdef for i8086 and set a near pointer resultdef if
the anf_ofs flag is set

git-svn-id: trunk@38677 -
2018-04-04 12:34:21 +00:00
nickysn
109fb279f6 * moved the initialization of the resultdef for labelsyms in the typecheckpass
of taddrnode to a virtual method taddrnode.set_labelsym_resultdef. No
  functional changes.

git-svn-id: trunk@38676 -
2018-04-04 12:09:15 +00:00
florian
c46cbc8411 * do not issue a hint of compiler procs are not inlined, resolves #33515
git-svn-id: trunk@38675 -
2018-04-03 21:39:47 +00:00
pierre
a69942852f Fix to avoid access of memory outside of array size if overlap is true
git-svn-id: trunk@38674 -
2018-04-03 21:02:49 +00:00
michael
33a77a0bc7 * Allow descendents to change IsOpen
git-svn-id: trunk@38673 -
2018-04-03 18:31:45 +00:00
michael
08cca012f6 * Fix memleak when setting master-detail relations
git-svn-id: trunk@38672 -
2018-04-03 18:31:07 +00:00
nickysn
3318703ece * moved nf_typedaddr to addrnodeflags (anf_typedaddr)
git-svn-id: trunk@38671 -
2018-04-03 16:41:01 +00:00
nickysn
213e61eae5 + introduce the anf_ofs address node flag - indicates that the node was
generated by ofs()

git-svn-id: trunk@38670 -
2018-04-03 15:28:27 +00:00
nickysn
c9aecb8e94 * also compare convnodeflags in ttypeconvnode.docompare
git-svn-id: trunk@38669 -
2018-04-03 15:03:40 +00:00
nickysn
da609779d2 * simplify ttypeconvnode.printnodeinfo by making use of the fact that
write/writeln now can print enums

git-svn-id: trunk@38668 -
2018-04-03 14:49:31 +00:00
nickysn
539d4cb68a + introduced taddrnodeflags (empty for now)
git-svn-id: trunk@38667 -
2018-04-03 14:33:41 +00:00
pierre
b8cfaeda08 Fix compilation failure for Windows targets
git-svn-id: trunk@38666 -
2018-04-03 09:13:19 +00:00
michael
9f814c82ba * Fix for 3.0 compilation
git-svn-id: trunk@38665 -
2018-04-03 08:18:00 +00:00
florian
add418db0e * properly define Min/Max values of Native*Int helpers, resolves #33543
git-svn-id: trunk@38664 -
2018-04-02 21:31:23 +00:00
florian
25c5ee2fc3 * patch by J. Gareth Moreton to fix vectorcall (no effect) for linux,
resolves #33184 and #33542

git-svn-id: trunk@38663 -
2018-04-02 21:14:26 +00:00
Jonas Maebe
4da6039f40 * simplify empty-dynamic-string-to-pointer (non-p(wide)char) type conversions
so that they cannot result in "cmp const, const" at the assembler level
    (mantis #33548)

git-svn-id: trunk@38662 -
2018-04-02 18:35:00 +00:00
pierre
4026644278 Add explicit registers to fcomip to allow compilation with clang (bug report 33547)
git-svn-id: trunk@38661 -
2018-04-02 17:14:42 +00:00
florian
088af633ba Fix casing, bug ID #38660
git-svn-id: trunk@38660 -
2018-04-02 08:53:31 +00:00
florian
f986933d46 * the references of records passed by value can be kept in registers
git-svn-id: trunk@38659 -
2018-04-01 19:00:34 +00:00
michael
8b19eddd13 * Remove scrollh again, Lazarus solved it another way
git-svn-id: trunk@38658 -
2018-04-01 08:19:17 +00:00
michael
df435ca138 * Patch from Filiuta Vitali to fix range check error (bug ID 0033493)
git-svn-id: trunk@38657 -
2018-04-01 07:30:31 +00:00
michael
616d8073f2 * Implement flushbuffer abstract method in TFiler (part 2) (bug ID 33062)
git-svn-id: trunk@38656 -
2018-04-01 07:19:34 +00:00
michael
a137486439 * Implement flushbuffer abstract method in TFiler (bug ID 33062)
git-svn-id: trunk@38655 -
2018-04-01 07:16:34 +00:00
michael
ab606d3c8d * Rename component on read without exceptions. Several fixes for copy&paste in designer
git-svn-id: trunk@38654 -
2018-03-31 19:32:46 +00:00
pierre
e6fd693ea8 Avoid accessing inputStr or Wilds strings past their sizes: maxinputword and maxwilds
git-svn-id: trunk@38653 -
2018-03-31 15:46:55 +00:00
Mattias Gaertner
0fa83eade8 pas2js: rtl.js: added corba interface helper functions
git-svn-id: trunk@38652 -
2018-03-30 15:16:09 +00:00
Mattias Gaertner
6af36d84ce pastojs: corba interfaces
git-svn-id: trunk@38651 -
2018-03-30 15:14:38 +00:00
Mattias Gaertner
c2a69bb9ca fcl-js: fixed comment
git-svn-id: trunk@38650 -
2018-03-30 15:14:27 +00:00
Mattias Gaertner
0ce5452980 fcl-passrc: resolver: corba interfaces
git-svn-id: trunk@38649 -
2018-03-30 15:13:48 +00:00
pierre
a07b191847 Move several path related functions from dotest program to testu unit for use in dosbox_wrapper program
git-svn-id: trunk@38648 -
2018-03-30 07:59:14 +00:00
michael
9c28492bd1 * Last change to make it compileable with 2.6.4
git-svn-id: trunk@38647 -
2018-03-29 18:26:50 +00:00
nickysn
c3483d1274 * make near/far procs/procvars compatible only with their matching (near vs far)
pointer type on i8086

git-svn-id: trunk@38646 -
2018-03-29 15:59:58 +00:00
nickysn
85ca504f4a * make near and far procedures/procvars incompatible with each other
git-svn-id: trunk@38645 -
2018-03-29 15:39:54 +00:00
nickysn
0b66419e8b * use tasbtractprocdef(resultdef).addresstype instead of voidcodepointertype in
tcgtypeconvnode.second_proc_to_procvar. In the future (it's not implemented
  yet), this will allow taking the address of near procedures (which would then
  produce a near procvar) in i8086 far code memory models.

git-svn-id: trunk@38644 -
2018-03-29 15:11:14 +00:00
pierre
40f443a974 Add SKIPTARGET for OSes that do not compile fcl-fpcunit
git-svn-id: trunk@38643 -
2018-03-28 14:27:25 +00:00
michael
46ad7a206f * Ensure compilation with older versions of fpc
git-svn-id: trunk@38642 -
2018-03-28 08:03:35 +00:00
michael
7012716201 * Ensure compilation with older FPC versions.
git-svn-id: trunk@38641 -
2018-03-28 07:46:21 +00:00
michael
b1626d7c0b * Ensure compilation with older FPC versions (Work by Christian Ulrich)
git-svn-id: trunk@38640 -
2018-03-28 07:37:03 +00:00
Károly Balogh
e9ca615924 r38636 changed the PPU format, but didn't bump the version. lets bump
git-svn-id: trunk@38639 -
2018-03-27 19:54:48 +00:00
nickysn
c665866517 + introduce the tcnf_proc_2_procvar_2_voidpointer flag (for now it is only set,
but not used)

git-svn-id: trunk@38638 -
2018-03-27 16:15:06 +00:00
nickysn
3e9b9451b4 * copy the new convnodeflags field in ttypeconvnode.dogetcopy
git-svn-id: trunk@38637 -
2018-03-27 15:58:53 +00:00
nickysn
6ad786f8ef + introduce ttypeconvnodeflags (empty for now)
git-svn-id: trunk@38636 -
2018-03-27 15:33:50 +00:00