Commit Graph

11124 Commits

Author SHA1 Message Date
lacak
548d842429 fcl-db: tests: test for bug #35887
git-svn-id: trunk@42497 -
2019-07-26 12:16:42 +00:00
svenbarth
f2febdcc1b * also check mimetypes/m option
git-svn-id: trunk@42496 -
2019-07-26 05:16:35 +00:00
Jonas Maebe
4bc657a067 * renamed objcbase.BOOL type to objc.ObjCBOOL to prevent name clashes
* fixed some signatures in CocoaInt that should refer to ctypes.cbool
    but instead used objcbase.(ObjC)BOOL

git-svn-id: trunk@42483 -
2019-07-23 09:08:32 +00:00
Mattias Gaertner
4d0e7cd1d4 pastojs: filer: GenericTemplateTypes
git-svn-id: trunk@42475 -
2019-07-20 20:45:58 +00:00
Mattias Gaertner
8206049dc1 pastojs: less hints
git-svn-id: trunk@42474 -
2019-07-20 20:14:52 +00:00
Mattias Gaertner
93c130979f fcl-passrc: check generic constraint
git-svn-id: trunk@42473 -
2019-07-20 20:14:15 +00:00
Mattias Gaertner
f35e711024 fcl-passrc: fixed parsing generic array type
git-svn-id: trunk@42472 -
2019-07-20 20:13:29 +00:00
Mattias Gaertner
75321c848d fcl-passrc: fixed parsing generic function after type section
git-svn-id: trunk@42468 -
2019-07-20 18:22:00 +00:00
marco
ed2dbc19e7 * lookup property published but not stored. Doesn't change much, but less trouble when opening/dualmaintaining delphi forms.
git-svn-id: trunk@42467 -
2019-07-20 14:40:34 +00:00
michael
a670360d08 * Change resource string file to .jrs, to avoid confusion with FPC format
git-svn-id: trunk@42466 -
2019-07-20 13:59:59 +00:00
michael
9d67784a18 * Write -Jr help
git-svn-id: trunk@42465 -
2019-07-20 12:11:04 +00:00
michael
17b6fc07f9 * Write resource strings to file for easy translation
git-svn-id: trunk@42462 -
2019-07-20 11:52:59 +00:00
Mattias Gaertner
41fa84a355 pastojs: filer: TPasProcedure.NameParts
git-svn-id: trunk@42454 -
2019-07-18 09:57:29 +00:00
Mattias Gaertner
c6aaa3f1e6 pastojs: clean up
git-svn-id: trunk@42453 -
2019-07-18 09:57:06 +00:00
Mattias Gaertner
5d4ae23df8 fcl-passrc: store generic procedure templates
git-svn-id: trunk@42451 -
2019-07-17 16:35:30 +00:00
michael
3b1c2061f5 * Some small refactoring
git-svn-id: trunk@42450 -
2019-07-16 09:05:57 +00:00
Mattias Gaertner
3cd000b939 pastojs: optimized ord(const) to const
git-svn-id: trunk@42445 -
2019-07-14 11:22:40 +00:00
svenbarth
de15025a47 * streamline retrieval of attributes (both in TypInfo and RTTI units)
git-svn-id: trunk@42373 -
2019-07-12 22:06:02 +00:00
svenbarth
e060a43d70 * rename TAttributeData to the more appropriate TAttributeTable
git-svn-id: trunk@42371 -
2019-07-12 22:05:55 +00:00
svenbarth
d137e06ade * instead of embedding the attributes inside the class' and property's type data only store a reference to a table of attributes
git-svn-id: trunk@42365 -
2019-07-12 22:05:29 +00:00
svenbarth
b2932393df Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3]
Implemented attributes for class types and properties (based on work by Joost van der Sluis). Added TCustomAttribute - a base class for attributes. Added TUnitInfo record to RTTI. It contains the unit name and unit options (for now only a flag which specifies if the unit contains attributes). Added several tests for attributes.

