| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
In case the name of the web action is URIencoded, make sure to URIdecode
it before looking it up in the dictionary of defined web actions.
[endlessm/eos-sdk#310]
|
|
|
|
|
|
|
|
|
| |
- Replace _webActions with define_web_action() method and another
define_web_actions() method for the Endless.js overrides file
- Replace _translationFunction with set_translation_function() and
get_translation_function()
[endlessm/eos-sdk#310]
|
|
|
|
|
|
|
| |
Clean up the code and make sure that it can be used as an example without
introducing any bad practices.
[endlessm/eos-sdk#310]
|
|\
| |
| | |
Documentation for WebHelper
|
|/
|
|
|
|
|
|
| |
This adds the infrastructure for autogenerating HTML documentation from a
Javascript module using NaturalDocs, and then adds documentation comments
to webhelper.js.
[endlessm/eos-sdk#302]
|
|\
| |
| | |
#306 Added asset button to the endless override
|
| |
| |
| |
| |
| |
| |
| |
| | |
The syntax can will hopefully stay the same for apps when this
widget gets rewritten in C. Added support for labels like the
standard button. Moved the overrides rules to a separate .inc
makefile so we can add more standard js libs if we want
[endlessm/eos-sdk#290]
|
|\ \
| |/
|/| |
Improvements to EosFlexyGrid
|
| |
| |
| |
| | |
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| | |
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| | |
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| |
| |
| | |
This allows testing the FlexyGrid widget in a scrollable widget.
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The FlexyGrid cannot really have a fixed minimum height, since we don't
support width-for-height layout. This means that the FlexyGrid needs a
minimum height equal to its natural height - and we need to compute the
latter depending on the passed width.
This fixes the height handling when packing a EosFlexyGrid inside a
GtkScrolledWindow.
[endlessm/eos-sdk#1015]
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| |
| |
| | |
The correct scope type is 'notified'.
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| | |
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| |
| |
| | |
Begin by testing the basic accessors and construction.
[endlessm/eos-sdk#1015]
|
| |
| |
| |
| |
| |
| | |
Properties, accessors, and documentation were missing.
[endlessm/eos-sdk#1015]
|
| | |
|
| |
| |
| |
| | |
[endlessm/eos-sdk#1015]
|
|/
|
|
|
|
|
| |
Restructure the layout code so that we only have one path that computes both
the height-for-width and the allocation.
[endlessm/eos-sdk#1015]
|
|
|
|
| |
Spotted by Watson's spidey senses.
|
|\
| |
| | |
Unit tests for WebHelper
|
| |
| |
| |
| |
| |
| |
| |
| | |
The autotools code for running the tests should go in the included
Makefile.am in the test/ subdirectory, so that all those test files
are run and distributed in the same place.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are tests for the basic functionality and a few fail cases of
webhelper, by no means exhaustive. There are a few tests that cannot
execute because I do not currently know of any way to catch exceptions
that occur inside GObject callbacks.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the translation was such that it did a dummy translation,
italicizing the text to be translated. Now it looks for a translationFunction
property on the app object, and calls that on the text.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| | |
- Move normal URI test to the top
- Throw an exception if a nonexistent web action is called.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also, since the functions will likely be translated into C in the
future, give_them_underscored_names insteadOfCamelCase, in order to
avoid API changes.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| | |
The webhelper tests should be in their own directory, mirroring the
source directory structure.
[endlessm/eos-sdk#290]
|
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a script eos-run-test which is adapted from gjs_run_tests,
but does not try to discover the tests itself. Instead, in keeping with
Automake's test suite facilities, it takes the filename of a test to run.
[endlessm/eos-sdk#290]
|
|\ \
| | |
| | | |
Flexy grid for the app store
|
| | |
| | |
| | |
| | | |
We were missing a return here.
|
| | |
| | |
| | |
| | | |
In addition to a background.
|
| | |
| | |
| | |
| | |
| | | |
Previously, we were missing a cell while switching to a new row in the
preferred height request.
|
| | |
| | |
| | |
| | |
| | | |
Make sure we never have a case where the minimum size request for the
EosFlexyGrid can exceed its natural.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A layout manager for flexible grid layouts using the same algorithm of
the Discovery Center. The UI pattern is going to be used in the app
store and other native applications, so it makes sense to have this
widget in the SDK.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A simple macro that allows you to define a GEnum type.
If we start getting a ton of enumeration types, then we should consider
adding the various autotooling hooks for generating them through the
glib-mkenums script.
|
|\ \ \
| |_|/
|/| | |
#299 Gtk and clutter tests for framerate
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Not the greatest code, command line parsing could be better, but these
are smoke tests. README with some instructions
[endlessm/eos-sdk#299]
|
|\ \ \
| | | |
| | | | |
Install WebHelper into GJS modules directory
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
WebHelper is now importable using
const WebHelper = imports.webhelper;
[endlessm/eos-sdk#289]
|
|\ \ \ \
| | | | |
| | | | | |
Fix failing doc tests
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The dummy file necessary to get 'make check' to do the doc tests
correctly was generated at build time, but that way it doesn't support
the VPATH build that 'make distcheck' tests. The simplest way is to
distribute the dummy file.
[endlessm/eos-sdk#295]
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes the doc tests, unless one is running them from 'make
distcheck'.
[endlessm/eos-sdk#295]
|
|\ \ \ \
| |_|/ /
|/| | | |
Use Automake's parallel test harness
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gets rid of a long-standing workaround and makes it easier to
start using a proper test harness for Javascript unit tests.
Unfortunately, it requires a workaround to be able to run gtkdoc-check
on the documentation, but the workaround is not too bad.
[endlessm/eos-sdk#122]
|
|\ \ \
| |/ /
|/| | |
Allowed links in domain specific apps
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are the changes to the wikipedia SDK to allow for certain
showable links in the domain specific apps. The JSON file will specify
which links can be clickable across all articles.
[endlessm/eos-sdk#282]
|
|\ \ \
| | | |
| | | | |
#284 Emit delete-event on x button click
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This gives the apps a chance to intercept the delete event and
prompt the user before closing the app. We synthesize the
delete-event in eos-window and connect a default handler which
destroys the window
[endlessm/eos-sdk#284]
|
|\ \ \ \
| |_|/ /
|/| | | |
#178 Drag EosWindows by topbar
|