Skip to content

Commit

Permalink
Merge pull request #195 from DuneSt/development
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
jecisc authored Oct 7, 2018
2 parents 2ebfc44 + 58928ab commit 75d9b7e
Show file tree
Hide file tree
Showing 1,276 changed files with 5,596 additions and 917 deletions.
3 changes: 3 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
'srcDirectory' : 'src'
}
10 changes: 7 additions & 3 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'MaterialDesignLite',
#directory : 'src',
#platforms : [ #pharo ]
#directory : 'src'
}
]
],
#testing : {
#coverage : {
#packages : [ 'Material-Design-Lite-Components', 'Material-Design-Lite-Core', 'Material-Design-Lite-Extensions', 'Material-Design-Lite-Widgets' ]
}
}
}
38 changes: 22 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
language: smalltalk
sudo: false

os:
- linux
- osx

smalltalk:
- Pharo-7.0
- Pharo-6.1
- Pharo-5.0

matrix:
fast_finish: true
allow_failures:
- smalltalk: Pharo-7.0
language: smalltalk
sudo: false

os:
- linux
#- osx

smalltalk:
- Pharo-7.0
- Pharo-6.1
- Pharo-5.0
- GemStone-3.4.1

matrix:
fast_finish: true
allow_failures:
- smalltalk: Pharo-7.0

# This make Gemstone builds 3x faster
cache:
directories:
- $SMALLTALK_CI_CACHE
77 changes: 65 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,57 @@
# [v1.2.0](https://github.com/DuneSt/MaterialDesignLite/compare/v1.1.0...v1.2.0) (2018-03-31)
# [v1.3.0](https://github.com/DuneSt/MaterialDesignLite/compare/v1.2.0...v1.3.0) (2018-10-07)

## Features

