Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

1.x becomes master #150

Merged
merged 140 commits into from
Feb 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
02ad179
0.2.0-rc1
tetsuo Jan 16, 2015
f986ce8
list on npm as rc1
tetsuo Jan 17, 2015
96f6c52
proxy to console methods
tetsuo Jan 20, 2015
8039ebf
add kd.singleton (alias for getSingleton)
tetsuo Jan 21, 2015
7da9311
Release 0.2.0-rc2
tetsuo Jan 21, 2015
bf52f2d
use timeago instead of jquery-timeago
tetsuo Jan 29, 2015
9434e10
update version
tetsuo Jan 29, 2015
ab3a0fd
do not include extension in require paths
tetsuo Feb 8, 2015
f23f4ad
update dist
tetsuo Feb 8, 2015
14568b7
export precompiled js on npm
tetsuo Feb 8, 2015
ba2faf8
fix jspath includes
usirin Feb 9, 2015
cef698c
Release 1.0.1
tetsuo Feb 9, 2015
f28c518
add 'make development'
tetsuo Feb 18, 2015
5a97b34
update ignored
tetsuo Feb 18, 2015
7f02596
add example
tetsuo Feb 19, 2015
7beafd5
ocd
tetsuo Feb 19, 2015
c6bf35c
watch lib and recompile changed coffee files individually
tetsuo Feb 19, 2015
c825b33
update readme
tetsuo Feb 19, 2015
b49c41b
rimraf outfile before recompiling
tetsuo Feb 19, 2015
0b11246
CustomScroll: initial touch support
sinan Feb 19, 2015
8cb97e1
version: bump up
sinan Feb 19, 2015
a69d1f9
ignore example bundle
tetsuo Feb 19, 2015
3671767
Release 1.0.2
tetsuo Feb 19, 2015
d3a8fb1
bump up htmlencode
tetsuo Feb 19, 2015
ec78c43
add changelog
tetsuo Feb 19, 2015
68d421d
Release 1.0.3
tetsuo Feb 19, 2015
193c876
ocd
tetsuo Feb 19, 2015
e7a72ff
bump up umd bundle
tetsuo Feb 19, 2015
004f86e
update ignored
tetsuo Feb 21, 2015
616b90d
Release 1.0.4
tetsuo Feb 21, 2015
46f017d
npm: remove unnecessary prepublish step
tetsuo Feb 21, 2015
eab07e8
npm: include dist
tetsuo Feb 24, 2015
59b52a6
Close dialog on ESC
alex-ionochkin Feb 26, 2015
783ca74
Release 1.0.6
tetsuo Feb 27, 2015
56a0179
windowController: focusChange improved
sinan Feb 27, 2015
6ec623a
dist: updated dist
sinan Feb 27, 2015
f4047c5
npm: version bump up
sinan Feb 27, 2015
7120273
Release 1.0.7
tetsuo Feb 27, 2015
729b364
dist: css/js w/o sourcemaps
sinan Mar 3, 2015
48af6ff
styles: get rid of kdfsprite() util
sinan Mar 3, 2015
eec394d
npm: bump up version
sinan Mar 3, 2015
d700a22
customscroll: keyboard handling
alex-ionochkin Feb 27, 2015
6fba154
Changelog updated for version 1.0.8
alex-ionochkin Feb 27, 2015
46b8345
customscroll: char code constants
alex-ionochkin Mar 3, 2015
7bc4325
npm: bump up version
alex-ionochkin Mar 4, 2015
1f534bd
customscroll: document keydown event unbinding, refactoring
alex-ionochkin Mar 4, 2015
60d1fa6
customview: fix for incorrect constant name
alex-ionochkin Mar 4, 2015
0629fbe
update changelog
tetsuo Mar 4, 2015
06b2948
npm: rm mousetrap
tetsuo Mar 5, 2015
6b640da
rm core/keyboard
tetsuo Mar 5, 2015
3450321
do not export keyboard
tetsuo Mar 5, 2015
e2deaea
utils: chmod -x
tetsuo Mar 5, 2015
d7c5446
styles: chmod -x
tetsuo Mar 5, 2015
c3e1d8f
winctrl: keyViewHistory is obsolete
tetsuo Mar 5, 2015
e389b3a
winctrl: currentCombos is obsolete
tetsuo Mar 5, 2015
9b7cb73
winctrl: styling
tetsuo Mar 5, 2015
f845ae9
winctrl: remove obsolete superizeCombos
tetsuo Mar 5, 2015
d780661
winctrl: do not register/unregister Mousetrap bindings
tetsuo Mar 5, 2015
ff2e5ab
winctrl: ocd
tetsuo Mar 5, 2015
cbcffd9
winctrl: remove obsolete viewHasKeyCombos
tetsuo Mar 5, 2015
8159acf
npm: bump up jspath
tetsuo Mar 7, 2015
6494132
Release 1.0.10
tetsuo Mar 8, 2015
eb31168
CustomScroll: removed nested hidden overflow
sinan Mar 10, 2015
5f0317e
npm: bump up version
sinan Mar 10, 2015
c5072dd
dist: updated version
sinan Mar 10, 2015
73c6b6c
Release 1.0.11
tetsuo Mar 12, 2015
f893e6c
Release 2.0.0
tetsuo Mar 14, 2015
663c6f1
SplitView: Don't try to resize if there is no panel.
fatihacet Mar 18, 2015
e691dcb
Dist updated.
fatihacet Mar 18, 2015
32023a3
customscroll: key binding for command+up/down
alex-ionochkin Mar 20, 2015
5f51036
npm: bump up version
alex-ionochkin Mar 20, 2015
7797cb8
History update for release 1.0.13
alex-ionochkin Mar 24, 2015
b02f07b
Release 1.1.0
tetsuo Apr 4, 2015
9ed7377
npm: add debug
tetsuo Apr 4, 2015
24f18f0
components: use debug instead of log/warn :hear_no_evil:
tetsuo Apr 4, 2015
1e439cd
split: remove obsolete methods :cop:
tetsuo Apr 4, 2015
dc90f39
use console.log instead of KD.log to explicitly dump messages :cat:
tetsuo Apr 4, 2015
517fe2f
core/view: remove obsolete appendToDOMBody
tetsuo Apr 4, 2015
f39050b
core/view: remove unused deprecated fn
tetsuo Apr 4, 2015
3eab69f
core/view: use debug to log lazyElement found warning
tetsuo Apr 4, 2015
9405cf9
core/kd: use debug instead of console[log|warn|error] :hamster:
tetsuo Apr 4, 2015
77c2043
core/router: use debug instead of KD.log
tetsuo Apr 4, 2015
5f36042
core/utils: log :arrow_right: console.log
tetsuo Apr 4, 2015
dc08f8f
core/windowctrl: use debug instead of KD.log :rabbit:
tetsuo Apr 4, 2015
6426662
core/object: bind console.error instead of KD.error onError :hatched_…
tetsuo Apr 4, 2015
fe32e6e
use debug instead of KD.error :balloon:
tetsuo Apr 4, 2015
f3c1413
expose debug
tetsuo Apr 4, 2015
812c1bb
npm: remove lodash.throttle
tetsuo Apr 4, 2015
367d392
npm: add [email protected]
tetsuo Apr 4, 2015
0bdd058
dia/scene/update-scene: throttle indeed :hatched_chick:
tetsuo Apr 4, 2015
641ccd0
list: do not let itemview to freak out when there is no data available
tetsuo Apr 11, 2015
215b192
spotlightview: size fix
alex-ionochkin Apr 15, 2015
0705d1d
spotlightview: code formatting
alex-ionochkin Apr 15, 2015
97f3518
Release 1.1.1
tetsuo Apr 17, 2015
76abf92
buttons: add missing return statements
tetsuo Apr 20, 2015
2ff41b3
typo :hamster:
tetsuo Apr 20, 2015
f363cbf
Release 1.1.2
tetsuo Apr 20, 2015
462c713
update dist (1.1.2)
tetsuo Apr 20, 2015
da0efc3
bump up to v1.1.3
sinan May 12, 2015
c793435
ignore: added .DS_store
sinan May 12, 2015
d68b058
minor: code styling
sinan May 12, 2015
ca6d4e7
ignored dist folder
sinan May 13, 2015
f12a03c
View droppable attribute is optional.
GokhanTurunc May 25, 2015
cd388a6
Set indentation
GokhanTurunc May 27, 2015
f2d9615
Use "?=" instead of "or=" for boolean option.
GokhanTurunc May 27, 2015
b59ddec
Custom scroll: Propagate ineffective function key event
May 27, 2015
e11c517
Bump up version to 1.1.4
May 27, 2015
c32fc07
Bump up version 1.1.5
fatihacet Jun 1, 2015
a633c57
Set default false to options.droppable for TabHandleView
GokhanTurunc Jun 2, 2015
cb0a81b
Remove 'droppable' attribute.
GokhanTurunc Jun 3, 2015
4f21ccb
custom scroll: keyboard scroll animation
alex-ionochkin Jun 5, 2015
6eb1112
custom scroll: constant name change
alex-ionochkin Jun 5, 2015
448ad3a
FileTree: ModalViewStack: modalview and modalviewstack causes circula…
gokhansongul Jun 30, 2015
afc7684
Bump up version to 1.1.7
Jun 30, 2015
b577a6c
custom scroll: up and down arrow keys support
alex-ionochkin Jul 24, 2015
7d671ad
custom scroll: do not handle keydown when focused on button
alex-ionochkin Jul 24, 2015
3557488
kd: utils: Added moveCaretToEnd method to focus after last character …
gokhansongul Jul 31, 2015
b395265
Updated version
gokhansongul Jul 31, 2015
36acfc5
Bump up version to 1.1.10
Aug 25, 2015
8f13f71
Bump up version to 1.1.11
Sep 8, 2015
932fb81
Give support dragEnd event for HTML5 DND now.
GokhanTurunc Sep 8, 2015
f8b58a6
Checbox: Code styling fixes.
fatihacet Sep 17, 2015
96c6dd3
CustomCheckBox: Introduced new component.
fatihacet Sep 17, 2015
f57fe8d
InputView: Fix setValue method for checkbox and radio.
fatihacet Sep 17, 2015
4b47789
Bump up version.
fatihacet Sep 17, 2015
851d9b8
InputView: Make checkmark gray.
fatihacet Sep 17, 2015
e805bad
TabHandleView: Add sub view to close-tab icon.
GokhanTurunc Sep 16, 2015
198b62c
TabHandleView: Don't use nested HTML. Use KDView instead of native HTML
GokhanTurunc Sep 17, 2015
2c5b01c
Emit "CloseIconClicked" event when close icon is clicked and handle i…
GokhanTurunc Sep 21, 2015
f382013
TabView: Remove the close logic from TabHandleView and move it to Tab…
GokhanTurunc Sep 28, 2015
f9d233b
Upgrade KD version
GokhanTurunc Sep 30, 2015
6c19cec
Prevent binding same 'click' event for closeHandler while the tab is …
GokhanTurunc Oct 19, 2015
2263669
Bump up version
GokhanTurunc Oct 19, 2015
5fab3d4
CustomScrollView: Update indicators when any mutation happened
GokhanTurunc Oct 21, 2015
1bfa099
Bump up version
GokhanTurunc Oct 21, 2015
de6fad9
Components: Tabs: TabView: Calculate width of tab handles correctly
GokhanTurunc Nov 7, 2015
2faac15
WindowController: Updated default focused property
gokhansongul Feb 3, 2016
742b9f8
WindowController: Updated version to 1.1.17
gokhansongul Feb 3, 2016
dddc22d
dialog: close dialog on ESC
alex-ionochkin Feb 27, 2015
45bd927
customview: keyboard handling
alex-ionochkin Mar 4, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
node_modules
npm-debug.log
build
.DS_Store
*.orig
/node_modules/
/build/
/src/entry.coffee
/playground/js
/playground/css
/test/kd.libs.*js
/test/kd.test.*js
/docs/css/kd.css
/docs/css/main.css
/docs/js/kd.js
/docs/js/kd.libs.js
/docs/js/main.js
/docs/js/kd.sitemap.js
dist
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

