Commit Graph

29876 Commits

Author SHA1 Message Date
Jonas Maebe
1a1fc1357d * honour the specified stack size when creating new threads on unix
platforms + test (mantis #12942)

git-svn-id: trunk@12527 -
2009-01-08 18:37:24 +00:00
Jonas Maebe
5a88be1030 * set default stack size to 4 MiB instead of to 32 KiB
git-svn-id: trunk@12526 -
2009-01-08 18:08:32 +00:00
Jonas Maebe
b7d461d0f0 * fixed generic stack checking code (the stack pointer is already decreased
before FPC_STACKCHECK is called, so don't subtract the allocated size
    again when checking)

git-svn-id: trunk@12525 -
2009-01-08 18:05:11 +00:00
Jonas Maebe
75cbf8cacd * changed default stack sizes that were still 256 KiB into 8 MiB
git-svn-id: trunk@12524 -
2009-01-08 17:13:49 +00:00
ivost
8a7a611086 * added more libxml2 xsd helper functions
git-svn-id: trunk@12523 -
2009-01-06 22:46:00 +00:00
joost
cb2f3d744d * TFieldDef.Create must be defined as override instead of overload so that in case of loading from stream the right constructor is called
git-svn-id: trunk@12522 -
2009-01-06 21:57:10 +00:00
ivost
9cd16a4801 * fixed bug in libxml2 headers. xmlXPathCompiledEval returned wrong type.
git-svn-id: trunk@12521 -
2009-01-06 16:37:59 +00:00
ivost
c1d518f27c * removed some obsolete functions, fixed parser functions
git-svn-id: trunk@12520 -
2009-01-06 14:51:55 +00:00
ivost
1d052e3639 * extended xsd helper functions for libxml2
git-svn-id: trunk@12519 -
2009-01-06 14:16:40 +00:00
ivost
66fe1dd465 * fixed typo (windows part only)
git-svn-id: trunk@12518 -
2009-01-05 23:58:58 +00:00
ivost
33ae673041 * new translation of libgd headers, including windows support. because of some ABI changes, I didn't delete the old gd.pp header file. The new one is called libgd.pas
git-svn-id: trunk@12517 -
2009-01-05 23:44:25 +00:00
Jonas Maebe
6c7d64620c * enabled opengles package for darwin/i386, it works fine under the
iPhone simulator

git-svn-id: trunk@12516 -
2009-01-05 20:58:46 +00:00
joost
d844200495 * On TDataset.Edit exit the method when the state is dsEdit or dsInsert before CheckBrowseMode is called, because CheckBrowseMode will always set the state to dsBrowse. (+test)
git-svn-id: trunk@12515 -
2009-01-05 20:46:14 +00:00
joost
f722533e9a * Removed totally useless "try .. except raise end" block
git-svn-id: trunk@12514 -
2009-01-05 13:08:13 +00:00
joost
11015eb6ad * Changed SQLParser in a function which returns the obtained statement-type instead of setting the statementtype of the cursor directly, second part of r12512
git-svn-id: trunk@12513 -
2009-01-05 13:01:44 +00:00
joost
d6903a4bb6 * Moved some code to avoid problems while handling exceptions
git-svn-id: trunk@12512 -
2009-01-05 12:43:27 +00:00
joost
8922c3e310 * Check for an empty statement before the cursor is allocated so that the right error message is shown. (+test which was committed partly in r12510 already)
git-svn-id: trunk@12511 -
2009-01-05 12:23:54 +00:00
joost
3657380e77 * Fixed TestBlobSize test
git-svn-id: trunk@12510 -
2009-01-05 12:10:58 +00:00
joost
0899d13e3a * Fixed TestBlobSize test
git-svn-id: trunk@12509 -
2009-01-05 12:03:57 +00:00
joost
8e61594c9a * Added xmldatapacketreader to makefile
git-svn-id: trunk@12508 -
2009-01-04 22:03:24 +00:00
joost
b844e3841c * Added tests to test insertions after all records are deleted
git-svn-id: trunk@12507 -
2009-01-04 21:48:57 +00:00
Jonas Maebe
0aac3a7aaa + Makefile for the examples
git-svn-id: trunk@12506 -
2009-01-04 13:26:29 +00:00
joost
66dfc61eaa * Placed fftw_getmem and fftw_freemem in interface section
* Removed dependency on libraries that are not directly called 
 * Fixed compilation of example (part of bug #12881)

git-svn-id: trunk@12505 -
2009-01-04 12:41:56 +00:00
joost
047730fd5e * Use GetBlobSize to obtain the value of the BlobSize property + test (bug 12888)
git-svn-id: trunk@12504 -
2009-01-04 12:11:25 +00:00
ivost
f331278865 * revised oggvorbis package (vorbis headers)
git-svn-id: trunk@12503 -
2009-01-04 10:16:37 +00:00
ivost
f48cef82e8 * revised dts package (libdts headers)
git-svn-id: trunk@12502 -
2009-01-04 10:06:58 +00:00
ivost
98102f8b74 * revised a52 package (liba52 headers)
git-svn-id: trunk@12501 -
2009-01-04 10:05:04 +00:00
ivost
907427f2e5 * revised mad package (libmad headers)
git-svn-id: trunk@12500 -
2009-01-04 09:59:54 +00:00
ivost
cb8c685785 * added my name to libxml2 header files (better for bug reports)
git-svn-id: trunk@12499 -
2009-01-04 01:52:44 +00:00
joost
e757212b86 * While reading in the configuration file, handle select-options case-insensitive, so that -Tlinux is correctly recognized
git-svn-id: trunk@12496 -
2009-01-03 22:36:09 +00:00
joost
96e141ffc6 * Instead of using a hardcoded SystemIDEDir first try to generate it from the startup-path
git-svn-id: trunk@12492 -
2009-01-03 18:04:32 +00:00
joost
73f31da836 * Use a single = to compare string values
git-svn-id: trunk@12490 -
2009-01-03 17:27:47 +00:00
joost
c5d776651e * When RemoteRepository is "auto" download a list of mirrors, not the other way around
git-svn-id: trunk@12487 -
2009-01-03 15:26:56 +00:00
Jonas Maebe
7da5ba5b4d + OpenGL ES 1.1 header translation + test library (needs to be linked into
a test program specific to the platform, as there is no glu/glut for
    embedded systems)
  - disabled X11-based packages for darwin/arm

git-svn-id: trunk@12486 -
2009-01-03 14:49:05 +00:00
Károly Balogh
446e2161ce + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed.
+ Forced PathConv argument to ShortString. Made a note about implementing AnsiString-aware PathConv later.
+ Made code to use the unified PathConv import (named Unix2AmigaPath(), which explains its functionality better).
+ The above changes fixed various compiler crashes in TAsmScriptAmiga, caused by invoking PathConv with AnsiString arguments, while it only supports ShortString

git-svn-id: trunk@12485 -
2009-01-03 14:34:59 +00:00
Jonas Maebe
328db69c24 * version of glutdemo that uses vertex arrays instead of immediate mode
git-svn-id: trunk@12481 -
2009-01-03 14:03:23 +00:00
joost
e60623bd33 * While parsing a string to abtain a version number the default build-number is set to 1. A value of 0 indicate that it is a pre-release like a release candidate. 2.2.4rcX will become 2.2.4-0 and 2.2.4 translates as 2.2.4-1
git-svn-id: trunk@12480 -
2009-01-03 12:43:40 +00:00
Károly Balogh
f1b27498c3 + added initial support for the VASM assembler of VBCC fame (http://sun.hasenbraten.de/vbcc/),
because it is faster and more system conform on Amigaish systems (like MorphOS, AmigaOS4 and more) than GNU AS.
  btw, these are the same reasons why FPC/MOS use VLink instead of GNU LD...
+ simple programs compile with it, compiler doesn't work yet. (i'm in touch with VASM maintainer to address some issues)
+ TODO: add a command line switch to turn it on from command line.

git-svn-id: trunk@12479 -
2009-01-02 22:05:05 +00:00
joost
d97232c2b1 * Use version number without rc-suffix in the fp base dir
git-svn-id: trunk@12476 -
2009-01-02 20:54:13 +00:00
Jonas Maebe
bb9e962490 * fixed procvar parameter passing on ppc/sysv (by value instead of by
reference -- except for method procvars, for tmethod record compatibility)
  * adapted tw11563 for corrected calling convention

git-svn-id: trunk@12475 -
2009-01-02 15:36:27 +00:00
joost
5ef8122b16 * Removed Oppentium3 compiler flag from default ide configuration files because the flag is not valid on all platforms
git-svn-id: trunk@12468 -
2009-01-02 10:36:42 +00:00
joost
c031a1fcde * If the local-configuration directory is used and does not exist, attempt to create it
* Removed a hard-coded reference to the fpcdir

git-svn-id: trunk@12465 -
2009-01-01 23:46:43 +00:00
Jonas Maebe
22aacd2a60 * return 0 for length(pchar(0)), like Kylix does (using corrected and
multi-platform version of patch in r12461, which caused the i386 version
    of fpc_pchar_length to return 0 in all cases, which used tabs, and did
    not include a test case)

git-svn-id: trunk@12464 -
2009-01-01 22:02:17 +00:00
ivost
8046f82416 * Undoing change commited in r12461, it looks like a feature and not a bug ;)
git-svn-id: trunk@12463 -
2009-01-01 21:45:42 +00:00
joost
c9b5621675 * ExistsDir must also find hidden directories, so that the local configuration files are found
git-svn-id: trunk@12462 -
2009-01-01 21:34:41 +00:00
ivost
fe3263eb08 * i386 version of fpc_pchar_length did not accept NIL strings, maybe we have to check other implementations also
git-svn-id: trunk@12461 -
2009-01-01 21:18:49 +00:00
joost
660a7c4b6d * Load the local mirrors before an update is tried if it is a new installation or else the update will always fail
git-svn-id: trunk@12459 -
2009-01-01 12:09:19 +00:00
florian
2083396fbc * patch to implement MaskDoFormatText by Paul Ishenin
git-svn-id: trunk@12458 -
2008-12-30 10:03:29 +00:00
Tomas Hajny
4e2676ca13 + samplecfg able to create default configuration for IDE now
git-svn-id: trunk@12457 -
2008-12-30 02:05:07 +00:00
joost
b4616d43c1 * PackageAvailableVersionStr should use the AvailableRepository instead of InstalledRepository
git-svn-id: trunk@12456 -
2008-12-29 23:07:55 +00:00