History log of /haiku/src/kits/package/PackageInfoParser.h
Revision Date Author Comments
# 8b5f785b 27-Mar-2024 X512 <danger_mail@list.ru>

kits/package: allow to set BPackageResolvable to parsed string

Change-Id: I8ebb46b12a8af229d05994eb3cdd2d8180edc903
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7555
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# fa2dd9c4 09-Apr-2016 Andrew Lindesay <apl@lindesay.co.nz>

BPackageInfo::Parser: Validate URL strings.

Fixes #12710.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
I fixed the modifications to the Jamfiles in src/bin, they were all wrong
in the patch.


# 88706cfa 20-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

package kit: Add API for parsing resolvable expression strings

* Add BPackageInfo::ParseResolvableExpressionString().
* Add BPackageResolvableExpression constructor and SetTo() taking an
expression string.


# 0e9ec703 09-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

package info parser: improve string parsing

* Instead of two string token types (TOKEN_WORD, TOKEN_QUOTED_STRING),
there's now only one (TOKEN_STRING). Whether the string meets the
criteria is checked where needed. In most cases the check was already
done or not necessary anyway.
* Strings can now consist of an arbitrary sequence of quoted and
unquoted strings and escaping is also supported in unquoted string
segments.
* Among other things this fixes incorrect restrictions for resolvable
names and should also make quoting paths superfluous (unless they
contain separator characters).


# 4489c88b 05-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

hpkg format: Generalize user/global settings file attributes

* For all identifiers: Rename global settings file to global writable
file. We want to use the respective attribute also for other writable
files, not only settings files.
* User settings file/global writable file info/attribute: Add
isDirectory property/child attribute. This allows declaring global/
user settings directories associated with the package.


# 0f4e11e7 23-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

hpkg format: Add attributes for declaring users and groups


# 6da0ce6f 23-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Move package info parser to its own file


# 88706cfaa5b04a0fe4f24aabcd3e2f74b80ab6f4 20-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

package kit: Add API for parsing resolvable expression strings

* Add BPackageInfo::ParseResolvableExpressionString().
* Add BPackageResolvableExpression constructor and SetTo() taking an
expression string.


# 0e9ec703dd88ade7b1adc8d28a3bec4484bcd63c 09-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

package info parser: improve string parsing

* Instead of two string token types (TOKEN_WORD, TOKEN_QUOTED_STRING),
there's now only one (TOKEN_STRING). Whether the string meets the
criteria is checked where needed. In most cases the check was already
done or not necessary anyway.
* Strings can now consist of an arbitrary sequence of quoted and
unquoted strings and escaping is also supported in unquoted string
segments.
* Among other things this fixes incorrect restrictions for resolvable
names and should also make quoting paths superfluous (unless they
contain separator characters).


# 4489c88b61bd4b70ff3a91d24ef5a0088e9c4691 05-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

hpkg format: Generalize user/global settings file attributes

* For all identifiers: Rename global settings file to global writable
file. We want to use the respective attribute also for other writable
files, not only settings files.
* User settings file/global writable file info/attribute: Add
isDirectory property/child attribute. This allows declaring global/
user settings directories associated with the package.


# 0f4e11e75c244fd61da150011f1eae5fe79fc2a9 23-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

hpkg format: Add attributes for declaring users and groups


# 6da0ce6ff206b501faa6972d44225c5d2e7469dc 23-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Move package info parser to its own file