| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Another minor cleanup; TranslatableHTMLParser shouldn't use global state.
[endlessm/eos-sdk#3245]
|
|
|
|
|
|
|
| |
We don't need to import all of os, just os.path; and urllib was not
necessary for reading the file.
[endlessm/eos-sdk#3245]
|
|
|
|
| |
[endlessm/eos-sdk#3245]
|
|
|
|
|
|
| |
For more consistency in command line argument handling.
[endlessm/eos-sdk#3245]
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is taken almost directly from the existing version in eos-english.
Cleanups to follow in subsequent commits. Previously the m4 code was in
two separate macros, but since they were much the same, I combined them
into one macro.
This also adds a very minimal test for eos-html-extractor; basically as
a very quick regression test for the cleanups to follow.
[endlessm/eos-sdk#3245]
|
|\
| |
| | |
Clean stderr.log
|
| |
| |
| |
| |
| |
| |
| | |
The run-with-dbus script can produce stderr.log, so we should clean it
out during 'make clean'.
[endlessm/eos-sdk#291]
|
|\|
| |
| | |
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| | |
This fixes the test suite on my BRIX.
[endlessm/eos-sdk#291]
|
|/
|
|
|
|
|
|
| |
Our JS tests require a session bus, but on Jenkins builder we won't have
it. Run them with a test session bus.
The run-with-dbus script is borrowed from GJS and simplified a bit.
[endlessm/eos-sdk#291]
|
|\
| |
| | |
Port WebHelper to WebKit2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of starting an idle function when a webview page is created that
waits until the bus connection object is ready before exporting an object
on it, we save all page IDs that we haven't registered yet and instead
register them all at once when the bus is ready.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This exposes the function set by webhelper.set_ngettext() to the client-
side Javascript as a ngettext() function, defined on the global window
object. This allows apps to translate messages that need to be separated
into singular and plural, just like the C ngettext() function.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This exposes the function set by webhelper.set_gettext() to the client-
side Javascript as a gettext() function, defined on the global window
object. This allows apps to translate messages that are generated
at runtime, not just messages in static HTML.
Some often-used JavaScriptCore operations can be turned into separate
functions, which we can put in a separate source file. This is in
anticipation of the next commit where we will define another function
property of the global object.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows communicating with the host program through URIs of the
form webhelper://action?param=value¶m2=value2. Actions can be
defined on the WebHelper object and given a callback in Javascript.
Unfortunately we have to use a private C library to register the URI
scheme, because of https://bugs.webkit.org/show_bug.cgi?id=116672
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a new Javascript module, WebHelper2. It's the WebKit2 analogue
to WebHelper. It offers a facility for calling gettext() on the contents
of DOM elements in your web page.
It accomplishes this using an extension module that's loaded into
WebKit's web process.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| | |
We need to add more than one file to it, in more than one Makefile, and
this is susceptible to confusion.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| | |
There were some Javascript tests hiding out in test/endless. Make sure
they get run when running Jasmine.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| |
| | |
This section contained several names that weren't necessary to ignore.
Specifically "lib" would ignore any "lib" directory, which was
dangerous. The whole section seemed unnecessary.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| | |
Display a monospace font on systems that don't have DejaVu Sans Mono
installed.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| | |
In the interest of consolidating the makefiles for readability.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| |
| | |
Our library isn't meant to be used without introspection, so the build
should fail if gobject-introspection is not available.
[endlessm/eos-sdk#291]
|
| |
| |
| |
| |
| |
| | |
Make sure that the necessary GIR packages are installed before building.
[endlessm/eos-sdk#291]
|
|/ |
|
|\
| |
| | |
Generate XML reports when running on Jenkins
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we detect a Jenkins environment using the environment variable
JASMINE_JUNIT_REPORTS_DIR that we set in the job's configuration, then
generate XML test reports for each Jasmine unit test.
[endlessm/eos-sdk#3172]
|
| |
| |
| |
| | |
Or tests will fail on the runtime deprecation warning.
|
|/
|
|
| |
Or the test will fail when trying to open the GTK display.
|
|
|
|
|
|
|
|
| |
Since we are actually providing Brazilian Portuguese translations,
we are changing our resources in Transifex for consistency
and no longer need to map to pt resources.
[endlessm/eos-shell#4272]
|
|\
| |
| | |
Jasmine improvements
|
| |
| |
| |
| |
| |
| |
| |
| | |
By setting GI_TYPELIB_PATH and LD_LIBRARY_PATH in Jasmine's environment
we can run the tests with "jasmine" against the uninstalled copy of the
library, like we do with "make check".
[endlessm/eos-sdk#3171]
|
|/
|
|
|
|
|
| |
Jasmine has its own timeout timer on each spec, so we don't need to set
one up ourselves.
[endlessm/eos-sdk#3171]
|
|\
| |
| | |
New licenses and markup escaping
|
| |
| |
| |
| |
| |
| |
| | |
These licenses are used in the new batch of image attributions coming
from eos-knowledge-apps.
[endlessm/eos-sdk#3052]
|
| |
| |
| |
| | |
[endlessm/eos-sdk#3052]
|
|/
|
|
|
|
|
|
| |
Any strings read from external sources that are used as Pango markup
should be escaped before using. Also, add translator comments indicating
when a string is Pango markup.
[endlessm/eos-sdk#3052]
|
|\
| |
| | |
[endlessm/eos-sdk#3025]
|
| |
| |
| |
| |
| |
| |
| | |
These scripts download and prepare all the HTML files that are required to publish
Creative Commons licenses.
[endlessm/eos-sdk#3025]
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added HTML files for Creative Commons lincenses to be presented offline.
Licenses added include:
* BY-3.0
* BY-4.0
* BY-ND-2.0
* BY-ND-3.0
* BY-SA-3.0
* BY-SA-4.0
For all these, the following languages were added:
* No language suffix: Copy of the English file as fallback
* Arabic
* English
* Spanish
* French
* Portuguese (Brazil)
[endlessm/eos-sdk#3025]
|
|\
| |
| | |
Use jasmine-gjs
|
| |
| |
| |
| |
| |
| |
| | |
There are two dist-hook rules, so a double-colon rule is appropriate.
That means both will get executed when required, instead of only one.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| |
| | |
This is vulnerable to being overwritten. Instead, define it in the top
level Makefile and append to it in the included Makefile.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| |
| | |
Having these tiny included Makefiles is confusing and vulnerable to
mistakenly overwriting variables.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| |
| |
| | |
This requires removing the $(ENDLESS_TESTS_DIRECTORY) variable, which
wasn't really necessary anyway. Subdir-objects would like you to specify
your directories directly in the rule target names.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| | |
EosFlexyGrid is deprecated, so we don't want a demo of it in our tests.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| |
| | |
This runs the tests during "make check" using jasmine-gjs, and outputs
results in the TAP format that Automake understands.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| | |
This sets the options so that you get a nice default output when you run
"jasmine" in the repo's root directory.
|
| |
| |
| |
| |
| |
| | |
This somehow escaped Sam's big switcheroo last year.
[endlessm/eos-sdk#3054]
|
| |
| |
| |
| |
| |
| |
| | |
This test runner dates from even before eos-jasmine, and is not used
anywhere.
[endlessm/eos-sdk#3054]
|
|/
|
|
| |
[endlessm/eos-sdk#3054]
|