Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
be076e5
working example with query n+2
aravantv Feb 26, 2017
e706530
change title of the app
aravantv Feb 26, 2017
7e32623
beautification
aravantv Feb 26, 2017
e03b088
set now can be errorful
aravantv Feb 26, 2017
eb29671
adapts to the previous change
aravantv Feb 26, 2017
c87893d
binding-specific error
aravantv Feb 26, 2017
8f01c10
adapts to binding-specific errors
aravantv Feb 26, 2017
f019289
adapts typing
aravantv Feb 26, 2017
d64ec12
combinators for bindings
aravantv Feb 26, 2017
f55089d
binding transformers
aravantv Feb 26, 2017
d4b9980
uses binding transformer
aravantv Feb 26, 2017
0559adb
adds elm-lang/mouse
aravantv Feb 27, 2017
d376762
first experiments with SVG
aravantv Feb 27, 2017
5fef419
uses the SVG experiment
aravantv Feb 27, 2017
21ab8eb
fixes the drag and drop
aravantv Feb 28, 2017
64d93c8
uses SelectableText inside box
aravantv Feb 28, 2017
93ffee6
removes time travel
aravantv Feb 28, 2017
02f586f
createNormalWidget -> createWidget
aravantv Feb 28, 2017
acbbfe5
adapts to the change
aravantv Feb 28, 2017
140da80
createGroupWidget -> createWidget
aravantv Feb 28, 2017
f73f089
adapts to the previous change
aravantv Feb 28, 2017
3e139e1
createCircleWidget -> createWidget
aravantv Feb 28, 2017
0c3ecbc
createCircleWidget -> createWidget
aravantv Feb 28, 2017
93c6665
createListWidget -> createWidget
aravantv Feb 28, 2017
c85118a
createListWidget -> createWidget
aravantv Feb 28, 2017
6bd3746
makes list binding return BindingResult
aravantv Mar 1, 2017
9543ea1
adapts to BindingResult
aravantv Mar 1, 2017
08f2499
shuffling
aravantv Mar 1, 2017
3be41cc
double list
aravantv Mar 1, 2017
9f9f792
clearer type variable
aravantv Mar 2, 2017
3f4250f
first metamodel attempt
aravantv Mar 6, 2017
44581a8
first model attempt
aravantv Mar 6, 2017
abe6caf
uses the previous metamodel definition to define an examplary metamodel
aravantv Mar 6, 2017
3cdce16
adds multiplicity
aravantv Mar 6, 2017
a50db2b
adds multiplicity
aravantv Mar 6, 2017
ecb99f0
applies multiplicity
aravantv Mar 6, 2017
b3a2702
separation metamodel / rooted metamodel
aravantv Mar 6, 2017
0944a23
uses metamodel instead of ClassDictionary
aravantv Mar 6, 2017
d982491
uses RootedMetaModel
aravantv Mar 6, 2017
ecc3de2
AttributeType -> ModelType
aravantv Mar 6, 2017
bc22fd5
separates model and attributevalue
aravantv Mar 6, 2017
7f56ffb
replaces maybe decoder by nullable Decoder
aravantv Mar 6, 2017
dda2c15
adds factory
aravantv Mar 6, 2017
59f87ac
factory input is now always a model
aravantv Mar 9, 2017
b4c5ddb
factory input is now restricted to be a model
aravantv Mar 9, 2017
555b366
factory input is now restricted to be a model
aravantv Mar 9, 2017
13ff83c
factory input is now restricted to be a model + Factory
aravantv Mar 9, 2017
d9a7bf7
factory input is now restricted to be a model
aravantv Mar 9, 2017
56d0f4f
factory input is now restricted to be a model
aravantv Mar 9, 2017
5321166
factory input is now restricted to be a model
aravantv Mar 9, 2017
1d92164
initializes via the data model and not via the GUI model
aravantv Mar 9, 2017
f3ddfd0
addItemCmd takes a value
aravantv Mar 9, 2017
2b483a2
ListBinding takes a metamodel
aravantv Mar 9, 2017
1f8adc4
takes the value provided by addItemCmd into accoutn
aravantv Mar 9, 2017
2bfe672
brings the thoughts up to date
aravantv Mar 9, 2017
a4c76de
Library for trees
aravantv Mar 9, 2017
11ebe8f
first trivial implementation of UUID
aravantv Mar 11, 2017
6ae0c8c
moves widgets in dedicated directory
aravantv Mar 11, 2017
4272b0e
adds the new directory to elm-package
aravantv Mar 11, 2017
c7d52eb
introduces ModelElementIdentifier instead of Path
aravantv Mar 11, 2017
50d02cf
takes previous change into account
aravantv Mar 11, 2017
c075b27
commits exact-dependencies before taking it off version control
aravantv Mar 11, 2017
5727942
rootPath -> rootId
aravantv Mar 11, 2017
e88dfce
gathers json parameters in separate file
aravantv Mar 12, 2017
7d2abc9
small refactoring
aravantv Mar 12, 2017
98422ae
stores the type also for atomic types
aravantv Mar 12, 2017
d55eafd
removes type from the binding
aravantv Mar 12, 2017
58635a6
makes RootedMetaModel be rooted also by atomic types
aravantv Mar 12, 2017
7b4082c
adapts to the previous change
aravantv Mar 12, 2017
b595999
path -> id
aravantv Mar 26, 2017
27c2b9d
adds metamodel to (Generic)Binding
aravantv Mar 27, 2017
ac8db35
atomic root metamodels
aravantv Mar 27, 2017
ce34843
radical change of widget: takes the id as input
aravantv Mar 27, 2017
511682a
adapts to the new notion of widget
aravantv Mar 27, 2017
fe73f69
first compiling version with new widgets
aravantv Mar 27, 2017
b6504ab
ModelJsonParameters -> JsonParameters
aravantv Apr 9, 2017
0e735f9
model -> data
aravantv Apr 9, 2017
d8f4d74
separates ID in its own file
aravantv Apr 9, 2017
8623387
model -> data
aravantv Apr 9, 2017
7ac09f5
creates DataManager
aravantv Apr 12, 2017
5a07f22
ModelElementIdentifier -> DataID
aravantv Apr 12, 2017
d3fec5f
Model -> Data
aravantv Apr 12, 2017
2c43794
Model -> Data
aravantv Apr 12, 2017
18208b8
Model -> Data
aravantv Apr 12, 2017
cf487ab
Model -> Data
aravantv Apr 12, 2017
d6fbc58
uniformize the order of arguments
aravantv Apr 12, 2017
94c5dc0
BindingErr -> UnfulfillmentInfo
aravantv Apr 13, 2017
ca1ddea
propagates previous change
aravantv Apr 13, 2017
b7abc4a
less flashy colors
aravantv Apr 13, 2017
04cd4c7
quite stable BindingWrapper
aravantv May 1, 2017
cc393e2
clean up
aravantv May 1, 2017
aaf18a7
clean up before collection bindings
aravantv May 1, 2017
a29b8e7
split binding and collectionbinding
aravantv May 2, 2017
10f9832
removes childkey
aravantv May 2, 2017
122101f
moves utils of BindingResult closer to BindingResult
aravantv May 2, 2017
2922d0c
small renaming
aravantv May 2, 2017
89bf6f0
WidgetWithBinding
aravantv May 3, 2017
9b3229a
Base for CollectionBinding
aravantv May 3, 2017
705fde4
listBinding
aravantv May 4, 2017
25c7c12
makes collectionBinding compile, but not state for int2string
aravantv May 13, 2017
b3a8b7b
differentiates inner and outer model/msg in wrapper
aravantv May 13, 2017
107c5ef
makes model extension work for CollectionBinding
aravantv May 14, 2017
c4ba8c6
nouvel essai avec wrapper au lieu d'adapter - compile, mais sans exte…
aravantv May 14, 2017
da4457c
extension of model - but no extension of message
aravantv May 14, 2017
752ec74
new approach: no more params, but more returned information
aravantv May 14, 2017
cf1a2ce
temporarily deactivates standard binding
aravantv May 16, 2017
0fd0b6e
compiling with new CollectionBinding - no extension of model nor msg
aravantv May 16, 2017
f28c08d
increment with extending model and message with unit
aravantv May 16, 2017
f3898f7
adds IndexMapping
aravantv May 16, 2017
d39846d
increment with Maybe type and Nothing everywhere
aravantv May 16, 2017
129cdd5
increment with IndexMapping - trivial
aravantv May 16, 2017
5ba2c00
trivial message but with cases
aravantv May 16, 2017
3de491d
adequate message on subscrition - still missing handling thereof in u…
aravantv May 16, 2017
bba41ab
all of it typing!
aravantv May 16, 2017
716ae59
uses function type instead of specific sum type
aravantv May 16, 2017
b507840
adapts normal binding
aravantv May 17, 2017
3437e7a
defines CollectionBinding to ensure same types
aravantv May 17, 2017
8ae03a0
defines Binding
aravantv May 17, 2017
e8800fd
fixes Binding and applyBinding
aravantv May 17, 2017
b30308e
finishes statelessWrapper
aravantv May 17, 2017
4d1a00b
better naming
aravantv May 18, 2017
f4cc6bf
ConstraintUtils: UnfulfillmentInfo, Fixes, etc.
aravantv May 18, 2017
8fc1e6e
trivialUnfulfillmentInfo
aravantv May 18, 2017
0c7e362
finalizes CollectionBinding
aravantv May 18, 2017
309c767
adds DoNothing
aravantv May 19, 2017
1b1a3cf
adds set
aravantv May 19, 2017
9cfdaff
adapts Text to the new WidgetWithBinding
aravantv May 19, 2017
d5df4ac
BoundWidgetWithBinding
aravantv May 19, 2017
bc2ee27
make SelectableText work with the new WidgetWithBinding
aravantv May 19, 2017
9df36fe
adapts NewText to the new WidgetWithBinding
aravantv May 19, 2017
2bea46b
removes now useless utils
aravantv May 19, 2017
d911a0d
adapts Label to new Widgets
aravantv May 19, 2017
806a24c
defines Widget.doNothing
aravantv May 19, 2017
c2ac7a3
makes use of Widget.doNothing
aravantv May 19, 2017
8a6ee99
makes use of Widget.doNothing
aravantv May 19, 2017
9626293
adapts GroupWidget
aravantv May 19, 2017
0142e08
adapts CircleWidget
aravantv May 19, 2017
46e98f8
adds DoNothing
aravantv May 20, 2017
4bfb644
firstMatch + unzip3
aravantv May 21, 2017
205f160
clears up easy errors
aravantv May 21, 2017
4287845
makes CollectionBinding return the id of an added element
aravantv May 21, 2017
32e5f7c
stores IDs in the model of SelectableList
aravantv May 21, 2017
f40184b
obsolete comment
aravantv May 21, 2017
27567e1
removes id from widget
aravantv May 21, 2017
63381bb
adapts Binding to the fact that widgets don't take IDs anymore
aravantv May 21, 2017
58ca72d
adapts CollectionBinding to the fact that widgets don't have IDs anymore
aravantv May 21, 2017
953fc95
adapts to the fact that widgets don't take IDs anymore
aravantv May 21, 2017
2e2be16
adapts to the fact that widgets don't take IDs anymore
aravantv May 21, 2017
b2b4e27
adapts to the fact that widgets don't take IDs anymore
aravantv May 21, 2017
7d9a50e
adapts to the fact that widgets don't take IDs anymore
aravantv May 21, 2017
d63ab34
adds WidgetCloser
aravantv May 21, 2017
68873d5
makes use of WidgetCloser
aravantv May 21, 2017
54b2205
removes WidgetCloser
aravantv May 22, 2017
3985dc6
removes WidgetCloser
aravantv May 22, 2017
1282bb8
removes WidgetCloser
aravantv May 22, 2017
a9c3442
forgot one reference to WidgetCloser
aravantv May 22, 2017
d6adc9d
forgot one reference to WidgetC
aravantv May 22, 2017
a745fa3
adapts to the fact that widgets don't take IDs anymore
aravantv May 22, 2017
0698251
initModel + initMsg -> init
aravantv May 22, 2017
deb0b76
adapts Label to: initModel + initMsg -> init
aravantv May 22, 2017
ffc5bf8
adapts NewText to: initModel + initMsg -> init
aravantv May 22, 2017
2d12e91
adapts Binding to: initModel + initMsg -> init
aravantv May 22, 2017
96c9997
adapts CollectionBinding to: initModel + initMsg -> init
aravantv May 22, 2017
b625825
adapts Text to: initModel + initMsg -> init
aravantv May 22, 2017
1f5d6dd
adapts SelectableText to: initModel + initMsg -> init
aravantv May 22, 2017
d95bd63
adapts CircleWidget to: initModel + initMsg -> init
aravantv May 22, 2017
3336504
first clean up of SelectableList after all previous changes
aravantv May 22, 2017
92c1719
adds paramsInit
aravantv May 24, 2017
10a6534
adds map for init
aravantv May 24, 2017
05e7765
adapts makeBindingWrapper to new BoundWidget
aravantv May 24, 2017
93b5f7c
adapts to new paramsInit
aravantv May 24, 2017
9984ddd
adapts Text to new BoundWidget
aravantv May 25, 2017
e08d0fc
adapts Label to new Widget
aravantv May 25, 2017
fd40021
adapts NewText to new Widget
aravantv May 25, 2017
d54a48d
adapts SelectableText to new Widget
aravantv May 25, 2017
f503c98
adapts CircleWidget to new Widget
aravantv May 25, 2017
9584cee
adapts GroupWidget to new Widget
aravantv May 25, 2017
32503f9
removes - again - paramsInit
aravantv May 25, 2017
902a96b
removes paramsInit - again
aravantv May 25, 2017
c9522e2
adds modelOf and cmdOf
aravantv May 25, 2017
f67eea1
removes paramsInit
aravantv May 25, 2017
9a33797
adds Get
aravantv May 25, 2017
b55a005
askContentCmd -> askDataCmd
aravantv May 25, 2017
56d2e78
askContentCmd -> askDataCmd
aravantv May 25, 2017
88aafe8
askForData -> askDataCmd
aravantv May 25, 2017
772fa3e
adds Ask
aravantv May 25, 2017
4de8345
adds ask
aravantv May 25, 2017
bbc615b
removes Ask : instead ask for data when applyBinding
aravantv May 25, 2017
b2561a8
idem for CollectionBinding
aravantv May 25, 2017
ff74a0b
removes initial value
aravantv May 25, 2017
7a38344
useless import
aravantv May 25, 2017
32d535d
remove initial value from SelectableText
aravantv May 25, 2017
fe29443
removes init value
aravantv May 25, 2017
98917cd
adds a manual initValue
aravantv May 25, 2017
dea586a
adds an initial value at the widget level
aravantv May 25, 2017
10614d4
removes paramsInit
aravantv May 25, 2017
96d66c2
removes paramsInit
aravantv May 25, 2017
8afbe45
adds BoundListWidget
aravantv May 25, 2017
e42e4cf
SelectableList typechecks
aravantv May 25, 2017
ed8f2b1
removes value from BackendAddedItem
aravantv May 25, 2017
b04119f
adds makeTopWidget
aravantv May 26, 2017
f97d35b
simplified but compiling main
aravantv May 26, 2017
b7a3307
askContentCmdPort -> askDataCmdPort
aravantv May 26, 2017
76f49a6
adds Label
aravantv May 26, 2017
89c3bc9
adds CircleWidget
aravantv May 26, 2017
5b0e22a
plus2 is actually minus2...
aravantv May 26, 2017
0e8a917
binding with n-2
aravantv May 26, 2017
7d4d847
makes the default circle size bigger
aravantv May 26, 2017
39e9f7a
allows to transform the widget in SelectableText
aravantv May 26, 2017
3972a63
improves code layout
aravantv May 26, 2017
b446acf
fix the id in CollectionBinding
aravantv May 26, 2017
9a7e90b
adds createSelectableWidget
aravantv May 26, 2017
b6b5f0a
moved Path to DataID
aravantv May 26, 2017
82adba3
brought Path
aravantv May 26, 2017
ec34745
createWidget -> makeWidget
aravantv May 26, 2017
b1cd1d9
make the typing dynamic
aravantv May 26, 2017
8158a17
DataType not necessary anymore
aravantv May 26, 2017
7936aaf
propagates previous change
aravantv May 26, 2017
48812e4
propagates previous change
aravantv May 26, 2017
c971f6c
makes Main compile with List
aravantv May 26, 2017
7e75f3a
adds Index to Utils
aravantv May 27, 2017
d8391b3
adds Index to addItemCmdPort
aravantv May 27, 2017
f1c5bca
removes obsolete comment
aravantv May 27, 2017
0b23ada
iniate attempt for a UUID-based storage
aravantv May 28, 2017
46bed6e
adapts LocalStorage to the new form of storage
aravantv May 28, 2017
1edd153
adapts to the new form of storage and define own DataID
aravantv May 28, 2017
3ec6420
migrates DataID from DataID to DataManager
aravantv May 28, 2017
0748bdc
also returns index where element was added
aravantv May 28, 2017
3793805
currifies all Elm-visible functions
aravantv May 28, 2017
c0a7a32
propagates previous change
aravantv May 28, 2017
3e19816
propagate currification
aravantv May 28, 2017
a7798d7
also transmits the ID of the added element
aravantv May 28, 2017
8e77654
propagates the previous change
aravantv May 28, 2017
3d155fd
adapts CollectionBinding to the new storage interface
aravantv May 28, 2017
784fb63
migrates DataID from DataID to DataManager
aravantv May 28, 2017
c1ea1be
adapts to new sort of DataID
aravantv May 28, 2017
f90b2f8
fixes various javascript errors
aravantv May 28, 2017
43bd2ea
exports getDataSub/getDataCmd
aravantv May 28, 2017
9f6bc4e
adds getDataSub/setDataCmd to DataManager
aravantv May 28, 2017
32b3664
fix addItemCmdPort
aravantv May 28, 2017
16db5b8
fix forgotten command in BackendAddedItem
aravantv May 28, 2017
f29fcd8
Json -> JSON
aravantv May 28, 2017
bb024b1
fix removeItemCmdPort
aravantv May 28, 2017
c1dfe74
removes ; at the end of lines
aravantv May 28, 2017
a8fd86f
getDataSubPort now returns a shallow object
aravantv May 28, 2017
a858ba5
makes objectDecoder gets a unit parameter
aravantv May 28, 2017
c6118ab
makes getDataSub return an AttributeValue instead of a Data
aravantv May 28, 2017
0e5c664
removes meaningless separation
aravantv May 28, 2017
835a649
introduces lists of messages around BoundCollectionWidget's
aravantv May 28, 2017
41e6613
Revert "getDataSubPort now returns a shallow object"
aravantv May 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
53 changes: 42 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
src/*.swp
flux
build/*
!build/vendors.js
.idea
react-tutorial
./redux
npm-debug-log
.haste_cache/*
coverage/*
.alm/*
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages
elm-stuff

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Generated files
dist
main.js
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.DS_Store": true,
"node_modules": true,
"dist": true,
"**/*.js": { "when": "$(basename).ts"},
"**/*.js.map": true
}
}
36 changes: 0 additions & 36 deletions .vscode/tasks.json

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

62 changes: 0 additions & 62 deletions css/base.css

This file was deleted.

20 changes: 20 additions & 0 deletions elm-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "0.0.1",
"summary": "Architecture for model-based development of web applications",
"repository": "https://github.com/aravantv/mb-webapp.git",
"license": "MIT",
"source-directories": [
"nesting",
"src",
"src/widgets"
],
"exposed-modules": [],
"dependencies": {
"elm-lang/core": "5.0.0 <= v < 6.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0",
"elm-lang/svg": "2.0.0 <= v < 3.0.0",
"elm-lang/mouse": "1.0.0 <= v < 2.0.0",
"jinjor/elm-time-travel": "2.0.0 <= v < 3.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
}
Binary file not shown.
Loading