Damson/assets/syntax/ldif.xml
astar76 11c1a7808b Build the syntax definitions into the app
Highlighting relied on the syntax-highlighting package, so removing it
left every file uncoloured. The 462 definitions now live in assets/syntax
and are compressed into the binary at build time, unpacked per language
when used. User .xml files still add to or replace them, and the licence
each file declares is recorded in assets/syntax/LICENSES.md.

Also moves files to the trash without needing gio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
9.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="LDIF" version="8" kateversion="5.62" section="Database" extensions="*.ldif" mimetype="application/directory" author="Andreas Hochsteger ([email protected])" license=""><highlighting><list name="attributetypes"><item>IPPhone</item><item>URL</item><item>aRecord</item><item>aliasedEntryName</item><item>aliasedObjectName</item><item>associatedDomain</item><item>associatedName</item><item>audio</item><item>authorityRevocationList</item><item>bootFile</item><item>bootParameter</item><item>buildingName</item><item>businessCategory</item><item>c</item><item>cACertificate</item><item>cNAMERecord</item><item>certificateRevocationList</item><item>cn</item><item>comment</item><item>commonName</item><item>conferenceInformation</item><item>corbaContainer</item><item>corbaRepositoryId</item><item>countryName</item><item>crossCertificatePair</item><item>custom1</item><item>custom2</item><item>custom3</item><item>custom4</item><item>dITRedirect</item><item>dSAQuality</item><item>dc</item><item>deltaRevocationList</item><item>description</item><item>destinationIndicator</item><item>distinguishedName</item><item>dmdName</item><item>dnQualifier</item><item>documentAuthor</item><item>documentIdentifier</item><item>documentLocation</item><item>documentPublisher</item><item>documentTitle</item><item>documentVersion</item><item>domainComponent</item><item>enhancedSearchGuide</item><item>facsimileTelephoneNumber</item><item>fax</item><item>gecos</item><item>generationQualifier</item><item>gidNumber</item><item>givenName</item><item>gn</item><item>homeDirectory</item><item>homePostalAddress</item><item>homeUrl</item><item>host</item><item>houseIdentifier</item><item>info</item><item>initials</item><item>internationaliSDNNumber</item><item>ipHostNumber</item><item>ipNetmaskNumber</item><item>ipNetworkNumber</item><item>ipProtocolNumber</item><item>ipServicePort</item><item>ipServiceProtocol</item><item>janetMailbox</item><item>javaClassNames</item><item>javaCodebase</item><item>javaContainer</item><item>javaDoc</item><item>javaFactory</item><item>javaReferenceAddress</item><item>javaSerializedData</item><item>knowledgeInformation</item><item>l</item><item>labeledURI</item><item>lastModifiedBy</item><item>lastModifiedTime</item><item>lmpassword</item><item>localityName</item><item>loginShell</item><item>mDRecord</item><item>mXRecord</item><item>macAddress</item><item>mail</item><item>manager</item><item>member</item><item>memberNisNetgroup</item><item>memberUid</item><item>mozillaHomeCountryName</item><item>mozillaHomeFriendlyCountryName</item><item>mozillaHomeLocalityName</item><item>mozillaHomePostalAddress2</item><item>mozillaHomePostalCode</item><item>mozillaHomeState</item><item>mozillaPostalAddress2</item><item>mozillaSecondemail</item><item>nSRecord</item><item>name</item><item>nisMapEntry</item><item>nisMapName</item><item>nisNetgroupTriple</item><item>ntpasswd</item><item>o</item><item>objectClass</item><item>oncRpcNumber</item><item>organizationName</item><item>organizationalStatus</item><item>organizationalUnitName</item><item>otherFacsimiletelephoneNumber</item><item>otherMailbox</item><item>ou</item><item>owner</item><item>personalSignature</item><item>personalTitle</item><item>photo</item><item>physicalDeliveryOfficeName</item><item>postOfficeBox</item><item>postalAddress</item><item>postalCode</item><item>preferredDeliveryMethod</item><item>presentationAddress</item><item>protocolInformation</item><item>rdn</item><item>registeredAddress</item><item>reports</item><item>rfc822Mailbox</item><item>roleOccupant</item><item>roomNumber</item><item>sOARecord</item><item>searchGuide</item><item>secretary</item><item>seeAlso</item><item>serialNumber</item><item>shadowExpire</item><item>shadowFlag</item><item>shadowInactive</item><item>shadowLastChange</item><item>shadowMax</item><item>shadowMin</item><item>shadowWarning</item><item>singleLevelQuality</item><item>sn</item><item>st</item><item>stateOrProvinceName</item><item>street</item><item>streetAddress</item><item>subtreeMaximumQuality</item><item>subtreeMinimumQuality</item><item>supportedAlgorithms</item><item>supportedApplicationContext</item><item>surname</item><item>telephoneNumber</item><item>teletexTerminalIdentifier</item><item>telexNumber</item><item>textEncodedORAddress</item><item>title</item><item>uid</item><item>uidNumber</item><item>uniqueIdentifier</item><item>uniqueMember</item><item>userCertificate</item><item>userClass</item><item>userPassword</item><item>userid</item><item>workUrl</item><item>x121Address</item><item>x500UniqueIdentifier</item><item>xmozillaNickname</item><item>xmozillaUseHtmlMail</item><item>xmozillanickname</item><item>xmozillausehtmlmail</item></list><list name="objectclasses"><item>RFC822localPart</item><item>SUP</item><item>account</item><item>alias</item><item>applicationEntity</item><item>applicationProcess</item><item>bootableDevice</item><item>cRLDistributionPoint</item><item>certificationAuthority</item><item>certificationAuthority-V2</item><item>corbaObject</item><item>corbaObjectReference</item><item>country</item><item>dNSDomain</item><item>dSA</item><item>dcObject</item><item>deltaCRL</item><item>device</item><item>dmd</item><item>document</item><item>documentSeries</item><item>domain</item><item>domainRelatedObject</item><item>friendlyCountry</item><item>groupOfNames</item><item>groupOfUniqueNames</item><item>ieee802Device</item><item>inetOrgPerson</item><item>ipHost</item><item>ipNetwork</item><item>ipProtocol</item><item>ipService</item><item>javaClassName</item><item>javaMarshalledObject</item><item>javaNamingReference</item><item>javaObject</item><item>javaSerializedObject</item><item>labeledURIObject</item><item>locality</item><item>mozillaAbPersonObsolete</item><item>nisMap</item><item>nisNetgroup</item><item>nisObject</item><item>officePerson</item><item>oncRpc</item><item>organization</item><item>organizationalPerson</item><item>organizationalRole</item><item>organizationalUnit</item><item>pager</item><item>pagerTelephoneNumber</item><item>person</item><item>pilotDSA</item><item>pilotObject</item><item>pilotOrganization</item><item>pkiCA</item><item>pkiUser</item><item>posixAccount</item><item>posixGroup</item><item>qualityLabelledData</item><item>residentialPerson</item><item>rid</item><item>room</item><item>sambaAccount</item><item>shadowAccount</item><item>simpleSecurityObject</item><item>strongAuthenticationUser</item><item>telephoneNumber</item><item>top</item><item>uid</item><item>uidNumber</item><item>uidObject</item><item>userSecurityInformation</item><item>userid</item><item>xmozillaanyphone</item><item>zillaPerson</item></list><contexts><context name="ctxStart" attribute="Value (Standard)"><DetectChar char="#" attribute="Comment" context="Comment"/><DetectChar char=":" attribute="Description Keyword" context="ctxEncoded"/><DetectChar char="&lt;" attribute="Description Keyword" context="ctxURL"/><RegExpr String="[^:&lt;]" attribute="Value (Standard)" context="ctxStandard"/><RegExpr String="^[\w\-]+(;[\w\-]+)*:" attribute="Description Keyword" column="0"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Value (Encoded)" attribute="Value (Encoded)" lineEndContext="#pop"/><context name="Value (Encrypted)" attribute="Value (Encrypted)" lineEndContext="#pop"/><context name="Value (URL)" attribute="Value (URL)" lineEndContext="#pop"/><context name="ctxEncoded" attribute="Value (Encoded)"><DetectChar char="#" attribute="Comment" context="Comment"/><DetectSpaces attribute="Value (Encoded)" context="Value (Encoded)"/><RegExpr String="^[\w\-]+(;[\w\-]+)*:" attribute="Description Keyword" context="#pop" column="0"/></context><context name="ctxEncrypted" attribute="Value (Encrypted)"><DetectChar char="#" attribute="Comment" context="Comment"/><DetectSpaces attribute="Value (Encrypted)" context="Value (Encrypted)"/><RegExpr String="^[\w\-]+(;[\w\-]+)*:" attribute="Description Keyword" context="#pop#pop" column="0"/></context><context name="ctxStandard" attribute="Value (Standard)"><DetectChar char="#" attribute="Comment" context="Comment"/><RegExpr String="\{\w+\}.*$" attribute="Value (Encrypted)" context="ctxEncrypted"/><keyword String="attributetypes" attribute="AttributeType"/><keyword String="objectclasses" attribute="ObjectClass"/><RegExpr String="^[\w\-]+(;[\w\-]+)*:" attribute="Description Keyword" context="#pop" column="0"/><RegExpr String="[a-zA-Z0-9\-]+=" attribute="Value (Keyword)"/></context><context name="ctxURL" attribute="Value (URL)"><DetectChar char="#" attribute="Comment" context="Comment"/><RegExpr String="\s+[\w]+://[\w/.]+" attribute="Value (URL)"/><DetectSpaces attribute="Value (URL)" context="Value (URL)"/><RegExpr String="^[\w\-]+(;[\w\-]+)*:" attribute="Description Keyword" context="#pop" column="0"/></context></contexts><itemDatas><itemData name="Comment" defStyleNum="dsComment"/><itemData name="AttributeType" defStyleNum="dsFunction" bold="1" italic="0" spellChecking="0"/><itemData name="ObjectClass" defStyleNum="dsExtension" bold="1" spellChecking="0"/><itemData name="Description Keyword" defStyleNum="dsKeyword" bold="1" spellChecking="0"/><itemData name="Value (Standard)" defStyleNum="dsOthers" bold="0" spellChecking="0"/><itemData name="Value (Encoded)" defStyleNum="dsInformation" bold="0" spellChecking="0"/><itemData name="Value (Encrypted)" defStyleNum="dsWarning" bold="0" spellChecking="0"/><itemData name="Value (Keyword)" defStyleNum="dsOthers" bold="1" spellChecking="0"/><itemData name="Value (URL)" defStyleNum="dsAttribute" bold="0" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language>