Commit Graph

40195 Commits

Author SHA1 Message Date
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
marco
4f10db2686 * some dummy types for basetypes to avoid warnings. Probably their
lemma's should refer to the reference guide.

git-svn-id: trunk@24285 -
2013-04-21 13:55:29 +00:00
nickysn
57777945a8 * fixed bug in thlcgobj.g_array_rtti_helper introduced in the previous commit
git-svn-id: branches/i8086@24284 -
2013-04-21 13:34:49 +00:00
reiniero
967319eb69 *fcl-db/dbase: fix for FoxPro proper codepage when creating dbfs
git-svn-id: trunk@24283 -
2013-04-21 13:29:54 +00:00
nickysn
a5c5b05362 * initial support for system procs that use calling conventions that push left to right on i8086 or i386
git-svn-id: branches/i8086@24282 -
2013-04-21 13:26:12 +00:00
nickysn
5caadbbc40 + added method tabstractprocdef.is_pushleftright that exists on all platforms and returns whether parameters must be loaded left to right
git-svn-id: branches/i8086@24281 -
2013-04-21 09:49:34 +00:00
sergei
20ed97a1e2 + UriParser.pp: Consider 'port' part present in authority only if colon is followed by all digits. Mantis #24302.
git-svn-id: trunk@24280 -
2013-04-21 08:12:49 +00:00
reiniero
3e2cedaf59 fcl-db/dbase: cosmetic: reorganize struct comments so they show up browsing code
git-svn-id: trunk@24279 -
2013-04-21 06:24:13 +00:00
marco
183d9ebfe1 * more inheritsfrom fixes. This time for the inheritance pages.
(    [properties (by name)] etc )

git-svn-id: trunk@24278 -
2013-04-20 22:27:06 +00:00
marco
3acd49ddbc * fixed a bug in resolving external references for classtree and whatever else
uses findelement.
   
   A reference was checked against TPasModule with "=", ruling out descendants
   like TPasExternalModule. All "content" (.xct) symbols are in externalmodules

git-svn-id: trunk@24277 -
2013-04-20 20:53:59 +00:00
marco
b2f861420c * Various small changes. LCL compiles again, but is 10% smaller.
tree inheritance still not fully linked.

git-svn-id: trunk@24276 -
2013-04-20 15:31:56 +00:00
marco
dfc89a35a7 * work arounds the worst of the classtree bugs. LCL now compiles.
git-svn-id: trunk@24275 -
2013-04-20 12:46:50 +00:00
marco
3cc61e6195 * Added some fileexists() near places where a stream was opened, but
relied on the exception mechanism to handle file not found.
   Makes debugging easier.

git-svn-id: trunk@24274 -
2013-04-20 12:01:42 +00:00
marco
b27e03346b * don't crash on inclusion of fpmake.pp
git-svn-id: trunk@24273 -
2013-04-19 23:50:43 +00:00
nickysn
51d61cc593 * define the i8086 default calling convention separately from the other x86 architectures
git-svn-id: branches/i8086@24272 -
2013-04-19 23:30:53 +00:00
florian
f3ef5a1f9c + jvm lazarus project file
git-svn-id: trunk@24271 -
2013-04-19 16:50:55 +00:00
sergei
d54d38b4ab * Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas.
This improves compiling speed a bit (two iterations over symtables replaced by one, code generator is created once per unit rather than once per class).
In perspective it makes possible to reduce amount of generated smartlink sections and global labels.

git-svn-id: trunk@24269 -
2013-04-19 13:31:27 +00:00
reiniero
4ee7ea2ea3 fcl-db/dbase: Hide Visual Foxpro _NULLFLAGS from user.
git-svn-id: trunk@24268 -
2013-04-19 08:14:27 +00:00
reiniero
fa49e07a8e fcl
git-svn-id: trunk@24267 -
2013-04-19 08:04:12 +00:00
michael
e4b3e9e9f2 * Preserve data type for null params if it is set
git-svn-id: trunk@24266 -
2013-04-18 10:35:56 +00:00
michael
cebb362c75 * Enable NULL values in prepared statements
git-svn-id: trunk@24265 -
2013-04-18 08:56:57 +00:00