Slashdot Mirror


Firefox 3.0 Makes Leap Forward

Kurtz'sKompund writes "Mozilla has announced that Firefox 3.0 has passed a major milestone! The Places feature has been added to the alpha client slated for release next week. Places is a complete re-work of the bookmarking and history browser functions. It was at one point slated for Firefox 2.0, but will instead see release in Mozilla's next major version. '"We enabled the Places implementation of bookmarks on the trunk," said the Places team in a post to the Mozilla developer center blog. "Although there is still much to be done, this is an important milestone for us." Firefox 3.0 alpha 5 is scheduled to launch June 1. Because Places uses the open-source SQLite database engine to store and retrieve bookmarks and history entries, it's incompatible with earlier Firefox editions' bookmarks. Alpha users must convert their existing entries, Mozilla developers said."

14 of 401 comments (clear)

  1. Changes by eebra82 · · Score: 4, Informative

    For anyone wondering what's going to change in FireFox 3.0 (Wikipedia quotes):

    The largest known change for Firefox 3 is the implementation of Gecko 1.9, an updated layout engine. It will also provide CSS3 columns.[90] Firefox 3 will include features that were bumped from Firefox 2, such as the overhauled Places system for storing bookmarks and history in an SQLite backend, according to the wiki.

    Also, what's expected to come in FireFox 4.0 (also Wikipedia):

    On October 13, 2006, Brendan Eich, Mozilla's Chief Technology Officer, wrote about the plans for Mozilla 2.0, the platform on which Firefox 4.0 is likely to be based. These changes include improving and removing XPCOM APIs, switching to standard C++ features, just-in-time compilation with JavaScript 2 (known as the Tamarin project), and tool-time and runtime security checks.

  2. Re:Bring it on... by oldmacdonald · · Score: 4, Informative

    The refresh blocker extension might be what you're looking for.

  3. Re:Bloat or Performance Issues? by Applekid · · Score: 5, Informative

    It's a very lightweight C library which basically enables "on the ground" SQL queries and such. No client/server mechanisms to worry about, no middleware (other than sqlite.dll, and even then you can just take the source and compile it in), and the security of the database is handled by security permissions on the file. That's right, "the" file. A single file contains the schema and data.

    It fully supports transactions and is appropriately ACID. For someone who's had his Firefox bookmarks hosed before, this is very welcome for me.

    The benefit of this will [hopefully] be fully searchable bookmarks and easy to move the bookmarks around to other computers.

    I've used it in the past and it's been great for me. Check it out: http://www.sqlite.org/

    --
    More Twoson than Cupertino
  4. Re:Bloat or Performance Issues? by richwklein · · Score: 5, Informative

    SQLite is developed for embedding so it is miniscule (less than 250KiB). It was already included in Firefox 2.0 so it does not add any size to Firefox 3.0. It also allows for some interesting ideas that are being played with for the new release, like site annotation and full text indexing.

  5. Re:Bloat or Performance Issues? by DragonWriter · · Score: 4, Informative

    Ok someone give me details on this "SQLite database engine" please.


    Details.

    I don't know anything about SQLLite but will this add any bloat/performance issues/etc the firefox 3.0?


    SQLite by itself, I imagine, won't. How much else they do with it may or may not.

  6. Re:When? by JimDaGeek · · Score: 5, Informative

    SQLite has this name because it is... lite! It has a very, very small footprint. By your comment, I can tell you have never used it. I have. It is designed to be small and easy to embed into an app with out requiring a bunch of resources.

    --
    General, you are listening to a machine! Do the world a favor and don't act like one.
  7. Re:When? by althea19 · · Score: 4, Informative

    They're apparently embedding a fucking SQL DATABASE into Firefox 3. Given that SQL databases are not exactly known for being light-weight Because of course SQLLite isn't a light-weight SQL DB library or anything..
  8. Re:When? by JimDaGeek · · Score: 5, Informative

    You think a SQL db that only takes up 250K is significant? Geez, what do you have like 4MB of memory? The SQLite DB is already in FF 2. So it will not add anything to FF 3. However, the bookmarks will now just take advantage of SQLite, which they currently do not. This will give you plenty of ways to sort your bookmarks and store more info for each bookmark. For example, in FF 2 you can give a bookmark a keyword. This way you can just type that keyword and go to that URL. I use can type "/." and press enter and get to /. with no clicks. I have a lot of keywords setup for my most used bookmarks. Bookmarks in FF are more than just list of strings. They have a URL, name, keyword and description. One big problem with bookmarks in FF 2 is the inability to sort properly. FF 3 should fix that now that FF 3 will be able to use Order By to sort how the user likes.

    --
    General, you are listening to a machine! Do the world a favor and don't act like one.
  9. Re:When? by adiether · · Score: 4, Informative

    How do you know it has memory leaks? Seriously, have you done a exhaustive memory profile? Opening a few webpages, closing them, and looking at MemUsage in the task manager before and after is hardly conclusive. Of course, I am assuming you are doing this, but if you have concrete data, please share. I can leave Firefox running for weeks averaging 50+ tabs at all times.

  10. Re:When? by JimDaGeek · · Score: 4, Informative

    I have never had my profile corrupted with Firefox. I use Firefox on WinXP, OS X and Linux and keep my profile in sync with Google Browser Sync. However, if your profile does get corrupted, the bookmarks file should be fine since SQLite supports standard RDBMS constructs to keep the file from being corrupted. Since SQLite uses a regular file (like Access, but much, much better), you can just copy it to where ever you want as a backup.

    --
    General, you are listening to a machine! Do the world a favor and don't act like one.
  11. Re:Far from what people want... by dvice_null · · Score: 4, Informative

    > Firefox users want a browser that displays webpages. A browser that is fast...
    > Adding a whole new bookmarks system is nice, but does the user-base need it ?

    You obviously are not a programmer who understand xml parsing and knows SQLite very well. Well as I happen to be such a programmer, let me just tell you that I can pretty well guarantee to you that switching to SQLite will make the browser faster. Most like it will also decrease the amount of needed memory.

    Reasons for this:
    - SQLite is very light database. Basicly it is just component that can be used to write and read a file, but searching a certain element(s) in the file is very fast compared to normal read methods.
    - Reading xml files or similar, as the current bookmakrs.htm file is, is very slow and it requires a lot of memory. This is because you first need to parse the html tree and after that you will get the actual data from the file. It is very good if you have only few items in the file, but if you have thousands bookmarks like some people do, it will get slow.

    So basicly they are just removing the bloat and making the browser faster.

  12. Re:When? by RobertLTux · · Score: 4, Informative

    what you are missing is
    1 the sqllite engine is already present
    2 they are yanking out the older crusty Mork/Xml/Vhatever code
    3 they are using this to simplify things and enable cool things like throwing your bookmarks online (obsoleting the 12 bazillion bookmark sync extensions)

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
  13. Re:Got NoScript? by bunratty · · Score: 4, Informative

    Firefox 3 includes a cycle collector to handle these memory leaks in extensions, as well as some remaining memory leaks in Firefox itself.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  14. Re:When? by Matthieu+Araman · · Score: 5, Informative

    Places still writes the bookmark.html file.
    It just doesn't read-it anymore (but you can tell it to import it back if you like)
    BTW, sqlite stores everything in one file so nothing is really changed
    if you wan't to save, you just have to copy one file
    if you wan't to move/copy you profile, it's just a file to copy
    it will be much more robust, powerfull and allow new things to be done.
    also the sqllite code is stable and field tested by hundred of projects so it's a very good idea to reuse it instead of using some mozilla only solution.