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

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

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

  8. 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
  9. 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 ;-) )

  10. 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.
    */
  11. 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
  12. 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.

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

  14. 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.
  15. 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.

  16. 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:))))