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."

36 of 406 comments (clear)

  1. Acrobat Reader by jamesshuang · · Score: 4, Interesting

    If only they'd fix Acrobat Reader for linux...

    1. Re:Acrobat Reader by PoprocksCk · · Score: 5, Interesting

      You're right, it is less bloated. But the point is that they're still using some ugly, closed-source GUI library, and that they fully neglected Linux users for one whole major version.

      Sure, they announced a 'beta' of version 7 for Linux, but has anyone ever *seen* it? They cancelled the public beta after a few days. So it's not so much that the product is a poor one (version 5.0.10 is pretty decent, really) but that they see Linux as a tier-2, unimportant platform. I truly hope that that changes in the near future as Adobe begins to embrace OSS.

    2. Re:Acrobat Reader by shawb · · Score: 4, Informative
      --
      I'll never make that mistake again, reading the experts' opinions. - Feynman
    3. 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.

    4. Re:Acrobat Reader by 99BottlesOfBeerInMyF · · Score: 5, Insightful

      they see Linux as a tier-2, unimportant platform

      In my experience Adobe views everything that isn't Windows as a tier-2 platform, and would like nothing more than for them to go away. They have killed or frozen many products for Linux, Mac OS, and Solaris in the last few years. One particularly galling example is Framemaker. It is the single most popular application for writing manuals and technical publications, due to it's unique feature-set (developed before adobe bought it). Adobe killed the Linux version completely, and never released an OS X native version. Mac OS 9 users made up 65% of their customers, but for some reason when OS X came out, everyone stopped buying the Mac version. (everyone was waiting for an OS X version). It never came. Now it is a Window's only product. I know a number of people who run it in the Classic OS 9 emulation environment and a number who have switched to alternate products. Other users just switched to Windows. This is typical Adobe's attitude in recent years. Even with their flagship, Photoshop, Mac versions have sometimes lagged behind, or been missing features of the windows release. It is all just symptomatic of a company that has bought into Windows development, and only supports other platforms when there is just too much money coming in. Adobe has lost my trust, and I think lost it's way. I'm just waiting for a real competitor to appear.

    5. 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
  2. If is looks like the acroreader for linux... by jsheedy · · Score: 4, Funny

    We are in for treat.

    --
    Quid Pro Quo, nothing more, nothing less.
  3. Adam & Eve? by carninja · · Score: 4, Funny

    Insert Cain & Abel joke here...

  4. 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.
  5. That's cool... by PoprocksCk · · Score: 3, Interesting

    ...But please, release something worthwhile under an open source license, like the backend stuff for Acrobat or something...

    And for the love of God, release Reader 7.0 for Linux, and do it soon!

    1. 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.

  6. Dmitry Sklyarov by digitaltraveller · · Score: 4, Insightful

    I welcome Adobe's efforts to work with the open source community.

    That being said, I am still too afraid to use any Adobe products after DmitryGate.

    I think it's going to take alot more from Adobe to win the trust and respect of this community, or at least this member.

    I should mention that I am also a former Adobe customer.

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

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

  7. uhoh by justforaday · · Score: 5, Funny

    Combine these with an Apple and you have the downfall of mankind...

    --
    I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    1. Re:uhoh by zerblat · · Score: 4, Funny

      But what happens when you use Adam and Eve with Darwin?

      --
      Please alter my pants as fashion dictates.
    2. Re:uhoh by maxwell+demon · · Score: 3, Funny

      You get Evolution, of course!

      --
      The Tao of math: The numbers you can count are not the real numbers.
  8. FWIW... by PoprocksCk · · Score: 3, Interesting

    ...Searching for "Linux" using the site-only Google search on the opensource.adobe.com website, yields one result: http://opensource.adobe.com/pipermail/pythonphotos hop/2004-January.txt

    And that one result no longer exists (you get a 404 when trying to access it). So if any of you folks are preparing to post "Oh boy, that means Photoshop for Linux is just around the corner!" -- you'd better think again.

  9. 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

  10. Re:The GIMP by Saeed+al-Sahaf · · Score: 4, Insightful
    So, YES, Gimp could use the Adobe UI, as long as it includes the "obnoxious advertising clause".

    You mean "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software"? I think most (all?) "open source" licenses have a similar requirement. Don't confuse your dislike for Adobe with reality.

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  11. adam - overambitious? by dhbiker · · Score: 4, Funny

    from the webpage:

    The most ambitious library, Adam, stems from the intuition that the logic behind a simple human interface can be distilled to a function:

    f(x) -> x'

    Is it just me but does this not sound a little to broad a definition of a library? I mean I can write anything like this:

    My most ambitious library (The_Meaning), stems from the intuition that the logic behind the entire universe can be distilled to a function:

    f(x) -> x'

    obviously there is much work to be done on "The_Meaning" but when it is finished it will do everything (and the answer will turn out to be a disappointing 42 ;-) )

  12. 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

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

    The OpenBSD license is even shorter :

    Below is an example license to be used for new code in OpenBSD,
    modeled after the ISC license.

    It is important to specify the year of the copyright. Additional years
    should be separated by a comma, e.g.
    Copyright (c) 2003, 2004

    If you add extra text to the body of the license, be careful not to
    add further restrictions.

    /*
    * Copyright (c) CCYY YOUR NAME HERE <user@your.dom.ain>
    *
    * Permission to use, copy, modify, and distribute this software for any
    * purpose with or without fee is hereby granted, provided that the above
    * copyright notice and this permission notice appear in all copies.
    *
    * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    */
  14. MIT License by Anonymous Coward · · Score: 3, Insightful

    Haven't looked at what they've actually released, but kudos to Adobe for not creating yet another "Open Source" license like so many other companies seem to do in this situation.

  15. Where are the previous open source projects? by SimHacker · · Score: 4, Interesting
    For several years, Adobe used to have several other open source projects on their old web site, that have now been removed from their current web site, http://www.opensource.adobe.com. The missing projects include:

    Simulated Partial Specialization for non-compliant C++ compilers. Allows a user to obtain many of the benefits of partial specialization of C++ templates without direct compiler support.

    Python action plug-in for Adobe Photoshop. Allows a user to write Photoshop action plug-ins using Python. Has Python interfaces to all the actions APIs.

    Python plug-in for Adobe Illustrator. An Illustrator plug-in adapter that allows users to access the C level API from Python

    Python plug-in for Adobe After Effects. An After Effects plug-in that allows users to access the C level API from Python.

    Python module for Perforce SCM. A C coded Python module that provides access to all the calls in the Perforce source code management system SDK.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  16. Sounds like an ambitious undertaking by TeeJS · · Score: 5, Interesting
    From the article: (referring to Adam) "The code providing this functionality accounts for a third of Adobe's code base and nearly half of the bugs found during development."

    combined with: "The Eve layout engine has already saved Adobe millions of dollars in localization costs."

    Means this contibution (mainly UI work based on Boost) is a very decent contibution.

  17. Let me volunteer by Swamii · · Score: 4, Funny

    For the love of God, Cain't they find better names? Just right now, I was Abel to think of a few just off the top off my head. My mind is being Flooded with ideas for software names, in fact. Funny story, I used to Noah guy who could Babel out a hundred names on command...what a Nimrod that guy was.

    --
    Tech, life, family, faith: Give me a visit
    1. Re:Let me volunteer by Xiaran · · Score: 4, Funny

      Enoch already with the puns.

  18. Re:The GIMP by jeffy124 · · Score: 4, Funny

    shortest license I ever saw was the "Beerware" license. Went something like this:

    Copyright (c) xxxx Joe Q Programmer. Permission granted to use this thing however you want, subject to the condition that if you see me on the street, you buy me a beer.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
  19. 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.

    1. Re:Sorry, I'm an idiot. Readable version here. by pVoid · · Score: 4, Insightful
      Yeah, to quote the grandparent post nothing Boost couldn't do, rtfa:

      ASL is being developed in C++, and relies heavily on the Boost libraries http://www.boost.org/ which are required for building ASL.

      Aside from the obvious stupidity of the grandparent, I'd like to add that I'm really impressed a big player like Adobe would be using Boost and not some internally cooked up library that they try to shove on everyone else.

  20. Adobe ported Photoshop to Sun years ago by SimHacker · · Score: 3, Interesting
    I still have my original copy of Photoshop 2.5 for Sun Sparcstation (from around 1993, registration number PUW250S7100427-380), which uses the ever-popular Flex license manager.

    Adobe used the Quorum Latitude Macintosh application porting libraries to port Photoshop to Unix and X-Windows.

    The result of using a complex Mac emulation library that mapped quirky Mac toolbox calls onto the byzantine X-Windows graphics model and shoddy Motif/X Toolkit API was an absolutely horrible, ugly, buggy, unusable version of Photoshop. I could quickly cause it to core dump with three clicks of the magnifying glass tool.

    Here is a case study of porting Adobe Photoshop to Windows and Unix. It describes some of the reasons Adobe decided to use the Macapp emulation approach for Unix, instead of properly rewriting their code to be platform independent.

    Quorum had been around for a while. When I started porting SimCity to Unix in 1991, I evaluated Quarum Latitude, and decided that it was not worth using because my goal was to make a better version of SimCity than the one that ran on the Mac, not a crippled one. For example, I implemented multi-player support via multiple X11 connections to different servers at once, which would have been impossible if the program though it was running on a Macintosh.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  21. 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.

  22. Re:The GIMP by molnarcs · · Score: 4, Interesting
    Some folks misundertand parts of the reason some developers use the BSD licence: it is not just more altruistic or something, it can be more practical. I remember an outburst from an mplayer developer saying that he sees no point in the gpl, for they have no means to prevent misuse anyway. Also, once you use the GPL, you have to keep on eye on violations, you have to keep vigilant, otherwise, what's the point of using it? So, some devs think that they don't want to be concerned with possible violations, they don't recurrent themes of whether or not it is okay to write binary only drivers for the kernel because of the GPL, and so on. They want to program and that's it. This might be the spirit some refer to as "academic".

    Some developers go farther than this, and think that even the two clause BSD licence is too much legalese. Hence, code written by Poul-Henning Kamp is distributed under the beerware licence :))) (hence my reply to your post) - this is how it look like:

    * "THE BEER-WARE LICENSE" (Revision 42):
    * phkATFreeBSD.ORG wrote this file. As long as you retain this notice you
    * can do whatever you want with this stuff. If we meet some day, and you think
    * this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
    */</blockquote>
    Whether or not you agree one agrees with him (I understand the point and usefulness of the GPL very well btw) - one has to admit that sometimes this kinda licence might give more freedom not only to the user, but to the developer(s) as well in the sense that a 3rd party vendor writing a binary driver or piece of code won't cause a shitstorm on the BSD kernel mailing list (as Brandybuck put it in one of his posts:))))
  23. 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.

  24. professionals by guet · · Score: 3, Interesting

    Actually, I'd say the quality of Adobe products has declined over the last few years - they've reached that stage where they try to milk the current line for as long as possible, while adding more and more mis-features rather than listening to their customers and splitting out features into different products. Quark in its time was also an innovate company, and look what happened to them...

    Personally I find the Photoshop CS menu bar over-crowded, and the Layer Style dialog byzantine (quite apart from the fact it takes an age to open). Double clicking on stuff in the layers palette is also a bit hit and miss - click on the text and you get to edit the layer name, just off the text and it opens the layers dialog. They are suffering a little from featuritis. Compared to The GIMP of course, it's a dream to use.

    The File menu in Illustrator CS on OS X now includes the gem 'Save for Microsoft Office' which isn't in the Export menu where it belongs but at the top level - a sure sign that the marketing department has taken over, quite apart from that Online Services... stuff and the recent emphasis on copy protection.

    I don't agree that there will be no competition to them - Apple for one have the incentive and resources to create a competitor if Adobe continues their slide towards windows. Already the CS suite are pretty slow on anything but the high end hardware under OS X, because they obviously haven't optimised for UI performance on OS X. A competitor doesn't have to produce a category killer all at once; they can start small and cheap, and build up, as Adobe did with InDesign when competing with Quark. In fact on OS X 10.4, with core image, it wouldn't be too hard to produce a competing product to Photoshop Elements, and build from there.

    Having said that, yes Adobe will dominate the professional market for years to come, due to inertia if nothing else - I'm still stuck working in quark under classic for quite a few design clients, who would love to switch to InDesign but haven't yet for legacy/cost reasons : )

  25. 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?