Commit Graph

  • dbc41150d9 Preliminary support for master-pages using a 'shadowContent' node, outside the main ODF dom. Aditya Bhatt 2013-06-13 16:14:20 +02:00
  • 29f45f5b54 Stop hardcoding dimensions for presentation pages in webodf.css, and get these dimensions from the page style. A new API call has been added to know the type of document (text/presentation/spreadsheet), and this is used to decide what sort of CSS rule to generate for page layouts. As a little temporary hack, for slideshows, the last page style where the height is lesser than the width is used for layouting, because for the vast majority of presentations this holds true. This will change once we adequately implement support for master styles. Aditya Bhatt 2013-06-13 11:06:26 +02:00
  • 266a9d9a8f Make WebODF version discovery able to cope with non-version tags in a branch Philip Peitsch 2013-06-19 11:03:13 +10:00
  • 4829e31dda Add some @const statements that would speed up webodf if we compiled it in advanced compilation mode. Jos van den Oever 2013-06-17 17:24:58 +02:00
  • c285bed7c8 Preserve non-odf elements when merging a span into it's parent node Philip Peitsch 2013-06-17 23:01:34 +10:00
  • 2f63269ae7 Correctly determine whether a span or space element is empty Philip Peitsch 2013-06-17 22:24:17 +10:00
  • 2d4a256cce Avoid the "v" in the version number. Jos van den Oever 2013-06-17 14:30:28 +02:00
  • f3da300fa7 Add version number to php code. Jos van den Oever 2013-06-17 14:25:46 +02:00
  • c8b374a3dc Corrected function doclet optional parameter syntax Philip Peitsch 2013-06-17 22:02:59 +10:00
  • db36633b53 Formatting.getStyleElement now supports lookup of list styles Philip Peitsch 2013-06-17 20:58:06 +10:00
  • f66d7477c0 Formatting lookup functions now automatically know which style trees to search (where possible) Philip Peitsch 2013-06-17 11:54:05 +10:00
  • ad3b792a38 Add convenience method to easily calculate the style applied at the cursor Philip Peitsch 2013-06-17 09:42:44 +10:00
  • 55fc7ab9c6 Switch code to use Node.${XXX}_NODE instead of magic values Friedrich W. H. Kossebau 2013-06-17 13:46:02 +02:00
  • a4582ea3d8 Aquire version number from the source directory or the git tree. Jos van den Oever 2013-06-17 12:20:20 +02:00
  • e11ebab6ac Clarified error message when unavailable module is loaded Philip Peitsch 2013-06-17 13:13:30 +10:00
  • f76257c81a Avoid issues with lists in fodt files Philip Peitsch 2013-06-17 12:45:56 +10:00
  • fb0a21c9de In OperationTests also read attributes named "length" and "number" as integer Friedrich W. H. Kossebau 2013-06-14 19:21:48 +02:00
  • debb01c207 Adding InsertText_OneByOneBeforeExisting to failingtests.xml Friedrich W. H. Kossebau 2013-06-14 15:27:37 +02:00
  • 1c5c7d0362 Fix order of source files so simplecompiled.js works. Jos van den Oever 2013-06-14 11:04:21 +02:00
  • d7360bab22 getAppliedStyles returns unique computed styles for all text nodes within a given range Philip Peitsch 2013-06-13 16:37:57 +10:00
  • 864cc04d32 Added ability to compare complex objects in unit tests Philip Peitsch 2013-06-14 11:53:49 +10:00
  • d34e7f8059 Small code cleanup around style and formatting classes Philip Peitsch 2013-06-13 12:48:58 +10:00
  • 51d65b0efb prevent long words from extending out the table cell Lu Li 2013-06-14 15:04:51 +10:00
  • ffcb7d1996 improve wordpress plugin (by removing features) Tobias Hintze 2013-06-13 16:15:12 +02:00
  • 8b9f1a040a Put webodf components in wv/ directory in the wordpress plugin. Jos van den Oever 2013-06-13 16:53:27 +02:00
  • a13239457b Do not put wordpress files in a dir in the zip file. Jos van den Oever 2013-06-13 16:38:01 +02:00
  • 2958db9e47 Make node build able to use multiple processors. Jos van den Oever 2013-06-13 15:26:18 +02:00
  • 8476050295 Rewrite xpi creation and add xpi to main zip. Jos van den Oever 2013-06-13 14:24:25 +02:00
  • 9b83512ada Add wordpress plugin as zipped file. Jos van den Oever 2013-06-13 11:48:31 +02:00
  • 54b9e14086 Remove unneeded targets. Jos van den Oever 2013-06-04 21:17:18 +02:00
  • afea6bfd74 Zip viewer, editor and wordpress in to a single zip file. Jos van den Oever 2013-06-04 21:13:28 +02:00
  • 5cd209c698 Progress on better package. Jos van den Oever 2013-05-17 16:28:20 +02:00
  • c7aa8ff852 Make viewer runnable from source directory Aditya Bhatt 2013-06-12 12:35:58 +02:00
  • 44d9b5adfc bookmark navigation fix Lu Li 2013-06-12 16:46:30 +10:00
  • e76ecd15d0 Add a few comments to clarify the new function. Jos van den Oever 2013-06-12 11:17:43 +02:00
  • ff4033be4b OdtDocument.getDistanceFromCursor expects filtered offsets Philip Peitsch 2013-06-12 12:28:54 +10:00
  • 44c8f70329 All issues mentioned in thies file are solved. Jos van den Oever 2013-06-12 10:58:26 +02:00
  • 73bac1e595 Fixed closure compiler warning Philip Peitsch 2013-06-12 16:45:33 +10:00
  • eca37e6771 Modified Cursor api to allow the selection to be specified directly Philip Peitsch 2013-06-12 15:40:06 +10:00
  • c6d03ca1b3 Removed unused code Philip Peitsch 2013-06-12 16:07:26 +10:00
  • c1028400c0 Don't obscure avatar handles when at boundaries. Aditya Bhatt 2013-06-11 15:29:05 +02:00
  • 6d3bbcc6af Make cdn-index.html independent of the server directory. Jos van den Oever 2013-06-11 15:06:33 +02:00
  • 248d43c319 A new mapping for ODT page style in Style2CSS Aditya Bhatt 2013-06-10 19:56:10 +02:00
  • 311a7ffd0d Improve post-text removal cursor placement Philip Peitsch 2013-06-11 19:45:07 +10:00
  • 28e8fe7f07 Remove unused variable Philip Peitsch 2013-06-11 16:54:53 +10:00
  • 5b83eeff7c Always resync the selection to the current cursor position regardless of the number of steps moved Philip Peitsch 2013-06-11 16:45:46 +10:00
  • 4c42388d90 Backspace needs to be always consumed to stop the browser navigating back a page Philip Peitsch 2013-06-11 09:21:07 +10:00
  • 624b9107ed Use more widely support sourceURL prefix (tested in Chrome + Safari) Philip Peitsch 2013-06-11 12:37:23 +10:00
  • a1927e7cad Minor updates to closure compiler and node.js. Jos van den Oever 2013-06-11 11:11:56 +02:00
  • 4ee8fd7576 Remove previously failing test that is now in operationtests.xml. Jos van den Oever 2013-06-07 10:31:33 +02:00
  • b46d8690ae Don't return early from OpRemoveText without ensuring all cursors are in walkable positions Philip Peitsch 2013-06-07 17:51:06 +10:00
  • e4a092d114 add event listeners when a new edit session starts and remove all of them when finish editing Lu Li 2013-06-07 14:28:48 +10:00
  • ba2dff2084 Previous escaping was insufficient. Attributes with restricted characters (e.g., hyperlinks) would cause invalid documents to be created Philip Peitsch 2013-06-07 15:17:59 +10:00
  • 395dbf433b Jsdoc, refactoring, watchdog, and more explanation Aditya Bhatt 2013-06-06 17:12:31 +02:00
  • 9e8b60ab1c Make cursor up/down movements smarter by caching the x offset with a timeout. Aditya Bhatt 2013-06-06 10:23:31 +02:00
  • d9a4dfbb49 Cursor up/down movements are here! Aditya Bhatt 2013-06-05 16:11:50 +02:00
  • e6854d01d7 Another test that fails. Jos van den Oever 2013-06-07 09:46:07 +02:00
  • 0cd2d2d638 Fix console error when running tests in a browser Philip Peitsch 2013-06-06 21:24:45 +10:00
  • 12ec85769b Escape required XML chars in node content and attributes during serialization in the browser Philip Peitsch 2013-06-06 20:03:21 +10:00
  • 3b8a271c82 Compile fix. Jos van den Oever 2013-06-06 16:07:10 +02:00
  • 77c2901c9f remove empty text:s, text:span and text:list-item after text deletion Lu Li 2013-06-06 17:08:48 +10:00
  • aaa9fa4ab2 Add labels to dynamic scripts for easier debugging http://www.softwareishard.com/blog/firebug/firebug-tip-label-dynamic-scripts-with-sourceurl-directive/ Jos van den Oever 2013-06-02 16:45:48 +02:00
  • 7d9dcde91d Move previously failing tests to standard tests. SplitListParagraph_singleCursor did already got there so it was only deleted. Jos van den Oever 2013-05-31 09:54:10 +02:00
  • 89a8dcf382 split the parent list-item node if the paragraph node has one Lu Li 2013-05-31 16:04:04 +10:00
  • 3402897ce6 refactor the SplitParagraph to reduce nesting Lu Li 2013-05-31 16:00:17 +10:00
  • eab973e259 add failing tests for split-paragraph on list-items (MR18 will fix this) Tobias Hintze 2013-05-31 08:49:48 +02:00
  • de2e318034 Fix the occasional "could not read property namespaceURI of null" error. And make the click-to-move function properly when: * Clicking on a cursor (do nothing) * Clicking in an empty paragraph with a visible editinfo Aditya Bhatt 2013-05-29 14:23:57 +02:00
  • 51fe1f37dd Compile fix. Jos van den Oever 2013-05-29 12:31:39 +02:00
  • 79eeddf2a3 Move isSignificantWhitespace to OdfUtils. Increase range for checking significance around a position Aditya Bhatt 2013-05-27 11:25:43 +02:00
  • 83900c4e7c Upgrade significant whitespaces around deletion region to text:s elements. Aditya Bhatt 2013-05-24 10:47:24 +02:00
  • 219216ac81 Add OdfUtils Aditya Bhatt 2013-05-29 11:33:10 +02:00
  • 4d73a2a0a4 Refactor TextPositionFilter Aditya Bhatt 2013-05-29 11:32:33 +02:00
  • 9cdfd67342 handle the onpaste event for plain text copy/paste Lu Li 2013-05-29 16:24:20 +10:00
  • d81584cb6a Preserve cursor selection during text insertion Philip Peitsch 2013-05-28 15:33:00 +10:00
  • b99f5d42f9 Small bugfix: need to properly find the previous node. Jos van den Oever 2013-05-27 19:05:48 +02:00
  • c4840086ae Simplify filter. Jos van den Oever 2013-05-27 17:18:43 +02:00
  • c8fe7ab0e8 Remove redundant check. Jos van den Oever 2013-05-27 17:05:54 +02:00
  • 2cb61dc1e6 Simplify filter. Jos van den Oever 2013-05-27 16:36:45 +02:00
  • 90d79fd1b6 Fix bug with placing a cursor at the beginning of a nested span element starting a paragraph Philip Peitsch 2013-05-27 12:21:12 +10:00
  • ff2dd8cb98 fix incorrect node checksum Tobias Hintze 2013-05-27 08:30:23 +02:00
  • 122a8547cd Update to Node.JS 0.10.8. Due to stricter javascript interpretation, a few scripts were adapted. Jos van den Oever 2013-05-26 22:47:27 +02:00
  • 899a8912da Add another test that exposes a positioning issue and fix the issue. Jos van den Oever 2013-05-24 11:51:47 +02:00
  • d578433587 Add yet another test for trailing spaces and fix it. Jos van den Oever 2013-05-24 11:16:15 +02:00
  • ca6ba408dd Add test and fix for trailing spaces in a paragraph. Jos van den Oever 2013-05-24 10:41:07 +02:00
  • ad8199e4cd Don't fire onChange when setting BIUS checked-state programmatically Aditya Bhatt 2013-05-23 14:37:48 +02:00
  • 1960820ee9 Don't move the other cursors at the same position into the new paragraph when paragraph splitting. Aditya Bhatt 2013-05-22 13:59:00 +02:00
  • 656318b8f3 Always use intermediate empty text nodes instead of the full text node to the left, for representing the insertion target in getPositionInTextNode, if it is requested around a cursor with the specified memberid. This means that text insertion can now also work properly (i.e. not drag around other cursors) at right-extremities of a container. Aditya Bhatt 2013-05-22 13:56:01 +02:00
  • 4cb5d5fb93 * Give rightmost-priority to the cursor with the current memberid, if specified in getPositionInTextNode. Also, if there is a preferred cursor node, then return the empty text node as immediately to the left of that cursor. * Add the memberid argument to it's call in OpInsertText. Now if many cursors are at the same position and one cursor inserts text, the others don't move along. Aditya Bhatt 2013-05-22 12:37:46 +02:00
  • c4f04e5c46 Fix reading of binary files in Chrome 26. Jos van den Oever 2013-05-23 14:00:24 +02:00
  • 556e21f2be handles supplementary code points in utf8ByteArrayToString method Lu Li 2013-05-21 17:37:17 +10:00
  • dd0327d842 increase the min-height of the text block to 1.3em. document with empty paragraphs looks a bit better with this value. Lu Li 2013-05-17 12:21:16 +10:00
  • e5ad98e25b add more mapping Lu Li 2013-05-17 12:05:26 +10:00
  • 36b786c5ef Fix two positioning bugs and add tests for them. Leading and trailing whitespace in paragraphs was being seen as significant whitespace. The three new tests check such situations. The positioning code has receive a number of additional checks to handle these situations. Jos van den Oever 2013-05-23 11:24:21 +02:00
  • 1bb4534519 Avoid creation of new empty text nodes when the cursor is between two text nodes already during insertion. Text can be inserted into the text node to the left. Fixes the 20130517_split_text_2space test. Aditya Bhatt 2013-05-17 15:07:23 +00:00
  • b7599cfa94 Add four tests that check that newly exposed significant whitespace characters are converted to whitespace elements. Jos van den Oever 2013-05-17 14:22:15 +02:00
  • 2fedaad7d9 add failing ops-test: 20130517_split_text_2space Tobias Hintze 2013-05-17 14:16:49 +02:00
  • 50ae37df84 make xml of tests/ops/operationstests.xml well-formed again Tobias Hintze 2013-05-17 14:04:45 +02:00
  • 211496007e add "http://" to output of httpserver.js Tobias Hintze 2013-05-17 13:44:37 +02:00
  • b682fb8710 Fix compilation. Jos van den Oever 2013-05-17 12:11:05 +02:00
  • 3bdeea20b8 Fix failing test. With help from Aditya. Jos van den Oever 2013-05-17 12:07:24 +02:00