D11945: Optimize AppArmor & SELinux highlighting and improve regex

Nibaldo González noreply at phabricator.kde.org
Thu Apr 5 07:21:37 UTC 2018


nibags created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
nibags requested review of this revision.

REVISION SUMMARY
  Some optimizations are made (some suggested from D10621 <https://phabricator.kde.org/D10621>) and other improvements, such as:
  
  AppArmor:
  
  - Add the profile flag 'xattrs' keyword (for future versions of AppArmor).
  - Allow any character as escape.
  - Improvements in the Boolean assignment (for future versions of AppArmor).
  
  SELinux:
  
  - Improvements in the highlighting of Regex.

TEST PLAN
  Changes were tested

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  opt-apparmor-selinux (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D11945

AFFECTED FILES
  autotests/html/usr.bin.apparmor-profile-test.html
  autotests/reference/test.cil.ref
  autotests/reference/test.fc.ref
  autotests/reference/usr.bin.apparmor-profile-test.ref
  data/syntax/apparmor.xml
  data/syntax/selinux-cil.xml
  data/syntax/selinux-fc.xml

To: nibags
Cc: #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180405/ceb844ec/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list