Commit Graph

8474 Commits (e6e8d906d13313a34320c3de20254077e4f25a97)

Author SHA1 Message Date
Joey Hess 002be0c87a partial support for calling onload once the DOM is ready
This adds support for gecko and newer versions of opera
to call onload once the DOM is ready, rather than waiting for
all images in the page to load. Makes relativedate behave
somewhat better.

Dealing with this means jumping into the browser
incompatability waters that I prefer to avoid.
Full solutions for most of the major browsers are listed here:
http://dean.edwards.name/weblog/2006/06/again/

However, no *license* is listed there, so I can't use that code. Also, the more
involved code appears to have various issues (such as the inline IE code not
working via https). So I only added the simple call to a hook needed
for gecko/opera.

It seems that the only standards-compliant way to do this is using the
`defer` attribute to a `script` tag, using an external script that will be
loaded once the DOM is ready, and can call onload. However, that has
browser compatability issues of its own, since not all browsers honor
`defer`.

Perhaps I should really just be using one of the javascript frameworks, that
include code to solve this for the major browsers. But something about them
still puts me off, and this issue is minor enough that I'm willing to live
with incomplete support for now.
2008-10-19 15:45:29 -04:00
Joey Hess 2321906cd7 mark up date so relativedate will work 2008-10-19 15:17:00 -04:00
Joey Hess ac8eb2844f Updated French translation. Closes: #502694 2008-10-19 12:59:35 -04:00
tschwinge 3670fe9a4f Correct copy&paste-o. 2008-10-19 12:14:08 -04:00
JoshTriplett 9fc7edeee5 Add links to the moin2iki code. 2008-10-18 20:05:37 -04:00
JoshTriplett a09a0087cc 2008-10-18 20:02:58 -04:00
JoshTriplett db0f771bc4 Update my contact info. 2008-10-18 20:02:28 -04:00
Joey Hess 3f922abff4 remove old dup div 2008-10-18 19:11:57 -04:00
http://jblevins.org/ c1a2df4fc1 Tracking some issues on my user page 2008-10-18 16:53:28 -04:00
http://jblevins.org/ e49a745fdd Unclosed div 2008-10-18 15:36:18 -04:00
Joey Hess 6d8df8c114 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-18 12:48:10 -04:00
Joey Hess 18806fa6b0 allow ikiwiki.js to be loaded twice w/o clobbering previous hooks
Clearly it's suboptimal for it to be loaded twice, but this is a quick fix
at least.
2008-10-18 12:47:08 -04:00
http://hendry.iki.fi/ 943a4ff520 google plugin linked 2008-10-18 09:21:24 -04:00
http://xma.myopenid.com/ 15c6997979 2008-10-18 07:10:10 -04:00
Joey Hess cb9a695443 fix url 2008-10-17 22:04:43 -04:00
Joey Hess 594243d615 update 2008-10-17 21:59:27 -04:00
Joey Hess 35c56622ea tweak recentchanges permalink code
Need to handle the case where url is not set.
2008-10-17 21:54:42 -04:00
Joey Hess fdb5da46b0 Patch for anchor-based change permalinks in recent changes feed
from JasonBlevins
2008-10-17 21:49:55 -04:00
Joey Hess 745dc1c62f add missing getsetup hook 2008-10-17 21:29:05 -04:00
Joey Hess 02ec92c6cb make relativedate work for the dates on the recentchanges page
Having a always current relative date on recentchanges is very, very nice.
2008-10-17 21:21:07 -04:00
Joey Hess ef4b9b5420 response 2008-10-17 21:16:27 -04:00
Joey Hess 1a86717284 response 2008-10-17 21:02:12 -04:00
Joey Hess 7390a7a072 relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
Joey Hess 9a62836d28 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-17 20:28:24 -04:00
Joey Hess 79b376f991 Add an underlay for javascript, and add ikiwiki.js containing some utility code.
* Add an underlay for javascript, and add ikiwiki.js containing some utility
  code.
* toggle: Stop embedding the full toggle code on each page using it, and
  move it to toggle.js in the javascript underlay.
2008-10-17 20:28:18 -04:00
Joey Hess 16d51e67a7 add_underlay: avoid adding the same underlay twice 2008-10-17 19:53:04 -04:00
http://jblevins.org/ 3690864e2b Patch for anchor-based change permalinks in recent changes feed 2008-10-17 19:52:42 -04:00
http://xma.myopenid.com/ b08feb5e08 2008-10-17 18:34:28 -04:00
http://xma.myopenid.com/ 84a77567c0 2008-10-17 18:30:03 -04:00
Joey Hess 578a487353 add news item for ikiwiki 2.67 2008-10-17 13:18:04 -04:00
Joey Hess de65a62501 releasing version 2.67 2008-10-17 13:17:31 -04:00
http://alcopop.org/me/openid/ 37a0fbebd4 2008-10-17 11:00:37 -04:00
PaulePanter 5327fee1b2 response 2008-10-17 08:33:48 -04:00
Joey Hess a80da69cc3 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-16 18:20:41 -04:00
Joey Hess f36080ae02 aggregate: Avoid bug that caused immediate expiration of items with a date in the future. 2008-10-16 18:20:16 -04:00
pesco c2a55bd735 darcs rcs_add fixed. 2008-10-16 16:20:08 -04:00
http://xma.myopenid.com/ 75f1dbacbd That's good news for me then ! Thank you. 2008-10-16 14:56:28 -04:00
Joey Hess 798a601395 response 2008-10-16 14:00:35 -04:00
Joey Hess a16724ce5e response 2008-10-16 13:59:44 -04:00
Joey Hess ee41aedb10 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-16 12:53:33 -04:00
http://xma.myopenid.com/ fe4d7a6d3a creating Darcs as the RCS ? 2008-10-16 09:45:49 -04:00
http://xma.myopenid.com/ 620770f07f Testing [[ikiwiki]] formatting rules 2008-10-16 09:27:20 -04:00
http://alcopop.org/me/openid/ ece5c0ea8a Bundle::IkiWiki? 2008-10-16 07:51:04 -04:00
http://xma.myopenid.com/ f2b00bd81b Update 2008-10-16 05:14:58 -04:00
http://xma.myopenid.com/ 3b2079fd5e New page 2008-10-16 05:12:37 -04:00
http://xma.myopenid.com/ 20404d7f59 Added my website (warning: not polished at all) 2008-10-16 05:03:15 -04:00
Joey Hess 0517f9126c close 2008-10-15 23:50:20 -04:00
Joey Hess 2995ce6f2c thought 2008-10-15 23:48:58 -04:00
Joey Hess 995d91675e rm 2008-10-15 23:47:12 -04:00
neale 594df81c54 Joey's right, that's good enough. 2008-10-15 23:14:31 -04:00