Collections 1.0.1

I’ve just put the 1.0.1 bug fix version up for download. It fixes XE compatibility issues, documentation fixes (thanks to Denisa Ilascu for her hard work). I don’t have access to Delphi 2010 and can’t say for sure whether it will work (I hope so).

EDIT: Confirmed, it works on Delphi 2010.

Download link here.

21 Responses to 'Collections 1.0.1'

  1. Linas says:

    I’ve tested ant it works with Delphi 2010. Thanks.

  2. alex says:

    Thanks! I’ve updated the post to reflect that.

  3. Careful with that claim. With all those generics being used, it’s quite possible that something Linas didn’t test will break under D2010. (Or even that something Alex didn’t test will break under XE, for that matter.)

  4. alex says:

    @Mason Wheeler
    I’ve run the full DUnit test suite on XE and it worked. That’s good enough for me (especially considering the “unorthodox” code in that test suite).

    Now as far as D2010 goes … since DeHL works on 2010 I would assume collections will work too. But … indeed, Delphi’s compiler is yet unpredictable regarding generics.

  5. Nick Hodges says:

    Alex —

    When I pull the code from GoogleCode, the projects won’t compile — I get:

    [Fatal Error] Can’t load package Collections.bpl.
    The system cannot find the file specified

    Is there something unusual about the directories in the project options that I’m missing?

  6. Nick Hodges says:

    @Nick Hodges

    By the way, I’m using D2010 if that makes a difference.

    • Eliza says:

      LIBEREN A LOS PRESOS POOTCIILS. BASTA YA DE FACISMO Y TERRORISMO Y DE TRASTORNAR LA VERDAD. LA HORA HA LLEGADO. LA VERDAD SE IMPONE, NADA QUEDARA OCULTO. VIVAN LOS PRESOS POLITICOS DE CUBA Y LAS DAMAS DE BLANCO. MIS ORACIONES ESTAN CON UDS

    • Johnie says:

      Bim I’m enjoying trying to imagine a Daily Beast Blog from Cosotpeln. Something with a headline along the lines of, say, :Leibnez, Best Headcase Ever, Or Merely takes the Biscuit? 1

    • Bon pour une fois je ne te suis pas sur ce coup là Mathilde!!! Je n’aime pas laisser des commentaires négatif sur les blogs surtout sur le tien que j’adore mais….Je les ai vues et revues ces bagues et franchement à part un matraquage commercial assez impressionnant (merci connection Duchêne)elles sont loin d’être si incroyables….Un peu une imposture à mon avis… enfin c’est mon avis Val.

    • I believe this is an ocean of knowledge, i really admire your article in your mind. You let me learn a lot from your blog. I wish you continue to update, i will continue to support your blog.

  7. alex says:

    @Nick Hodges
    Recreate the project file. My bad! I’m using XE which defines {$Platform} and etc macros. Forgot that Delphi 2010 doesn’t have those defined … shame on me.

  8. Nick Hodges says:

    Ahh, of course. thanks.

  9. John says:

    There’s no .NET-like TOrderedDictionary??

  10. Michael Adam says:

    Alex, many thanks for this great set of container classes, that made me jump into generics for the first time. I’ve found only one (possible) issue so far: TSortedList throws an OutOfRange exception if its Method Contains() is called on an empty list. Is this an intended behaviour?

  11. alex says:

    @John
    It’s called TSortedDictionary

    @Michael Adam
    It’s a bug. It slipped through when I adapted the collections from DeHL. Added a bug test cases and applied a fix. Will be in when 1.1 comes out. It’s also on SVN.

  12. Is the Collections 1.0.1 a replacement for DeHL ? (ie. DeHL is legacy code??)
    (I haven’t checked the code, but i’m assuming the .NET style strings are not included in Collections 1.0.1).

    Also freepascal in the last couple has added Delphi compatible generics and extended records are mostly supported now in the development version.

    Have you tried to run Collections on the latest development version of freepascal ??

  13. alex says:

    @Andrew Tierney
    DeHL is a separate project. My intent is to split it into multiple separate projects that will give you more freedom and will involve less overhead.

    I’m following FPC mailing lists and I haven’t seen any messages related to “delphi-like” generics.
    It might be possible to adapt Collections to FPC-style generics but I would need help on this.

  14. Markus Joos says:

    Hi just tried your Collections for the first time, and so far I am very impressed.
    Unfortunately your extensive xml-documentation doesn’t want to show up in Help Insight. I am using DXE Update 1. Any ideas on this ?

  15. alex says:

    Try to enable modeling you your code.

  16. Markus Joos says:

    @alex
    Thanks for the Tip, but it didn’t help. Any other ideas?

  17. Hanna says:

    Hello webmaster i see you put a lot of work in your blog, i know how to make your
    blogging easier, do you know that you can copy any
    article from any page, make it 100% unique and pass copyscape test?

    For more details , just search in google – rewriter creates an unique article in a minute

Leave a Reply to alex Cancel reply

Your email address will not be published.