Commit Graph

62 Commits

Author SHA1 Message Date
Grant Nestor
c6030778ec Upgrade requirejs 2019-06-26 23:12:23 -07:00
Grant Nestor
55724a8c8e Pin bower to specific version 2019-06-26 23:10:31 -07:00
Matthias Bussonnier
d239839e07 Build js translation at build time.
Make sure they are included in sdist/wheel.
2018-09-16 11:55:22 +02:00
jianzi123
de09c12980 Pull request i18n (#2804)
* ...

* ...

* ...

* add translated files in Chinese.

* Remove compiled message files

* Consolidate translations into one set of files

* Rename .pot files to .po

* Add zh-CN to list of supported languages

* Ignore compiled .mo files

* Revert a couple of unimportant changes
2017-10-02 16:02:06 -07:00
Grant Nestor
b69509fcab Move preact, preact-compat, and proptypes to bower 2017-03-20 20:32:16 -07:00
Min RK
2b09d59b1d re-add npm run build:watch
it's not true watching, just polling every few seconds.

Help docs still point to this command,
and we need something for devs as `ignore_minified_js` is gone.
2017-01-31 15:05:36 +01:00
Min RK
cbd6eef04a get preact from script tag
doesn't seem to like loading with require
2017-01-04 13:47:16 +01:00
Min RK
8a644a9794 restore r.js-based build system from 4.x 2016-12-22 18:44:46 +01:00
Jason Grout
b3936cb3b8 Polyfill promises from the page template.
Doing this from webpack as a plugin caused https://github.com/ipython/ipywidgets/issues/844 (and probably other issues we haven’t noticed), and also forced us to use the es6-promise Promise object instead of the native one.

Fixes https://github.com/ipython/ipywidgets/issues/844
2016-12-07 11:43:26 -08:00
YuviPanda
922c9c8d16 Bump xterm.js version to v2.1.0 2016-11-11 15:54:59 -08:00
YuviPanda
bc0a758cf2 terminal: Bump xterm.js to 2.0.1
Primary fix is better copy / paste support

Release notes in https://github.com/sourcelair/xterm.js/releases/tag/2.0.1
2016-10-15 11:37:04 -07:00
Grant Nestor
72e75efe6c Move remove duplicate moment dependency in bower 2016-09-22 12:07:05 -07:00
Grant Nestor
7e3e9f31aa Add es6-promise polyfill to webpack config 2016-09-21 11:12:33 -07:00
YuviPanda
fd88eadb61 Bump xterm.js to 1.1.3
The only fix is a fix to the build script, since their
previous one forgot to publish 1.1.2 to npm :)
2016-08-23 16:28:02 -07:00
YuviPanda
a38cac92e8 Update xterm.js to 1.1.2
Major feature upgrade is that IMEs now work, so people
can type non-latin characters into them!

Also has:
   - Better mouse support
   - Signed releases
   - Scrollbar

https://github.com/sourcelair/xterm.js/releases/tag/1.1.2
2016-08-22 20:05:27 -07:00
Grant Nestor
75835e4ca8 Add npm run build:css:watch script 2016-08-04 12:53:45 -07:00
YuviPanda
e58a1d37b3 xterm: Bump version to 1.0
Changelog at https://github.com/sourcelair/xterm.js/releases/tag/1.0.0

Particularly interesting features:
  - Better support for international characters
  - Performance improvements in rendering
  - Fix inverse color rendering
