Commit Graph

33465 Commits

Author SHA1 Message Date
sergei
41aeb9a22b * Rework TStream.CopyFrom (see Mantis #17980):
a) Use significantly larger buffer (128k instead of 1k)
b) When Count=0, do not try to determine the source size. Just copy until the source can be read. This should improve performance with limited seek capability sources (e.g. a decompression stream will be decompressed once rather than twice).
c) Use ReadBuffer/WriteBuffer, so an exception is raised when something goes wrong. This conforms to Delphi behavior.

git-svn-id: trunk@16992 -
2011-02-24 03:25:40 +00:00
Legolas
41c946032e * libogc for Wii needs cmem and libc statically linked
git-svn-id: trunk@16991 -
2011-02-23 22:10:19 +00:00
Legolas
4e6953163d * Added lib for Wii (forgot to commit...)
git-svn-id: trunk@16990 -
2011-02-23 22:01:41 +00:00
Legolas
645744bf51 + Added libogc binding and examples for Wii
git-svn-id: trunk@16989 -
2011-02-23 21:59:42 +00:00
joost
83b0940628 * TFieldDef.Size for strings should contain the max. number of bytes in the string, without the trailing zero. Bug #17268
git-svn-id: trunk@16988 -
2011-02-23 21:40:37 +00:00
sergei
884ec3abb3 * Cleanup ParseContent()
- XMLVersion property has been made available in TDOMDocument, removed inheritance check.
* Improved parsing the content model a bit
* Cleanup comments

git-svn-id: trunk@16987 -
2011-02-23 15:55:18 +00:00
Jonas Maebe
a11709658c - removed outdated versions (superceded by the ones under
utils/uikit-skel/src)

git-svn-id: trunk@16986 -
2011-02-23 12:34:35 +00:00
tom_at_work
a8bf34d3fc Correctly return to caller in ARM/Linux shared library startup code instead of fall-through to system exit.
git-svn-id: trunk@16982 -
2011-02-23 09:41:19 +00:00
tom_at_work
56d30e7da0 Set up environment variables and call Pascal initialization in arm/linux shared library initialization
git-svn-id: trunk@16981 -
2011-02-22 22:32:44 +00:00
joost
a3ebc51add * BCD-Variant support is now implemented, use it.
git-svn-id: trunk@16980 -
2011-02-22 21:46:41 +00:00
joost
979fd9b854 * Better fix for r16952 from Ladislav Karrach from bug report 18388
git-svn-id: trunk@16979 -
2011-02-22 21:28:39 +00:00
Jonas Maebe
e8ca4b8b84 - removed icons and aedatamodel units (they're not supported on iOS nor
required for compilation)

git-svn-id: trunk@16978 -
2011-02-22 18:23:38 +00:00
Jonas Maebe
9d033909df * forgot to commit (part of r16923)
git-svn-id: trunk@16977 -
2011-02-22 17:49:12 +00:00
sergei
e46c51e1bf * xmlread.pp: split handling of node and validation stacks. Validation stack is now maintained only in validation mode.
git-svn-id: trunk@16973 -
2011-02-22 13:14:31 +00:00
marco
6c4c151815 * Patch from mantis that fixed a 16-bit integer conversion error.
(Denis Golovan, mantis 18797)

git-svn-id: trunk@16966 -
2011-02-21 21:19:47 +00:00
marco
193eee9622 * gtk2, iconvenc and cairo for Solaris as per Mantis 18271,18786; closes the latter
git-svn-id: trunk@16964 -
2011-02-21 21:12:04 +00:00
Jonas Maebe
11d780e62f * properly update the current enum value ("auto_increment") in case it
is assigned a particular value in the C header

git-svn-id: trunk@16963 -
2011-02-21 19:43:27 +00:00
sergei
9ca12c0377 * xmlread.pp, remove FCursorStack and resort back to a single cursor node. But this time it is simply a local variable.
git-svn-id: trunk@16962 -
2011-02-21 16:11:38 +00:00
joost
547a1b289c * Do not use a buildunit, but build the units directly. To avoid that
logic on which units to use has to be changed on two places

git-svn-id: trunk@16960 -
2011-02-21 09:33:17 +00:00
sergei
8ed16bb3ab * xmlread.pp, continue separating validation checks from the rest of code.
* Fixed reported locations for (hopefully) all namespace-related errors.

git-svn-id: trunk@16959 -
2011-02-21 01:50:49 +00:00
joost
36ec05961f * Do not use TProcess to run the compiler when it is not available
git-svn-id: trunk@16958 -
2011-02-20 22:28:15 +00:00
Tomas Hajny
ecc9deeea3 * NO_UNIT_PROCESS define added for OS/2 and GO32v2 targets
git-svn-id: trunk@16957 -
2011-02-20 22:21:07 +00:00
Tomas Hajny
cc4457db79 + packages fcl-js and hermes added
git-svn-id: trunk@16956 -
2011-02-20 20:48:16 +00:00
Tomas Hajny
67fc9e2e68 * maximum number of packages increased to 40 to avoid overflow for DOS (or need for another page without shortcut), year in copyright increased
git-svn-id: trunk@16955 -
2011-02-20 20:47:01 +00:00
joost
f496f3c795 * Fixed support of TFmtBcd fields for sqlite3, bug #16853
* Cleaned up accidentally comitted files in r16948