git-svn-id: trunk@42356 -
2019-07-12 22:04:48 +00:00
Mattias Gaertner
28e07f77e4 pastojs: fixed createcallback inside anonymous method
git-svn-id: trunk@42355 -
2019-07-12 16:56:35 +00:00
michael
fde8697032 * Always try to show the field name when possible
git-svn-id: trunk@42350 -
2019-07-11 20:17:29 +00:00
michael
0fb74a0f57 * Always try to show the field name when possible
git-svn-id: trunk@42349 -
2019-07-11 20:16:35 +00:00
Mattias Gaertner
3d662b5e5c fcl-passrc: fixed helper in other unit
git-svn-id: trunk@42348 -
2019-07-10 08:28:11 +00:00
Mattias Gaertner
e5214b94a5 fcl-passrc: fixed parsing class var a:t;b:t
git-svn-id: trunk@42347 -
2019-07-10 07:55:28 +00:00
michael
ebd005d1a7 * Fix bug ID #35796, codepage issue when getting string as variant
git-svn-id: trunk@42344 -
2019-07-08 10:27:11 +00:00
michael
2425b97462 * Patch from Maciej Izak to allow loading multiple times
git-svn-id: trunk@42343 -
2019-07-08 10:24:00 +00:00
svenbarth
b270b0f7f0 * fix typo
git-svn-id: trunk@42331 -
2019-07-05 15:33:43 +00:00
svenbarth
a2ce2cea94 * fix for Mantis #35760: apply patch by user Bloodbatgot to fix drawing of thick lines
git-svn-id: trunk@42327 -
2019-07-05 12:40:55 +00:00
Mattias Gaertner
bd5a81c657 fcl-image: fpreadtiff: fixed inline
git-svn-id: trunk@42316 -
2019-07-01 14:16:32 +00:00
marcus
defcad25af Amiga-systems: bugfix for TProcess.commandline, left over space at exename
git-svn-id: trunk@42301 -
2019-06-27 18:47:47 +00:00
michael
d5a3528670 * Some fixes in parameter handling
git-svn-id: trunk@42300 -
2019-06-27 16:14:40 +00:00
michael
67b711013f * Better code documentation for processql, add %OPTIONALWHERE%
git-svn-id: trunk@42299 -
2019-06-27 16:13:55 +00:00
michael
2aaae5353e * Fix ISODateTime constant, trailing quote
git-svn-id: trunk@42298 -
2019-06-27 16:13:15 +00:00
michael
c47fe33586 * Better CORS handling: return origin if available and allowed domains not set (activate using option)
git-svn-id: trunk@42297 -
2019-06-27 12:42:34 +00:00
michael
2b8595d9da * Better CORS handling: return origin if available and allowed domains not set (fix compilation)
git-svn-id: trunk@42296 -
2019-06-27 11:37:38 +00:00
michael
eb6922b429 * Better CORS handling: return origin if available and allowed domains not set (* will prohibit credentials)
git-svn-id: trunk@42295 -
2019-06-27 11:33:26 +00:00
Mattias Gaertner
ea28cd5268 pastojs: clean up
git-svn-id: trunk@42293 -
2019-06-26 19:34:59 +00:00
Mattias Gaertner
227514376e pastojs: fixed high(dynarrayvar with expr)
git-svn-id: trunk@42292 -
2019-06-26 19:32:49 +00:00
Mattias Gaertner
ec3c050ac7 fcl-passrc: clean up
git-svn-id: trunk@42291 -
2019-06-26 19:32:34 +00:00
Mattias Gaertner
02b66457f5 fcl-passrc: fixed compile under pas2js
git-svn-id: trunk@42290 -
2019-06-26 18:34:11 +00:00
Mattias Gaertner
b8369409bc fcl-passrc: fixed compile under fpc 3.0.4
git-svn-id: trunk@42289 -
2019-06-26 18:26:20 +00:00
Mattias Gaertner
9871196e8c pastojs: allow reintroduce published method
git-svn-id: trunk@42288 -
2019-06-26 16:38:17 +00:00
Mattias Gaertner
c971b4639f fcl-passrc: added separate error message duplicate published method
git-svn-id: trunk@42287 -
2019-06-26 16:37:15 +00:00
michael
ce68a56c01 * Allow generators in sqlite in 3.0.4
git-svn-id: trunk@42285 -
2019-06-26 08:34:47 +00:00
michael
7137289d41 Fix memleak (bug ID 0035761)
git-svn-id: trunk@42282 -
2019-06-25 05:54:25 +00:00
michael
4cd5a72d13 * Fix Bug ID #35759
git-svn-id: trunk@42280 -
2019-06-24 10:42:37 +00:00
michael
16b827aa88 * Allow using of connection charset if none is specified at DB level (bug ID 35755)
git-svn-id: trunk@42279 -
2019-06-24 07:51:45 +00:00
michael
73b365cd30 * Smarter handling of DispatchOptions options
git-svn-id: trunk@42278 -
2019-06-24 07:22:02 +00:00
michael
abf6c99304 * Correctly handle use in restmodule: use pathinfo to configure dispatcher
git-svn-id: trunk@42277 -
2019-06-24 07:18:34 +00:00
lacak
f53878c0db fcl-db: sqldb: add connection charset aliases "win1250" (Firebird) and "cp1250" (MySQL) (although unicode is preferred nowadays and these SBCS are just a remnant of the past)
git-svn-id: trunk@42276 -
2019-06-23 18:02:38 +00:00
michael
28b87bed39 * Fix setusessl
git-svn-id: trunk@42273 -
2019-06-22 22:38:02 +00:00
michael
c22982383f * Fix parsing of command-line in ParseSource
git-svn-id: trunk@42270 -
2019-06-22 14:01:06 +00:00
michael
bf54543518 * Add SplitCommandLine
git-svn-id: trunk@42269 -
2019-06-22 13:37:47 +00:00
michael
67172ef705 * Correct autoincrement handling
git-svn-id: trunk@42267 -
2019-06-22 08:22:30 +00:00
michael
01e5861255 * Make sure output contains something in case of empty dataset
git-svn-id: trunk@42266 -
2019-06-22 08:19:16 +00:00
michael
ba1fb2c0cf * Unregister routes
git-svn-id: trunk@42265 -
2019-06-22 07:44:18 +00:00
michael
961b27b4a7 * Add RoutesRegistered property to TSQLDBRestBridge
git-svn-id: trunk@42264 -
2019-06-22 07:33:49 +00:00
michael
4cb612252a * Correct registration of metadata resource in case rdoConnectionInURL is specified
git-svn-id: trunk@42263 -
2019-06-22 07:29:34 +00:00
michael
ce528e1808 * Make sure error content is sent
git-svn-id: trunk@42262 -
2019-06-22 07:16:19 +00:00
marcus
2651f867e8 MorphOS: overloads for Get/SetRGB32 to be compatible with other Amiga flavours
OS4: Missing forward declaration

