Commit Graph

1560 Commits

Author SHA1 Message Date
yury
a934312e4f * pas2jni: Minor fix to exe extension.
git-svn-id: trunk@33436 -
2016-04-07 13:17:46 +00:00
yury
288f7285a3 * pas2jni: Fixed exit code.
git-svn-id: trunk@33435 -
2016-04-07 13:08:47 +00:00
michael
4ed0c07ea3 * Fix bug #29772
git-svn-id: trunk@33151 -
2016-03-05 13:41:26 +00:00
yury
111595dcd9 * pas2jni: Fixed procedure parameters parsing in some cases.
git-svn-id: trunk@33083 -
2016-02-10 16:28:41 +00:00
yury
a02da7c7d2 * pas2jni: Fixed handling of method pointers.
git-svn-id: trunk@33072 -
2016-02-08 18:52:32 +00:00
michael
c5a44f7487 * Fix bug #29465: Correct declaration of array properties
git-svn-id: trunk@33061 -
2016-02-06 14:45:25 +00:00
pierre
315ce0447b Fix compilation with range check on by redefining tat array in ClearComments procedure
git-svn-id: trunk@33015 -
2016-01-28 17:14:11 +00:00
yury
3597519087 * pas2jni: Fixed handling of global procvars.
git-svn-id: trunk@33005 -
2016-01-25 15:43:12 +00:00
michael
288aa63a67 * Help for latex backend
git-svn-id: trunk@32897 -
2016-01-09 17:55:44 +00:00
michael
65976e4db3 * Added option to split lines
git-svn-id: trunk@32896 -
2016-01-09 17:47:04 +00:00
michael
a87e83e9b7 * Fix selection of package
git-svn-id: trunk@32895 -
2016-01-09 17:46:24 +00:00
michael
1906217491 * Fix default values (bug ID 27996)
git-svn-id: trunk@32809 -
2015-12-31 14:44:01 +00:00
michael
3509a247d4 * Add ability to set Message Buffer size
git-svn-id: trunk@32756 -
2015-12-27 10:53:55 +00:00
michael
dda3f60df5 * Applied patch from Andrew H. to make XML format more verbose
git-svn-id: trunk@32751 -
2015-12-27 09:50:01 +00:00
yury
98ebcdc179 * pas2jni: Minor optimizations.
git-svn-id: trunk@32747 -
2015-12-26 21:55:32 +00:00
yury
95f933049a * pas2jni: Fixed memory leaks.
git-svn-id: trunk@32744 -
2015-12-26 20:48:15 +00:00
yury
f838251662 * pas2jni: Added TDateTime Java support class.
git-svn-id: trunk@32733 -
2015-12-26 19:52:03 +00:00
michael
143acd2497 * Patch from Mattias Gaertner to check for name when adding elements
git-svn-id: trunk@32728 -
2015-12-26 16:01:43 +00:00
yury
2248805082 * pas2jni: Fixed ref counting of method pointers.
git-svn-id: trunk@32669 -
2015-12-15 14:03:25 +00:00
yury
6bd2b2d41b * pas2jni: Fixed handling of pointers.
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
yury
f6b99c5d6a * pas2jni: Typecast interface to pointer.
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28 * pas2jni: Fixed exclusion.
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
yury
df59776ff8 * pas2jni: Fixed type cast for null.
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e * pas2jni: Fixed handling of array type properties.
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
yury
9d93c6f953 * pas2jni: Properly exclude whole units.
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
yury
894e61f6bd * pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
yury
0e056ece03 * pas2jni: Basic support for arrays.
git-svn-id: trunk@32578 -
2015-12-04 14:50:15 +00:00
yury
d973c1c0c9 * pas2jni: Support for interfaces.
git-svn-id: trunk@32563 -
2015-12-01 16:04:15 +00:00
yury
3c32f814de * pas2jni: Fixed memory leaks when using method pointers.
git-svn-id: trunk@32561 -
2015-12-01 14:22:31 +00:00
yury
cddbe1b83d * pas2jni:
- Support for objects.
  - Support for pointers to records,objects,classes.
  - Fixed memory leaks when using records.
  - Added handy enum constructors.

