directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-ldap-api] branch master updated (d70e6f2 -> 73cdfc7)
Date Tue, 15 May 2018 22:31:02 GMT
This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git.


    from d70e6f2  o Fixed a compilation failure o Preparing for the next error refactoring
o A bit of commenting
     new a4a06ab  o Refactored api-ldap-codec-standalone error messages o Refactored api-ldap-extras-aci
error messages
     new cefbe9e  Added a hand-crafted OpenLDAP schema parser, which is 40x faster than the
antlr based one. It only supports AT and OC atm.
     new c2cebda  Some fixes in LdapNetworkConnection
     new 22bc0cc  Fixed some typoes in messages
     new 3bdb996  The Fast OpenLdapSchemaParser and all the associate changes.
     new 73cdfc7  Merge branch 'master' of https://gitbox.apache.org/repos/asf/directory-ldap-api

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/directory/api/i18n/I18n.java   |  254 +-
 .../apache/directory/api/i18n/errors.properties    |  202 +-
 .../apache/directory/api/i18n/messages.properties  |   78 +-
 .../ldap/client/api/DefaultSchemaLoader.java       |   22 +-
 .../ldap/client/api/LdapNetworkConnection.java     |   11 +-
 ldap/codec/core/res.txt                            |  530 ++
 .../api/ldap/codec/BasicControlDecorator.java      |    2 +-
 .../api/ldap/codec/actions/CheckLengthNotNull.java |    2 +-
 .../ldap/codec/actions/controls/AddControl.java    |    6 +-
 .../actions/controls/StoreControlCriticality.java  |    4 +-
 .../codec/actions/controls/StoreControlValue.java  |    3 +-
 .../directory/api/ldap/codec/api/LdapEncoder.java  |    6 +-
 .../proxiedauthz/ProxiedAuthzDecorator.java        |    2 +-
 .../search/entryChange/EntryChangeDecorator.java   |    2 +-
 .../search/pagedSearch/PagedResultsDecorator.java  |    2 +-
 .../PersistentSearchDecorator.java                 |    2 +-
 .../search/subentries/SubentriesDecorator.java     |    2 +-
 .../codec/controls/sort/SortRequestDecorator.java  |    2 +-
 .../codec/controls/sort/SortResponseDecorator.java |    2 +-
 .../codec/decorators/AbandonRequestDecorator.java  |    2 +-
 .../codec/decorators/AddResponseDecorator.java     |    2 +-
 .../codec/decorators/BindRequestDecorator.java     |    6 +-
 .../codec/decorators/BindResponseDecorator.java    |    2 +-
 .../codec/decorators/CompareRequestDecorator.java  |    2 +-
 .../codec/decorators/CompareResponseDecorator.java |    2 +-
 .../codec/decorators/DeleteRequestDecorator.java   |    2 +-
 .../codec/decorators/DeleteResponseDecorator.java  |    2 +-
 .../codec/decorators/ExtendedRequestDecorator.java |    2 +-
 .../decorators/ExtendedResponseDecorator.java      |    2 +-
 .../decorators/IntermediateResponseDecorator.java  |    2 +-
 .../ldap/codec/decorators/LdapResultDecorator.java |    4 +-
 .../codec/decorators/ModifyDnRequestDecorator.java |    2 +-
 .../decorators/ModifyDnResponseDecorator.java      |    2 +-
 .../codec/decorators/ModifyRequestDecorator.java   |    2 +-
 .../codec/decorators/ModifyResponseDecorator.java  |    2 +-
 .../codec/decorators/SearchRequestDecorator.java   |    2 +-
 .../decorators/SearchResultDoneDecorator.java      |    2 +-
 .../decorators/SearchResultEntryDecorator.java     |    2 +-
 .../decorators/SearchResultReferenceDecorator.java |    2 +-
 .../codec/decorators/UnbindRequestDecorator.java   |    2 +-
 .../ldap/codec/osgi/DefaultLdapCodecService.java   |   19 +-
 .../directory/api/ldap/codec/search/AndFilter.java |    4 +-
 .../search/AttributeValueAssertionFilter.java      |    4 +-
 .../api/ldap/codec/search/ConnectorFilter.java     |    2 +-
 .../ldap/codec/search/ExtensibleMatchFilter.java   |    4 +-
 .../directory/api/ldap/codec/search/NotFilter.java |    4 +-
 .../directory/api/ldap/codec/search/OrFilter.java  |    4 +-
 .../api/ldap/codec/search/PresentFilter.java       |    4 +-
 .../api/ldap/codec/search/SubstringFilter.java     |    4 +-
 .../ldap/codec/standalone/CodecFactoryUtil.java    |   65 +-
 .../codec/standalone/StandaloneLdapApiService.java |   13 +-
 .../org/apache/directory/api/ldap/aci/ACIItem.java |    6 +-
 .../directory/api/ldap/aci/ACIItemChecker.java     |    4 +-
 .../directory/api/ldap/aci/ACIItemParser.java      |    4 +-
 .../apache/directory/api/ldap/aci/ACITuple.java    |    4 +-
 .../ldap/aci/protectedItem/RangeOfValuesItem.java  |    3 +-
 .../api/ldap/extras/controls/SyncModifyDnType.java |    3 +-
 .../controls/ppolicy/PasswordPolicyErrorEnum.java  |    3 +-
 .../syncrepl/syncState/SyncStateTypeEnum.java      |    2 +-
 .../controls/vlv/VirtualListViewResultCode.java    |    3 +-
 .../StoredProcedureRequestImpl.java                |    8 +-
 .../intermediate/syncrepl/SyncInfoValueImpl.java   |    3 +-
 .../controls/ad_impl/AdDirSyncDecorator.java       |    2 +-
 .../extras/controls/ad_impl/AdDirSyncGrammar.java  |   13 +-
 .../controls/ad_impl/AdPolicyHintsDecorator.java   |    2 +-
 .../extras/controls/ppolicy_impl/PPolicyInit.java  |    3 +-
 .../ppolicy_impl/PasswordPolicyDecorator.java      |    2 +-
 .../syncrepl_impl/SyncDoneValueDecorator.java      |    2 +-
 .../syncrepl_impl/SyncDoneValueGrammar.java        |    6 +-
 .../syncrepl_impl/SyncRequestValueDecorator.java   |    2 +-
 .../syncrepl_impl/SyncRequestValueGrammar.java     |   14 +-
 .../syncrepl_impl/SyncStateValueDecorator.java     |    2 +-
 .../syncrepl_impl/SyncStateValueGrammar.java       |    8 +-
 .../controls/vlv_impl/InitByOffsetSequence.java    |    3 +-
 .../vlv_impl/InitVirtualListViewRequest.java       |    3 +-
 .../vlv_impl/VirtualListViewRequestDecorator.java  |    2 +-
 .../vlv_impl/VirtualListViewResponseDecorator.java |    2 +-
 .../extended/ads_impl/cancel/CancelGrammar.java    |    4 +-
 .../ads_impl/cancel/CancelRequestDecorator.java    |    4 +-
 .../certGeneration/CertGenerationGrammar.java      |   18 +-
 .../CertGenerationRequestDecorator.java            |    4 +-
 .../EndTransactionRequestDecorator.java            |    2 +-
 .../EndTransactionRequestGrammar.java              |    6 +-
 .../EndTransactionResponseDecorator.java           |    2 +-
 .../EndTransactionResponseGrammar.java             |    6 +-
 .../endTransaction/controls/ControlsGrammar.java   |    2 +-
 .../controls/actions/AddControl.java               |    6 +-
 .../controls/actions/StoreControlCriticality.java  |    4 +-
 .../controls/actions/StoreControlValue.java        |    3 +-
 .../GracefulDisconnectGrammar.java                 |   14 +-
 .../GracefulDisconnectResponseDecorator.java       |    4 +-
 .../gracefulShutdown/GracefulShutdownGrammar.java  |   12 +-
 .../GracefulShutdownRequestDecorator.java          |    4 +-
 .../pwdModify/PasswordModifyRequestDecorator.java  |    2 +-
 .../pwdModify/PasswordModifyRequestGrammar.java    |   13 +-
 .../pwdModify/PasswordModifyResponseDecorator.java |    2 +-
 .../pwdModify/PasswordModifyResponseGrammar.java   |    3 +-
 .../storedProcedure/StoredProcedureGrammar.java    |   21 +-
 .../StoredProcedureRequestDecorator.java           |    9 +-
 .../ads_impl/whoAmI/WhoAmIResponseDecorator.java   |    4 +-
 .../ads_impl/whoAmI/WhoAmIResponseGrammar.java     |   13 +-
 .../syncrepl_impl/SyncInfoValueDecorator.java      |    6 +-
 .../syncrepl_impl/SyncInfoValueGrammar.java        |   76 +-
 .../StoredProcedureLanguageSchemeOption.java       |   26 +-
 .../api/ldap/trigger/TriggerSpecification.java     |   16 +-
 .../ldap/trigger/TriggerSpecificationParser.java   |    6 +-
 ldap/model/src/checkstyle/suppressions.xml         |    1 +
 ldap/model/src/main/antlr/distinguishedName.g      |   12 -
 ldap/model/src/main/antlr/schema-extension.g       |  119 -
 ldap/model/src/main/antlr/schema-qdstring.g        |  162 -
 ldap/model/src/main/antlr/schema-value.g           |  442 --
 ldap/model/src/main/antlr/schema.g                 | 1085 ----
 .../model/schema/parsers/AbstractSchemaParser.java |  153 +-
 .../AttributeTypeDescriptionSchemaParser.java      |   21 +-
 .../model/schema/parsers/ConsoleParserMonitor.java |   72 -
 .../DitContentRuleDescriptionSchemaParser.java     |   21 +-
 .../DitStructureRuleDescriptionSchemaParser.java   |   21 +-
 .../LdapComparatorDescriptionSchemaParser.java     |   21 +-
 .../parsers/LdapSyntaxDescriptionSchemaParser.java |   19 +-
 .../MatchingRuleDescriptionSchemaParser.java       |   20 +-
 .../MatchingRuleUseDescriptionSchemaParser.java    |   20 +-
 .../parsers/NameFormDescriptionSchemaParser.java   |   20 +-
 .../parsers/NormalizerDescriptionSchemaParser.java |   20 +-
 .../ObjectClassDescriptionSchemaParser.java        |   20 +-
 .../model/schema/parsers/OpenLdapSchemaParser.java | 6117 +++++++++++++++++++-
 .../ldap/model/schema/parsers/ParserMonitor.java   |   53 -
 .../model/schema/parsers/ParserMonitorAdapter.java |   55 -
 .../schema/parsers/ReusableAntlrSchemaLexer.java   |   79 -
 .../schema/parsers/ReusableAntlrSchemaParser.java  |   62 -
 .../SyntaxCheckerDescriptionSchemaParser.java      |   21 +-
 .../AttributeTypeDescriptionSyntaxChecker.java     |    2 +-
 .../DitContentRuleDescriptionSyntaxChecker.java    |    2 +-
 .../DitStructureRuleDescriptionSyntaxChecker.java  |    2 +-
 .../LdapSyntaxDescriptionSyntaxChecker.java        |    2 +-
 .../MatchingRuleDescriptionSyntaxChecker.java      |    2 +-
 .../MatchingRuleUseDescriptionSyntaxChecker.java   |    2 +-
 .../NameFormDescriptionSyntaxChecker.java          |    2 +-
 .../ObjectClassDescriptionSyntaxChecker.java       |    2 +-
 .../model/schema/SchemaObjectRendererTest.java     |    8 +-
 ...Test.java => FastOpenLdapSchemaParserTest.java} |   41 +-
 .../schema/parsers/OpenLdapSchemaParserTest.java   |   38 +-
 .../AttributeTypeDescriptionSyntaxCheckerTest.java |    2 +-
 ...DitContentRuleDescriptionSyntaxCheckerTest.java |    2 +-
 ...tStructureRuleDescriptionSyntaxCheckerTest.java |    2 +-
 .../ObjectClassDescriptionSyntaxCheckerTest.java   |    2 +-
 ...uteTypeDescriptionSchemaParserRelaxedTest.java} |  466 +-
 ...buteTypeDescriptionSchemaParserStrictTest.java} |  636 +-
 .../ComparatorDescriptionSchemaParserTest.java     |   21 +-
 ...entRuleDescriptionSchemaParserRelaxedTest.java} |  156 +-
 .../DitContentRuleDescriptionSchemaParserTest.java |  228 +-
 ...ureRuleDescriptionSchemaParserRelaxedTest.java} |   97 +-
 ...tureRuleDescriptionSchemaParserStrictTest.java} |  139 +-
 .../LdapSyntaxDescriptionSchemaParserTest.java     |   19 +-
 .../MatchingRuleDescriptionSchemaParserTest.java   |  146 +-
 ...MatchingRuleUseDescriptionSchemaParserTest.java |  126 +-
 .../NameFormDescriptionSchemaParserTest.java       |  141 +-
 .../NormalizerDescriptionSchemaParserTest.java     |    4 +-
 ...ctClassDescriptionSchemaParserRelaxedTest.java} |  189 +-
 ...ectClassDescriptionSchemaParserStrictTest.java} |  295 +-
 .../syntaxes/parser/SchemaParserTestUtils.java     |  510 +-
 .../SyntaxCheckerDescriptionSchemaParserTest.java  |   14 +-
 .../schema/manager/impl/DefaultSchemaManager.java  |    4 +-
 162 files changed, 9301 insertions(+), 4347 deletions(-)
 create mode 100644 ldap/codec/core/res.txt
 delete mode 100644 ldap/model/src/main/antlr/schema-extension.g
 delete mode 100644 ldap/model/src/main/antlr/schema-qdstring.g
 delete mode 100644 ldap/model/src/main/antlr/schema-value.g
 delete mode 100644 ldap/model/src/main/antlr/schema.g
 delete mode 100644 ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ConsoleParserMonitor.java
 delete mode 100644 ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ParserMonitor.java
 delete mode 100644 ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ParserMonitorAdapter.java
 delete mode 100644 ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ReusableAntlrSchemaLexer.java
 delete mode 100644 ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ReusableAntlrSchemaParser.java
 copy ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/parsers/{OpenLdapSchemaParserTest.java
=> FastOpenLdapSchemaParserTest.java} (96%)
 copy ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{AttributeTypeDescriptionSchemaParserTest.java
=> AttributeTypeDescriptionSchemaParserRelaxedTest.java} (74%)
 rename ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{AttributeTypeDescriptionSchemaParserTest.java
=> AttributeTypeDescriptionSchemaParserStrictTest.java} (67%)
 copy ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{DitContentRuleDescriptionSchemaParserTest.java
=> DitContentRuleDescriptionSchemaParserRelaxedTest.java} (73%)
 copy ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{DitStructureRuleDescriptionSchemaParserTest.java
=> DitStructureRuleDescriptionSchemaParserRelaxedTest.java} (82%)
 rename ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{DitStructureRuleDescriptionSchemaParserTest.java
=> DitStructureRuleDescriptionSchemaParserStrictTest.java} (78%)
 copy ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{ObjectClassDescriptionSchemaParserTest.java
=> ObjectClassDescriptionSchemaParserRelaxedTest.java} (83%)
 rename ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/syntaxes/parser/{ObjectClassDescriptionSchemaParserTest.java
=> ObjectClassDescriptionSchemaParserStrictTest.java} (76%)

-- 
To stop receiving notification emails like this one, please contact
elecharny@apache.org.

Mime
View raw message