Commit Graph

40115 Commits

Author SHA1 Message Date
nickysn
3853d06ac0 + added n8086cal.pas, based on n386cal.pas; this pulls in nx86cal.pas as well and fixes compilation of the system unit on i8086 after the merge of the i8086 branch to trunk
git-svn-id: trunk@24335 -
2013-04-26 20:19:57 +00:00
florian
a07af824ea * properly fix raise node handling on x86-64 after r24288
git-svn-id: trunk@24334 -
2013-04-26 20:17:54 +00:00
yury
e212901658 * ppudump: JSON output of constants, records, arrays, class refs.
git-svn-id: trunk@24333 -
2013-04-26 15:55:29 +00:00
yury
12825a2f09 * Fixed unused var note.
git-svn-id: trunk@24332 -
2013-04-26 10:29:35 +00:00
yury
b4ba96fa5a * ppudump: JSON output of properties and global vars.
git-svn-id: trunk@24331 -
2013-04-26 10:26:42 +00:00
pierre
9414fddd00 Add explanation about revision.inc file
git-svn-id: trunk@24330 -
2013-04-26 10:23:52 +00:00
pierre
d38e6e62c8 commit new revision.inc file
git-svn-id: trunk@24329 -
2013-04-26 10:23:25 +00:00
pierre
4f8fcb7f15 Revert commit 24324 for ncgflow.pas unit to fix win64 cycle
git-svn-id: trunk@24328 -
2013-04-26 09:38:57 +00:00
pierre
4cfc693a63 * Fix win64 math unit compilation
git-svn-id: trunk@24327 -
2013-04-26 09:37:48 +00:00
yury
226fb92d61 * Check for ppudump in the same folder as pas2jni only if there is a path to pas2jni executable is available in ParamStr(0).
git-svn-id: trunk@24326 -
2013-04-26 08:16:54 +00:00
florian
3d7033d81e * Makefiles regenerated
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
florian
0e41df598e * merge i8086 branch by Nikolay Nikolov
git-svn-id: trunk@24324 -
2013-04-25 20:23:51 +00:00
michael
3125b9e6b0 * Better patch from Laco for bug #24274, without relying on try/except
git-svn-id: trunk@24323 -
2013-04-25 18:26:24 +00:00
michael
742b9b5359 * Fixed Bug #24320 with patch as suggested by submitter
git-svn-id: trunk@24322 -
2013-04-25 18:24:08 +00:00
michael
4f69d1046a * Enhanced patch from Michalis Kamburelis (bug 24324)
git-svn-id: trunk@24321 -
2013-04-25 18:15:25 +00:00
reiniero
f05381183a fcl-db/dbase: tentative fix for Visual Foxpro 'B' double
git-svn-id: trunk@24320 -
2013-04-25 14:55:39 +00:00
yury
65a4585012 * By default try to use ppudump from the folder where pas2jni is located.
git-svn-id: trunk@24319 -
2013-04-25 10:32:58 +00:00
yury
3dd976c06f * ppudump: Fixed writing of float values.
git-svn-id: trunk@24318 -
2013-04-25 10:31:45 +00:00
yury
d265e8d3be * ppudump: JSON output of classes.
git-svn-id: trunk@24317 -
2013-04-25 10:03:29 +00:00
yury
7ad68debc9 * ppudump: Work in progress on JSON output. Implemented procedure definition.
git-svn-id: trunk@24316 -
2013-04-25 06:56:38 +00:00
sergei
4b8953c4f9 * When reading XML with namespace processing enabled, create 'level 2' elements and attributes even if their namespaceUri is empty.
* dom.pp: fix bug uncovered by above change. Non-empty prefix cannot be set not only for 'level 1' nodes, but for level 2 nodes with empty namespaceUri, too.
- xmlwrite.pp: workaround for parser behavior no longer necessary, removed.

git-svn-id: trunk@24315 -
2013-04-24 17:30:50 +00:00
joost
68b951daab * fcl-fpcunit depends on libtar, fixes compilation after r24312
git-svn-id: trunk@24314 -
2013-04-23 20:15:36 +00:00
svenbarth
bd7cc36ea6 The documentation says that a "BeginThread" needs to be followed by a "CloseThread". The implementation of TThread did not respect this yet.
Note: The only RTL where this could lead to problems is for BeOS with the old threading implementation as this does not use "BeginThread" at all (the newer implementation does).

rtl/objpas/classes/classes.inc, TThread.Destroy:
  * call "CloseThread" if the thread handle is valid (mimics the logic of the Windows RTL)
rtl/win/tthread.inc, TThread.SysDestroy:
  * remove the call to "CloseHandle"; this is done by "CloseThread" afterwards

