Commit Graph

32454 Commits

Author SHA1 Message Date
marco
b10b49efda * patch from Dmitry for "file of integer" like syntax, mantis 16673
git-svn-id: trunk@15729 -
2010-08-06 16:29:31 +00:00
marco
2e8b8fa54e * fix deprecated etc for properties. Mantis 16672
git-svn-id: trunk@15728 -
2010-08-06 15:53:09 +00:00
marco
a78a3f1171 * patch for ^\ by Dmitry, bug #16341
git-svn-id: trunk@15727 -
2010-08-06 14:09:53 +00:00
marco
a39525f341 * patch from Dmitry for bug #16342, slightly extended by me.
Fixes const node deprecated problems from that bugreport.

git-svn-id: trunk@15726 -
2010-08-06 13:58:45 +00:00
marco
737d373be3 * Patch from Dmitry for #$ef#$ab styled literals. Mantis 17110
git-svn-id: trunk@15725 -
2010-08-06 13:31:17 +00:00
florian
6f07880614 * updated copyright notice to 2010
git-svn-id: trunk@15724 -
2010-08-06 11:23:43 +00:00
florian
683ac0ea45 * taking the address of an absolute var sym with constant address evaluates into a const. pointer, resolves #17118
git-svn-id: trunk@15723 -
2010-08-06 11:09:45 +00:00
michael
aa681f5e11 * Parse cookies after initializing request variables
git-svn-id: trunk@15722 -
2010-08-06 09:07:44 +00:00
michael
ab49610156 * Switch off debug define
git-svn-id: trunk@15721 -
2010-08-06 09:07:12 +00:00
michael
cfb06bc681 * Correct check for Session in checksession, and do not create same session cookie twice
git-svn-id: trunk@15720 -
2010-08-06 09:06:44 +00:00
michael
67822209c4 * Null values should be sent as NULL in json
git-svn-id: trunk@15719 -
2010-08-06 09:04:40 +00:00
sergei
f39e793448 * Moved TWideCharBuf and associated functions from xmlread.pp to xmlutils.pp, so this stuff can be reused by other code.
git-svn-id: trunk@15718 -
2010-08-06 08:00:45 +00:00
sergei
e1eec8c687 - xmlread.pp, removed redundant 'var' modifiers from TStream arguments of less common used functions. This should have been done a long ago, as part of r11788.
git-svn-id: trunk@15717 -
2010-08-06 07:44:51 +00:00
florian
7acdfa8932 - removed overseen overleft from iso goto implementation experiments
git-svn-id: trunk@15716 -
2010-08-06 07:42:34 +00:00
marco
38fb33f09a * fix for mantis 17083, change funcdesc field to ptr to array of hresult
instead of just ptr to scode.

git-svn-id: trunk@15715 -
2010-08-06 03:12:52 +00:00
michael
6e68edac21 * Support for design-time parameters
git-svn-id: trunk@15714 -
2010-08-05 21:47:47 +00:00
florian
bacd6fb71b * disable reg. vars in subroutines with interprocedural used labels
git-svn-id: trunk@15713 -
2010-08-05 20:23:48 +00:00
florian
ad23569cf1 * renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto
* moved inclusion of pi_has_label to tlabelnode.pass_1

git-svn-id: trunk@15712 -
2010-08-05 19:22:12 +00:00
florian
24fea58b92 + initial implementation of iso style gotos in iso mode
* made setjmp/longjmp accessible to the compiler by compiler proc, they are used by the iso goto code

