I have just updated the code and it's documentation. Performances of the create-alias command should be greatly improved by caching the cloned parser.
I'm searching for members of the community willing to test it and provide some feedback before applying for an inclusion into a future version of Ubiquity (if it proves to be useful enough, of course). Regards, Louis-Rémi Babé On Feb 26, 6:06 pm, lrbabe <[email protected]> wrote: > I forgot to provide an example: > "create-aliasfr-en for translate from french to english" > it uses Ubiquity's parser so you can also write > "aliasfr-en for tran from fr to en" > > On Feb 26, 6:01 pm, lrbabe <[email protected]> wrote: > > > I've added a first draft of a working create-aliascommand at the end > > of this code:http://gist.github.com/61752 > > Hopefully I'll find some time to finish it this Week-End. > > > As always, feedback is appreciated : ) > > > Lr > > > On Feb 24, 8:08 pm, Blair McBride <[email protected]> wrote: > > > > Impressive!! We'll see about getting this into Ubiquity. > > > > - Blair > > > > On 25/02/2009 5:40 AM, lrbabe wrote: > > > > > I've found some time to work on the above problems and I've fixed > > > > small bugs that were preventing my code to work. > > > > I'm now proud to announce that the CmdUtils.createAlias function now > > > > works as expected. The only restriction is that it doesn't work for > > > > command created in the command editor, only with built-in commands > > > > (still working on that). > > > > The updated code is available at the same > > > > address:http://gist.github.com/61752 > > > > > Now I have to create a new command to make definition ofalias > > > > possible from the command line : ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
