Slashdot Mirror


Apple Releases Safari 1.2 and Java 1.4.2

smithk writes "Apple has released Safari 1.2 and Java 1.4.2. Panther owners only. Some new features of Safari include full keyboard access for navigation, download resume, support for LiveConnect, and support for personal certificate authentication. Also, web site compatibility has been improved." Available, as usual, via Software Update.

34 of 273 comments (clear)

  1. Don't forget PithHelmet.. by E1ven · · Score: 4, Informative

    The best utility for Safari.. Content Filtering.

    PithHelmet really is a necessary tool, for Anyone who wants to filter content, not just advertisements, but cookies, and everything.

    Version Tracker comments reveal that it does work on 1.2, but not out of the box. Just change the MaxVersion in the pList.

    Crimped from the comments there-

    If you use PithHelmet and have updated to Safari 1.2 you'll notice it doesnt work. Here is the fix that should work until PH gets a proper update.
    open /Library/Application Support/SIMBL/Plugins/
    Right click (control+click) PithHelmet.bundle and select "show package contents"
    Open the info.plist file in either BBEdit or Property List Editor if you have the dev tools installed
    Find where it says MaxSafariBundleVersion and change the value to 125
    Save and restart safari. thats it, now it works.

    If you need to install 0.7.2 fresh on a box with Safari 1.2 already on it, you'll need to do the following:

    1. Download and open the PithHelmet folder
    2. Navigate to the Packages subfolder
    3. Right-click (ctrl-click yadda yadda) the PithHelmet.pkg file and select "Show Package Contents"
    4. Navigate into the Contents/Resources subfolder
    5. Open the file InstallationCheck in a text editor (I used TextEdit)
    6. Chage the string 100 in the line:

    exit((1 6) | (1 5) | 16) if ($1 != 100);

    to 125 and save the file.
    7. Install as usual by running the regular PithHelmet.mpkg package

    --
    Colin Davis
    1. Re:Don't forget PithHelmet.. by epsilon720 · · Score: 2, Informative

      I followed the directions given here for installing PithHelmet on Safari v125. It seems to install ok, although I did end up having to use Pacifist. However, when I start Safari, it tells me that that this version of PithHelmet is untested with Safari v125 and won't run. It is installed; it shows up in the Safari preferences. It just checks the Safari version when it loads too. It seems like cool software, but I think I'll wait until they have an official patch out, unless there are any other suggestions here of what to do.

    2. Re:Don't forget PithHelmet.. by Jon+Abbott · · Score: 4, Informative

      The official release of PithHelmet now supports Safari 1.2... Download here. If you like the software, please donate to him.

    3. Re:Don't forget PithHelmet.. by bedouin · · Score: 4, Informative

      You also might want to check out Privoxy. A new version, including one for OS X was released two days ago. I've been running it on my home network ever since it replaced the Junkbuster project. Install it on one network machine (perhaps a web, or mail server) and all your network's compuers have ad/pop up filtering, plus it can do caching with Squid.

  2. Re:once again by ToddWDraper · · Score: 1, Informative

    Theree is a version available for Jaguar as well as the Panther version. Apple has cleverly hidden it on the Safari download page.

  3. Re:once again by NetJunkie · · Score: 4, Informative

    No there isn't. Look again. The only thing for 10.2 is v1.0. They even have a link to buy Panther next to the download options.

  4. resumable downloads and liveconnect!!! by johnjosephbachir · · Score: 5, Informative

    these two features have been annoyingly absent from safari since it came out and now they are finally here.

    i wonder if/when the liveconnect code will trickle back up to konqueror (or is that where it came from in the first place? does konqueror have liveconnect now?)

    1. Re:resumable downloads and liveconnect!!! by johnjosephbachir · · Score: 5, Informative

      this is LiveConnect I'm actually not totally familiar with its history but i know it's used by the Flash plugin to be able to talk to browser windows. Does anyone have any good examples of where it is useful for Java applets or anywhere else?

    2. Re:resumable downloads and liveconnect!!! by RalphBNumbers · · Score: 4, Informative

      Well, for instance, unsigned Java applets don't let you save any data on a client, but with javascript you can save cookies, so you can use this to make persistent prefrences for a java applet across sessions on the same machine via cookies.

      I have an applet I was looking at writing something along those lines for, but alot of my target users were on macs, where liveconnect support is somewhat lacking (mozilla and camino theoretically have it but it was broken on mac last time I checked, safari didn't have it 'til now, etc).

      Now that safari supports liveconnect I may actually bother adding that cookie-prefs feature.
      This is a nifty step forward.

      --
      "The worst tyrannies were the ones where a governance required its own logic on every embedded node." - Vernor Vinge
    3. Re:resumable downloads and liveconnect!!! by Anonymous Coward · · Score: 1, Informative
      LiveConnect is the only reliable way I figured out how to give a Java applet the keyboard focus on page load. It's also used commonly to control media players and flash programs from browser windows.

      It's also useful in conjunction with DHTML: I had this one applet that let you choose a particular room from a number of buildings. First, you select a building, either from a <select> or from a map (map is java applet). Then some DHTML to show the next select menu which allows you to choose a floor, or you click on the floor in a plan of the building. Finally, you select a room from the final drop-down or click on it in the architectural plan (if you know the room's rather obscure "code", you can just enter that and skip the whole process, or you look it up manually if you don't have neither Javascript/DHTML nor Java). LiveConnect was used to keep the two in sync.

      Basically, LiveConnect lets plugins (Java, Flash) call Javascript methods and vice-versa. This makes a lot of creative stuff possible - you can move some programs that you would have to code in a traditional client-side language onto the web in a reasonably portable fashion (HTML, JavaScript and Java/Flash, no ActiveX or Mozilla Chrome).

      AFAIK, Safari 1.2 is the first Mac browser since Netscape 4.7 to implement LiveConnect. LiveConnect is underutilized enough that I never really cared from a user standpoint, but was mildly annoyed from a developer standpoint.

  5. Re:once again by tyrione · · Score: 3, Informative

    That has nothing to do with Hardware requirements.

    So yes your G3 B&W will run Safari 1.2 with the current Operating System, Panther--OS X 10.3.x.

    Welcome to Reality. Safari utilizes more and more Cocoa which has been pushed into the forefront and Carbon into the recesses as it should be.

    OS X 10.4 and beyond will be even more Cocoa only.

    Run KDE 3.2 on anything less than an i686 compliant based version of Linux and guess what?

    It won't run.

    Update your Operating System.

    I hate to disappoint everyone but Apple put themselves on hold for 5 years to make Carbon run in OS X.

    But since 1997 the plan has and continues to be OS X Cocoa which will benefit everyone.

  6. Re:once again by Selecter · · Score: 4, Informative
    Dood. Your old hardware is worth anywhere from 3 to 5 X what the same PC hardware is worth. Check Ebay if you dont believe me. You can still get 300 bucks for a clean well maintained B & W G3 300. You MIGHT get 65 bucks for the closest = PC.

    Please remember this as you whine. I quit crying and started buying. It's a brave new 64 bit Mac world out there. Wait until after the next speed bump then buy yourself a Dual 1.8. By then they should be what a 1.6 Single costs today.

  7. User stylesheets by weeeeed · · Score: 5, Informative
    Well, since you are already hacking around in some files, why not just create a user style sheet? No "...series of hacks on top of Apple's WebKit framework...", just pure CSS.

    Create a css file somewhere with a text editor, put following inside (Not made by me, just found it somewhere and made some additions):
    /*
    * This file can be used to apply a style to all web pages you view
    * Rules without !important are overruled by author rules if the
    * author sets any. Rules with !important overrule author rules.
    */

    /*
    * turns off "blink" element blinking
    */
    blink { text-decoration: none ! important; }

    /*
    * hides many ads by preventing display of images that are inside
    * links when the link HREF contans certain substrings.
    */

    A:link[HREF*="ad."] IMG { display: none ! important }
    A:link[HREF*="ads."] IMG { display: none ! important }
    A:link[HREF*="/ad"] IMG { display: none ! important }
    A:link[HREF*="/A="] IMG { display: none ! important }
    A:link[HREF*="/click"] IMG { display: none ! important }
    A:link[HREF*="?click"] IMG { display: none ! important }
    A:link[HREF*="?banner"] IMG { display: none ! important }
    A:link[HREF*="=click"] IMG { display: none ! important }
    A:link[HREF*="/ar.atwo"] IMG { display: none ! important }
    A:link[HREF*="spinbox."] IMG { display: none ! important }
    A:link[HREF*="transfer.go"] IMG { display: none ! important }
    A:link[HREF*="adfarm"] IMG { display: none ! important }
    A:link[HREF*="bluestreak"] IMG { display: none ! important }
    A:link[HREF*="doubleclick"] IMG { display: none ! important }

    /* disable ad iframes */
    IFRAME[SRC*="ad."] { display: none ! important }
    IFRAME[SRC*="ads."] { display: none ! important }
    IFRAME[SRC*="/ad"] { display: none ! important }
    IFRAME[SRC*="/A="] { display: none ! important }
    IFRAME[SRC*="/click"] { display: none ! important }
    IFRAME[SRC*="?click"] { display: none ! important }
    IFRAME[SRC*="?banner"] { display: none ! important }
    IFRAME[SRC*="=click"] { display: none ! important }
    IFRAME[SRC*="/ar.atwo"] { display: none ! important }
    IFRAME[SRC*="spinbox."] { display: none ! important }
    IFRAME[SRC*="transfer.go"] { display: none ! important }
    IFRAME[SRC*="adfarm"] { display: none ! important }
    IFRAME[SRC*="bluestreak"] { display: none ! important }
    IFRAME[SRC*="doubleclick"] { display: none ! important }

    xIMG[usemap] { display: none ! important }

    /* turning some false positives back off */

    A:link[HREF*="download."] IMG { display: inline ! important }
    A:link[HREF*="click.mp3"] IMG { display: inline ! important }

    /*
    * For more examples see http://www.mozilla.org/unix/customizing.html
    */
    Add this file as your Stylesheet in safari: Preferences/Advanced/Style Sheet.... there you go...

    Most tips for the Mozilla userContent.css file work also with Safari, so search on google for userContent.css for more examples.
  8. Safari 1.2 improves image downloading a lot by GrahamCox · · Score: 5, Informative

    Apart from the fact that downloads can now be resumed, image downloads are much better. Previously, if you dragged an image from the browser to the desktop (or wherever), it would download it AGAIN. Now it simply copies the image from the cache, if it's up to date. Halve your bandwidth overnight! Also, image icons with a download in progress are no longer broken - the icon shows an animated progress bar (!) until the d/l is complete, then the proper icon shows up. The only thing missing is that the image file doesn't store a preview, so you still get the generic icon browsing downloaded images in the Open dialog.

    Still to be fixed: The annoying jumping around that happens when reloading a previously scrolled page. It should stop trying to remember the old scroll position if it receives a new scroll event for that page in the meantime.

  9. Minimum font size! by tbmaddux · · Score: 4, Informative
    You could previously set this with Safari Enhancer or by tweaking your .plist files. Then Panther took it away for a little before Hyatt brought it back. Now it is explicitly supported in Safari 1.2. Go to Preferences and choose the Advanced pane.

    Safari Enhancer of course remains a must-have app for other tweaks. I also like Safari Bookmark Exporter so I can dump my bookmarks into Camino, Mozilla, and Firebird - speaking of which, where the hell is my 0.8?

    --
    Can't you see that everyone is buying station wagons?
  10. Re:Still no navigation via contexual menu by TitanBL · · Score: 4, Informative

    I go back and forth thru pages and tabs, open and close tabs, using Cocoa Gestures. Check it out.

  11. Re:once again by hayds · · Score: 1, Informative
    Have you used Panther?? If you have you should know to just plonk down the cash and stop complaining.

    Being able to use the latest Safari isnt the only advantage you know. Its faster, has way more useful features, works WAY better in mixed environments, and its reasonably priced. In short, its well worth the money.

    Obviously if you are using hardware that is so old that its not supported you're SOL. But in that case from what Ive heard you're better off sticking with OS9 anyway because OSX runs like a pig.

  12. No concurrent http connection limit by joni · · Score: 5, Informative

    The most notable change for me was the removal of the stupid four concurrent http connections limit. If you had four files downloading all you web browsing would just stop until one of the downloads finished.

    Now that limit is gone. I just tried adding huge list of files for download and opened multiple tabs and everything worked beautifully. Also it's great to be able to resume failed downloads, no need for third party download managers anymore.

  13. Delete.. by CoolMoDee · · Score: 4, Informative
    Can anyone enlighten me on the advantages of always having to mouse to the upper left-hand corner to go to the previous page?
    If you press "delete" it will go back to the previous page. I couldn't live without it...
    --
    Jisho - A Japanese English German Russian French Dictionary for the rest of us.
    1. Re:Delete.. by Anonymous Coward · · Score: 2, Informative

      Or apple and the left/right cursors for back/fwd

      its not fucking rocket science

  14. Re:Tabbing through form elements by therevolution · · Score: 4, Informative

    System Preferences -> Keyboard and Mouse -> Keyboard Shortcuts. Check "Turn on full keyboard access." Enjoy.

  15. Re:Middle Button doesn't open Tabs by Llywelyn · · Score: 2, Informative

    Still works here. I've had no problems with it.

    --
    Integrate Keynote and LaTeX
  16. Re:changes to KHTML? by Meowing · · Score: 5, Informative

    Yes, they're sticking to their promises. You can get the source to WebCore v125 from this page.

  17. Re:once again by Anonymous Coward · · Score: 5, Informative

    The wrapping of ObjC to Carbon and vice versa is analogous to the Java Bridge between ObjC and Java NeXT developed during the WebObjects transition from ObjC to Java.
    Cocoa and Carbon both sit on top of CoreFoundation and ApplicationServices. They are not wrapped to each other, they just use the same frameworks.

    The decision to focus ObjC on the desktop and not on the AppServer has been one that bit Apple in the ass and they know it.
    What?

    The advantages were removed from their products.
    Like... ??? At best it took Carbon a while to support services. Apple directly says not to use PDO; to use Apple Events or sockets instead.

    MVC Paradigm is at the very core of OS X. Linking to MachO was necessary because the OS was slow when all the Carbon/BlueBox/Classic layers were added.
    Eh? Mach supports host OSes. BSD is one of them; Mac OS 9 is another. Carbon is just an API, not a layer. MVC is a development style, not something core to Cocoa.

    Over time you will see OS X improve due to more Cocoa integration (new Finder being one example) and moreso. The latest Dev examples should show you how much the underpinnings of Cocoa are in Carbon now.
    Now you're talking out of your ass. The new Finder is not new, it's just got a stupid textured window. It's still written in PowerPlant. It is not linked to Cocoa at all.

    % otool -L /System/Library/CoreServices/Finder.app/Contents/M acOS/Finder | grep /Cocoa.framework
    % otool -L /System/Library/CoreServices/Finder.app/Contents/M acOS/Finder | grep /AppKit.framework
    % otool -L /System/Library/CoreServices/Finder.app/Contents/M acOS/Finder | grep /Foundation.framework
    % otool -L /System/Library/CoreServices/Finder.app/Contents/M acOS/Finder | grep /PowerPlant.framework
    /System/Library/PrivateFrameworks/PowerPlant.frame work/Versions/A/PowerPlant (compatibility version 1.0.0, current version 76.0.0)
    % otool -L /System/Library/CoreServices/Finder.app/Contents/M acOS/Finder | grep Carbon.framework
    /System/Library/Frameworks/Carbon.framework/Versio ns/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
    % otool -L

    Carbon's an API from the original Mac OS that was first modernized to be re-entrant. Then Apple started adding features to an API that the old management team declared dead since Taligent began, and continued with OpenDoc/ODF.

    POSIX Compliance is necessary if one wants to work within the Federal Markets. And that's smart since the Feds have deep pocketbooks.
    No, POSIX is necessary because no one is going to use your non-Unix if it isn't compatible with POSIX (non-POSIX == not Unix). Even Linux implements POSIX. BSD 4.4 Lite and NeXT did not. NeXT didn't support it because they didn't have the money or the time. Hell, it had cthreads instead of pthreads, which every other OS implements. Do you expect anyone to write custom threading code for Mac OS X?

    There are now two major OSes on the planent. Win32 and POSIX. It would be stupid for Apple to not implement POSIX.

    The corporations who whined won back in 1998--Adobe, Microsoft, Quark, Macromedia and a few others demanded Carbon.
    No, Carbon (a procedural API) wasn't part of Rhapsody because Gill Amelio was an idiot. Porting from one object oriented framework (say, MFC) to another (say, Java or Cocoa) is, as Steve Jobs described it, like climbing down one 10 story building and climbing up another for everything you need to implement. Porting from one OOP framework and implementing it on another platform requires implementing the backend of the framework on the other OS (sa

  18. Re:Damnit. When will we get ... by Chucker23N · · Score: 2, Informative

    Safari is not open source. The backend is. OMNIweb, based off the same backend, features sessions.

  19. Re:If please, one developer can tell? by Anonymous Coward · · Score: 2, Informative
    The Framework relies on text features (shadowing for example but that's a simple example) that are not available in Jaguar. While they could either add those feature to Jaguar or write workarounds that would exclude requests for them both of those option produce fragile code and a less than optimal user experience for Jaguar and Panther users.

    They are not just trying to make a buck. Panther has major text handling improvements.

  20. Re:If please, one developer can tell? by Lizard_King · · Score: 2, Informative

    Wrong.

    http://www.apple.com/safari/download/

    Requirements for Safari 1.2:

    Mac OS X 10.3 or later
    Any Macintosh computer

    --
    "My mother never saw the irony in calling me a son-of-a-bitch." - Jack Nicholson
  21. OmniWeb 5.0 Public Beta by jjc2222 · · Score: 5, Informative

    For people interested in an alternative to Safari, the Omni Group just released the first public beta of OmniWeb 5.0. It has some cool new features including a particularly nice tabs implementation, a (IMHO) more flexible interpretation of Apple's SnapBack, and site-specific preferences.

    I don't mean to sound like an advertisement, and to be sure, OmniWeb has its quirks, but I thought I'd throw it out there.

    Here is a link.

  22. Re:Damnit. When will we get ... [WORKAROUND] by danigiri · · Score: 3, Informative
    Yeah, I agree with you on this front.

    In the meantime, you can use this simple AppleScript to solve your woes.

    DaNi++

  23. Re:X11 and Jaguar by LochNess · · Score: 2, Informative

    The X11 you could download for Jaguar was a BETA, and was never intended to be production-quality.

    Also, Apple never promised that the finished version would work on Jaguar.

  24. Re:Damnit. When will we get ... by Anonymous Coward · · Score: 1, Informative

    Use pith:

    (this is different from pithhelmet). It allows you to quit safari, and when you relaunch you get all your tabs/windows back. It also does the same if safari quits on it's own. I wish he kept updating it.

    v

  25. Re:once again by Anonymous Coward · · Score: 1, Informative

    Thanks for that. I was going to pipe up with it myself. Amelio and Anderson deserve credit for that one, with judicious asset sales and the convertible debenture issue. They raised a lot of cash. Plus, Amelio may not have been much of a programmer, but he was an Accomplished EE (from Georgia Tech). Supposedly he made a ton of money on patents for VCR components he designed.

  26. Re:Speed increase by OneOver137 · · Score: 4, Informative

    I noticed Safari has been crashing much more frequently under 10.3.2 than 10.3.1 so I was eager to upgrade to see if they fixed something. So far, so good. No crashes.

  27. Re:If please, one developer can tell? by Anonymous Coward · · Score: 1, Informative

    Framework can't be updated too?

    In a word, no.

    The web frameworks have dependencies on many other system frameworks, and if Apple back-ported all of those changes to Jaguar, then it would be Panther.