Commit Graph

45805 Commits

Author SHA1 Message Date
lacak
b968e4f679 fcl-db: mssql: zero length varchar and varbinary values are marked as IsNull.
Fixing this reveals bug (for zero length VARBINARY values) in FreeTDS db-lib library.

git-svn-id: trunk@30399 -
2015-04-01 06:36:18 +00:00
nickysn
72bfe8d2c4 + implemented writing of the LNAMES omf record(s)
git-svn-id: trunk@30398 -
2015-03-31 23:46:15 +00:00
michael
675fc31ffd * New ManualMergeLog to public
git-svn-id: trunk@30397 -
2015-03-31 08:24:13 +00:00
nickysn
e4c612611f + added class (and constants) for handling OMF COMENT records. Write a COMENT
"Translator" record with the FPC version immediately after the header in the
  omf internal object writer.

git-svn-id: trunk@30396 -
2015-03-30 23:38:28 +00:00
nickysn
70577a55f3 + write the omf header in the omf binary writer
git-svn-id: trunk@30395 -
2015-03-30 22:44:58 +00:00
nickysn
ae44d240a3 * updated ppc8086.lpi with the latest compiler source files
git-svn-id: trunk@30394 -
2015-03-30 21:02:54 +00:00
Jeppe Johansen
8c105d4c97 Fix off by 8 error.
git-svn-id: trunk@30393 -
2015-03-30 12:03:18 +00:00
Jeppe Johansen
7fe4b13248 Fix broken peephole optimization that was testing the wrong register for modifications.
Fix tests on unsigned values. The flags were swapped.

git-svn-id: trunk@30392 -
2015-03-30 11:17:38 +00:00
Károly Balogh
48b38994c8 amicommon: the use OS-defined TICKS_PER_SECOND const instead of redefining it using another name
git-svn-id: trunk@30391 -
2015-03-30 08:26:16 +00:00
Károly Balogh
99123a1ea9 amicommon: massively improved FindFirst/FindNext implementation in the DOS unit. now supports Directory filtering and returns the time field of SearchRec in the expected format. This fixes a bunch of issues in the IDE and Free Vision, among others
git-svn-id: trunk@30390 -
2015-03-30 02:18:36 +00:00
nickysn
9c52c98b77 * use default_settings.packrecords, instead of 0 (since that's different for
i8086) for the packrecords parameter of begin_anonymous_record in
  intf_write_table. This fixes interfaces in i8086 far code or data memory
  models.

git-svn-id: trunk@30389 -
2015-03-30 01:39:47 +00:00
florian
07aa519e1c * add console output support to avrsim controller unit
git-svn-id: trunk@30388 -
2015-03-29 21:48:42 +00:00
florian
1f93c3aaa1 * get memory sizes on avr-embedded from controller info records
git-svn-id: trunk@30387 -
2015-03-29 21:41:52 +00:00
florian
1b9105e8c3 * make 3.82 fixes
* disable getopts for avr-embedded

git-svn-id: trunk@30386 -
2015-03-29 21:41:00 +00:00
florian
dfd4d3656b + avrsim controller target requiring a special avr simulator with a certain memory location handling, see avrsim.pp controller helper unit for what it is needed
git-svn-id: trunk@30385 -
2015-03-29 21:13:36 +00:00
michael
9ae76c3246 * Fix bug ID #27751 (Fill SystemTime.DayOfWeek)
git-svn-id: trunk@30384 -
2015-03-29 21:02:26 +00:00
michael
8f569f4d88 * Added ManualMergeCHangeLog (bug ID 22655)
git-svn-id: trunk@30383 -
2015-03-29 20:11:53 +00:00
florian
b07ba5786b * updated errord(u).msg files by Karl-Michael Schindler, resolves #27725
git-svn-id: trunk@30382 -
2015-03-29 20:02:06 +00:00
florian
873d88ba57 * fix 8 Bit*8 Bit multiplication according to #27737 using modified code supplied by Georg Hieber
git-svn-id: trunk@30381 -
2015-03-29 19:58:30 +00:00
florian
98856437b2 * disable fpc_chararray_enum for now on avr because the register allocator cannot currently handle it
git-svn-id: trunk@30380 -
2015-03-29 19:46:02 +00:00
florian
e4b8478da4 * fix building of avr-embedded rtl
* make 3.82 related fixes

