Commit Graph

39743 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
reiniero
1b942b52d4 * fcl-db/dbase: fix for dbf_common Memscan fixes DBase3 memo issues. Thanks to J.G. Johansen
git-svn-id: trunk@24264 -
2013-04-18 06:20:28 +00:00
florian
f97cd6997c * more safe put implementation
git-svn-id: trunk@24263 -
2013-04-17 20:15:16 +00:00
sergei
9dc5b07a68 * COFF: fixed setting section flags. Content type and access bits must be set for non-loadable sections as well.
* Changed .reloc sections to be non-loadable, all Windows DLLs have it that way (and ld produces the same as well).

git-svn-id: trunk@24262 -
2013-04-17 19:51:38 +00:00
sergei
5e7e9bd4dc * Disabled test for win64: it cannot link or even assemble correctly on this target because COFF uses 32-bit fields for section sizes/RVAs. Internal assembler ignoring this fact is a separate issue to fix.
git-svn-id: trunk@24261 -
2013-04-17 17:09:54 +00:00
florian
e1233e0111 * asizeint => longint, it is unlikely that an variant record well ever have more than 2^31 branches
git-svn-id: trunk@24260 -
2013-04-16 16:49:42 +00:00
Jonas Maebe
9023148bb1 * fixed compilation of JVM rtls after r24188 (there is no JMP_BUF type
on that platform)

git-svn-id: trunk@24259 -
2013-04-16 10:08:58 +00:00