From f93a503bd991c6c16f0b63aed69b32577e5a5608 Mon Sep 17 00:00:00 2001 From: JanBliznicenko Date: Mon, 30 Oct 2023 13:32:28 +0100 Subject: [PATCH 1/4] Baseline uses proper Tools group based on Pharo version --- src/BaselineOfXPath/BaselineOfXPath.class.st | 67 ++++++++------------ src/XPath-Inspector/package.st | 1 + 2 files changed, 27 insertions(+), 41 deletions(-) create mode 100644 src/XPath-Inspector/package.st diff --git a/src/BaselineOfXPath/BaselineOfXPath.class.st b/src/BaselineOfXPath/BaselineOfXPath.class.st index bd64be8..d9e8fed 100644 --- a/src/BaselineOfXPath/BaselineOfXPath.class.st +++ b/src/BaselineOfXPath/BaselineOfXPath.class.st @@ -11,33 +11,33 @@ Class { BaselineOfXPath >> baselineOf: spec [ - spec - for: #common - do: [ - - self - xmlParserOn: spec; - xmlWriterOn: spec. - - "Packages" - spec - package: 'XPath-Core' with: [ spec requires: #('XMLParser') ]; - - package: 'XPath-Tests' with: [ spec requires: #('XMLParser Tests' 'XPath-Core') ]. - spec - for: #'pharo8.x' - do: [ spec package: 'XPath-GTExtensions' - with: [ spec requires: #('XMLWriter' 'XPath-Core') ]]. - - "Groups" + spec for: #common do: [ + self xmlParserOn: spec. + + "Packages" + spec + package: 'XPath-Core' with: [ spec requires: #( 'XMLParser' ) ]; + package: 'XPath-Tests' + with: [ spec requires: #( 'XMLParser Tests' 'XPath-Core' ) ]; + package: 'XPath-Inspector' + with: [ spec requires: #( 'XMLParser Tools' 'XPath-Core' ) ]. + + "Core group" + spec group: 'Core' with: #( 'XPath-Core' ). + + "Tools group" + spec group: 'Tools' with: #( 'XPath-Inspector' ). + spec for: #( #'pharo8.x' #'pharo7.x' #'pharo6.x' ) do: [ spec - group: 'Core' with: #('XPath-Core'); - group: 'Tools' with: #('XMLParser Tools'); - group: 'P8Tools' with: #('XMLParser Tools' 'XPath-GTExtensions' ); - group: 'Tests' with: #('XPath-Tests'); - group: 'all' with: #('Core' 'Tools' 'Tests'); - group: 'default' with: #('all') - ] + package: 'XPath-GTExtensions' + with: [ spec requires: #( 'XMLParser Tools' 'XPath-Core' ) ]; + group: 'Tools' with: #( 'XPath-GTExtensions' ) ]. + + "Other groups" + spec + group: 'Tests' with: #( 'XPath-Tests' ); + group: 'all' with: #( 'Tools' 'Tests' ); + group: 'default' with: #( 'all' ) ] ] { #category : #baseline } @@ -54,18 +54,3 @@ BaselineOfXPath >> xmlParserOn: spec [ project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec loads: #('Tests') ]; project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec loads: #('Tools') ] ] - -{ #category : #baseline } -BaselineOfXPath >> xmlWriterOn: spec [ - - spec - baseline: 'XMLWriter' - with: [ - spec - loads: #('Core'); - repository: 'github://pharo-contributions/XML-XMLWriter:v3.1.0/src' ]. - - spec - project: 'XMLWriter Tests' copyFrom: 'XMLWriter' with: [ spec loads: #('Tests') ]; - project: 'XMLWriter Tools' copyFrom: 'XMLWriter' with: [ spec loads: #('Tools') ] -] diff --git a/src/XPath-Inspector/package.st b/src/XPath-Inspector/package.st new file mode 100644 index 0000000..d21d626 --- /dev/null +++ b/src/XPath-Inspector/package.st @@ -0,0 +1 @@ +Package { #name : #'XPath-Inspector' } From 6a292df716c783a78d031ea27f9946ebeeaf0af1 Mon Sep 17 00:00:00 2001 From: JanBliznicenko Date: Mon, 30 Oct 2023 13:32:47 +0100 Subject: [PATCH 2/4] Removed configuration --- .../ConfigurationOfXPath.class.st | 2409 ----------------- src/ConfigurationOfXPath/package.st | 1 - 2 files changed, 2410 deletions(-) delete mode 100644 src/ConfigurationOfXPath/ConfigurationOfXPath.class.st delete mode 100644 src/ConfigurationOfXPath/package.st diff --git a/src/ConfigurationOfXPath/ConfigurationOfXPath.class.st b/src/ConfigurationOfXPath/ConfigurationOfXPath.class.st deleted file mode 100644 index 816b9b5..0000000 --- a/src/ConfigurationOfXPath/ConfigurationOfXPath.class.st +++ /dev/null @@ -1,2409 +0,0 @@ -" -Loads the XPath library and related packages: - (ConfigurationOfXPath project version: #stable) load: #('default') - -The loadable groups are: - default - XPath, XMLParser, and XMLWriter with tests. - Core - XPath and XMLParser without XMLWriter or tests. - CoreWithWriting - XPath, XMLParser, and XMLWriter without tests. -" -Class { - #name : #ConfigurationOfXPath, - #superclass : #Object, - #instVars : [ - 'project' - ], - #classVars : [ - 'LastVersionLoad' - ], - #category : #ConfigurationOfXPath -} - -{ #category : #'development support' } -ConfigurationOfXPath class >> DevelopmentSupport [ - -"See the methods in the 'development support' category on the class-side of MetacelloBaseConfiguration. Decide what development support methods you would like to use and copy them the the class-side of your configuration." - - -] - -{ #category : #private } -ConfigurationOfXPath class >> baseConfigurationClassIfAbsent: aBlock [ - - ^Smalltalk - at: #MetacelloBaseConfiguration - ifAbsent: [ - self ensureMetacelloBaseConfiguration. - Smalltalk at: #MetacelloBaseConfiguration ifAbsent: aBlock ]. - -] - -{ #category : #catalog } -ConfigurationOfXPath class >> catalogChangeLog [ - - ^ '- Development moved to Baseline 1.0.6, for ci build on pharo-contribution ci. -- Version 1.0 migrated to Pharo 3.0' - - -] - -{ #category : #catalog } -ConfigurationOfXPath class >> catalogDescription [ - - ^ 'An XPath library for Pharo, Squeak, and Gemstone leveraging the XML parsing capabilities of XMLParser. Supports XPath 1.0 syntax with extensions.' -] - -{ #category : #catalog } -ConfigurationOfXPath class >> catalogKeyClassesAndExample [ - - ^ ' ==XPath==, ==XPathContext==, and ==XPathNodeSet== are the main public classes of the package. - -The following example retrieves the language types as found in the UNICODE Common Locale Data Repository (CDLR) -[[[ -| doc | -doc := (XMLDOMParser parseURL: ''http://unicode.org/repos/cldr/trunk/common/supplemental/supplementalData.xml''). - -"get all language type attribute nodes" -(XPath for: ''//languageData/language/@type'') in: doc. - -"abbreviated form" -doc // ''languageData'' / ''language'' @ ''type'' -]]]' -] - -{ #category : #catalog } -ConfigurationOfXPath class >> catalogKeywords [ - - ^ #(XPath XML DOM HTML XHTML parser web markup document query ) - -] - -{ #category : #catalog } -ConfigurationOfXPath class >> catalogLicense [ - ^ 'The MIT License (MIT) - -Copyright (c) 2016 PharoExtras Team. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.' -] - -{ #category : #private } -ConfigurationOfXPath class >> ensureMetacello [ - - (self baseConfigurationClassIfAbsent: []) ensureMetacello -] - -{ #category : #private } -ConfigurationOfXPath class >> ensureMetacelloBaseConfiguration [ - - Smalltalk - at: #MetacelloBaseConfiguration - ifAbsent: [ - | repository version | - repository := MCHttpRepository location: 'http://seaside.gemstone.com/ss/metacello' user: '' password: ''. - repository - versionReaderForFileNamed: 'Metacello-Base-DaleHenrichs.2.mcz' - do: [ :reader | - version := reader version. - version load. - version workingCopy repositoryGroup addRepository: repository ] ] -] - -{ #category : #'metacello tool support' } -ConfigurationOfXPath class >> isMetacelloConfig [ - "Answer true and the Metacello tools will operate on you" - - ^true -] - -{ #category : #loading } -ConfigurationOfXPath class >> load [ - "Load the #stable version defined for this platform. The #stable version is the version that is recommended to be used on this platform." - - "self load" - - - ^(self project version: #stable) load -] - -{ #category : #loading } -ConfigurationOfXPath class >> loadBleedingEdge [ - "Load the latest versions of the mcz files defined for this project. It is not likely that the #bleedingEdge has been tested." - - "self loadBleedingEdge" - - - ^(self project version: #bleedingEdge) load -] - -{ #category : #loading } -ConfigurationOfXPath class >> loadDevelopment [ - "Load the #development version defined for this platform. The #development version will change over time and is not expected to be stable." - - "self loadDevelopment" - - - ^(self project version: #development) load -] - -{ #category : #accessing } -ConfigurationOfXPath class >> project [ - - ^self new project -] - -{ #category : #'development support' } -ConfigurationOfXPath class >> validate [ - "Check the configuration for Errors, Critical Warnings, and Warnings (see class comment for MetacelloMCVersionValidator for more information). - Errors identify specification issues that will result in unexpected behaviour when you load the configuration. - Critical Warnings identify specification issues that may result in unexpected behavior when you load the configuration. - Warnings identify specification issues that are technically correct, but are worth take a look at." - - "self validate" - - - self ensureMetacello. - ^ ((Smalltalk at: #MetacelloToolBox) validateConfiguration: self debug: #() recurse: false) explore -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline101: spec [ - - spec for: #common do: [ spec blessing: #baseline ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.2' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline105: spec [ - - spec for: #common do: [ spec blessing: #baseline ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.3' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline106: spec [ - - spec for: #common do: [ spec blessing: #baseline ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.4' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline134: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.4' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.5' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline149: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.5' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.6' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline151: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.5' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.7' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline155: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.5' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.8' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline158: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.6' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.9' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline160: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.6.3' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.10' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline162: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.6.3' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline163: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.6.5' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline165: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.6.8' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline166: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.7.3' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline167: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.7.4' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline168: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.7.6' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline169: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.8.1' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline170: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.8.3' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline171: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.8.7' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline172: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.8.9' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline173: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline174: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.5' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline176: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.7' ]. - spec for: #gemstone do: [ spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11' ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline177: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8' ]. - spec for: #gemstone do: [ - spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.11'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline177. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline180: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8' ]. - spec for: #gemstone do: [ - spec package: 'XPath-GemstoneCompatibility' with: 'XPath-GemstoneCompatibility-monty.12'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline180. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline182: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8' ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.13'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline180. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline183: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8' ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.13'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline183. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline189: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.14'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline190: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.15'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline191: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-2.9.8'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline192: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline194: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.12'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline198: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.18'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline200: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.20'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline201: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.21'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline202: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.1.7'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.26'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline205: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.1.9'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline189. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.27'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline206: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.2.2'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.27'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline209: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.2.9'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.27'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline210: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.3.2'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.28'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline211: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.3.4'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.29'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline212: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.3.8'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.30'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baseline213: spec [ - - spec - for: #common - do: [ - spec blessing: #baseline. - spec project: 'XMLParser' with: #'release-3.4.8'. - spec postLoadDoIt: #clearXPathCache. ]. - spec for: #squeakCommon do: [ - spec - package: 'XPath-SqueakCommonCompatibility' - with: 'XPath-SqueakCommonCompatibility-monty.1'. ]. - spec for: #gemstone do: [ - spec - package: 'XPath-GemstoneCompatibility' - with: 'XPath-GemstoneCompatibility-monty.16'. - - "force initialization of lazy-initialized class and class isnt - vars to avoid write conflicts on GS" - spec postLoadDoIt: #initializeClassesForGSBaseline206. ]. - spec for: #gt do: [ - spec - package: 'XPath-GTExtensions' - with: 'XPath-GTExtensions-monty.30'. ] -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baselineMaster182: spec [ - - - spec for: #squeakCommon do: [ - spec - package: 'XPath-Core' - with: [ spec includes: 'XPath-SqueakCommonCompatibility' ]. - spec - package: 'XPath-SqueakCommonCompatibility' - with: [ spec requires: 'XPath-Core' ]. ]. -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baselineMaster194: spec [ - - - spec - for: #gt - do: [ - "the extensions require XMLWriter" - spec - group: 'CoreWithWriting' with: #('XMLParserCoreWithWriting' 'XPath-Core' 'XPath-GTExtensions'); - group: 'Tests' with: #('XPath-Tests' 'XPath-GTExtensions'). - spec - package: 'XPath-GTExtensions' - with: [ spec requires: 'XPath-Core' ]. ]. -] - -{ #category : #'outdated - baselines' } -ConfigurationOfXPath >> baselineMaster1: spec [ - - - spec for: #common do: [ - spec blessing: #baseline. - spec repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XPath/main'. - spec - project: 'XMLParser' - with: [ - spec - className: 'ConfigurationOfXMLParser'; - versionString: #stable; - loads: #('Core'); - repository: 'http://smalltalkhub.com/mc/PharoExtras/XMLParser/main' ]. - spec - project: 'XMLParserCoreWithWriting' - copyFrom: 'XMLParser' - with: [ spec loads: #('CoreWithWriting') ]. - spec - project: 'XMLParserTests' - copyFrom: 'XMLParser' - with: [ spec loads: #('Tests') ]. - spec package: 'XPath-Core' with: [ spec requires: 'XMLParser' ]. - spec package: 'XPath-Tests' with: [ spec requires: #('XMLParserTests' 'XPath-Core') ]. - - spec group: 'default' with: #('CoreWithWriting' 'Tests'). - spec group: 'Core' with: #('XPath-Core'). - spec group: 'CoreWithWriting' with: #('XMLParserCoreWithWriting' 'XPath-Core'). - spec group: 'Tests' with: #('XPath-Tests')]. - - spec for: #gemstone do: [ - spec - package: 'XPath-Core' - with: [ spec includes: 'XPath-GemstoneCompatibility' ]. - spec - package: 'XPath-GemstoneCompatibility' - with: [ spec requires: 'XPath-Core' ]. ]. -] - -{ #category : #doits } -ConfigurationOfXPath >> clearXPathCache [ - XPath clearCompiledExpressionCache -] - -{ #category : #accessing } -ConfigurationOfXPath >> customProjectAttributes [ - "Edit to return a collection of any custom attributes e.g. for conditional loading: Array with: #'Condition1' with: #'Condition2. - For more information see: http://code.google.com/p/metacello/wiki/CustomProjectAttrributes " - - (Smalltalk includesKey: #GTInspector) - ifTrue: [ ^ #(gt) ] - ifFalse: [ ^ #() ] -] - -{ #category : #'symbolic versions' } -ConfigurationOfXPath >> dev: spec [ - - - spec for: #'common' do: [ - spec - baseline: 'XPath' with: [ - spec - className: 'BaselineOfXPath'; - repository: 'github://pharo-contributions/XML-XPath:master/src' ]] -] - -{ #category : #'symbolic versions' } -ConfigurationOfXPath >> development: spec [ - - - spec for: #'common' version: 'dev' -] - -{ #category : #doits } -ConfigurationOfXPath >> initializeClassesForGSBaseline177 [ - "All lazily initialized class and class instance variables must be - explicitly initialized on GS during installation to prevent write - conflicts between Gems later on. - - This can help identify classes that use lazy initialization: - ConfigurationOfXMLParser findLazyInitializedClassStateInPackage: 'XPath' - " - - XPath compiledXPathCache. - "renamed" - (XMLClassFinder classNamed: #XPathCompiler) systemCompilerClass. - XPathFunction allSubclassesDo: [:each | - each functionPrototype]. - XPathContext defaultFunctions. - "renamed" - (XMLClassFinder classNamed: #XPathNodeTestParserContext) allSubclassesDo: [:each | - each instance]. - XPathSortOrder allSubclassesDo: [:each | - each instance]. -] - -{ #category : #doits } -ConfigurationOfXPath >> initializeClassesForGSBaseline180 [ - "All lazily initialized class and class instance variables must be - explicitly initialized on GS during installation to prevent write - conflicts between Gems later on. - - This can help identify classes that use lazy initialization: - ConfigurationOfXMLParser findLazyInitializedClassStateInPackage: 'XPath' - " - - XPath compiledXPathCache. - "renamed" - (XMLClassFinder classNamed: #XPathCompiler) systemCompilerClass. - XPathFunction allSubclassesDo: [:each | - each prototype]. - XPathContext defaultFunctions. - "renamed" - (XMLClassFinder classNamed: #XPathNodeTestParserContext) allSubclassesDo: [:each | - each instance]. - XPathSortOrder allSubclassesDo: [:each | - each instance]. - XPathASTNullNode instance. -] - -{ #category : #doits } -ConfigurationOfXPath >> initializeClassesForGSBaseline183 [ - "All lazily initialized class and class instance variables must be - explicitly initialized on GS during installation to prevent write - conflicts between Gems later on. - - This can help identify classes that use lazy initialization: - ConfigurationOfXMLParser findLazyInitializedClassStateInPackage: 'XPath' - " - - XPath compiledXPathCache. - "renamed" - (XMLClassFinder classNamed: #XPathCompiler) systemCompilerClass. - XPathFunction allSubclassesDo: [:each | - each prototype]. - XPathContext defaultFunctions. - "renamed" - (XMLClassFinder classNamed: #XPathNodeTestParserContext) allSubclassesDo: [:each | - each instance]. - XPathSortOrder allSubclassesDo: [:each | - each instance]. - XPathASTNullNode instance. - XPathType allSubclassesDo: [:each | - each instance]. -] - -{ #category : #doits } -ConfigurationOfXPath >> initializeClassesForGSBaseline189 [ - "All lazily initialized class and class instance variables must be - explicitly initialized on GS during installation to prevent write - conflicts between Gems later on. - - This can help identify classes that use lazy initialization: - ConfigurationOfXMLParser findLazyInitializedClassStateInPackage: 'XPath' - " - - XPath - compiledExpressionCache; - compiledExpressionCacheEnabled. - XPathASTNullNode instance. - XPathContext defaultFunctions. - XPathExpressionCompiler systemCompilerClass. - XPathFunction allSubclassesDo: [:each | - each prototype]. - "renamed" - (XMLClassFinder classNamed: #XPathNodeTestParserContext) allSubclassesDo: [:each | - each instance]. - XPathSortOrder allSubclassesDo: [:each | - each instance]. - XPathType allSubclassesDo: [:each | - each instance]. -] - -{ #category : #doits } -ConfigurationOfXPath >> initializeClassesForGSBaseline206 [ - "All lazily initialized class and class instance variables must be - explicitly initialized on GS during installation to prevent write - conflicts between Gems later on. - - This can help identify classes that use lazy initialization: - ConfigurationOfXMLParser findLazyInitializedClassStateInPackage: 'XPath' - " - - XPath - compiledExpressionCache; - compiledExpressionCacheEnabled. - XPathASTNullNode instance. - XPathContext defaultFunctions. - XPathExpressionCompiler systemCompilerClass. - XPathFunction allSubclassesDo: [:each | - each prototype]. - XPathNodeTestParserState allSubclassesDo: [:each | - each instance]. - XPathSortOrder allSubclassesDo: [:each | - each instance]. - XPathType allSubclassesDo: [:each | - each instance]. -] - -{ #category : #accessing } -ConfigurationOfXPath >> project [ - - ^ project ifNil: [ | constructor | - "Bootstrap Metacello if it is not already loaded" - (self class baseConfigurationClassIfAbsent: []) ensureMetacello. - "Construct Metacello project" - project := MetacelloMCProject new projectAttributes: self customProjectAttributes. - constructor := (Smalltalk at: #MetacelloVersionConstructor) on: self project: project. - project loadType: #linear. "change to #atomic if desired" - project ] -] - -{ #category : #'symbolic versions' } -ConfigurationOfXPath >> stable: spec [ - - - spec for: #'common' version: '2.2.0'. - -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version101: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.8'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.4'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version102: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.9'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.5'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version103: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.10'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.5'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version104: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.11'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.6'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version105: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.12'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.7'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version106: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.13'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.8'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version107: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.14'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.9'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version108: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.15'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.10'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version109: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.16'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.11'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version110: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.17'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.12'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version111: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.18'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.13'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version112: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.19'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.14'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version113: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.20'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.15'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version114: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.21'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.16'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version115: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.22'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.17'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version116: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.23'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.18'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version117: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.24'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.19'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version118: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.25'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.19'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version119: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.26'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.20'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version120: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.27'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.21'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version121: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.28'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.22'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version122: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.29'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.23'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version123: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.30'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.24'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version124: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.31'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.25'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version125: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.32'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.26'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version126: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.33'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.27'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version127: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.34'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.27'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version128: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.35'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.28'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version129: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.36'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.29'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version130: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.37'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.30'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version131: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.38'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.31'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version132: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.39'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.32'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version133: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.40'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.32'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version134: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.41'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.33'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version135: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.42'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.34'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version136: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.43'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.35'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version137: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.44'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.36'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version138: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.45'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.37'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version139: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.46'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.38'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version140: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.48'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.38'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version141: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.49'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.40'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version142: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.50'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.41'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version143: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.51'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.42'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version144: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.52'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.43'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version145: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.54'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.45'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version146: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.55'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.46'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version147: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.56'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.47'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version148: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.57'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.48'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version149: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.58'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.49'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version150: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.59'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.50'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version151: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.60'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.51'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version152: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.61'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.52'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version153: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.62'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.53'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version154: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.63'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.54'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version155: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.65'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.56'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version156: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.66'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.57'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version157: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.67'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.58'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version158: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.68'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.59'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version159: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.68'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.60'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version160: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.70'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.60'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version161: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.71'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.60'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version162: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.72'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.60'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version163: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.73'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.61'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version164: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.74'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.62'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version165: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.75'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.62'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version166: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.76'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.63'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version167: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.77'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.64'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version168: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.78'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.65'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version169: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.79'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.66'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version170: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.79'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.67'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version171: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.80'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.68'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version172: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.81'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.69'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version173: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.82'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.69'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version174: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.83'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.69'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version175: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.84'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.70'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version176: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.85'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.71'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version177: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.86'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.72'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version178: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.87'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.72'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version179: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.88'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.73'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version180: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.91'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.75'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version181: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.92'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.76'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version182: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.94'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.77'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version183: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.95'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.78'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version184: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.96'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.79'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version185: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.97'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.80'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version186: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.98'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.81'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version187: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.99'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.82'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version188: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.100'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.83'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version189: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.102'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.84'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version190: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.103'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.86'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version191: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.104'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.88'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version192: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.105'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.89'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version193: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.107'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.90'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version194: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.109'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.90'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version195: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.110'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.90'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version196: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.111'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.91'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version197: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.112'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.91'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version198: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.113'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.92'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version199: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.114'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.92'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version200: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.116'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.92'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version201: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.117'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.92'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version202: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.118'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.92'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version203: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.119'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.93'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version204: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.120'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.94'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version205: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.121'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.95'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version206: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.122'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.95'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version207: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.123'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.95'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version208: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.124'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.95'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version209: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.125'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.96'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version210: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.126'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.96'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version211: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.126'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.97'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version212: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.127'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.97'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version213: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.128'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.97'. - ]. -] - -{ #category : #'outdated - versions' } -ConfigurationOfXPath >> version214: spec [ - - - spec for: #common do: [ - spec blessing: #release. - spec package: 'XPath-Core' with: 'XPath-Core-monty.129'. - spec package: 'XPath-Tests' with: 'XPath-Tests-monty.97'. - ]. -] - -{ #category : #versions } -ConfigurationOfXPath >> version220: spec [ - - - spec for: #'common' do: [ - spec - baseline: 'XPath' with: [ - spec - className: 'BaselineOfXPath'; - repository: 'github://pharo-contributions/XML-XPath:2.2.0/src' ]] -] diff --git a/src/ConfigurationOfXPath/package.st b/src/ConfigurationOfXPath/package.st deleted file mode 100644 index ca42d36..0000000 --- a/src/ConfigurationOfXPath/package.st +++ /dev/null @@ -1 +0,0 @@ -Package { #name : #ConfigurationOfXPath } From 424bdce68ff7b4fa647fb8c6750ea1943bfdbe78 Mon Sep 17 00:00:00 2001 From: JanBliznicenko Date: Mon, 30 Oct 2023 13:33:07 +0100 Subject: [PATCH 3/4] Partially recreated inspectors from GTExtensions --- .../XMLDeclarationNode.extension.st | 6 ++ .../XMLDoctypeDeclaration.extension.st | 6 ++ src/XPath-Inspector/XMLNode.extension.st | 19 ++++ src/XPath-Inspector/XPath.extension.st | 90 +++++++++++++++++++ ...ibuteNodeTestForLocalNameNode.extension.st | 11 +++ ...TAttributeNodeTestForNameNode.extension.st | 11 +++ ...rNamespaceURIAndLocalNameNode.extension.st | 12 +++ ...teNodeTestForNamespaceURINode.extension.st | 11 +++ ...TestForPrefixAndLocalNameNode.extension.st | 11 +++ ...ttributeNodeTestForPrefixNode.extension.st | 11 +++ ...TBinaryOperatorExpressionNode.extension.st | 11 +++ ...ementNodeTestForLocalNameNode.extension.st | 11 +++ ...ASTElementNodeTestForNameNode.extension.st | 11 +++ ...rNamespaceURIAndLocalNameNode.extension.st | 12 +++ ...ntNodeTestForNamespaceURINode.extension.st | 11 +++ ...TestForPrefixAndLocalNameNode.extension.st | 11 +++ ...TElementNodeTestForPrefixNode.extension.st | 11 +++ ...terExpressionLocationPathNode.extension.st | 9 ++ .../XPathASTFilterExpressionNode.extension.st | 9 ++ .../XPathASTFunctionCallNode.extension.st | 23 +++++ .../XPathASTLiteralNode.extension.st | 11 +++ .../XPathASTLocationPathNode.extension.st | 13 +++ ...NamespaceTestForLocalNameNode.extension.st | 11 +++ ...thASTNamespaceTestForNameNode.extension.st | 11 +++ ...rNamespaceURIAndLocalNameNode.extension.st | 12 +++ ...espaceTestForNamespaceURINode.extension.st | 11 +++ ...TestForPrefixAndLocalNameNode.extension.st | 11 +++ ...ASTNamespaceTestForPrefixNode.extension.st | 11 +++ src/XPath-Inspector/XPathASTNode.extension.st | 59 ++++++++++++ .../XPathASTNodeWithExpression.extension.st | 13 +++ ...athASTNodeWithOtherExpression.extension.st | 7 ++ .../XPathASTStepNode.extension.st | 9 ++ ...STUnaryOperatorExpressionNode.extension.st | 11 +++ ...XPathASTVariableReferenceNode.extension.st | 11 +++ .../XPathNamespaceNode.extension.st | 6 ++ 35 files changed, 514 insertions(+) create mode 100644 src/XPath-Inspector/XMLDeclarationNode.extension.st create mode 100644 src/XPath-Inspector/XMLDoctypeDeclaration.extension.st create mode 100644 src/XPath-Inspector/XMLNode.extension.st create mode 100644 src/XPath-Inspector/XPath.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURINode.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTBinaryOperatorExpressionNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURIAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURINode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForPrefixAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTElementNodeTestForPrefixNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTFilterExpressionLocationPathNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTFilterExpressionNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTFunctionCallNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTLiteralNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTLocationPathNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURIAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURINode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForPrefixAndLocalNameNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNamespaceTestForPrefixNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTNodeWithExpression.extension.st create mode 100644 src/XPath-Inspector/XPathASTNodeWithOtherExpression.extension.st create mode 100644 src/XPath-Inspector/XPathASTStepNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTUnaryOperatorExpressionNode.extension.st create mode 100644 src/XPath-Inspector/XPathASTVariableReferenceNode.extension.st create mode 100644 src/XPath-Inspector/XPathNamespaceNode.extension.st diff --git a/src/XPath-Inspector/XMLDeclarationNode.extension.st b/src/XPath-Inspector/XMLDeclarationNode.extension.st new file mode 100644 index 0000000..a1a061c --- /dev/null +++ b/src/XPath-Inspector/XMLDeclarationNode.extension.st @@ -0,0 +1,6 @@ +Extension { #name : #XMLDeclarationNode } + +{ #category : #'*XPath-Inspector' } +XMLDeclarationNode >> supportsXPathEvaluator [ + ^ false +] diff --git a/src/XPath-Inspector/XMLDoctypeDeclaration.extension.st b/src/XPath-Inspector/XMLDoctypeDeclaration.extension.st new file mode 100644 index 0000000..bce4afe --- /dev/null +++ b/src/XPath-Inspector/XMLDoctypeDeclaration.extension.st @@ -0,0 +1,6 @@ +Extension { #name : #XMLDoctypeDeclaration } + +{ #category : #'*XPath-Inspector' } +XMLDoctypeDeclaration >> supportsXPathEvaluator [ + ^ false +] diff --git a/src/XPath-Inspector/XMLNode.extension.st b/src/XPath-Inspector/XMLNode.extension.st new file mode 100644 index 0000000..0309ba2 --- /dev/null +++ b/src/XPath-Inspector/XMLNode.extension.st @@ -0,0 +1,19 @@ +Extension { #name : #XMLNode } + +{ #category : #'*XPath-Inspector' } +XMLNode >> inspectXPathIn: specBuilder [ + + + self supportsXPathEvaluator ifFalse: [ ^ self ]. + + ^ specBuilder newCode + withoutSyntaxHighlight; + overridingContextMenu; + text: 'self::node()'; + whenSubmitDo: [ :text | (self xpath: text asString) inspect ] +] + +{ #category : #'*XPath-Inspector' } +XMLNode >> supportsXPathEvaluator [ + ^ true +] diff --git a/src/XPath-Inspector/XPath.extension.st b/src/XPath-Inspector/XPath.extension.st new file mode 100644 index 0000000..4dbace0 --- /dev/null +++ b/src/XPath-Inspector/XPath.extension.st @@ -0,0 +1,90 @@ +Extension { #name : #XPath } + +{ #category : #'*XPath-Inspector' } +XPath >> inspectASTIn: specBuilder [ + + + ^ self + newPresenterForASTGeneratedWith: [ + XPathExpressionCompiler new parseExpression: self expressionSource ] + in: specBuilder +] + +{ #category : #'*XPath-Inspector' } +XPath >> inspectCompiledIn: specBuilder [ + + + | method | + method := [ self compiledExpression block ] + on: XPathException + do: [ :error | + ^ self newTextPresenterForError: error in: specBuilder ]. + + ^ method inspectionSource +] + +{ #category : #'*XPath-Inspector' } +XPath >> inspectOptimizedASTIn: specBuilder [ + + + ^ self + newPresenterForASTGeneratedWith: [ + | compiler | + compiler := XPathExpressionCompiler new. + compiler optimizeParsedExpression: + (compiler parseExpression: self expressionSource) ] + in: specBuilder +] + +{ #category : #'*XPath-Inspector' } +XPath >> inspectSourceIn: specBuilder [ + + + | code | + code := specBuilder newCode. + code + withoutSyntaxHighlight; + whenSubmitDo: [ :text | + self expressionSource: text asString. + code text: self expressionSource ]; + text: self expressionSource. + ^ code +] + +{ #category : #'*XPath-Inspector' } +XPath >> inspectTestsIn: specBuilder [ + + + | nodeTests | + nodeTests := [ self compiledExpression nodeTests ] + on: XPathException + do: [ :error | + ^ self newTextPresenterForError: error in: specBuilder ]. + ^ specBuilder newList + items: nodeTests; + yourself +] + +{ #category : #'*XPath-Inspector' } +XPath >> newPresenterForASTGeneratedWith: aBlock in: specBuilder [ + + | ast | + ast := aBlock + on: XPathException + do: [ :error | + ^ self newTextPresenterForError: error in: specBuilder ]. + + ^ specBuilder newTree + roots: { ast }; + children: [ :each | each treeViewChildren ]; + display: [ :each | each treeViewLabelText ]; + expandRoots; + yourself +] + +{ #category : #'*XPath-Inspector' } +XPath >> newTextPresenterForError: anError in: specBuilder [ + + ^ specBuilder newText text: anError class name asString , ' +' , anError messageText asString +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForLocalNameNode.extension.st new file mode 100644 index 0000000..66df939 --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTAttributeNodeTestForLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self localName; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForNameNode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForNameNode.extension.st new file mode 100644 index 0000000..248c433 --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTAttributeNodeTestForNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self name; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode.extension.st new file mode 100644 index 0000000..0750efb --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode.extension.st @@ -0,0 +1,12 @@ +Extension { #name : #XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForNamespaceURIAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: + (self localName expandWithXMLNamespaceURI: self namespaceURI); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURINode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURINode.extension.st new file mode 100644 index 0000000..27279bf --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForNamespaceURINode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTAttributeNodeTestForNamespaceURINode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForNamespaceURINode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self namespaceURI; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixAndLocalNameNode.extension.st new file mode 100644 index 0000000..60b262f --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixAndLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTAttributeNodeTestForPrefixAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForPrefixAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: (self localName qualifyWithXMLPrefix: self prefix); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixNode.extension.st b/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixNode.extension.st new file mode 100644 index 0000000..57caeb9 --- /dev/null +++ b/src/XPath-Inspector/XPathASTAttributeNodeTestForPrefixNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTAttributeNodeTestForPrefixNode } + +{ #category : #'*XPath-Inspector' } +XPathASTAttributeNodeTestForPrefixNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self prefix; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTBinaryOperatorExpressionNode.extension.st b/src/XPath-Inspector/XPathASTBinaryOperatorExpressionNode.extension.st new file mode 100644 index 0000000..b849b89 --- /dev/null +++ b/src/XPath-Inspector/XPathASTBinaryOperatorExpressionNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTBinaryOperatorExpressionNode } + +{ #category : #'*XPath-Inspector' } +XPathASTBinaryOperatorExpressionNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self operatorName; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForLocalNameNode.extension.st new file mode 100644 index 0000000..d7a8442 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTElementNodeTestForLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self localName; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForNameNode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForNameNode.extension.st new file mode 100644 index 0000000..b79f316 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTElementNodeTestForNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self name; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURIAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURIAndLocalNameNode.extension.st new file mode 100644 index 0000000..2f9c4a8 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURIAndLocalNameNode.extension.st @@ -0,0 +1,12 @@ +Extension { #name : #XPathASTElementNodeTestForNamespaceURIAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForNamespaceURIAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: + (self localName expandWithXMLNamespaceURI: self namespaceURI); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURINode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURINode.extension.st new file mode 100644 index 0000000..f6f9922 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForNamespaceURINode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTElementNodeTestForNamespaceURINode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForNamespaceURINode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self namespaceURI; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForPrefixAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForPrefixAndLocalNameNode.extension.st new file mode 100644 index 0000000..0a9f4a5 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForPrefixAndLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTElementNodeTestForPrefixAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForPrefixAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: (self localName qualifyWithXMLPrefix: self prefix); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTElementNodeTestForPrefixNode.extension.st b/src/XPath-Inspector/XPathASTElementNodeTestForPrefixNode.extension.st new file mode 100644 index 0000000..db902c9 --- /dev/null +++ b/src/XPath-Inspector/XPathASTElementNodeTestForPrefixNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTElementNodeTestForPrefixNode } + +{ #category : #'*XPath-Inspector' } +XPathASTElementNodeTestForPrefixNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self prefix; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTFilterExpressionLocationPathNode.extension.st b/src/XPath-Inspector/XPathASTFilterExpressionLocationPathNode.extension.st new file mode 100644 index 0000000..2de050a --- /dev/null +++ b/src/XPath-Inspector/XPathASTFilterExpressionLocationPathNode.extension.st @@ -0,0 +1,9 @@ +Extension { #name : #XPathASTFilterExpressionLocationPathNode } + +{ #category : #'*XPath-Inspector' } +XPathASTFilterExpressionLocationPathNode >> treeViewChildren [ + + ^ self hasSteps + ifTrue: [ self steps copyWithFirst: self expression ] + ifFalse: [ super treeViewChildren ] +] diff --git a/src/XPath-Inspector/XPathASTFilterExpressionNode.extension.st b/src/XPath-Inspector/XPathASTFilterExpressionNode.extension.st new file mode 100644 index 0000000..a248f3e --- /dev/null +++ b/src/XPath-Inspector/XPathASTFilterExpressionNode.extension.st @@ -0,0 +1,9 @@ +Extension { #name : #XPathASTFilterExpressionNode } + +{ #category : #'*XPath-Inspector' } +XPathASTFilterExpressionNode >> treeViewChildren [ + + ^ self hasPredicates + ifTrue: [ self predicates copyWithFirst: self expression ] + ifFalse: [ super treeViewChildren ] +] diff --git a/src/XPath-Inspector/XPathASTFunctionCallNode.extension.st b/src/XPath-Inspector/XPathASTFunctionCallNode.extension.st new file mode 100644 index 0000000..0d14e36 --- /dev/null +++ b/src/XPath-Inspector/XPathASTFunctionCallNode.extension.st @@ -0,0 +1,23 @@ +Extension { #name : #XPathASTFunctionCallNode } + +{ #category : #'*XPath-Inspector' } +XPathASTFunctionCallNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self name; + nextPut: $) +] + +{ #category : #'*XPath-Inspector' } +XPathASTFunctionCallNode >> supportsTreeView [ + + ^ self hasArguments +] + +{ #category : #'*XPath-Inspector' } +XPathASTFunctionCallNode >> treeViewChildren [ + + ^ self arguments +] diff --git a/src/XPath-Inspector/XPathASTLiteralNode.extension.st b/src/XPath-Inspector/XPathASTLiteralNode.extension.st new file mode 100644 index 0000000..b017b6b --- /dev/null +++ b/src/XPath-Inspector/XPathASTLiteralNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTLiteralNode } + +{ #category : #'*XPath-Inspector' } +XPathASTLiteralNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self asXPathString; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTLocationPathNode.extension.st b/src/XPath-Inspector/XPathASTLocationPathNode.extension.st new file mode 100644 index 0000000..fa48aae --- /dev/null +++ b/src/XPath-Inspector/XPathASTLocationPathNode.extension.st @@ -0,0 +1,13 @@ +Extension { #name : #XPathASTLocationPathNode } + +{ #category : #'*XPath-Inspector' } +XPathASTLocationPathNode >> supportsTreeView [ + + ^ self hasSteps +] + +{ #category : #'*XPath-Inspector' } +XPathASTLocationPathNode >> treeViewChildren [ + + ^ self steps +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForLocalNameNode.extension.st new file mode 100644 index 0000000..a3e4f1b --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTNamespaceTestForLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self localName; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForNameNode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForNameNode.extension.st new file mode 100644 index 0000000..f040af8 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTNamespaceTestForNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self name; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURIAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURIAndLocalNameNode.extension.st new file mode 100644 index 0000000..1fbc560 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURIAndLocalNameNode.extension.st @@ -0,0 +1,12 @@ +Extension { #name : #XPathASTNamespaceTestForNamespaceURIAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForNamespaceURIAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: + (self localName expandWithXMLNamespaceURI: self namespaceURI); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURINode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURINode.extension.st new file mode 100644 index 0000000..bc69b53 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForNamespaceURINode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTNamespaceTestForNamespaceURINode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForNamespaceURINode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self namespaceURI; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForPrefixAndLocalNameNode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForPrefixAndLocalNameNode.extension.st new file mode 100644 index 0000000..7590399 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForPrefixAndLocalNameNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTNamespaceTestForPrefixAndLocalNameNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForPrefixAndLocalNameNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: (self localName qualifyWithXMLPrefix: self prefix); + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNamespaceTestForPrefixNode.extension.st b/src/XPath-Inspector/XPathASTNamespaceTestForPrefixNode.extension.st new file mode 100644 index 0000000..6caef8e --- /dev/null +++ b/src/XPath-Inspector/XPathASTNamespaceTestForPrefixNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTNamespaceTestForPrefixNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNamespaceTestForPrefixNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self prefix; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTNode.extension.st b/src/XPath-Inspector/XPathASTNode.extension.st new file mode 100644 index 0000000..05a9535 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNode.extension.st @@ -0,0 +1,59 @@ +Extension { #name : #XPathASTNode } + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> inspectSourceIn: specBuilder [ + + + | code | + code := specBuilder newCode. + code + withoutSyntaxHighlight; + beNotEditable; + overridingContextMenu; + text: self asString. + ^ code +] + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> inspectTreeIn: specBuilder [ + + + self supportsTreeView ifFalse: [ + ^ specBuilder newLabel + label: self treeViewLabelText; + yourself ]. + + ^ specBuilder newTree + roots: { self }; + children: [ :each | each treeViewChildren ]; + display: [ :each | each treeViewLabelText ]; + expandRoots; + yourself +] + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> printTreeViewLabelOn: aStream [ + + aStream nextPutAll: self class name asString +] + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> supportsTreeView [ + + ^ false +] + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> treeViewChildren [ + + ^ #( ) +] + +{ #category : #'*XPath-Inspector' } +XPathASTNode >> treeViewLabelText [ + + | writeStream | + writeStream := (String new: 100) writeStream. + self printTreeViewLabelOn: writeStream. + ^ writeStream contents asText +] diff --git a/src/XPath-Inspector/XPathASTNodeWithExpression.extension.st b/src/XPath-Inspector/XPathASTNodeWithExpression.extension.st new file mode 100644 index 0000000..1b2a7c4 --- /dev/null +++ b/src/XPath-Inspector/XPathASTNodeWithExpression.extension.st @@ -0,0 +1,13 @@ +Extension { #name : #XPathASTNodeWithExpression } + +{ #category : #'*XPath-Inspector' } +XPathASTNodeWithExpression >> supportsTreeView [ + + ^ true +] + +{ #category : #'*XPath-Inspector' } +XPathASTNodeWithExpression >> treeViewChildren [ + + ^ Array with: self expression +] diff --git a/src/XPath-Inspector/XPathASTNodeWithOtherExpression.extension.st b/src/XPath-Inspector/XPathASTNodeWithOtherExpression.extension.st new file mode 100644 index 0000000..9ecbfbf --- /dev/null +++ b/src/XPath-Inspector/XPathASTNodeWithOtherExpression.extension.st @@ -0,0 +1,7 @@ +Extension { #name : #XPathASTNodeWithOtherExpression } + +{ #category : #'*XPath-Inspector' } +XPathASTNodeWithOtherExpression >> treeViewChildren [ + + ^ Array with: self expression with: self otherExpression +] diff --git a/src/XPath-Inspector/XPathASTStepNode.extension.st b/src/XPath-Inspector/XPathASTStepNode.extension.st new file mode 100644 index 0000000..29d93cf --- /dev/null +++ b/src/XPath-Inspector/XPathASTStepNode.extension.st @@ -0,0 +1,9 @@ +Extension { #name : #XPathASTStepNode } + +{ #category : #'*XPath-Inspector' } +XPathASTStepNode >> treeViewChildren [ + + ^ self hasPredicates + ifTrue: [ self predicates copyWithFirst: self nodeTest ] + ifFalse: [ Array with: self nodeTest ] +] diff --git a/src/XPath-Inspector/XPathASTUnaryOperatorExpressionNode.extension.st b/src/XPath-Inspector/XPathASTUnaryOperatorExpressionNode.extension.st new file mode 100644 index 0000000..140247f --- /dev/null +++ b/src/XPath-Inspector/XPathASTUnaryOperatorExpressionNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTUnaryOperatorExpressionNode } + +{ #category : #'*XPath-Inspector' } +XPathASTUnaryOperatorExpressionNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self operatorName; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathASTVariableReferenceNode.extension.st b/src/XPath-Inspector/XPathASTVariableReferenceNode.extension.st new file mode 100644 index 0000000..2daefe7 --- /dev/null +++ b/src/XPath-Inspector/XPathASTVariableReferenceNode.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #XPathASTVariableReferenceNode } + +{ #category : #'*XPath-Inspector' } +XPathASTVariableReferenceNode >> printTreeViewLabelOn: aStream [ + + super printTreeViewLabelOn: aStream. + aStream + nextPut: $(; + nextPutAll: self name; + nextPut: $) +] diff --git a/src/XPath-Inspector/XPathNamespaceNode.extension.st b/src/XPath-Inspector/XPathNamespaceNode.extension.st new file mode 100644 index 0000000..9f487cb --- /dev/null +++ b/src/XPath-Inspector/XPathNamespaceNode.extension.st @@ -0,0 +1,6 @@ +Extension { #name : #XPathNamespaceNode } + +{ #category : #'*XPath-Inspector' } +XPathNamespaceNode >> supportsRemoveAction [ + ^ false +] From bcea7a39fe47c0c57e8cd972fa2cd83a9b73b6e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Blizni=C4=8Denko?= Date: Fri, 17 Nov 2023 13:34:06 +0100 Subject: [PATCH 4/4] Updated dependency on XMLParser --- src/BaselineOfXPath/BaselineOfXPath.class.st | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/BaselineOfXPath/BaselineOfXPath.class.st b/src/BaselineOfXPath/BaselineOfXPath.class.st index d9e8fed..d8763cf 100644 --- a/src/BaselineOfXPath/BaselineOfXPath.class.st +++ b/src/BaselineOfXPath/BaselineOfXPath.class.st @@ -43,14 +43,16 @@ BaselineOfXPath >> baselineOf: spec [ { #category : #baseline } BaselineOfXPath >> xmlParserOn: spec [ + spec baseline: 'XMLParser' with: [ + spec + loads: #( 'Core' ); + repository: 'github://pharo-contributions/XML-XMLParser:v3.6.1/src' ]. + spec - baseline: 'XMLParser' - with: [ - spec - loads: #('Core'); - repository: 'github://pharo-contributions/XML-XMLParser:v3.6.0/src' ]. - - spec - project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec loads: #('Tests') ]; - project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec loads: #('Tools') ] + project: 'XMLParser Tests' + copyFrom: 'XMLParser' + with: [ spec loads: #( 'Tests' ) ]; + project: 'XMLParser Tools' + copyFrom: 'XMLParser' + with: [ spec loads: #( 'Tools' ) ] ]