Commit Graph

32757 Commits

Author SHA1 Message Date
sergei
cc82844a9d * xmlread.pp: refactoring, no function chages:
* Renamed ParseElement to ParseStartTag to reflect its actual functionality
  * Changed ParseQuantity into function returning a enumeration type
  * Simplified TXMLDecodingSource.NewLine
  * Changed the main loop (ParseContent) so that multiple calls to DoText() are replaced by a single call.
  - Removed "if FCDSectinsAsText" branch in DoCDSect. It is obsolete since this case is handled in ParseContent.

git-svn-id: trunk@15975 -
2010-09-13 16:07:50 +00:00
sergei
06c1413fb0 * xmlread.pp, a misplaced assignment could cause a #13 character to pass non-normalized to #10 if it was the last character in input stream.
git-svn-id: trunk@15974 -
2010-09-13 07:07:53 +00:00
nickysn
88b80c9b57 * always set both IntCurrentDriver and IntCurrentNewDriver to the correct old & new style driver numbers
git-svn-id: trunk@15973 -
2010-09-12 17:05:44 +00:00
Jonas Maebe
f0114a8d4e - removed unused variable after r15918
git-svn-id: trunk@15972 -
2010-09-12 16:05:03 +00:00
Jonas Maebe
c43fda1fe1 * enabled maybe_call_procvar() also for macpas mode (calls procvars that
don't have any parameters in most expressions, rather than using them
    as the procvar itself) -> replaced procvar<>nil with assigned(procvar)
    in test/tmacprocvar.pp to keep it compiling (otherwise it now called
    the procvar); necessary in combination with the next fix to compile
    webtbs/tw17379a.pp
  * automatically disambiguate the use of the function name when used as a
    parameter in macpas mode (if the formal parameter type is a procvar
    type then interpret it as the current function definition, otherwise
    as the current function result) (mantis #17379)

git-svn-id: trunk@15971 -
2010-09-12 16:03:00 +00:00
nickysn
df295ca8d6 * GetModeName fixed to work with the 'old' mode numbers also
git-svn-id: trunk@15970 -
2010-09-11 20:42:33 +00:00
nickysn
a89dd9f880 * only enable the save/restore state hack on cards, older than VGA
git-svn-id: trunk@15969 -
2010-09-11 19:28:28 +00:00
nickysn
a56c5afc0e * EGA support added
git-svn-id: trunk@15968 -
2010-09-11 19:17:47 +00:00
nickysn
ed5fa8daf0 * CGA modes are now supported on a real CGA or EGA (tested with dosbox, machine=cga/ega)
git-svn-id: trunk@15967 -
2010-09-11 17:56:36 +00:00
michael
7ba956d121 * Fixes for literal strings and for automatic semicolon insertion. Fixed objects with empty members (,, or ,})
git-svn-id: trunk@15966 -
2010-09-11 15:11:24 +00:00
nickysn
fd70748267 * optimized DirectPutPixel16 and DirectPutPixVESA16 to use the EGA/VGA hardware ALU, instead of calling slow GetPixel for XORPut, ANDPut and ORPut write modes
git-svn-id: trunk@15965 -
2010-09-10 21:19:01 +00:00
nickysn
2ee1718e35 * optimized all 16-colour routines to use 16-bit port writes to the EGA/VGA Graphics Controller
git-svn-id: trunk@15964 -
2010-09-10 20:42:12 +00:00
nickysn
948234c558 * aspect ratio adjustment added to Arc and PieSlice
git-svn-id: trunk@15963 -
2010-09-09 23:30:41 +00:00
nickysn
07519e8839 * do not reset aspect ratio in GraphDefaults (TP7 compatibility fix)
git-svn-id: trunk@15962 -
2010-09-09 23:26:07 +00:00
Jonas Maebe
84cc38f4af * moved {$asmmode att} to top of file (mantis #17377)
git-svn-id: trunk@15961 -
2010-09-09 19:46:59 +00:00
Jonas Maebe
7f42c3253e r323 | jonas | 2010-09-09 20:31:47 +0200 (Thu, 09 Sep 2010) | 2 lines
+ translation of CoreFoundation/CFStringTokenizer.h

git-svn-id: trunk@15960 -
2010-09-09 18:42:14 +00:00
florian
f13eff22b0 + added generic stellaris support as provided by #17365
git-svn-id: trunk@15957 -
2010-09-09 09:02:14 +00:00
Jonas Maebe
f302fcdc98 + TSubRegisterSet definition forgotten to commit in r15952
* fixed compilation on non-x86 platforms after r15952

git-svn-id: trunk@15956 -
2010-09-09 08:48:02 +00:00
florian
fbdb939c2e * regenerated with up-to-date fpcmake
git-svn-id: trunk@15955 -
2010-09-09 08:42:48 +00:00
paul
8bd5cef18b tests: add new for-in test from Michael Van Canneyt
git-svn-id: trunk@15954 -
2010-09-09 08:40:31 +00:00
paul
4718c88f8d compiler: compare enumerator operator "current" return type with the loop variable while searching for enumerator
git-svn-id: trunk@15953 -
2010-09-09 08:22:13 +00:00
Jonas Maebe
22b4860dd7 * getregisterinline() can be used to replace multiple size variants
of the same register (or of a register and its aliases) -> make
    sure that all relevant constraints are applied to it as well
    (mantis #16980)

git-svn-id: trunk@15952 -
2010-09-08 21:13:02 +00:00
Jonas Maebe
a311607ca6 * do not convert the second argument of inc/dec(ptrtype,value) into a
pointer, because that will force "value" to become unsigned, which
    result in errors in case of negative 64bit constants in case they
    are multiplied by the size of the pointed type in ncginl (the
    tconstexprint type operators have to handle positive and
    negative numbers differently) (mantis #17342)

git-svn-id: trunk@15951 -
2010-09-08 15:33:43 +00:00
Jonas Maebe
8d9a22938b + added {$asmmode gas} directives to fix compiling when fpc.cfg contains
-Rintel (mantis #17354)

git-svn-id: trunk@15950 -
2010-09-08 14:40:38 +00:00
nickysn
c4a30bc7af * Hercules support added (tested with dosbox, machine=hercules)
git-svn-id: trunk@15947 -
2010-09-07 20:56:08 +00:00
michael
166ba412c9 * Test for formatfloat negative zero
git-svn-id: trunk@15946 -
2010-09-06 11:13:46 +00:00
michael
f7b268713d * Patch from Zeljan Rikalo to fix issue #13722 (FloatToStrF negative 0)
git-svn-id: trunk@15945 -
2010-09-06 11:09:39 +00:00
marco
99c261c5ba * add $mode fpc to matrix unit, mants 17357
git-svn-id: trunk@15944 -
2010-09-06 10:58:09 +00:00
michael
6df8ec1ce8 * Added tests for Grant/Revoke, fixed some bugs on the way
git-svn-id: trunk@15942 -
2010-09-03 17:01:01 +00:00
marco
7e51501541 * fix for bug #17325, an inc(i) was missing in aloop.
git-svn-id: trunk@15941 -
2010-09-03 16:34:04 +00:00
michael
eba99a7742 * Better error handling when reading from socket.
* Handle case where (windows) tcp/ip stack returns only partial number of bytes

git-svn-id: trunk@15940 -
2010-09-03 08:18:41 +00:00
pierre
973c23e12c * Fix for win64 GNU AS bug
git-svn-id: trunk@15939 -
2010-09-02 23:41:02 +00:00
pierre
cd0329a15e * fix target options for GNU ld
git-svn-id: trunk@15938 -
2010-09-02 06:59:01 +00:00
joost
442bdbec58 * Added the ability to use sub-dirs for examples and documents
git-svn-id: trunk@15937 -
2010-09-01 20:41:30 +00:00
pierre
61547f6a5a * Fix incorrect instruction size
git-svn-id: trunk@15935 -
2010-09-01 11:56:52 +00:00
pierre
9518188c4d * Also use CMP -i218 for win64 target
git-svn-id: trunk@15934 -
2010-09-01 11:43:28 +00:00
sekelsenmat
e06ce8a61a Makes the multi_test_1.svg file a little more beaultiful
git-svn-id: trunk@15933 -
2010-09-01 09:15:06 +00:00
sekelsenmat
671603a47d Fixes typo on fpvectorial svg output
git-svn-id: trunk@15932 -
2010-09-01 09:13:55 +00:00
sekelsenmat
18c8a1f9c0 Adds a lazarus project for fpvwritetest
git-svn-id: trunk@15931 -
2010-09-01 09:01:08 +00:00
sekelsenmat
3f26a9795b Rewrites the bezier rendering of the svg output of fpvectorial
git-svn-id: trunk@15930 -
2010-09-01 08:57:54 +00:00
sekelsenmat
7cd0630129 Fixes the font size setting in the fpvectorial svg output and adds a bigger test to the suite
git-svn-id: trunk@15929 -
2010-09-01 08:11:36 +00:00
sekelsenmat
9a66b19390 Fixes the coordinates, dpi value and text rendering of the svg output of fpvectorial
git-svn-id: trunk@15928 -
2010-09-01 07:59:28 +00:00
nickysn
3ab733fb47 * fixed HLine16 and VLine16 to support multiple video pages
git-svn-id: trunk@15927 -
2010-08-31 23:08:58 +00:00
Marc Weustink
fb2fc006aa * Fix the byte -> word expansion of the alpha channel on palette enties of a PNG image
git-svn-id: trunk@15926 -
2010-08-31 21:09:40 +00:00
joost
349e5348f5 * Use prefix again as base-path for examples and binaries (changed in r15919)
git-svn-id: trunk@15925 -
2010-08-31 19:34:06 +00:00
sekelsenmat
2446959a69 Updates the fpvectorial tests
git-svn-id: trunk@15924 -
2010-08-31 09:51:14 +00:00
sekelsenmat
c2270697a8 Patch from JiXian, advances the implementation of text rendering and bezier drawing for the svg writer in fpvectorial
git-svn-id: trunk@15923 -
2010-08-31 09:48:27 +00:00
pierre
0083fc3e3d * Avoid overflow error
git-svn-id: trunk@15922 -
2010-08-30 12:48:54 +00:00
Jonas Maebe
7ba5eaf272 * fixed copy/paste error in the test, and the compiler bug that was
triggered by it (make sure that records with indexed array fields
    are never kept in registers), mantis #17283

git-svn-id: trunk@15921 -
2010-08-30 11:27:14 +00:00
michael
f2c8b59643 * After insert/update/delete events
git-svn-id: trunk@15920 -
2010-08-30 07:39:39 +00:00