Commit Graph
306 Commits
Author SHA1 Message Date
Jos van den Oever 56dfd111fc Retain query and fragment when loading a local file via relative URL. 2011-02-24 00:01:08 +01:00
Jos van den Oever 8e2ffea15f Share namespace definitions. 2011-02-23 23:59:18 +01:00
Jos van den Oever fad1e3cfac Fix type in presentation namespace.
also fix some whitespace and add better type checking.
2011-02-23 22:46:26 +01:00
Jos van den Oever 7082c75399 Dynamically create the required stylesheet elements (<style/>). 2011-02-23 18:44:27 +01:00
Jos van den Oever 036f12b102 Send proper Content-Type of js and css. 2011-02-23 18:23:11 +01:00
Jos van den Oever 74a2b665d8 Remove conversion to html. 2011-02-23 11:09:53 +01:00
Jos van den Oever 2f88757d8d Add a canvas for ODF. work in progress. 2011-02-23 11:08:58 +01:00
Jos van den Oever 8d9f5b4f28 Add simple script to test loading of an ODF file.
The script is invoked with qtjsruntime lib/runtime.js loadodf.js $odffile.
2011-02-20 23:08:03 +01:00
Jos van den Oever a06c4a1460 Fix bug when loading file without styles element. 2011-02-20 23:06:56 +01:00
Jos van den Oever 4460237617 Fix loading of ODF documents where the position of the cursor is given with a processing instruction.
Importing a DOM node with processing instructions is not supported. The processing instructions must be removed before importing.
2011-02-20 22:27:58 +01:00
Jos van den Oever 7acd136ea6 Report error in zip file via a state change. 2011-02-20 22:05:22 +01:00
Jos van den Oever a4290e87c3 Upgrade to newer version of NodeJS. 2011-02-20 19:34:27 +01:00
Jos van den Oever 72d2007b33 If there is an error importing content.xml or styles.xml, set the document to INVALID. 2011-02-18 17:10:39 +01:00
Jos van den Oever 1e04a25194 Fix runtime.js so that it can be used in qtjsruntime. 2011-02-18 16:31:36 +01:00
Jos van den Oever 3979d22a07 Partially add building of Android application to CMake system. This is not straightforward and not finished yet. 2011-02-16 09:53:34 +01:00
Jos van den Oever 4cfa653abf Partially add building of Android application to CMake system. This is not straightforward and not finished yet. 2011-02-16 09:53:26 +01:00
Jos van den Oever f8b08d79e7 Remove many of the ignored files.
These files are now in the build tree and do not need to be ignored.
2011-02-14 15:50:26 +01:00
Jos van den Oever 6913b657be Fix build problem: apparently C language support should be enabled to do all of the CMake initialization checks. 2011-02-14 13:00:58 +01:00
Jos van den Oever 175a8c4fea Add compile step to check JavaScript with JSLint and fixed errors in some files. 2011-02-14 09:40:08 +01:00
Jos van den Oever ca63d2cc15 Convert QMake projects to CMake. 2011-02-12 23:55:51 +01:00
Jos van den Oever 229288c013 Switch from Makefile to CMake and from NodeJS 0.2 to 0.4.
Now CMake will retrieve and compile Node and other requirements.
2011-02-12 21:56:13 +01:00
Jos van den Oever cc36d25586 Reorganize programs. 2011-02-12 21:17:14 +01:00
Jos van den Oever b8505d2794 Load file in chunks instead of all at once.
Instead of reading the entire file at once and converting it to a huge base64 encoded string, we now load chunks.
Each read call will register a global callback that is called to report the read data to the canvas. After being called once, the callback is removed again.
2011-02-09 23:46:30 +01:00
Jos van den Oever a0709b7b3c Use base encoding to transfer file data to the viewer. 2011-02-09 18:23:37 +01:00
Jos van den Oever 8100b47c53 Make application debuggable. 2011-02-09 18:22:42 +01:00
Jos van den Oever 4c50dcb1e0 Store the notes in the repository. 2011-02-09 09:26:01 +01:00
Jos van den Oever d01cc6ef4a If no "settings.xml" is present, simply continue. 2011-02-09 09:12:43 +01:00
Jos van den Oever 08f03e7489 Display footnotes as tooltips until we think of a better mechanism. 2011-02-08 17:48:53 +01:00
Jos van den Oever 97b42354d3 Add a note on how to contribute. 2011-02-07 08:08:07 +01:00
Jos van den Oever 83d1e16d01 Add some temporary test/experiment files. 2011-02-07 08:02:31 +01:00
Jos van den Oever fdcd748cd4 Do not log requests for favicon.ico. 2011-02-07 07:57:55 +01:00
Jos van den Oever 5d6ccf7097 Some work on a possible cursor implementation. 2011-02-07 07:37:16 +01:00
Jos van den Oever e35ddbebe7 Remove debug statement. 2011-01-31 21:47:13 +01:00
Jos van den Oever 127cedb6bf Fix race condition: load page until the end even if the loading of the ODF takes long and is asynchroneous. 2011-01-31 21:21:44 +01:00
Jos van den Oever 22c6c9c32d Fix parsing when no styles or automatic-styles element is present. 2011-01-31 18:03:10 +01:00
Jos van den Oever 1f3ee63035 Do not show directories that are not readable. 2011-01-31 14:33:34 +01:00
Jos van den Oever d36db77e41 Use normal layout so paragraphs are not wrapped to the viewport. 2011-01-31 14:29:31 +01:00
Jos van den Oever 814f9783ff Fix crash that happened when no SD card was mounted. 2011-01-31 13:30:53 +01:00
Jos van den Oever 5388efd710 Fix syntax for nth-child. 2011-01-31 12:37:27 +01:00
Jos van den Oever af7df0b3de Ignore generated files, but add default.properties, which is also generated. default.properties requires an ant setup to generate. It is easier to simply add it. 2011-01-31 11:42:24 +01:00
Jos van den Oever 101fe1118d Add simple android client. 2011-01-31 11:08:43 +01:00
Jos van den Oever 4051297576 Change initialization order so the container also works in situations where data loading is instantaneous. 2011-01-30 22:30:47 +01:00
Jos van den Oever 087b77eafa Update the resources file to the current list of files required to add WebODF to your application. 2011-01-30 22:29:58 +01:00
Jos van den Oever 4602af71ba Bind the server to the localhost network interface for improved security. 2011-01-30 22:29:16 +01:00
Jos van den Oever fbfbc56162 Fix for Android browser which does not have a good XPath implementation. We replace the code with a simple traversal. 2011-01-30 22:28:31 +01:00
Jos van den Oever 1aa4a4e4b7 Mostly fix the qt client by relying more on the javascript code. 2011-01-29 23:40:34 +01:00
Jos van den Oever ed9e9e6d4d Add testareas element because in new WebKit browsers, tests on the DOM that use a selection need to be anchored in the DOM. 2011-01-14 09:50:28 +01:00
Jos van den Oever c1deb50cab fix tests to new UnitTester class 2011-01-14 09:49:10 +01:00
Jos van den Oever 4262f45f76 remove hideCaretInTextNode parameter from constructor 2011-01-14 09:48:51 +01:00
Jos van den Oever c021fcac10 Change default port. 2011-01-10 09:21:38 +01:00