git-svn-id: trunk@30379 -
2015-03-29 19:45:07 +00:00
florian
d0f4e7cc99 * respect feature defines
git-svn-id: trunk@30378 -
2015-03-29 19:43:25 +00:00
florian
5030ff05b5 * take care of feature defines
git-svn-id: trunk@30377 -
2015-03-29 19:35:42 +00:00
florian
0470cd2cb1 + CPU dependend string routine include files for AVR
git-svn-id: trunk@30376 -
2015-03-29 19:34:53 +00:00
michael
7ba2ce86cd * Fix visibility and deprecated warnings (patch from Luiz Americo (Bug ID 27110)
git-svn-id: trunk@30375 -
2015-03-29 19:32:51 +00:00
michael
c453e88272 * IdentifierByName made virtual (bug ID 27109)
git-svn-id: trunk@30374 -
2015-03-29 19:28:02 +00:00
Károly Balogh
72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588
git-svn-id: trunk@30373 -
2015-03-29 19:05:19 +00:00
florian
ad995eb121 * use correctly CALL/RCALL and JMP/RJMP on avr, resolves #27738
git-svn-id: trunk@30372 -
2015-03-29 18:26:32 +00:00
Jonas Maebe
c32b6b01ad * make sure the calcparas() is called when calling getcopyas() on a
procvardef

git-svn-id: trunk@30371 -
2015-03-29 18:16:54 +00:00
Jonas Maebe
2112713579 * converted the remaining parts of tcginnode.pass_generate_code() to thlcg
git-svn-id: trunk@30370 -
2015-03-29 18:16:51 +00:00
Jonas Maebe
69e7b06cef * converted rest of VMT generation to high level typed const builder
git-svn-id: trunk@30369 -
2015-03-29 18:16:48 +00:00
michael
9bf410e6a0 * Fix bug ID #27617, heap messed up due to not resetting pointer
git-svn-id: trunk@30368 -
2015-03-29 15:54:49 +00:00
michael
910a88122f * Implemented TWriter.WriteSignature/TReader.ReadSignature (bug ID 27519)
git-svn-id: trunk@30367 -
2015-03-29 13:25:12 +00:00
michael
677fcac127 * Implemented dataset enumerator, suggestion by Sylvio Clecio and Laco (bug ID 27644)
git-svn-id: trunk@30366 -
2015-03-29 12:42:23 +00:00
michael
e2500d5a70 * Patch from Benito van der Zander to add extra constructor
git-svn-id: trunk@30365 -
2015-03-29 12:26:58 +00:00
Károly Balogh
6128007f83 amicommon: reindented dos/Create_Timer(), no functional changes
git-svn-id: trunk@30364 -
2015-03-29 11:09:37 +00:00
michael
3003368ef4 * Sparse and SkipAddressInfo
git-svn-id: trunk@30363 -
2015-03-29 10:28:16 +00:00
michael
1ca0b1c5a0 * Removed some superfluous code
git-svn-id: trunk@30362 -
2015-03-29 09:37:12 +00:00
michael
1720d05d44 * Use caller addr info wherever needed.
git-svn-id: trunk@30361 -
2015-03-29 09:32:29 +00:00
michael
e8da5e1170 * Future-proof CallerAddr
git-svn-id: trunk@30360 -
2015-03-29 08:40:04 +00:00
Károly Balogh
226c184d14 IDE: made FixFileName to actually fix and not break file names on Amiga-like systems
git-svn-id: trunk@30359 -
2015-03-29 02:02:35 +00:00
Károly Balogh
d7ffb52490 amicommon: define FPC_FEXPAND_DIRSEP_IS_UPDIR for Amiga-like systems. this seems to fix several FExpand weirdness on these systems (like the IDE not working properly on the root directory of a volume due to wrong paths)
git-svn-id: trunk@30358 -
2015-03-29 01:51:04 +00:00
nickysn
c28184b697 * fixed comparison of far procvars after the hlcgllvm branch merge
git-svn-id: trunk@30357 -
2015-03-29 00:56:43 +00:00
Károly Balogh
bbecfeed9e Amiga: manually semaphore-protect the heap Pool, because classic Amiga has no MEMF_SEM_PROTECTED
git-svn-id: trunk@30356 -
2015-03-29 00:18:19 +00:00
Károly Balogh
0bccf5f09f morphos: use MEMF_SEM_PROTECTED flag for semaphore protect our memory pool. this is required for the future threading (concurrent accesses to the same pool from separate threads).
git-svn-id: trunk@30355 -
2015-03-28 22:58:49 +00:00
nickysn
6b0a19c0ab * fixed getting the address of a far proc on i8086 after the hlcgllvm branch merge
git-svn-id: trunk@30354 -
2015-03-28 17:31:52 +00:00
nickysn
0162b199f7 * fixed the i8086 g_intf_wrapper after the hlcgllvm branch merge
git-svn-id: trunk@30353 -
2015-03-28 14:33:22 +00:00
nickysn
003b283e55 * fixed thlcgcpu.g_exception_reason_save_const always generating a 286+ push
instruction on i8086, regardless of current cpu level

git-svn-id: trunk@30352 -
2015-03-28 13:59:10 +00:00
Jonas Maebe
8558624641 * reintegrated hlcgllvm branch. Note that llvm support is NOT complete yet
and won't be for quite some time. This merge is mainly to get the
    high level typed constant builder into trunk, and to avoid conflicts
    when code is modified that was moved/refactored in the hlcgllvm branch

git-svn-id: trunk@30351 -
2015-03-28 13:09:36 +00:00
Jonas Maebe
a30f0bc289 * fixed -Oodfa warnings
git-svn-id: branches/hlcgllvm@30350 -
2015-03-28 12:28:21 +00:00