2016-07-26 08:25:34 -07:00
Steven Silvester
d0708614b5 Add missing webpack loaders 2016-07-05 09:33:26 -05:00
Steven Silvester
d223e96fe1 Switch to xterm for the terminal emulator 2016-07-05 09:09:01 -05:00
Dave Hirschfeld
34203fa00f Fix quoting in package.json 2016-05-27 10:30:36 +10:00
Min RK
b55f68e445 less sourcemaps don't work with less-2.7 2016-05-08 16:33:15 +01:00
Min RK
2ced11ff9c run js before css 2016-05-08 16:33:15 +01:00
Min RK
4c7f5972e1 add npm run build:css
setup.py css is just an alias for this,
so there should be no more calls back to Python from npm run build:anything
2016-05-08 16:33:14 +01:00
Matthias Bussonnier
baa49f73c8 Add eslint deps 2016-04-21 18:21:43 +02:00
Matthias Bussonnier
ab85f165c7 Create shortcut editor for the notebook
1) finish the step allowing the use of es6

  - this include some tweak to web pack configuration to speed up
    recompile in watch mode (in particular cache sourcemaps).
  - enable eslint (error only), on obvious mistakes.
  - setup babel to compile to es5 as a target.

2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.

3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.

The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
2016-04-21 18:00:17 +02:00
Matthias Bussonnier
1096410fcf Try es6 and add a few features for shortcut editor. 2016-04-14 16:49:35 +02:00
Min RK
fdc1bb50da simplify js build steps
- run npm, bower install every time (except from sdist).
  Removes need to check npm, bower sources.
- only check `built/index.js` for build target
  since webpack is only a single step now
2016-02-24 16:00:39 +01:00
Jonathan Frederic
a83f18255b Use npm to install moment 2016-02-22 07:30:55 -08:00
Jonathan Frederic
e409dd1a2c Install webpack and configure scripts for execution of webpack 2016-02-22 07:30:55 -08:00
Matthias Bussonnier
2d5d548d79 Revert "Use NPM, node ES5, and browserify." 2015-08-27 09:00:15 +02:00
Jonathan Frederic
7717a986d1 Load underscore globally 2015-08-26 14:06:14 -07:00
Jonathan Frederic
467ae32b05 Make sure requirejs can't be set more than once. 2015-08-26 14:06:13 -07:00
Jonathan Frederic
c802038415 Remove jquery, jqueryui, and bootstrap from npm packages 2015-08-26 14:06:13 -07:00
Jonathan Frederic
69bb4b1a0a Truely load jquery, jqueryui, and bootstrap as globals. 2015-08-26 14:06:13 -07:00
Jonathan Frederic
55dd626980 Fix tests 2015-08-26 14:06:12 -07:00
Jonathan Frederic
b8f25eea2f Remove debowerify 2015-08-26 14:06:12 -07:00
Jonathan Frederic
72d052eb5d Debowerify and google caja support 2015-08-26 14:06:12 -07:00
Jonathan Frederic
aa097ba662 Add typeahead npm ref 2015-08-26 14:06:11 -07:00
jdfreder
b2ae17dd09 Fix some problems reported by Matthias 2015-08-26 14:06:11 -07:00
Jonathan Frederic
6258f542dd Almost working 100% 2015-08-26 14:06:11 -07:00
Jonathan Frederic
a719e19b39 Add script to amd-ify the commonjs code,
(backwards compat. and dynamic loading)
2015-08-26 14:06:11 -07:00
Jonathan Frederic
4c07a8bffc Add new cjs conversion method 2015-08-26 14:06:11 -07:00
Jonathan Frederic
e0f3141748 Magic r.js stuff 2015-08-26 14:06:10 -07:00
jdfreder
37d92cb80d Fix jquery dependency 2015-08-26 14:06:10 -07:00
Jonathan Frederic
f7d546c153 Add clean script 2015-08-26 14:06:10 -07:00
Jonathan Frederic
3498a5193c Get all of the apps working except notebookapp 2015-08-26 14:06:10 -07:00
Jonathan Frederic
81a2998fe0 Dynamically load contents, also browserify contents. 2015-08-26 14:06:10 -07:00
jdfreder
c180719fa8 Post install bower install 2015-08-26 14:05:15 -07:00
jdfreder
ad80ae9bca Fix bugs 🐛 2015-08-26 14:05:15 -07:00
Kyle Kelley
6a2960104c Install jquery from npm (needed as dependency). 2015-08-26 14:05:15 -07:00