git-svn-id: trunk@42261 -
2019-06-21 18:07:39 +00:00
Jonas Maebe
b08b6a17bd * synchronised with trunk till r42258
git-svn-id: branches/debug_eh@42259 -
2019-06-20 20:57:37 +00:00
Mattias Gaertner
b9c16b98d1 pastojs: fixed pas2jsfiler
git-svn-id: trunk@42258 -
2019-06-20 20:38:53 +00:00
Jonas Maebe
c262c5dbc9 * synchronised with trunk till r42256
git-svn-id: branches/debug_eh@42257 -
2019-06-20 17:21:34 +00:00
Mattias Gaertner
783505b4d7 fcl-passrc: starting test generics
git-svn-id: trunk@42252 -
2019-06-20 08:47:30 +00:00
Mattias Gaertner
fb29815fbf fcl-passrc: fixed parsing objfpc inline specialize
git-svn-id: trunk@42251 -
2019-06-20 08:47:04 +00:00
michael
6c1593652b * Patch from Ondrej Pokorny to support streaming to position 0 (bug ID 35724)
git-svn-id: trunk@42250 -
2019-06-19 12:24:59 +00:00
michael
db2c9183f1 * Fix bug ID #35731 (ReadSectionRaw needs to read comments)
git-svn-id: trunk@42247 -
2019-06-19 06:12:15 +00:00
Mattias Gaertner
f50b4c5fbb pastojs: setlength(arr) now always clone
git-svn-id: trunk@42227 -
2019-06-14 20:45:01 +00:00
svenbarth
746756cada * add typecast to PTypeInfo to be on the safe side
git-svn-id: trunk@42222 -
2019-06-13 21:08:48 +00:00
svenbarth
253f65c5b2 * fix for Mantis #35687: implement TValue.FromOrdinal()
+ added tests

git-svn-id: trunk@42221 -
2019-06-13 21:08:44 +00:00
svenbarth
34569080be * correctly handle both Ansi- and WideChar in TValue
+ added tests

git-svn-id: trunk@42220 -
2019-06-13 21:08:41 +00:00
svenbarth
a2a403e2e5 * fix for Mantis #35693: IsOrdinal also needs to return true for enums (with that AsOrdinal will work correctly as well)
* extended RTTI test by a test for enums