132 changes: 132 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@

1.1.2 / 2015-04-20
==================

* Merge pull request #17 from tetsuo/bug/pr-15-missing-returns
* buttons: add missing return statements

1.1.1 / 2015-04-17
==================

* Merge pull request #16 from alex-ionochkin/spotlightview-size-fix
* spotlightview: code formatting
* spotlightview: size fix
* Merge branch 'patch/shortcuts-ui' into 1.2.0
* list: do not let itemview to freak out when there is no data available
* Merge pull request #15 from tetsuo/1.2.0
* dia/scene/update-scene: throttle indeed :hatched_chick:
* npm: add [email protected]
* npm: remove lodash.throttle
* expose debug
* use debug instead of KD.error :balloon:
* core/object: bind console.error instead of KD.error onError :hatched_chick:
* core/windowctrl: use debug instead of KD.log :rabbit:
* core/utils: log :arrow_right: console.log
* core/router: use debug instead of KD.log
* core/kd: use debug instead of console[log|warn|error] :hamster:
* core/view: use debug to log lazyElement found warning
* core/view: remove unused deprecated fn
* core/view: remove obsolete appendToDOMBody
* use console.log instead of KD.log to explicitly dump messages :cat:
* split: remove obsolete methods :cop:
* components: use debug instead of log/warn :hear_no_evil:
* npm: add debug