git-svn-id: trunk@24313 -
2013-04-23 20:13:07 +00:00
joost
6c1ea83c5a * Created a new package for the libtar unit, which was moved in r24287
git-svn-id: trunk@24312 -
2013-04-23 20:02:29 +00:00
yury
61ac7580b7 * ppudump: Work in progress on JSON output.
git-svn-id: trunk@24311 -
2013-04-23 15:16:34 +00:00
nickysn
349f2868db * fixed intr/msdos bug introduced in r24308
git-svn-id: branches/i8086@24310 -
2013-04-23 12:59:48 +00:00
nickysn
e107eaea28 * a slight optimization in the MsDos routine (mov al instead of ax)
git-svn-id: branches/i8086@24309 -
2013-04-23 12:43:31 +00:00
nickysn
ff5091cfb8 * do not save bx, cx, si and di in the msdos and intr functions, as preserving them isn't required for the pascal calling convention
git-svn-id: branches/i8086@24308 -
2013-04-23 12:37:28 +00:00
Jonas Maebe
307454e3a6 * create all files without locking in order to (hopefully) prevent problems
later on due to lingering locks

git-svn-id: trunk@24307 -
2013-04-23 11:37:51 +00:00
yury
432f5059fc * ppudump:
- Use -Ft and Fj options to set the text and JSON output formats.
  - Get version string from compiler sources.

git-svn-id: trunk@24306 -
2013-04-23 09:49:41 +00:00
sergei
6bb05dbc06 * Initial work to store element/attribute names as "namespaceURI+localname" pairs: remember pointers to reserved namespace URIs and use them for comparison.
git-svn-id: trunk@24305 -
2013-04-23 05:42:25 +00:00
marco
e6dc52bac8 * enable sections smartlinking for *BSD, seems to work nowadays.
git-svn-id: trunk@24304 -
2013-04-22 18:03:28 +00:00
marco
8b411a549c * functionname without () is a recursive call in Miso. Mantis #24309, though
that remains open for the documentation.

git-svn-id: trunk@24303 -
2013-04-22 17:45:14 +00:00
marco
96da57ee95 * Applied patch from Victor Campillo that adds GetLocalTimeOffset support
similar to win32. Mantis #24253

git-svn-id: trunk@24302 -
2013-04-22 15:58:15 +00:00
Jonas Maebe
abc79bc4cf * override tcgraisenode.pass_1 so that the JVM raise support will keep
working after r24288 is merged to trunk

git-svn-id: trunk@24301 -
2013-04-22 14:47:06 +00:00
Jonas Maebe
c4b62f86a1 * renamed ppudump directory introduced by r24298 to ppuutils to fix
compilation on unix platforms (the ppudump binary name conflicted with
    with the directory name)

git-svn-id: trunk@24300 -
2013-04-22 14:37:37 +00:00
yury
85c2d144c5 * ppudump: Started implementation of JSON output. Output of unit header info has been implemented.
git-svn-id: trunk@24299 -
2013-04-22 14:08:53 +00:00
yury
6327854259 * Move ppudump.pp to a sub-folder as preparation for adding JSON output units.
git-svn-id: trunk@24298 -
2013-04-22 11:19:25 +00:00
yury
187153a557 * ppudump: commented unused local vars.
git-svn-id: trunk@24297 -
2013-04-22 10:45:33 +00:00
yury
eca2b52a03 * ppudump: Implemented wrappers for write and writeln in order to be able to turn off default output when JSON output is selected.
git-svn-id: trunk@24296 -
2013-04-22 10:35:11 +00:00
paul
a592e77f35 rtl: add missing windows codepages (mantis #0024294)
git-svn-id: trunk@24295 -
2013-04-22 01:48:12 +00:00
marco
4d9f1629d9 * removed a workaround for pre 2.6.0 fpdocs
git-svn-id: trunk@24294 -
2013-04-21 21:33:10 +00:00
marco
f007dc9711 * two more "getmodule" fixes.
git-svn-id: trunk@24293 -
2013-04-21 20:20:21 +00:00
marco
1df71e5d99 * more dummy declarations for basetypes.
git-svn-id: trunk@24292 -
2013-04-21 19:01:23 +00:00
florian
926dd1b41e * command line compilation of i8086 fixed
git-svn-id: branches/i8086@24291 -
2013-04-21 18:32:09 +00:00
nickysn
5ed1222e64 * changed the default i8086 calling convention to pocall_pascal
git-svn-id: branches/i8086@24290 -
2013-04-21 18:03:36 +00:00
marco
e603d0d93e * fix for shortdescrs. Refmodule was unassigned if the target of the shortdescr was not a module.
git-svn-id: trunk@24289 -
2013-04-21 17:39:48 +00:00
florian
709ba5e053 + introduce cnf_call_never_returns to signal the dfa if a call node never returns
* get rid of  tcgraisenode.pass_generate_code, it is replaced by compiler proc. call nodes generated in pass_1

git-svn-id: branches/i8086@24288 -
2013-04-21 16:53:25 +00:00
joost
c0b5b30ca2 * Moved libtar unit from fcl-base to paszlib package
git-svn-id: trunk@24287 -
2013-04-21 16:22:29 +00:00
reiniero
767261d7ae fcl-db/dbase: codepage refinement and preliminary testcase
git-svn-id: trunk@24286 -
2013-04-21 14:19:00 +00:00