git-svn-id: trunk@32560 -
2015-12-01 11:56:29 +00:00
yury
3e894e592d * pas2jni: Fixed code generation for i386 targets.
git-svn-id: trunk@32539 -
2015-11-26 19:21:04 +00:00
michael
c5495cb49c * Examples
git-svn-id: trunk@32376 -
2015-11-20 11:34:44 +00:00
michael
a192c54e7d * Basedir support
git-svn-id: trunk@32374 -
2015-11-20 11:26:58 +00:00
michael
2af4cd9a4e * Added missing tree classes
git-svn-id: trunk@32360 -
2015-11-19 08:52:39 +00:00
michael
b86ef67a54 * Resolved conflict with none in TStringSplitoptions
git-svn-id: trunk@32264 -
2015-11-07 10:08:28 +00:00
joost
18b66865ac * Added fppkg option to gather info on a package
git-svn-id: trunk@32224 -
2015-11-03 20:53:34 +00:00
yury
9193954d1c * pas2jni: Detect the default units path.
git-svn-id: trunk@32084 -
2015-10-17 20:36:29 +00:00
yury
ab4c8623ec * pas2jni: Fixed reading of the ppudump's output in some cases.
git-svn-id: trunk@32083 -
2015-10-17 18:40:21 +00:00
joost
57204b2404 * Fixed fppkg --config-file option
git-svn-id: trunk@32071 -
2015-10-17 13:39:29 +00:00
Jonas Maebe
e8f2f23444 * mention support for .rsj extension in help text (based on patch by
Jani Matyas, mantis #28768)

git-svn-id: trunk@31909 -
2015-10-02 08:20:18 +00:00
Jonas Maebe
05bf826342 + support UTF-8 in ascii2unicode(), this fixes the UTF-16 output of
resourcestring data .rsj files in case the source file is interpreted as
    UTF-8. Previously, the individual UTF-8 bytes were each stored in a
    separate widechar in the Json file (mantis #28717)

  * due to the fact that rstconv didn't use the cwstring unit on Unix, rstconv
    until now just concatenated the bytes stored in the widechars of the Json
    file on those platforms, i.e., the strings put in the resource file were
    byte for byte equal to what was in the source file. On Windows, these bytes
    were interpreted as individual widechars, converted to the
    DefaultSystemCodePage and then written. This means that for anything but
    ISO-8859-1 (where every widechar from #0000 to #0255 maps to #0 to #255),
    the output got corrupted.

    In order to keep compatibility with the old behaviour whereby rstconv wrote
    the resource strings using the same encoding as in the source file (except
    if the data got completely corrupted, in which case compatibility is
    useless), we now store all resourcestrings twice in the .rsj file: once as
    the exact byte sequence from the source file, and once (properly) encoded
    in UTF-16.

    By default, rstconv will use the byte string and just write that one to the
    resource file. Additionally, there is a new -p option that accepts a code
    page name (see rstconv -h for the list of supported names), which can be
    used to make rstconv use the UTF-16 version and convert that to the desired
    code page (as long as the system on which rstconv runs supports that
    codepage).

    And this also finally resolves mantis #6477.

git-svn-id: trunk@31881 -
2015-09-28 22:14:56 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
nickysn
fb0f606793 * update revision.inc
git-svn-id: trunk@31524 -
2015-09-05 10:52:13 +00:00
nickysn
b8b90f96a1 + added the win16 target to fpcmake
git-svn-id: trunk@31523 -
2015-09-05 10:15:10 +00:00
yury
130eba51ee * pas2jni: Fixed code generation in case of duplicate method names in a class hierarchy.
git-svn-id: trunk@31463 -
2015-08-31 12:24:48 +00:00
Jonas Maebe
cd83bc35b6 * protect the -FM switch with "#ifndef VER2", to ensure that fpc.cfg can
be shared between FPC 2.x and FPC 3.x+

git-svn-id: trunk@31453 -
2015-08-29 15:54:25 +00:00
nickysn
5900a7f3db * updated revision.inc
git-svn-id: trunk@31418 -
2015-08-25 11:17:11 +00:00
Jonas Maebe
e015643f5e * don't use cross-binutils prefix when targeting the JVM
git-svn-id: trunk@31372 -
2015-08-23 15:27:15 +00:00
michael
cb05e1dbf4 * Fix working of fpdocclasstree in case of multiple files
git-svn-id: trunk@31367 -
2015-08-22 13:49:25 +00:00