git-svn-id: trunk@15711 -
2010-08-05 19:20:46 +00:00
florian
5d01b7b504 + tests for iso like goto
git-svn-id: trunk@15710 -
2010-08-05 19:16:09 +00:00
florian
0712dbe25d * white space fixes
git-svn-id: trunk@15709 -
2010-08-05 19:11:25 +00:00
florian
afc7c37ffe + constant for file init info
git-svn-id: trunk@15708 -
2010-08-05 19:10:34 +00:00
Jonas Maebe
ab2b596575 * ld uses arm_wince_pe rather than arm-wince-pe (mantis #15666)
git-svn-id: trunk@15707 -
2010-08-04 19:01:46 +00:00
florian
9e053edf2e * fix iso i/o with unix style line feeds
git-svn-id: trunk@15706 -
2010-08-03 21:43:36 +00:00
marco
348301c511 * fixed most remaining "deprecated" problems for procedure/methods and class blocks
(mantis 16342), only CONST x= 1 deprecated; remaining from this bugreport.

git-svn-id: trunk@15705 -
2010-08-03 20:51:04 +00:00
marco
5dde3abcdc * fix hint parsing after UNIT token.
git-svn-id: trunk@15704 -
2010-08-03 19:43:53 +00:00
marco
bea7ff9971 * check hints at end of class.
git-svn-id: trunk@15703 -
2010-08-03 19:30:43 +00:00
pierre
1fcd37809b * Fix compilation for go32v2
git-svn-id: trunk@15700 -
2010-08-03 11:42:40 +00:00
michael
ea72abc6a5 * Fixed never-ending CGI scripts
git-svn-id: trunk@15698 -
2010-08-03 08:39:55 +00:00
michael
62adc74dc4 * Bugfix for case of more than one handler classname
git-svn-id: trunk@15696 -
2010-08-03 07:57:20 +00:00
Jonas Maebe
d948ed083d * enabled nested procvars by default for ISO Pascal mode
git-svn-id: trunk@15695 -
2010-08-02 22:21:53 +00:00
Jonas Maebe
57bd6d2685 + merged nestedprocvars branch
+ support for nested procedural variables:
    o activate using {$modeswitch nestedprocvars} (compatible with all
      regular syntax modes, enabled by default for MacPas mode)
    o activating this mode switch changes the way the frame pointer is
      passed to nested routines into the same way that Delphi uses (always
      passed via the stack, and if necessary removed from the stack by
      the caller) -- Todo: possibly also allow using this parameter
      passing convention without enabling nested procvars, maybe even
      by default in Delphi mode, see mantis #9432
    o both global and nested routines can be passed to/assigned to a
      nested procvar (and called via them). Note that converting global
      *procvars* to nested procvars is intentionally not supported, so
      that this functionality can also be implemented via compile-time
      generated trampolines if necessary (e.g. for LLVM or CIL backends
      as long as they don't support the aforementioned parameter passing
      convention)
    o a nested procvar can both be declared using a Mac/ISO Pascal style
      "inline" type declaration as a parameter type, or as a stand-alone
      type (in the latter case, add "is nested" at the end in analogy to
      "of object" for method pointers -- note that using variables of
      such a type is dangerous, because if you call them once the enclosing
      stack frame no longer exists on the stack, the results are
      undefined; this is however allowed for Metaware Pascal compatibility)

git-svn-id: trunk@15694 -
2010-08-02 22:20:36 +00:00
marco
1181115baa * getlocalformatsettings, Mantis 10389
git-svn-id: trunk@15691 -
2010-08-02 20:32:50 +00:00
florian
591dbb66df * ignore leading 0's in labels in iso mode
git-svn-id: trunk@15690 -
2010-08-02 19:36:50 +00:00
florian
85225d437e + additional goto test
git-svn-id: trunk@15689 -
2010-08-02 19:35:44 +00:00
Jonas Maebe
56f8b88125 * also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
on Windows after r15618 (not sure why things worked fine elsewhere)

git-svn-id: trunk@15688 -
2010-08-02 14:08:21 +00:00
marco
281f0f2a8c * mixed patches from Dmitry B, that fix the doc generation it seems.
git-svn-id: trunk@15687 -
2010-08-01 18:38:55 +00:00
blikblum
50861d26ab * Do not change SQL property value internally. Use instead a separated field (FEffectiveSQL)
git-svn-id: trunk@15686 -
2010-08-01 14:13:51 +00:00
florian
79fa2eb539 * support of iso pascal like i/o in iso mode
git-svn-id: trunk@15685 -
2010-07-31 20:46:27 +00:00
florian
c506913e9b * iso conformant writing of floats (using e instead of E) in iso mode
git-svn-id: trunk@15684 -
2010-07-31 20:45:55 +00:00
florian
2d042aca6b + system unit depends on compproc.inc
git-svn-id: trunk@15683 -
2010-07-31 20:45:00 +00:00
florian
8b3bd36ef0 * use iso reset/rewrite with automatic assignmentin iso mode
git-svn-id: trunk@15682 -
2010-07-31 20:44:32 +00:00
florian
67416e958b * initialize file variables in iso mode
git-svn-id: trunk@15681 -
2010-07-31 20:43:37 +00:00
florian
73d788ff96 + iso7195 unit
git-svn-id: trunk@15680 -
2010-07-31 20:42:52 +00:00
florian
aa05cf8b1a + allow packed file of ...
+ allow @ to declare a pointer in iso mode

git-svn-id: trunk@15679 -
2010-07-31 20:42:06 +00:00
florian
d0ea23f39e * write false/true lower case in iso mode
git-svn-id: trunk@15678 -
2010-07-31 20:40:43 +00:00
florian
ced4f95c56 + introduce iso mode
git-svn-id: trunk@15677 -
2010-07-31 20:38:42 +00:00
marco
443b4ad8dc * misc patches from mantis 17058, which fixes 70% of the fpdoc errors.
git-svn-id: trunk@15676 -
2010-07-31 19:28:46 +00:00
marco
15efa8152b * Patch from Nikolay adding a hline variant for VESA modes. Mantis 17073
git-svn-id: trunk@15675 -
2010-07-31 18:57:10 +00:00
marco
54758c85d8 * SmsSendMessage's 2nd parameter changed to pointer, mantis 14605
git-svn-id: trunk@15674 -
2010-07-31 07:43:34 +00:00