<Glazblog/>

" Il est meilleur d'être irresponsable et dans le vrai que responsable et dans l'erreur " -- Winston Churchill

home
Disruptive Innovations
No comment
inFoRmatique

Monday 21 July 2008

Humpf

Plein de trucs à raconter mais j'ai une méga-flemme de me coller à la bécane pour l'instant ; on verra bien à mon retour.

Thursday 3 July 2008

Now!

Starting right now, I'm off for three weeks of summer break. I'm turning on the moderation of comments on this blog to avoid spam.

Don't break the Web while I'm away.

TheInquirer.fr

TheInquirer.fr is the pale version of the Inquirer.net. One of the editors there, Cyril Fussy, just crossed the thin line between humour and muckraking:

" Sa Jobsté fait partie des accusés, avec l’ancien responsable financier Fred Anderson et quelques autre rufians de l’immaculée Apple. Pour faire bonne mesure, les amers poursuivent la boîte aussi. " -- TheInquirer.fr (grammatical mistakes are in the original prose)

The french definition for rufian is "Homme débauché, qui vit avec des femmes de mauvaise vie, ou qui en procure aux libertins". In english, I would say "degraded man who lives with astrayed women, or provides libertine men with astrayed women".

Cyrile Fussy has a long track record of articles on crack. Bah.

ParisWeb 2008

L'édition 2008 de la superbe conférence ParisWeb se tiendra du 13 au 15 novembre. J'y serai, évidemment. Je vous proposerai, si les organisateurs l'acceptent, une présentation des nouveautés en chantier dans CSS ainsi qu'un rapport sur le fonctionnement du CSS WG. Si on me pousse un peu, je mettrai même mes bouts de code dans Diavolo ;-)

PS: quelqu'un a déjà réservé la grève des transports pour cette date ?-)

Where is Daniel

I'll be 100% offline for three weeks starting tonight. Last time I took a real break was precisely a year ago, and it's been a tough year. On the radar : beach, sun, seafood, sleep, books. No computer. No DSL. No phone. And no Saint-Germain en Laye. TTYL.

Mise à jour: et pendant ce temps-là, le Nitot chante à tue-tête "born to be wild" en démontrant que la ligne droite entre deux points n'est pas le chemin le plus agréable en Harley-Davidson...

Wednesday 2 July 2008

Linspire Inc. #2

It's now official...

Diavolo, documentation

DiavoloI have written a doc presenting Diavolo, how to embed it in your piece of code and use it. It's available from here and I hope you'll find it useful...

Update: sources available here.

Diavolo progress

All the styles in my source editor Diavolo are now modifiable by the client. That will allow a UI to specify, modify, delete styles for a given grammar in the source editor. Yay :-)

YAY !!!!!

I have successfully turned Diavolo into a new XUL element !!!!!

source code using new Diavolo XUL tag

/bin/sleep

Je suis épuisé. Il est temps, grand temps que les congés estivaux arrivent...

Tuesday 1 July 2008

Melting

33°C in my office ATM... Was too busy coding to start the air conditioner.

Diavolo progress

DiavoloThe v0.4 of my source code editor Diavolo is available from here, as always. I think you'll like this new version:

  • line numbering can be hidden
  • click on a line number selects the line, and it's possible to extend the selection to other lines
  • much better copy/paste, drag and drop with whitespace preservation; still some issues with refresh though
  • much harder to freeze :-)
  • improvements in the CSS grammar

diavolo 20080701

Tutorial for my Webchunks extension

I have updated my Webchunks extension for Firefox 3 and written its tutorial document. People who already installed it in the past should be notified automatically of the update's availability.

Et merde...

Et merde... Je suis pour une fois d'accord avec ce salopiaud de Kaczynski et franchement, ça m'en bouche un coin(-coin)...

« Le président polonais a également mis en garde les autres dirigeants de l'Union contre une tentation d'isoler l'Irlande. "Si on brise la règle de l'unanimité une fois, elle n'existera plus jamais. Nous sommes trop faibles pour accepter ce genre de solution", a-t-il indiqué. » -- Le Monde

Bro^H^H^HCamera war

Nikon just released the DSLR D700.... In one word : wow ! Canon should reply with the successor to the EOS 5D. Let's see what happens...

Linspire Inc.

Kevin is not happy at all... I can understand him. When my main contact at Linspire, Tom Welch, left a supposedly very healthy company, I said "ohoh...". And my emails about nvu or its future started getting no answer. And then many people left - or were laid off. To me, Linspire remains the first customer of Disruptive Innovations, the original sponsor of Nvu. Whatever is the fate of Linspire - and I suspect it's not going to be a very positive one - I remain thankful to that company for that. Linspire made great use of the Mozilla platform : Nvu, extensions to the browser and the mail user agent. So long Linspire, and thanks for the fish.

Update 2-jul-2008: it's now official...

Monday 30 June 2008

Non-Apple laptop running OS X

Akihabara News has a story about the MSI Wind U100 running a modified version of OS X.

nsIPlaintextEditor and copy/paste of whitespace

Diavolo is better and better every day. But I had a big issue with copy/paste of whitespace, my source indentations were lost on paste, and I really could not figure out why. After a short investigation, I found why : it's a little uglyness left in nsCopySupport.cpp by our friend and former Editor Team member Kin Blas :

if (atom == nsGkAtoms::body)
{
  // check for moz prewrap style on body.  If it's there we are
  // in a plaintext editor.  This is pretty cheezy but I haven't
  // found a good way to tell if we are in a plaintext editor.
  nsCOMPtr<nsIDOMElement> bodyElem = do_QueryInterface(selContent);
  nsAutoString wsVal;
  rv = bodyElem->GetAttribute(NS_LITERAL_STRING("style"), wsVal);
  if (NS_SUCCEEDED(rv) && (kNotFound != wsVal.Find(NS_LITERAL_STRING("pre-wrap"))))
  {
    *aIsPlainTextContext = PR_TRUE;
    break;
  }
}

Urrrgh, to say the least :-) I have filed bug 442686 for that and attached a first patch. In the meantime, make sure to add style="white-space: pre-wrap" on the body of your edited documents if you're using a plaintext editor in Mozilla and need white-space preservation during copy/paste...

Sunday 29 June 2008

Tutorial for my Glazoom extension

The title says it all. The extension itself is available here and the tutorial there.

Verbatim

- l'appart de Ségolène Royal a encore été cambriolé !
- bah oui, ils cherchent toujours son programme électoral...

- page 1 of 219