git-svn-id: trunk@42219 -
2019-06-13 21:08:38 +00:00
Mattias Gaertner
d1830fc589 pastojs: fixed var a: somearray = nil
git-svn-id: trunk@42218 -
2019-06-13 08:05:28 +00:00
Mattias Gaertner
a889888f2a fcl-passrc: added test local var inits
git-svn-id: trunk@42217 -
2019-06-13 08:04:18 +00:00
Legolas
a9b015911d * Updated Wii port to libogc 1.8.22
git-svn-id: trunk@42216 -
2019-06-12 16:35:25 +00:00
Legolas
7c02f2b531 * Nintendo DS port updated to libnds ver.1.7.3
git-svn-id: trunk@42202 -
2019-06-10 06:39:46 +00:00
Legolas
4239742b35 * GBA port updated
git-svn-id: trunk@42201 -
2019-06-09 22:27:16 +00:00
michael
44987e376d * Unicode string assertequal (removed doubles)
git-svn-id: trunk@42192 -
2019-06-08 14:43:39 +00:00
michael
b3493d1f07 * Unicode string assertequal
git-svn-id: trunk@42191 -
2019-06-08 14:41:09 +00:00
Jonas Maebe
faf75095cd * synchronised with trunk till r42189
git-svn-id: branches/debug_eh@42190 -
2019-06-07 18:24:38 +00:00
svenbarth
fb0f2fbd35 * enable method implementation tests for i386 (interface tests will be ignored however as stdcall/cdecl are not yet provided without an external manager)
git-svn-id: trunk@42185 -
2019-06-06 20:51:57 +00:00
svenbarth
6b7ba589b9 * change fallback implementation of the RTTI memory functions to do nothing so that new platforms are easily detected
git-svn-id: trunk@42184 -
2019-06-06 20:50:46 +00:00
svenbarth
c008adb658 * implement memory allocation functions for Unix platforms using mmap/mprotect/munmap
git-svn-id: trunk@42183 -
2019-06-06 20:49:30 +00:00
svenbarth
f17c689829 + add a size parameter to FreeMemory() as some platforms might need that
git-svn-id: trunk@42182 -
2019-06-06 20:48:30 +00:00
Mattias Gaertner
180576d17c fcl-pssrc, pastojs: fixed anonymous proc inside for-loop
git-svn-id: trunk@42177 -
2019-06-06 09:48:04 +00:00
michael
109abf3d99 * Fix bug ID #35674, do not create filestream for directories
git-svn-id: trunk@42174 -
2019-06-05 11:42:40 +00:00
michael
a4bf16e176 Fix bug ID #0035672
git-svn-id: trunk@42173 -
2019-06-04 08:31:39 +00:00
marco
be7b653fef * savetohhp from serbods git repo
git-svn-id: trunk@42156 -
2019-06-01 16:22:18 +00:00
marco
4f447a4de0 * some more shlwapi translations
git-svn-id: trunk@42152 -
2019-05-31 16:03:06 +00:00
svenbarth
601f0bd6b1 * if the creation of the method implementation raises ENotImplemented we ignore the test as not all calling conventions might be supported currently (e.g. on i386 only "register" is for now)
git-svn-id: trunk@42151 -
2019-05-31 15:41:06 +00:00
svenbarth
4adce9b1bd + add function callback support for the Register calling convention on i386
git-svn-id: trunk@42150 -
2019-05-31 15:41:04 +00:00
marco
4e70f12027 * strstria* and similar functions. mantis 035582, even though that is about legacy shellapi32
git-svn-id: trunk@42148 -
2019-05-31 12:13:38 +00:00
marco
455cb6758f * freetype windows compat patch from Pascal Riekenberg, mantis #35644
git-svn-id: trunk@42144 -
2019-05-31 09:41:28 +00:00
marco
6d65a8f1e3 * mantis #35586
git-svn-id: trunk@42143 -
2019-05-31 09:38:45 +00:00
marco
553da0e126 * some locale support rescued from serbods heavily reformatted github branch
git-svn-id: trunk@42142 -
2019-05-30 21:35:41 +00:00
marco
8ba75c847a * fix reading binary toc. Lazarus depends on it, and it name,local change changed order, and thus added empty names.
git-svn-id: trunk@42137 -
2019-05-30 10:44:52 +00:00
marco
62a572e484 * add a dummy property to keep lazarus CHM compiling for now.
git-svn-id: trunk@42129 -
2019-05-27 07:48:45 +00:00
marco
3092b1169a * redone sitemap to support multiple name,local pairs for index.
* rewritten binary index generation. Use natural sort for index.
 * updated html scanning for ID= tags as anchor, reduces warnings with more modern html code.
 
Still work to do, ags helpfile still has 70 differences. Possibly however due to case sensitive anchors on index level.

git-svn-id: trunk@42124 -
2019-05-25 16:41:18 +00:00