On Windows the paths have backslashes causing any check against the array
of excluded files to fail. To solve this I used the path module to
normalize the file paths in the array of excluded paths for the license
string check.
* remove @license tag, for consistency with library source files
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released stuff
* separate license header by empty line from following content
Dependencies between classes are listed in the manifest.json files.
These files list what classes are required to load other classes. Yet, each eval
of a class can trigger loading of a required class. This means that the request
for a particular class is only sent out when the class that needs it is loaded.
This patch adds a new function:
runtime.loadClasses(classNames, callback);
This function creates a list of all required classes before doing any loading.
If the environment is the browser and a callback is provided, the list of files
is added as <script/> tags to the DOM. This means the browser can request all
files at once. The callback is attached to the onload trigger of the last
<script/> tag.
If no callback is provided, the files are still loaded synchronously.
runtime.loadClass is still present but redundant, since the runtime already
knows what classes are needed for other classes.
odf.html is adapted to use the new class.
The list of files changes on many commits and makes merging hard. This patch simply removes the list from the code and uses one that is generated and placed in the build directory.
When selecting or modifying large areas of content, the multiple
style information lookup becomes quite expensive. These can be greatly
sped up by using a common cached value + associated query object
instead.
Existing behaviour was slow if the cursor has a large distance between
the
anchor and focus nodes. It also tended to lose the first letter when
right
near the start of a paragraph or root boundary.
New logic avoids the need for expensive positional lookups, instead
exploiting the fact that the actual step value of the cursor is expected
to be unmoved. This allows the start and end points of the range to be
simply moved to their nearest valid step.
* Re-ordered ambiguous elements in test
"Remove_DeleteLastCharacterInSpan"
Fixes issue #261