| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The include syntax was changed and enhanced by a include_once statement.
Syntax:
/* DOKUWIKI:include somefile.js */
/* DOKUWIKI:include_once someotherfile.js */
Note: include_once uses the basename of the inlcuded file to determine if
it was previously loaded. You need to use something unique for it to
make sure it is correctly loaded.
Note: included files are not checked for updates by the cache logic. You
need to touch the master file for updating the cache
Note: includes are *not* supported inside included files to avoid any
circular references
darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for include calls in JavaScript files as discussed in [1]
The syntax looks like this:
/* !!include script.js */
All whitespaces are optional (except between !!include and script of course)
[1] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html
darcs-hash:20070513123230-7ad00-71a1081aaef1e8f6bc909820927f17d0be71b74e.gz
|
|
|
|
| |
darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
|
|
|
|
|
|
| |
This may fix https://bugzilla.mozilla.org/show_bug.cgi?id16033
darcs-hash:20070308224331-7ad00-e5ef018706062baf6bec2bd11dfb318e0fe4b1f6.gz
|
|
|
|
|
|
|
| |
This ports the fixes from the original python code to DokuWiki's js_compress
functions. The unit tests now pass.
darcs-hash:20070308223644-7ad00-56ea99689a62e9752f4814b5dc7ada02eae59089.gz
|
|
|
|
|
|
|
|
|
| |
This patch includes
- several helper functions - is* checks
- hasOwnProperty method emulator
- checks for .hasOwnProperty in all for..in loops
darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
|
|
|
|
|
|
| |
adding ?purge
darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The DOMlib javascript library was removed. It was only used for
footnote tooltips and access key fixup.
Removing the library creates a much smaller JavaScript footprint. The
size of the compacted non-edit Javascript output was reduces from 56110
bytes down to 29296 bytes.
The footnote tooltip was completely rewritten and tested in FireFox
2.0, IE 6 and Opera 9.02. Please test other browsers as well.
The acces key fixup might beahve different now on Mac platforms.
darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
|
|
|
|
|
|
|
| |
This patch removes some commented code fragments and alternative
snippet generators
darcs-hash:20061008090624-7ad00-14bfee2ded6c6c8ef43ad02a4c02a5d95ee9daf7.gz
|
|
|
|
|
|
|
| |
This fixes a problem with escaped backslashes in single and double quote
strings.
darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
|
|
|
|
|
|
|
|
| |
- correct begin/end comment, plugin filename wasn't being used
- add file exists check, to avoid bloating js with comments for non-existent plugin js.
Many (most?) plugins don't have javascript.
darcs-hash:20060619104613-9b6ab-08a570cdbb0d6441f1caa71766d4c59c73828835.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch improves the way the window.oninit JavaScript function is
called. This function is used to initialiaze all JavaScript funcions
attached to the DOM so it needs to be executed **after** the full DOM
was parsed by the browser. Unfortunately currently only Mozilla supports
a DOMContentLoaded event. In all other browsers we had to wait for
the window.onload event which will only be called after **all** content
(including images) was loaded - this caused a visible delay on all
JavaScript generated content (like the toolbar) in non-Mozilla browsers.
Dean Edwards now presented a solution [1] which will work for all the bigger
Browsers and is used in this patch.
The following browsers now should fire the init event right after parsing
the DOM:
All Mozilla based browsers
Internet Explorer
Safari
Opera >
darcs-hash:20060616104539-7ad00-db70d31fcb21cb812cf4982fe80a7d649e2daa1c.gz
|
|
|
|
| |
darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz
|
|
|
|
| |
darcs-hash:20060527140157-7ad00-225a9ba66f658cc279cb44ebb04d483291d567d2.gz
|
|
|
|
|
|
|
| |
This fixes some styling issues, the cookie handling and a bug in the
JavaScript caching mechanism.
darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a completely rewritten media popup. The following noteworthy
changes were made:
- media manager uses a collapsible namespace tree
- media manager uses AJAX if available
- media manager popup can be kept open when selecting a media file
- only one template is used for the media manager :!: Template
- Editable image metadata is configured in conf/mediameta.php now
- The JS cookie mechanism was enhanced to store key/value pairs
- Language strings can be exported to JS in js.php
darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
|
|
|
|
| |
darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
|
|
|
|
| |
darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
|
|
|
|
|
|
|
|
| |
Does client-side rewriting of accesskey tooltip text so that it will be
more OS and browser specific. Dokuwiki should output all accesskey tooltips
as [ALT+<key>] because this patch matches on "[ALT+".
darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Tells standards compliant browsers that conditional requests for
CSS and JS need only be made once an hour. This should reduce page
display latency on some browsers.
Originated from the comment in this thread:
http://www.freelists.org/archives/dokuwiki/03-2006/msg00590.html
darcs-hash:20060410012723-05dcb-eccb42aefe85c9dbb4f35fdf03a9635561cf5710.gz
|
|
|
|
| |
darcs-hash:20060315115745-05dcb-6f50f3a070d2898ab51a32e59395631cab2ae09c.gz
|
|
|
|
|
|
|
|
| |
DokuWiki now automatically creates a draft file of the currently edited
page. In case of an editing interuption (eg. Browsercrash) the draftfile
can be continued later.
darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
|
|
|
|
| |
darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
|
|
|
|
|
|
|
| |
An AJAX call is used to refresh the pagelock when keypresses in the textarea
are detected (With a minimum wait of one minute between calls).
darcs-hash:20060128152139-7ad00-66d64326bcf04c9b8d49285ac736137e9dd48249.gz
|
|
|
|
| |
darcs-hash:20060127211137-7ad00-b4433b51fe014e1b8f2e741857bd6b101e6677f5.gz
|
|
|
|
|
|
|
|
| |
This adds a simple JavaScript behavior. When an element with the id
'scroll__here' is found in the document the browser will scroll this
element into view. Useful to scroll to some output after form submitting.
darcs-hash:20060126212926-7ad00-b359915a5d6a299652134d8dfa64015786283b6b.gz
|
|
|
|
|
|
|
| |
This adds a javascript confirmation for the delete button in the user manager.
It also adds the $() shortcut function known from the prototype library.
darcs-hash:20060126203550-7ad00-d5690ef06432286239953a79c5dbbc25f8720204.gz
|
|
|
|
|
|
|
|
|
| |
This path adds more unobstrusive JavaScript for the TOC handling. It also
loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based
Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a
IE solution was not chosen yet.
darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
|
|
|
|
| |
darcs-hash:20051126124017-7ad00-7ea49b9ecdae1e7c0b7645245db6ecfc642aa89e.gz
|
|
|
|
| |
darcs-hash:20051125123839-7ad00-71c1c32083123f74f6fd28c00c6b4f9518d072cc.gz
|
|
|
|
| |
darcs-hash:20051111200142-7ad00-158925aee01bc24378a8bd99ad27a6173ea085dd.gz
|
|
|
|
| |
darcs-hash:20051030152828-7ad00-58a99ca20a1d6ec62612a6281034c1dd669be44d.gz
|
|
darcs-hash:20051029185222-7ad00-c184ab3496539f3027407c7d17e8770a1849546a.gz
|