git-svn-id: trunk@16954 -
2011-02-20 18:22:06 +00:00
ivost
ef814d4d3e * added ansistring (UTF8String) parser functions (before there was just PChar support)
git-svn-id: trunk@16953 -
2011-02-20 18:14:24 +00:00
joost
7b8797afe7 * Fixed BCDToStr for values between -1 and 0
git-svn-id: trunk@16952 -
2011-02-20 17:59:12 +00:00
joost
e3885089c6 * TryStrToBcd now returns true when it succeeds, and false when it fails, not the other way around
git-svn-id: trunk@16951 -
2011-02-20 17:53:18 +00:00
joost
41342ab54f * Accidentally comitted files, trying to apply patch from Ladislav Karrach to
implement TFmtBCD fields, bug #16853. Has to be cleaned up later

git-svn-id: trunk@16948 -
2011-02-20 12:31:16 +00:00
sergei
6a26b9cff3 * xmlread.pp, started separating validation checks from the rest of code.
git-svn-id: trunk@16946 -
2011-02-20 10:44:25 +00:00
joost
db6bc3bd00 * Replace environment variables placed between dollar signs in fpc.cfg
with the value of the environment variable.

git-svn-id: trunk@16945 -
2011-02-20 00:04:20 +00:00
joost
80ec9bb7bc * Fixed the order in which the httpd-units are searched for. Already fixed for samplecfg in r16722
git-svn-id: trunk@16944 -
2011-02-19 20:32:40 +00:00
joost
9b077ad93b * Also show builtin templates other than the default
git-svn-id: trunk@16943 -
2011-02-19 19:27:52 +00:00
sergei
6ccb769768 * xmlread.pp, the end of root element is now detected without involving DOM nodes.
git-svn-id: trunk@16942 -
2011-02-19 18:14:08 +00:00
marco
88e22be01a * unmerged table based initialization of libraries.
git-svn-id: trunk@16941 -
2011-02-19 17:24:37 +00:00
joost
27b6b908f1 * Fixed problem with spaces in path of add-ins (maybequoted was called twice)
git-svn-id: trunk@16936 -
2011-02-19 10:38:36 +00:00
joost
445dd5fc91 * Show message when downloading package
git-svn-id: trunk@16935 -
2011-02-18 22:03:38 +00:00
joost
8db33f71c7 * Show target when compiling/installing
git-svn-id: trunk@16934 -
2011-02-18 21:17:55 +00:00
joost
04017bd0f3 * Do not show the message that dependencies are being installed in recursive calls
git-svn-id: trunk@16933 -
2011-02-18 20:58:12 +00:00
sergei
58725cdedd * xmlread.pp, handle entity references in streaming style.
* Renamed TXMLCharSource.DTDSubsetType to Kind and changed its definition to reflect its purpose better.

git-svn-id: trunk@16932 -
2011-02-18 15:27:35 +00:00
joost
e5b156f29a * When a add-in is installed, add it to the fpmake dependencies list, so that packages
depending on it can be installed in one go.

git-svn-id: trunk@16931 -
2011-02-17 17:03:18 +00:00
joost
06fb7437d9 * Use macro in default LocalRepository setting
* When no FPCDIR env. variable is set, do not clear the GlobalInstallDir

git-svn-id: trunk@16930 -
2011-02-17 13:12:26 +00:00
joost
5df80040ce * Solved issues setting the default GlobalPrefix and GlobalInstallDir
git-svn-id: trunk@16929 -
2011-02-17 12:17:31 +00:00
joost
45f6cc6567 * Do now show newlines in listsettings
git-svn-id: trunk@16928 -
2011-02-17 11:25:06 +00:00
joost
496a232570 * Use macros instead of code to resolve Global-and Local-InstallDir
* Added CompilerVersion macro

git-svn-id: trunk@16927 -
2011-02-17 09:57:42 +00:00
joost
83d224e61c * Alined settings output
git-svn-id: trunk@16926 -
2011-02-16 20:53:23 +00:00
joost
fa58935cfe * Added command listsettings to values for all settings
git-svn-id: trunk@16925 -
2011-02-16 20:44:56 +00:00
Jonas Maebe
06ae2896ea * reparsed with latest script version, which adds "optional" sections to
protocols where required

git-svn-id: trunk@16924 -
2011-02-16 18:48:22 +00:00
Jonas Maebe
b3ee4ea4eb + support for parsing docsets to add documentation to the parsed headers
* re-enabled support for ignoring certain methods, but removed all ignored
    methods because all of them are handled correctly with the current version
  - disabled adding the script version and time stamp to the generated headers,
    so not all headers change every time they are re-parsed
  + support for optional/required sections in protocols
  + documentation from Ryan

git-svn-id: trunk@16923 -
2011-02-16 18:46:26 +00:00
Jonas Maebe
bbe5b792af - removed version header/timestamp to prevent all files from changing every
time they are parsed

git-svn-id: trunk@16922 -
2011-02-16 18:34:01 +00:00