23 Commits
Author SHA1 Message Date
Oliver Hamlet ac642390a0 Revert "Removed theming support"
This reverts commit 4aa1f18ff7.
2016-07-12 21:52:17 +01:00
Oliver Hamlet 4aa1f18ff7 Removed theming support
It's not currently functional with Polymer 1.2's CSS Custom
Variables semi-polyfill.
2016-03-05 11:49:26 +00:00
Oliver Hamlet 370c971396 Replace <paper-menu> with <loot-menu>
It uses <paper-listbox> internally for better performance, and
automatically deselects items when they are selected, allowing the
same item to be selected repeatedly.
2016-03-05 11:49:26 +00:00
Oliver Hamlet fd12139eca Update loot-plugin-card 2016-03-05 11:49:26 +00:00
Oliver Hamlet 62edbc917f Update loot-plugin-editor
Editor data is now set only with setEditorData(), the `data`
member has been removed. All metadata changes need to be
propagated using setEditorData(). Plugin name, version and crc
now exist in the editor's light DOM.
2016-03-05 11:49:26 +00:00
Oliver Hamlet a6ae6d0f52 Update editable-table 2016-03-05 11:49:26 +00:00
Oliver Hamlet 224b49aa45 Updated loot-search (now loot-search-toolbar)
Decoupled it from external code, which can now be run by handling
events.
2016-03-05 11:49:26 +00:00
Oliver Hamlet da36b7cd70 Update loot-plugin-item 2016-03-05 11:49:26 +00:00
Oliver Hamlet c52c9d2f97 Update loot-message-dialog
It now uses paper-dialog directly, as wrapping loot-dialog is
unnecessarily complicated.
2016-03-05 11:49:26 +00:00
Oliver Hamlet e17113abee Update loot-dropdown-menu 2016-03-05 11:49:26 +00:00
Oliver Hamlet 544e316be7 Update Vulcanize script for element tests
The Vulcanize script can now build the UI, the element test files, or
both, defaulting to the latter.

The `mkdirp` package is used as it's the simplest way of getting
recursive `mkdir`, ie. `mkdir -p`, to work.
2016-03-05 11:49:26 +00:00
Oliver Hamlet e448a22953 Update vulcanize script for Vulcanize 1.x 2016-03-05 11:49:26 +00:00
Oliver Hamlet e303d95c77 Tidy Vulcanize script 2016-01-31 08:30:33 +00:00
Oliver Hamlet c0d992c387 Updated Airbnb style guide used
The updated style guide made a number of new suggestions, so the config
and the code have been updated to reflect them.
2016-01-31 08:30:31 +00:00
Oliver Hamlet fee132ac95 Remove external Vulcanize config file
Call Vulcanize as a Node module rather than an executable, allowing
excludes to be passed in the function call rather than in a config file.
2016-01-06 18:27:06 +00:00
Oliver Hamlet ceccbaef73 Fix code style issues in JS scripts 2015-12-23 16:12:38 +00:00
Oliver Hamlet 56a7170d1c Started to refactor JS Plugin class
Start with making plugin.js into a module, and re-implementing Plugin
using the class-based ES6 syntax, as it's a lot cleaner. Dispatch
events from setters instead of using Object.observe when changing
values that prompt external changes.

Vulcanize's whitespace stripper doesn't like the ES6 syntax though, so
disable that.

Also start implementing some tests using Mocha and should.js.

Finish refactoring JS Plugin code
2015-12-23 16:11:34 +00:00
Oliver Hamlet 534d2eb11a Add a package.json for Node dependencies
It makes managing them easier.
2015-12-23 15:58:53 +00:00
Oliver Hamlet 3ddd11a9c0 Fix Vulcanize command on Linux 2015-12-03 18:40:48 +00:00
Oliver Hamlet d874fbb52c Fix building LOOT as a native Linux application.
Not all Windows-specific code has equivalent Linux code, file path to
URL conversion is hacky, and only that LOOT launches correctly with no
game detected has been tested.
2015-10-29 18:20:14 +00:00
Oliver Hamlet eca039b536 Add support for split 32/64 bit build trees.
While also retaining support for a single architecture directly in the
`build` directory.
2015-09-30 19:15:56 +01:00
Oliver Hamlet c9492cde2d Fix js script argument counting. 2015-08-27 15:58:08 +01:00
Oliver Hamlet 2526267666 Add vulcanize Node script.
And call it from the archive packaging script and as a post-build step
when building the LOOT executable. Also copy across the font files as a
post-build step.
2015-08-27 12:45:52 +01:00