Switch branches/tags
Nothing to show
Find file History
RomanYankovsky bugfix: unit list in project parser must use case-insensitive compare… (
#265)

* bugfix: unit list in project parser must use case-insensitive compare (#264)

* binary serializer

* deserializer

* bugs fixed

* fixed warnings

also: removed unused unit

* moved to correct place

* unmessing stuff

* project indexer wip

* FPC compatibility

* wip

* support for search paths

* include file support

* extended $IF support

Lexer can now handle $IF statements in form

{$IF CompilerVersion operator value}

* extended $IF support

Lexer can now handle $IF statements in form

{$IF CompilerVersion operator value}

This covers most frequent use-cases of CompilerVersion.

* $IF RTLVersion

Added support for 

{$IF RTLVersion operator value}

* improved include support

* better UTF8 and conditional define handling

* don't $I files when in skipped $IFDEF/$IF

If $INCLUDE/$I is found while in the $IF(N)DEF/$IF part which is being skipped (undefined conditional etc), include is ignored.

This speeds up parsing (especially if include file has to be found in a long search path) and makes the parser more compatible with Delphi which ignores $INCLUDE statements inside skipped blocks.

* handles {$I *.inc}

* added support for 'unit in path' syntax

* output information generated

+ better search path handling
+ OnUnitParsed handler with abort support
+ UseDefinesDefinedByCompiler changed into Options

* some refactoring

* some refactoring

* bug fixes, IncludeFiles[]

* bug fixes

! fixed memory leak in destroy
! fixed include file caching

* implemented NotFoundUnits

+ refactored and simplified FindFile

* simplified code

* added Problems

* does not belong to repo

* wrong unit name was passed to OnUnitParsed

* compiles with Tokyo

* added TProjectIndexer.TParsedUnits.Find

* not needed anymore

* Added support for indexing package files (.dpk)

* Revert "added support for indexing packages (.dpk)"

This reverts commit e32cffd.

* unit list is case insensitive

* Change directory structure
Latest commit 21ac6e3 May 13, 2018