provides access to a table mapping alphanumeric characters to their
collation equivalents as defined in the Default Unicode Collation
Element Table (DUCET). Class is used by TSM to implement
alphanumeric character handling EQUIVALENCE.
Utilize fnmatch(3) on GLIBC systems for processing wildcard matching.
Non-GLIBC systems will continue handle wildcard expressions by
converting them to regex.
Internal AuxData class introduced to further de-couple internal
implementation details from public interfaces.
Other changes were made based on feedback from @MicheleC.
Signed-off-by: Vincent Reher <tde@4reher.org>
a structure describing a match pattern and associated options such as:
- Pattern type: regex, wildcard (see Note 1), and substring (new).
- Alphanumeric character handling: case-sensitive, case-insensitive,
equivalent character matching (new - see Note 2).
- Match goal: "matching" vs. "inverted matching" (new).
Introduced additional "get*" and "set*" functions to accommodate the
new list-of-structures interfaces to TSM.
Incorporated most of MichelleC's feedback through 2022-12-04
on previously committed code. Other code cleanup.
See file tdecore/README.tdestringmatcher for additional information.
Note 1: The implementation of wildcard support no longer uses
the TQRegExp.setWildcard() function for regex conversion or
the TQRegExp.exactMatch() function for matching.
Note 2: Full implementation of equivalent character matching is
postponed to a future commit.
Signed-off-by: Vincent Reher <tde@4reher.org>
matching class. Additional information about the class can be
found in tdecore/README.tdestringmatcher.
Introduce concept of a "hidden file matcher" instance of the
TDEStringMatcher class that can be used to extend the definition
"hidden" files beyond traditional "dotfiles".
Create a global default instance of a "hidden file matcher"
for use in applications that don't need their own.
Modify KFileItem class to utilize a hidden file matcher when
evaluating whether or not a filesystem object is hidden.
This commit partially addresses issue # 273. Additional changes
to tdelibs, tdebase/libkonq, and tdebase/konqueror will be
required to resolve that issue.
Signed-off-by: Vincent Reher <tde@4reher.org>
For the tde_dbus_hardwarecontrol daemon, the destination is always
"org.trinitydesktop.hardwarecontrol", which provides interfaces for
individual components. The permissions for the standard dbus Introspectable
and Properties calls are therefore set together on one destination,
regardless of the interfaces for the individual components.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Reading the status of input switches seems safe so that it can be allowed
to everyone. This will prevent the log from being filled with unauthorized
access messages if the user is not a member of the plugdev group - this
resolve issue TDE/tde#44.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
to be able to generate a signal when the power state changes,
if the signal is not generated from udev.
This resolves issue TDE/tde#30.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>