* **Add compatibility for Gemstone smalltalk** ([b83d742](https://github.com/DuneSt/MaterialDesignLite/commit/b83d742ebd2472efac31fa140df60cecc4c7eac1)) and ([622dbdb](https://github.com/DuneSt/MaterialDesignLite/commit/622dbdbaf55476826baf84aebbc85eb07f4ae2cd))
* **MDLCell should implement an offset feature** ([0ae17ef](https://github.com/DuneSt/MaterialDesignLite/commit/0ae17ef7781c0891958ba6b26223ab55110a09cc))
* **MDLCell should allow to rorder the cells depending on the layout (desktop/tablet/phone)** ([a8e77dd](https://github.com/DuneSt/MaterialDesignLite/commit/a8e77dd68e8f82e36a12b334fbd7a0a81d04924b))

## Gemstone

* **Add OrderedDictionary to Gemstone compatibility package** ([b83d742](https://github.com/DuneSt/MaterialDesignLite/commit/b83d742ebd2472efac31fa140df60cecc4c7eac1))
* **GemStone expects Blocks for ifNotNil: and friends. What does this code do?** ([b83d742](https://github.com/DuneSt/MaterialDesignLite/commit/b83d742ebd2472efac31fa140df60cecc4c7eac1))

## Bug Fixes

* **MDLMenuButtonWidget: We should be able to use MDLMenuButtonWidget without textBlock** ([d6dcf0a](https://github.com/DuneSt/MaterialDesignLite/commit/d6dcf0afefacefc94c0154db2eddbd9479860df1))
* **NestedList: Scroll to the highest selected object if it is present multiple time in the list** ([b17ce67](https://github.com/DuneSt/MaterialDesignLite/commit/b17ce67995f6334835fdf24c3f60e9205c3024d9))
* **Chips should have a user-select: none property**. This make the text contained in the chip not selectable ([abfca7c](https://github.com/DuneSt/MaterialDesignLite/commit/abfca7c19204e032f528406e2bc35248f2178652))
* **NestedList have useless CSS making it harder to use** ([3898d38](https://github.com/DuneSt/MaterialDesignLite/commit/3898d3884fd4a241a0032c9e8bf2d9cd553a3062))
* **MDLCalendar: Clicking on a day in the callendar does not launch the callback** ([538e9c4](https://github.com/DuneSt/MaterialDesignLite/commit/538e9c4da267b60ad6f28d2ef4ea9c1d50ae8375))
* **MDLMenuButtonWidget button should not allow wrap inside the button by default** ([5005a19](https://github.com/DuneSt/MaterialDesignLite/commit/5005a19ac46a0853e34c1c8eb054152f67e5f5a5))
* **MDLAnchorButton is not well displayed with the 'fab' option** ([8c6360a](https://github.com/DuneSt/MaterialDesignLite/commit/8c6360aa39dc88f437c440f86f1c40f3127d7af1))
* **NestedList filtering should launch the #onLoadHook after displaying the result** ([40cf46e](https://github.com/DuneSt/MaterialDesignLite/commit/40cf46ebae34db3dd8be0f145e9c05f9c6a2df47))
* **MDLCalendar: Card calendar hard code colors instead of using primary color** ([226f62a](https://github.com/DuneSt/MaterialDesignLite/commit/226f62a564824a72e2843b7f450f3b23b6e33316))
* **NestedList: It is hard to click on elements with short names in nested list** ([478ef33](https://github.com/DuneSt/MaterialDesignLite/commit/478ef33a36e98772082cc4bc21dcdec41fec1b68))
* **Closing button of MDLDialogWidget should not be of submit type but of button type** ([9d54da1](https://github.com/DuneSt/MaterialDesignLite/commit/9d54da1136fe2f46d03fe2191c7fa2e7c7b7d37e))
* **MDLMenuButtonWidget should use the ID system of MDLWidget** ([8ad61b9](https://github.com/DuneSt/MaterialDesignLite/commit/8ad61b988dfe116d082c9fef829083f1b9d6c9a0))
* **MDLCalendar should use the id system of MDLWidget instead of recreating one** ([01e1f61](https://github.com/DuneSt/MaterialDesignLite/commit/01e1f61d3fac2f529131ba8957c7425b249818fc))
* **Month and year selection does not work on MDLCalendarWidget** ([dc915cd](https://github.com/DuneSt/MaterialDesignLite/commit/dc915cd522c4ee66c88d0c566282d230a738fa4c))
* **First snackbar demo is broken** ([9497c65](https://github.com/DuneSt/MaterialDesignLite/commit/9497c65bf111cff63d45ebb2bbd399f50be7c4c2))

## Cleaning

* **Deprecate #mdlMultilineTextField since we already have #mdlTextArea which is the common name in HTML5** ([ef1e0a6](https://github.com/DuneSt/MaterialDesignLite/commit/ef1e0a6acf0968ac8d4f02e4dd86daad57f66008))
* **Deprecate MDLCheckboxWidget since it does not brings anything more than the brushes** ([0630493](https://github.com/DuneSt/MaterialDesignLite/commit/0630493baa6c322a8916bfe29769c0ad17b3a568))
* **Typo in MDLProgressBarWidget, #hyde should be #hide** ([a362b33](https://github.com/DuneSt/MaterialDesignLite/commit/a362b3316ba6a140966bf9b51b6904725c610c6d))
* **Remove dependency to Morphic (#detectIndex:)** ([ab02a1f](https://github.com/DuneSt/MaterialDesignLite/commit/ab02a1ff1a0883008c0596de464ec8ea3f644856))
* **MDLCardTitleText should not be able to respond to #borde or #expand** ([7f2e2cf](https://github.com/DuneSt/MaterialDesignLite/commit/7f2e2cf043962c2b3b0c99703a332b672a780d72))
* **Remove dependency to JQueryUI** ([9ed3a6f](https://github.com/DuneSt/MaterialDesignLite/commit/9ed3a6f20455a09bee1ea69171dc6d42ff5c8c41))
* **Remove duplication between MDLButton and MDLAnchorButton** ([99b3266](https://github.com/DuneSt/MaterialDesignLite/commit/99b3266b4f123f28478720c44bf865802cddb506))
* **MDLCardTag has unused variables** ([431d7d1](https://github.com/DuneSt/MaterialDesignLite/commit/431d7d1cc132636c0df7852d0eaa842606e3b215))
* **MDLCardMenu should not be able to respond to #borde or #expand** ([b59094d](https://github.com/DuneSt/MaterialDesignLite/commit/b59094d1f0ca9302653f9c6f05a420aae7df357e))
* **Remove dependency to Seaside-Development** ([89fa553](https://github.com/DuneSt/MaterialDesignLite/commit/89fa553e6c5cf32e73ddf0caad581bee27a630cf))
* **Deprecate useless MDLFooterLogo since we already have MDLLogo** ([fa7d7985](https://github.com/DuneSt/MaterialDesignLite/commit/fa7d7985269880ed5577c1efb25d783721d0d2e0))
* **Remove duplication between MDLIconToggleLabel and MDLIcon>>#toggle** ([fa7d798](https://github.com/DuneSt/MaterialDesignLite/commit/fa7d7985269880ed5577c1efb25d783721d0d2e0))

## Infrastructure

* **Improve code coverage.** This release increased the code coverage from 3% to 61%
* **Add tests.** The number of tests increased from 8 to 485
* **Add Coverall to CI** ([5a37a85](https://github.com/DuneSt/MaterialDesignLite/commit/5a37a85b4dd6c6aa2032f1abe59d38708831db13))
* **Add Demo about not raised colored buttons** ([7a55891](https://github.com/DuneSt/MaterialDesignLite/commit/7a55891b30ab23c37793a99b441617618ad19afb))

## Demo

* **Add demo on Elevation** ([f9a387c](https://github.com/DuneSt/MaterialDesignLite/commit/f9a387c3fb51db402ae7fccda8f57ef9df651c32))
* **UX: ** Icons in list should be clickable ([43e3187](https://github.com/DuneSt/MaterialDesignLite/commit/43e3187ae5624f4c6fae0a27dd4016d0c230d80f))
* **UX: ** Improve global UX of the demo ([43e3187](https://github.com/DuneSt/MaterialDesignLite/commit/43e3187ae5624f4c6fae0a27dd4016d0c230d80f))
* **Add demo about MDLBadge>>noBackaground** ([f097d8f](https://github.com/DuneSt/MaterialDesignLite/commit/f097d8f49f0bdd8dfc28751d3e80d3d4dfb1bf77))
* **Add demo to explicit MDLBadge>>overlap option** ([f097d8f](https://github.com/DuneSt/MaterialDesignLite/commit/f097d8f49f0bdd8dfc28751d3e80d3d4dfb1bf77))
* **Add demo about MDLCell>>#hideDesktop/#hideTablet/#hidePhone** ([aabc92b](https://github.com/DuneSt/MaterialDesignLite/commit/aabc92b5d644e683d718dbf929fa52689b6c3fc5))
* **Add demo about MDLCell>>#stretch/#bottom/#top/#middle** ([250a4b2](https://github.com/DuneSt/MaterialDesignLite/commit/250a4b2d7d3a1eda522f5bb80bf15bf4d93c1a70))

# [v1.2.0](https://github.com/DuneSt/MaterialDesignLite/compare/v1.1.0...v1.2.0) (2018-03-31)

## Features

Expand All @@ -22,7 +62,7 @@
* **Add premade typographies**. Comes with a demo ([0c29dca](https://github.com/DuneSt/MaterialDesignLite/commit/0c29dcab373948c5a510d3d632950f2297ec789c))
* **Implement methods to use the primary and accent color with text and backgrounds**. Comes with a demo ([e39667d](https://github.com/DuneSt/MaterialDesignLite/commit/e39667dd625b2689f3c9a290df26c911cc91fd7a))
* **MDLSelectWidget>>customizationBlock should take the canvas as second parameter** ([f4ad7c9](https://github.com/DuneSt/MaterialDesignLite/commit/f4ad7c98b2276b0412c1e4bc4cb8d215c8929503))
* **Chips: Highlight lightly the background of the icons ** ([639f105](https://github.com/DuneSt/MaterialDesignLite/commit/639f10597a851810040c7fc4680a42fa1df85488))
* **Chips: Highlight lightly the background of the icons** ([639f105](https://github.com/DuneSt/MaterialDesignLite/commit/639f10597a851810040c7fc4680a42fa1df85488))
* **Missing beCurrent on MDLNavigationLink** ([488da0c](https://github.com/DuneSt/MaterialDesignLite/commit/488da0cda00eda5941abae829bcaf7a78169a581))
* **Simplify the creation of icon button** ([9b88f32](https://github.com/DuneSt/MaterialDesignLite/commit/9b88f322ceca2d94b7f4bf0b348b913ecaaa663e))
* **Add sugar to MDLButton to create a label icon button** ([a49797b](https://github.com/DuneSt/MaterialDesignLite/commit/a49797b230f5caca7aea11fa5f3cdb548c7f1277))
Expand All @@ -36,6 +76,19 @@
* **NestedList: Add an option to sort children** ([bbf1572](https://github.com/DuneSt/MaterialDesignLite/commit/bbf157209291a15437d7449fbc1366c4f2e8ef31))
* **NestedList: Add case sensitive and insensitive substring filters** ([0680006](https://github.com/DuneSt/MaterialDesignLite/commit/0680006d965401fd424ce7809615c8891c412dae))

## Bug Fixes

* **MDLMenuButtonWidget: We should be able to use MDLMenuButtonWidget without textBlock** ([d6dcf0a](https://github.com/DuneSt/MaterialDesignLite/commit/d6dcf0afefacefc94c0154db2eddbd9479860df1))
* **NestedList: Scroll to the highest selected object if it is present multiple time in the list** ([b17ce67](https://github.com/DuneSt/MaterialDesignLite/commit/b17ce67995f6334835fdf24c3f60e9205c3024d9))
* **Chips should have a user-select: none property**. This make the text contained in the chip not selectable ([abfca7c](https://github.com/DuneSt/MaterialDesignLite/commit/abfca7c19204e032f528406e2bc35248f2178652))
* **NestedList have useless CSS making it harder to use** ([3898d38](https://github.com/DuneSt/MaterialDesignLite/commit/3898d3884fd4a241a0032c9e8bf2d9cd553a3062))
* **MDLCalendar: Clicking on a day in the callendar does not launch the callback** ([538e9c4](https://github.com/DuneSt/MaterialDesignLite/commit/538e9c4da267b60ad6f28d2ef4ea9c1d50ae8375))
* **MDLMenuButtonWidget button should not allow wrap inside the button by default** ([5005a19](https://github.com/DuneSt/MaterialDesignLite/commit/5005a19ac46a0853e34c1c8eb054152f67e5f5a5))
* **MDLAnchorButton is not well displayed with the 'fab' option** ([8c6360a](https://github.com/DuneSt/MaterialDesignLite/commit/8c6360aa39dc88f437c440f86f1c40f3127d7af1))
* **NestedList filtering should launch the #onLoadHook after displaying the result** ([40cf46e](https://github.com/DuneSt/MaterialDesignLite/commit/40cf46ebae34db3dd8be0f145e9c05f9c6a2df47))
* **MDLCalendar: Card calendar hard code colors instead of using primary color** ([226f62a](https://github.com/DuneSt/MaterialDesignLite/commit/226f62a564824a72e2843b7f450f3b23b6e33316))
* **NestedList: It is hard to click on elements with short names in nested list** ([478ef33](https://github.com/DuneSt/MaterialDesignLite/commit/478ef33a36e98772082cc4bc21dcdec41fec1b68))

## Performances

* **NestedList: Performances can be improved when there is multiple time the same children nested in the list** ([bbf1572](https://github.com/DuneSt/MaterialDesignLite/commit/bbf157209291a15437d7449fbc1366c4f2e8ef31))
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ Master: [![Build Status](https://travis-ci.org/DuneSt/MaterialDesignLite.svg?bra
#### Windows builds
Master: [![Build status](https://ci.appveyor.com/api/projects/status/1d20eiwk92jpgfni/branch/master?svg=true)](https://ci.appveyor.com/project/jecisc/materialdesignlite/branch/master) | Latest commit: [![Build status](https://ci.appveyor.com/api/projects/status/1d20eiwk92jpgfni?svg=true)](https://ci.appveyor.com/project/jecisc/materialdesignlite)

Coverage:

This project has as first goal to bind the Google's Material Design Lite project to Seaside and as second goal to build widgets on top of Material Design to help [Seaside](https://github.com/SeasideSt/Seaside)) developers in creating fast web application with flat design. For a tutorial on Seaside check [http://book.seaside.st](http://book.seaside.st).
[![Coverage Status](https://coveralls.io/repos/github/DuneSt/MaterialDesignLite/badge.svg)](https://coveralls.io/github/DuneSt/MaterialDesignLite)

This project has as first goal to bind the Google's Material Design Lite project to Seaside and as second goal to build widgets on top of Material Design to help [Seaside](https://github.com/SeasideSt/Seaside) developers in creating fast web application with flat design. For a tutorial on Seaside check [http://book.seaside.st](http://book.seaside.st).

- [Documentation](#documentation)
* [Version management](#version-management)
Expand Down Expand Up @@ -141,9 +144,15 @@ ZnWorkspace openUrl: 'http://ws.stfx.eu/1JIZRQS7OI00'

## Smalltalk versions compatibility

| MDL version | Compatible Pharo versions |
|------------- |--------------------------- |
| 1.x.x | Pharo 50, 60, 61 |
| MDL version | Compatible Pharo versions | Compatible Gemstone versions |
|------------- |--------------------------- |--------------------------- |
| 1.1.x | Pharo 50, 60, 61 | None |
| 1.2.x | Pharo 50, 60, 61 | None |
| 1.3.x | Pharo 50, 60, 61 | Gemstone 3.4.1 (*) (**) |
| Dev | Pharo 50, 60, 61 | Gemstone 3.4.1 (*) (**) |

(*) *This version of Gemstone is tested. Older versions might work but we did not tested it.*
(**) *The compatibility is not total. MaterialDesignLite uses Pharo's Traits to provide the users composables components. Thus, if the Gemstone users wants to use those components they will have to flatten themself the Traits in their Seaside application*

## Under the hood

Expand Down
3 changes: 3 additions & 0 deletions src/.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
#format : #filetree
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
loading
loadOnGemStone
"
eval `BaselineOfMaterialDesignLite loadOnGemStone`
"

<script>
(Smalltalk hasClassNamed: 'GsDeployer')
ifTrue: [ (Smalltalk classNamed: 'GsDeployer')
perform: #deploy:
with: [ Metacello new
repository: 'filetree:///opt/git/MaterialDesignLite/src';
baseline: 'MaterialDesignLite';
onConflict: [ :ex | ex allow ];
onLock: [ :ex | ex honor ];
load ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,37 @@ baseline: spec
<baseline>
spec
for: #common
do: [
do: [
"Dependencies"
self
seaside3: spec;
fileLibraryHelper: spec;
materialColors: spec;
magritte: spec.
magritte: spec.

"Packages"
spec
package: 'Material-Design-Lite-Components' with: [ spec requires: #('MaterialColors') ];
package: 'Material-Design-Lite-Components' with: [ spec requires: #('MaterialColors' 'Seaside3') ];
package: 'Material-Design-Lite-Components-Tests' with: [ spec requires: #('Material-Design-Lite-Components') ];
package: 'Material-Design-Lite-Core' with: [ spec requires: #('Material-Design-Lite-Utils' 'Material-Design-Lite-Components' 'Material-Design-Lite-Widgets' 'Material-Design-Lite-Extensions') ];
package: 'Material-Design-Lite-Core-Tests' with: [ spec requires: #('Material-Design-Lite-Core' 'Material-Design-Lite-Components-Tests') ];
package: 'Material-Design-Lite-Demo' with: [ spec requires: #('Material-Design-Lite-Core') ];
package: 'Material-Design-Lite-Magritte' with: [ spec requires: #('Material-Design-Lite-Widgets' 'Material-Design-Lite-Components') ];
package: 'Material-Design-Lite-Widgets' with: [ spec requires: #('Material-Design-Lite-Components') ];
package: 'Material-Design-Lite-Widgets-Tests' with: [ spec requires: #('Material-Design-Lite-Widgets' 'Material-Design-Lite-Components-Tests') ];
package: 'Material-Design-Lite-Utils' with: [ spec requires: #('Seaside3' 'FileLibraryHelper') ];
package: 'Material-Design-Lite-Extensions' with: [ spec requires: #('Material-Design-Lite-Utils') ].

package: 'Material-Design-Lite-Extensions' with: [ spec requires: #('Material-Design-Lite-Utils' 'Material-Design-Lite-Components') ];
package: 'Material-Design-Lite-Extensions-Tests' with: [ spec requires: #('Material-Design-Lite-Extensions' 'Material-Design-Lite-Components-Tests') ].

"Groups"
spec
group: 'Magritte' with: #('Material-Design-Lite-Magritte');
group: 'all' with: #('default' 'Magritte');
group: 'colors' with: #('MaterialColors');
group: 'extensions' with: #('Material-Design-Lite-Extensions');
group: 'core' with: #('Material-Design-Lite-Widgets' 'Material-Design-Lite-Components' 'Material-Design-Lite-Core' 'Material-Design-Lite-Utils');
group: 'default' with: #('core' 'demo');
group: 'demo' with: #('Material-Design-Lite-Demo') ]
group: 'default' with: #('core' 'tests' 'demo');
group: 'demo' with: #('Material-Design-Lite-Demo');
group: 'tests' with: #('Material-Design-Lite-Components-Tests' 'Material-Design-Lite-Widgets-Tests' 'Material-Design-Lite-Extensions-Tests' 'Material-Design-Lite-Core-Tests') ].

self gemStone: spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
baseline
gemStone: spec
spec
for: #gemstone
do: [ spec baseline: 'OrderedDictionary' with: [ spec repository: 'github://GsDevKit/OrderedDictionary:v1.x.x/src' ].
spec
package: 'PackageManifest' with: [ spec repository: 'http://smalltalkhub.com/mc/pdebruic/PackageManifest/main' ];
package: 'Material-Design-Lite-GemStone' with: [ spec requires: 'Material-Design-Lite-Components' ];
package: 'Material-Design-Lite-Extensions' with: [ spec requires: #('PackageManifest') ];
package: 'Material-Design-Lite-Components' with: [ spec requires: #('PackageManifest' 'OrderedDictionary') ];
package: 'Material-Design-Lite-Components' with: [ spec includes: 'Material-Design-Lite-GemStone' ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ dependencies
seaside3: spec
spec
baseline: 'Seaside3'
with: [ spec repository: 'github://SeasideSt/Seaside/repository' ]
with: [ spec
loads: #('Core' 'JQuery' 'Zinc');
repository: 'github://SeasideSt/Seaside/repository' ]
5 changes: 5 additions & 0 deletions src/Material-Design-Lite-Components-Tests.package/.filetree
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"separateMethodMetaAndSource" : false,
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
testing
isAbstract
^ self = MDLAbstractBrushTest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tests
testBareBrush
self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tests
testWithContent
self subclassResponsibility
Loading

0 comments on commit 75d9b7e

Please sign in to comment.