1.1.0 / 2015-03-31
==================

This release brings in some breaking api changes.

* `core/keyboard` module is factored out to [shortcuts](https://github.com/koding/shortcuts)
* `kd.KeyboardListener` & `kd.KeyboardMap` classes are obsolete along with all key-bindings stuff.
* winctrl: remove obsolete viewHasKeyCombos
* winctrl: do not register/unregister Mousetrap bindings
* winctrl: remove obsolete superizeCombos
* winctrl: currentCombos is obsolete
* winctrl: keyViewHistory is obsolete
* styles: chmod -x
* utils: chmod -x
* do not export keyboard
* rm core/keyboard
* npm: rm mousetrap
* SplitView: Don't try to resize if there is no panel.

1.0.13 / 2015-03-20
==================

* Merge pull request #12 from alex-ionochkin/90763920-custom-scroll-command-key
* npm: bump up version
* customscroll: key binding for command+up/down

1.0.11 / 2015-03-12
==================

* Merge pull request #9 from sinan/kd.js
* CustomScroll: removed nested hidden overflow

1.0.10 / 2015-03-08
==================

* Merge pull request #8 from tetsuo/bump-up-jspath
* npm: bump up jspath

1.0.9 / 2015-03-04
==================

* Merge pull request #6 from alex-ionochkin/82401098-custom-scroll-keyboard-handling
* customview: fix for incorrect constant name
* customscroll: document keydown event unbinding, refactoring
* customscroll: char code constants
* customscroll: keyboard handling
* Merge pull request #7 from sinan/get-rid-of-kdfsprite-and-sourcemaps-on-dist
* styles: get rid of kdfsprite() util
* dist: css/js w/o sourcemaps

1.0.7 / 2015-02-27
==================

* windowController: focusChange improved (https://github.com/tetsuo/kd/pull/5)

1.0.6 / 2015-02-27
==================

* Close dialog on ESC (https://github.com/tetsuo/kd/pull/4)

1.0.3 / 2015-02-19
==================

* add changelog
* bump up htmlencode

1.0.2 / 2015-02-19
==================

* `playground` folder is gone. Typing `make example` starts a simple development server and recompiles files upon changes in `example` folder
* added touch support to `scrollview`
* to watch `lib` folder and build a standalone umd package into `dist` folder, you type `make development-dist`
* to compile each file individually into `build` folder upon changes, type `make development`

1.0.1 / 2015-02-9
==================

* browserified and re-listed on npm as `kd.js`
* umd build (`dist/kd.js`) exposes only `kd` to global scope now on
* we are exporting all classes and methods without the `KD` prefix

Example:

```coffeescript
kd = require 'kd'

class X extends kd.View
```

* styl entry file is now being transpiled with `--include-css`
* `test` & `docs` became obsolete and removed
* `KD.EventEmitter.Wildcard` is changed to `kd.EventEmitterWildcard`
* `underscore` is removed
* `jquery-timeago` is changed with `timeago` package on npm
* added `kd.singleton` (alias for `kd.getSingleton`)
* moved `lib/themes` to `styles`
* all `window` calls/assignment are changed to `global` (see: browserify)
* removed `gulpfile`, added `Makefile`
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

84 changes: 84 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
BIN=./node_modules/.bin
SRC=$(shell find lib -name "*.coffee")
TARGETS=$(patsubst %.coffee,build/%.js,$(SRC))

all: clean prepublish dist

dist: clean_dist js css
@mkdir -p dist
@mv kd.* dist

prepublish: $(TARGETS)

build/%.js: %.coffee
@mkdir -p $(@D)
@$(BIN)/coffee -p -b $< >$@
@echo 'written $@'

development-dist:
@$(BIN)/watchify \
-v \
-g coffeeify \
--extension=".coffee" \
--outfile kd.js \
--standalone kd \
--debug \
lib/index.coffee

development: $(TARGETS)
@echo "watching kd.js/lib"
@node -e "\
var chokidar = require('chokidar'); \
var child_process = require('child_process'); \
var rimraf = require('rimraf'); \
var w = chokidar.watch('./lib/**/*.coffee', { persistent: true  }); \
w.on('change', function (path) { \
console.log('changed ' + path); \
rimraf.sync('./build/' + path.replace('coffee', 'js')); \
child_process.exec('make build/' + path.replace('coffee', 'js'), \
function (err, stdout) { \
if (err) return console.log(err); \
process.stdout.write(stdout); \
}); \
});"

example: watch-example
@$(BIN)/serve

watch-example:
@$(BIN)/watchify \
-v \
-g coffeeify \
--extension=".coffee" \
--outfile example/bundle.js \
--debug \
example/index.js &

js:
@$(BIN)/browserify \
-g coffeeify \
--extension=".coffee" \
--outfile kd.js \
--standalone kd \
index.coffee
@$(BIN)/uglifyjs kd.js \
--mangle -c hoist_vars=true,if_return=true \
--screw-ie8 \
-o kd.min.js

css:
@$(BIN)/stylus \
--include-css \
--print \
lib/styles/index.styl \
| $(BIN)/cleancss \
--s0 \
--output kd.css

clean: clean_dist
@rm -fr build

clean_dist:
@rm -fr dist

.PHONY: example dist
96 changes: 0 additions & 96 deletions README.md

This file was deleted.

Loading