Slashdot Mirror


Adobe Unveils Open Source Library

anamexis writes "Adobe premiered (no pun intended) opensource.adobe.com recently. The first two libraries available, titled Adam and Eve, respectively, take on complex GUI issues in applications. They are written in C++ and have been released under the MIT License, an OSI-Approved Open Source License."

12 of 406 comments (clear)

  1. Re:The GIMP by 1010011010 · · Score: 5, Informative
    Too Lazy? It's one of the shortest licenses known to man:


    The MIT License

    Copyright (c)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


    So, YES, Gimp could use the Adobe UI, as long as it includes the "obnoxious advertising clause".
    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  2. It looks like the x11 license to me. by Anonymous Coward · · Score: 4, Informative

    X11 License
    This is a simple, permissive non-copyleft free software license, compatible with the GNU GPL.

    This license is sometimes called the "MIT" license, but that term is misleading, since MIT has used many licenses for software.

    source

  3. Re:The GIMP by lordpixel · · Score: 3, Informative

    That's not the obnoxious advertising clause.

    The OAC was a part of the BSD license which used to say you had to print out a message when your program started up giving props to the Regents of the University of Berkley, CA or some such.

    This was probably the only real difference between the MIT and BSD licenses, but since the BSD license dropped this clause, they're the same for all intents and purposes.

    --

    Lord Pixel - The cat who walks through walls
    A little bigger on the inside than out

  4. Re:Dmitry Sklyarov by alwsn · · Score: 4, Informative

    To those wondering what the parent is talking about... ElcomSoft verdict: Not guilty

  5. Re:Acrobat Reader by shawb · · Score: 4, Informative
    --
    I'll never make that mistake again, reading the experts' opinions. - Feynman
  6. Re:Acrobat Reader by uss_valiant · · Score: 5, Informative

    A friend uses acroread 7 (beta) on his solaris (or was it linux) machine and it's really good. I'm also very pleased with the reader in version 7 on windows. It's so much better, faster, more responsive, ... than version 6. It's probably as fast as version 5 with more features than version 6.
    After the disastrous version 6, Adobe fixed the issues with version 7 and I can honestly recommend using the most recent Acrobat Reader version again.

  7. Sorry, I'm an idiot. Readable version here. by Gorath99 · · Score: 5, Informative

    From the documentation:

    Adam is a modeling engine and declarative language for describing constraints and relationships on a collection of value, typically the parameters to an application command. When bound to a human interface (HI) Adam provides the logic that controls the HI behavior. Adam is similar in concept to a spreadsheet or a forms manager. Values are set and dependent values are recalculated. Adam provides facilities to resolve interrelated dependencies and to track those dependencies, beyond what a spreadsheet provides.

    Eve consists of a declarative language and layout engine for constructing an HI. The layout engine in Eve takes into account a rich description of UI elements to achieve a high quality layout - rivaling what can be achieved with manual placement. A single HI description in Eve suffices for multiple OS platforms and languages. This document describes Eve2, the latest version of Eve. Eve2 was developed to work with Adam and to incorporate many improvements that have been requested since Eve1 was written.

    I must admit that I haven't looked at the code in great detail, but that doesn't sound very trivial to me. Also, 1749K of zip compressed C++ code would be a heck of a lot of trivial code.

  8. Re:The GIMP by Richard_at_work · · Score: 3, Informative

    Theres no Advertising Clause in the MIT license - what the grandparent is calling the OAC is simply the bog standard copyright acknowledgement that goes in each sourcecode file. See the post a few posts down about the OpenBSD license - that certainly has no OAC and has pretty much the same wording.

  9. Re:Acrobat Reader by OldMiner · · Score: 4, Informative

    I troubleshot this problem before, but I don't have the links handy. The short version is that it's a bug in the program itself, where it asks for too-general of a font, which causes buffer overflows. When requesting a font in X there's a whole bunch of dashes and asterisks such as -*-fixed-medium-r-normal--15-*-*-*-c-90-iso8859-1 . Each of these asterisks is an "I don't care" value. "I don't care what foundry it's from." "I don't care about its resolution." Or say -*-fixed-medium-r-normal--15-*-*-*-c-90-* which also says "I don't care about its encoding."

    The encoding part is what you're getting around. When you have a proper LANG setting, like "en_US" the libraries you're using will recognize this and provide you with a nice beefy font. You'll often get a font which is not a nice, normal 8-bit font. It could be all wacky with like thousands of freaking characters, for, like, doing stuff outside of the Latin language set. Crazy.

    When proper international fonts were being developed and the developers started to test applications, they realized that there were a ton of applications with this problem. They simply requested a font where they didn't specify encoding, and they couldn't deal with certain encodings that were returned, and they'd segfault. Therefore, making international-capable fonts standard was put off for many months while developers were encouraged to fix their applications. Unfortunately, Acrobat Reader is one of the stragglers. The recommended solution I've seen is to rename acroread and add a script in its place which sets the LANG variable and then runs the renamed executable.

    --
    You like splinters in your crotch? -Jon Caldara
  10. Re:That's cool... by the+quick+brown+fox · · Score: 3, Informative

    Actually it's more like the frontend stuff for Photoshop--or more precisely, the engine that drives parts of the frontend.

  11. Looks like an interesting pair of libraries by podperson · · Score: 3, Informative

    Adam and Eve are two separate but related libraries.

    Adam allows you to express a bunch of things in terms of other things (e.g. this button's right edge needs to be 10 pixels left of that button's left edge OR this HSV setting is related to that RGB setting) and then have them automagically be kept updated. Neat.

    Eve is a UI library. It seems to allow for automated layouts (as well as manual?) and depends on Adam for some of its functionality.

    Both depend on the boost C++ libraries.

  12. An on-topic post by arekusu · · Score: 3, Informative

    Disclaimer: I used to work for Adobe. I left a few years ago.

    I have experience with EVE that may be more interesting to read that a bunch of anti-Adobe slurs: For a while it was my job to localize Illustrator, and part of that involved converting the old DITL and .rc UI resources into expressviews (the precursor to EVE.)

    At the time, Illustrator had somewhere around six or seven hundred dialogs. Times fourteen languages. Times a few platforms (OS 9, OS X, 95/98/ME/NT, XP). That's a LOT of UI to program, translate, and test.

    EVE lets you describe a dialog with one XML-ish text file, and have that layout work for all languages on all platforms. That is a significant potential reduction in UI programming (and hopefully bugs.)

    It looks good, too. Take a look at Photoshop or Illustrator's UI. I don't mean the wacky custom controls-- I mean look at the widget layouts. Can you tell which ones were painstakingly created by a human, and which ones are being generated on the fly?

    When I was working with this technology, there were a class of problems that couldn't be easily handled (such as alignment across separate view hierarchies) but it looks like EVE2 is fixing most of those areas.

    I can't really comment on ADAM since that wasn't at a usable stage when I was at Adobe. Some people have commented that the static binding dates it, compared to say 10.3's Cocoa bindings and KVO. Maybe, but any sort of binding that gets rid of huge chunks of UI glue code is a good thing. It's in C++ because that's what Adobe's giant cross-platform codebases are.

    So, this is good stuff. It works. Now you can play with it. What's wrong with that?