paul
|
8c56269076
compiler: fix record constructor return type when parsing procedure declaration
|
14 жил өмнө |
paul
|
726ea27bc0
compiler:
|
14 жил өмнө |
paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
14 жил өмнө |
marco
|
aa93519b5a
* fix for bug #18196, moving teventype broke examples.
|
14 жил өмнө |
sergei
|
13bea29253
* win/sysutils.pp, FileOpen and FileCreate, removed manual zero-termination of strings. This unit compiles in {$h+} state, and AnsiString zero-termination is handled automatically these days.
|
14 жил өмнө |
sergei
|
3c2d918cfe
* Partially undo revision 16529: removing VariantToShortString breaks webtbs/tw14536 which calls the mentioned function directly instead of using typecast.
|
14 жил өмнө |
Jonas Maebe
|
29265ed672
* also compile freeglutdemo (mantis #18108)
|
14 жил өмнө |
florian
|
142e42bd81
o NativeNT target patch by Sven Barth, resolves with r16553 and r16554 #18195
|
14 жил өмнө |
florian
|
3eec5d1b12
+ added Makefile
|
14 жил өмнө |
florian
|
382dc3e413
o update by Sven Barth to the NativeNT RTL:
|
14 жил өмнө |
Jonas Maebe
|
a2e8134b7c
* part of r16533, forgot to commit
|
14 жил өмнө |
michael
|
2f5f98d7e5
* Patch from Darius Blaszijk to make some methods protected, virtual
|
14 жил өмнө |
paul
|
582ab2dd32
compiler: disallow regular class methods in records and allow only static class methods. delphi do so and it is logical because records have no inheritance. + tests
|
14 жил өмнө |
sergei
|
179229007e
* win/sysutils.pp: fix/clean up loading dll for SHGetFolderPath.
|
14 жил өмнө |
paul
|
17815ce7a2
compiler: implement properties in records:
|
14 жил өмнө |
paul
|
69d3bb2ffc
compiler: rename aclass->astruct in read_property_dec because records will have properties too
|
14 жил өмнө |
paul
|
4c7e2679df
tests: add a test which checks that records destructors are not allowed
|
14 жил өмнө |
paul
|
52cd624a76
compiler: fix static fields creation and access for records
|
14 жил өмнө |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
14 жил өмнө |
paul
|
4e73e280f9
compiler: move constructor, destructor parsers to interface section to allow future use by records + change current_objectdef to current_structdef for the same reason, make constructor return type = record for records
|
14 жил өмнө |
paul
|
289c9bd192
compiler: remove unneeded checks and typecasting caused by move of objectoptions into tabstractrecorddef
|
14 жил өмнө |
paul
|
4f274b157c
compiler: move objectoptions to tabstractrecorddef because it will be needed for records too
|
14 жил өмнө |
sergei
|
c5162a7816
* win/sysutils.pp: Use GetModuleHandle for dynamic loading of kernel32.dll instead of LoadLibrary, this is possible because kernel32 is statically linked by RTL and is therefore always loaded with application. Also makes FreeLibrary at finalization unnecessary.
|
14 жил өмнө |
Jonas Maebe
|
8c9d0f1f78
* fixed Windows compilation after r16533
|
14 жил өмнө |
joost
|
6182f885f8
* Fixed detection of regular strings, so that a normal search is performed
|
14 жил өмнө |
joost
|
af2ef60a29
* Avoid possible AV when the string-index is larger then the string-length
|
14 жил өмнө |
Jonas Maebe
|
deece746a3
+ support for the freeglut extensions (patch by Michalis Kamburelis,
|
14 жил өмнө |
joost
|
e6e02a6176
* Refactored, replaced case for if, nested if for and, removed needless
|
14 жил өмнө |
Jonas Maebe
|
f4c31ecf3c
+ widestringmanager.codepointlengthproc added, which can be used to
|
14 жил өмнө |
Jonas Maebe
|
9410f7d5d3
- obsolete, removed (handled by regular script)
|
14 жил өмнө |