Jonas Maebe
8c86455965
- removed "inline" from getansistringdef(), it's way too big
...
git-svn-id: trunk@20489 -
2012-03-10 00:25:58 +00:00
Jonas Maebe
a6a43c71ec
* give an error message when including a file starting with an UTF-8 BOM
...
in a compilation module parsed using a different code page, because this
changes the default ansistring type and {$codepage xxx} is also not
allowed in the middle of a unit (mantis #21445 )
git-svn-id: trunk@20488 -
2012-03-09 22:50:14 +00:00
Jonas Maebe
2696c1f1d3
* also print fpc-specific help when executed without parameters or with -h
...
(mantis #21323 )
* don't print a message about the ppc binary exiting with an error if no
source file is specified (if a no option or -h is used, the help message
will be printed; in other cases, a source file may not have been specified
but that's an error like any other in that case -- that message only
existed because the compiler binary also exits with a non-zero exit code
in case the help is printed)
- removed alpha and ia64 support for selecting ppc binary
+ added mips and mipsel support for selecting ppc binary
git-svn-id: trunk@20487 -
2012-03-09 21:38:22 +00:00
Jonas Maebe
524a5683d5
* add /Applications/Xcode.app/Contents/Developer/usr/bin to the default
...
utilities search path on Darwin (which is where the Xcode 4.3+ utilties
are located by default)
git-svn-id: trunk@20486 -
2012-03-09 21:12:49 +00:00
Jonas Maebe
d1acb76df8
* don't replace "expr1 or expr1" or "expr1 and expr1" with just "expr1"
...
if expr1 has sideeffects. This can't be done safely even in case of
short boolean evaluation, because expr1 may return the inverse the
second time its called (and "0 or 1" is not the same as "0", and
neither is "1 and 0"), based on comment by Michael Karcher
* perform a full string compare when comparing stringconstnodes
before the string constant labels have been generated (patch by
Michael Karcher, mantis #21255 )
git-svn-id: trunk@20485 -
2012-03-09 20:26:32 +00:00
Jonas Maebe
cca1fe9573
* adjust the name of the external debug and map file when the name of
...
the output binary is changed via the -o option (patch by Barlone,
mantis #21171 )
git-svn-id: trunk@20484 -
2012-03-09 15:24:46 +00:00
marco
f5a4f6b4af
* Patch + test to map integer field with auto_increment property to ftautoinc
...
Mantis #21438 , patch by Lacak2.
git-svn-id: trunk@20483 -
2012-03-08 19:57:20 +00:00
Jonas Maebe
3ebdd64d75
* dereference pchar passed to indexbyte in strecopy (patch by Andrew Haines,
...
mantis #21443 )
git-svn-id: trunk@20481 -
2012-03-08 18:55:49 +00:00
andrew
d289d3d4ce
Fixed a bug where large chm search index's would be invalid when multiple index nodes are used
...
git-svn-id: trunk@20480 -
2012-03-08 16:54:03 +00:00
andrew
4788c38f2c
Fixed bug where generating a search for a chm with millions of words would use 4GB of memory!
...
git-svn-id: trunk@20479 -
2012-03-08 16:04:56 +00:00
florian
a7b46fc36f
* don't create a temp. for a dereferenced pointer which is passed to a var parameter of an inline procedure
...
git-svn-id: trunk@20478 -
2012-03-07 21:17:09 +00:00
Jonas Maebe
d305615132
* fixed compilation with current FPC versions
...
git-svn-id: trunk@20476 -
2012-03-07 12:38:28 +00:00
florian
841d67ec81
* don't waste an extra register when copying 4 bytes
...
git-svn-id: trunk@20475 -
2012-03-05 19:12:00 +00:00
sergei
eabc0cb53a
* fcl-xml, making progress with streaming API, implemented a few more methods.
...
git-svn-id: trunk@20474 -
2012-03-05 14:38:05 +00:00
florian
b4907578b0
* temporarily disable LDR/LDR STR/LDR optimizations, let's see if this broke regression testing on fpcarm
...
git-svn-id: trunk@20473 -
2012-03-04 20:37:06 +00:00
florian
8278271b4e
* fix RegInInstruction
...
+ introduce generic RegModifiedByInstruction
git-svn-id: trunk@20472 -
2012-03-04 20:21:14 +00:00
florian
f33ee60c2e
* write ait_varloc into assembler output, it is generated if -sr is passed to the compiler
...
git-svn-id: trunk@20471 -
2012-03-04 20:15:28 +00:00
marco
d6100fed50
* one letter fix to last commit.
...
git-svn-id: trunk@20470 -
2012-03-04 18:10:28 +00:00
marco
8f13f13969
* reduce redundant AS in bufdataset.buildindex. Might improve performance,
...
but main purpose is to increase readability and debugability
git-svn-id: trunk@20469 -
2012-03-04 14:29:15 +00:00
sergei
92f927976e
* Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396 .
...
* Changed copying the entire array to use range 0..high(sizeint) instead of -1..-2.
git-svn-id: trunk@20468 -
2012-03-04 04:41:52 +00:00
sergei
a417e9d0b6
* fcl-xml, making progress with streaming API, moved DOM-dependent stuff from TXMLTextReader to the TLoader helper object. Now TXMLTextReader class is almost free from direct DOM dependencies (indirect ones like TDOMParser are still present, also entity handling is still intertwined too closely).
...
git-svn-id: trunk@20467 -
2012-03-03 12:26:52 +00:00
pierre
af66d92faf
* Update complete i386-freebsd C objects with gcc 4.2.1 from FreeSBD 8.2 release
...
git-svn-id: trunk@20466 -
2012-03-03 10:45:04 +00:00
marco
c6da7f726d
* change mysql datetime parsing because mysql allows time >24hrs (interval like).
...
Matnis #21368 , Patch by Lacak2.
git-svn-id: trunk@20464 -
2012-03-02 12:26:02 +00:00
marco
d676e18326
* Patch from Luiz. Move state change to calculatefields instead of the
...
handler. Mantis #20969
git-svn-id: trunk@20463 -
2012-03-02 09:55:06 +00:00
marco
b956e9e52d
* add a check to TRecall.store for FStorage=nil. Patch by Luiz, Mantis #21404
...
git-svn-id: trunk@20462 -
2012-03-02 09:43:12 +00:00
marco
ae1ece93e5
* fix for #21199 , changing epsilon to 0.0 instead of 0 helps overload selection of the
...
right precision. Leave mantis item over for compiler testing.
git-svn-id: trunk@20461 -
2012-03-01 22:31:20 +00:00
marco
39bc3b9dcf
* remove empty override tpersist.destroy(), patch by Luiz Americo, Mantis #21387
...
git-svn-id: trunk@20460 -
2012-03-01 21:47:32 +00:00
marco
49e3a24413
* Modification after feedback on #20454 , last patch was a bit conservative.
...
git-svn-id: trunk@20459 -
2012-03-01 21:43:04 +00:00
marco
4ea56bd875
* Memleak fixes, Patch by Jesus Reyes. Mantis #21403
...
git-svn-id: trunk@20458 -
2012-03-01 21:39:01 +00:00
marco
c87880fb46
* test for interval, mantis #19323
...
git-svn-id: trunk@20457 -
2012-03-01 11:36:55 +00:00
marco
9b6a69502c
* Use double for mysql ftfloat related tests.
...
Patches by Lacak2, Mantis #21388
git-svn-id: trunk@20456 -
2012-03-01 11:34:47 +00:00
marco
9dd87f9a6f
* switch currency fields to use "ascurrency" Mantis 21380, patch by Lacak2
...
git-svn-id: trunk@20455 -
2012-03-01 11:32:09 +00:00
marco
7de37b0ad9
* fix for #21381 . Add a default parameter to switch.
...
git-svn-id: trunk@20454 -
2012-03-01 11:24:17 +00:00
marco
fa3ee5f605
* Patches from Lacak2 changing currency to odbc numeric type, and ftbcd parameters
...
git-svn-id: trunk@20453 -
2012-03-01 10:54:54 +00:00
marco
8159d2ee3c
* Minor spelling corrections in comments, patch by Graeme, Mantis #21397
...
git-svn-id: trunk@20452 -
2012-03-01 10:28:40 +00:00
pierre
55116303b9
Add indirectly required ppacakges
...
git-svn-id: trunk@20451 -
2012-03-01 10:28:35 +00:00
marco
81035c392d
* fix building IDE by adding fcl-xml and fcl-base
...
Pierre's regen of the makefile with a newer fpcmake probably didn't
propagate indirect dependencies (through CHM) on these packages as a
result of the fpmake system.
git-svn-id: trunk@20450 -
2012-02-29 20:52:18 +00:00
pierre
e9b0f2d14c
Add PSigInf oand PSigContext type aliases
...
git-svn-id: trunk@20449 -
2012-02-29 16:50:53 +00:00
pierre
e6cf348904
Update Makefile for mips-linux support
...
git-svn-id: trunk@20448 -
2012-02-29 11:22:05 +00:00
pierre
69c1a6cd16
Set FPC_INCLUDE_SOFTWARE_INT64_TO_DOUBLE for mips
...
git-svn-id: trunk@20447 -
2012-02-29 11:21:08 +00:00
pierre
68f8a21151
Update Makefile for mips-linux support
...
git-svn-id: trunk@20446 -
2012-02-29 11:19:54 +00:00
pierre
ff65e7bc9b
Update Makefile for mips-linux support
...
git-svn-id: trunk@20445 -
2012-02-29 11:19:31 +00:00
pierre
a7912e0d6b
Update Makefile for mips-linux support
...
git-svn-id: trunk@20444 -
2012-02-29 11:19:02 +00:00
pierre
bc0c98f88a
* Fix cross win32 to go32v2 gdbver run
...
git-svn-id: trunk@20443 -
2012-02-29 10:51:19 +00:00
sergei
134e5167f1
* fcl-xml testing suite, working around excessive string conversions by using new method assertEqualsW to compare wide strings. Since TTestCase.assertEquals method already exists with ansistring arguments, and its first argument is a literal in most cases, overloading does not help here.
...
git-svn-id: trunk@20442 -
2012-02-29 09:28:03 +00:00
paul
d59c0237b2
compiler: global property can't be a class property
...
git-svn-id: trunk@20441 -
2012-02-29 02:31:03 +00:00
sergei
9e091cc15f
* fcl-xml, more WideString replacements
...
git-svn-id: trunk@20440 -
2012-02-28 13:01:41 +00:00
marco
865220f3d6
* Check for empty lookup-field dataset before iterating, Mantis #21383 ,
...
Patch by Luis Americo
git-svn-id: trunk@20439 -
2012-02-27 21:45:21 +00:00
sergei
5c2faa4a61
+ fcl-xml, making progress with streaming API, added most method implementations.
...
git-svn-id: trunk@20438 -
2012-02-27 11:34:25 +00:00
sergei
997538dd41
+ fcl-xml, added unit xmlreader.pp (abstract base for streamed reading)
...
git-svn-id: trunk@20437 -
2012-02-27 11:02:34 +00:00