Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Installation - Mac OS X
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christian  
View profile  
 More options Sep 24, 12:42 am
Newsgroups: mozilla.dev.apps.firefox
From: Christian <linde...@gmail.com>
Date: Wed, 23 Sep 2009 21:42:25 -0700 (PDT)
Local: Thurs, Sep 24 2009 12:42 am
Subject: Installation - Mac OS X
I'm interested in building in the installation magic explained here <
http://limi.net/articles/firefox-mac-installation-experience-revisited/
> but, to be frank, I'm at a loss where to start and how to proceed.

For example, would it be best to work with the mozilla-central or
mozilla-1.9.2 trees mentioned here?  < https://developer.mozilla.org/en/Mozilla_Source_Code_(Mercurial)


And when I have something useful, what's the best way to submit a
diff?

I'm an absolute novice with the Moz source, both technically and
politically.  As such, would be be generally acceptable to be 100%
Cocoa for this action, or does the UI need to be presented in XUL?

-Christian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Beltzner  
View profile  
 More options Sep 24, 1:27 am
Newsgroups: mozilla.dev.apps.firefox
From: Mike Beltzner <beltz...@mozilla.com>
Date: Thu, 24 Sep 2009 01:27:38 -0400
Local: Thurs, Sep 24 2009 1:27 am
Subject: Re: Installation - Mac OS X
On 2009-09-24, at 12:42 AM, Christian wrote:

> I'm interested in building in the installation magic explained here <
> http://limi.net/articles/firefox-mac-installation-experience-
> revisited/
>> but, to be frank, I'm at a loss where to start and how to proceed.
> For example, would it be best to work with the mozilla-central or
> mozilla-1.9.2 trees mentioned here?  < https://developer.mozilla.org/en/Mozilla_Source_Code_(Mercurial)

Please start with the mozilla-central tree; all changes start there  
and then move to the branches if they're considered safe and stable  
and wanted for a release vehicle. If you want some help in getting  
started, feel free to poke your head into #fx-team or #developers on irc.mozilla.org

> And when I have something useful, what's the best way to submit a
> diff?

Through Bugzilla; file a bug proposing the change you're describing  
and attach the patch. Looks like you've found the documentation for  
writing patches, but again, feel free to get in touch here or on IRC.  
We love to help people who are helping! :)

> I'm an absolute novice with the Moz source, both technically and
> politically.  As such, would be be generally acceptable to be 100%
> Cocoa for this action, or does the UI need to be presented in XUL?

100% Cocoa is fine, I think, as this is the OSX-only installer.

cheers,
mike


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Axel Hecht  
View profile  
 More options Sep 24, 4:08 am
Newsgroups: mozilla.dev.apps.firefox
From: Axel Hecht <l...@mozilla.com>
Date: Thu, 24 Sep 2009 10:08:08 +0200
Local: Thurs, Sep 24 2009 4:08 am
Subject: Re: Installation - Mac OS X
On 24.09.09 07:27, Mike Beltzner wrote:

With a nit, the OS/X intl procedures are not supported. All localizable
strings should be in one of these file formats:

inc (set of #defines)
properties (utf-8 encoded, otherwise what java does)
dtd (as in xml)
ini (our variant, aka, as simple as it gets)

Whatever you do may require preprocessing at build time for each locale,
but shouldn't require recompiling any binaries.

Feel free to CC me on the bug once you filed one.

Axel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Markus Stange  
View profile  
 More options Sep 24, 4:09 am
Newsgroups: mozilla.dev.apps.firefox
From: Markus Stange <msta...@themasta.com>
Date: Thu, 24 Sep 2009 20:09:40 +1200
Local: Thurs, Sep 24 2009 4:09 am
Subject: Re: Installation - Mac OS X
Hi Christian,

I think nsAppRunner.cpp [1] is a good place to start. You probably need
to add the call to your code somewhere in that file.

Most of the Cocoa-specific code lives in widget/src/cocoa, so if you
need to add new files for your installer magic, placing them there is
probably a good idea.

100% Cocoa is the way to go.

Have fun,

Markus

[1]
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Markus Stange  
View profile  
 More options Sep 24, 4:13 am
Newsgroups: mozilla.dev.apps.firefox
From: Markus Stange <msta...@themasta.com>
Date: Thu, 24 Sep 2009 20:13:11 +1200
Local: Thurs, Sep 24 2009 4:13 am
Subject: Re: Installation - Mac OS X
On 24.09.09 20:08, Axel Hecht wrote:

> On 24.09.09 07:27, Mike Beltzner wrote:
>> 100% Cocoa is fine, I think, as this is the OSX-only installer.

> With a nit, the OS/X intl procedures are not supported. All localizable
> strings should be in one of these file formats:

> inc (set of #defines)
> properties (utf-8 encoded, otherwise what java does)
> dtd (as in xml)
> ini (our variant, aka, as simple as it gets)

In bug 456646 I'm using a property file to localize the Cocoa print
dialog. Christian, if you want to see how I'm doing it, look for
"printdialog.properties" in the patch.

Markus


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Latko  
View profile  
 More options Sep 24, 3:24 pm
Newsgroups: mozilla.dev.apps.firefox
From: Chris Latko <ch...@latko.org>
Date: Thu, 24 Sep 2009 12:24:08 -0700 (PDT)
Local: Thurs, Sep 24 2009 3:24 pm
Subject: Re: Installation - Mac OS X
I'm going to take a crack at this as well. I have experience with the
codebase and have been doing OS X optimizations at http://www.latko.org/downloads/.
I'm currently on a nasty project, but should be able to get started
this weekend...

On Sep 24, 12:42 am, Christian <linde...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
beltz...@mozilla.com  
View profile  
 More options Sep 24, 3:51 pm
Newsgroups: mozilla.dev.apps.firefox
From: beltz...@mozilla.com
Date: Thu, 24 Sep 2009 12:51:13 -0700 (PDT)
Local: Thurs, Sep 24 2009 3:51 pm
Subject: Re: Installation - Mac OS X
I strongly encourage you to file bugs and share the numbers here so  
you can collaborate. I'm really encouraged and impressed with your  
zeal and enthusiasm!

cheers,
mike

On 2009-09-24, at 3:25 PM, Chris Latko <ch...@latko.org> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian  
View profile  
 More options Sep 24, 4:39 pm
Newsgroups: mozilla.dev.apps.firefox
From: Christian <linde...@gmail.com>
Date: Thu, 24 Sep 2009 13:39:46 -0700 (PDT)
Local: Thurs, Sep 24 2009 4:39 pm
Subject: Re: Installation - Mac OS X
You seem like you might be in a better position to get started that I
am.  I'm still working through the Netscape/ns-vs-NextStep/NS naming.

That said, since this can (will) be Cocoa/Mac OS X-only it's mostly a
matter of finding the proper place to shim in.  There seem to be a few
places that are likely culprits in nsAppRunner.cpp and
MacLaunchHelper.mm.

I've noticed that the first time Firefox gets launched from a new
location, it launches twice; spinning itself off.  Subsequent launches
are "normal" in that the binary only gets run once.  Can anyone
enlighten me on what's going on there/where to look at that
functionality?  It seems an obvious opportunity to copy the
application if it's going to get re-launched anyway.  I'm having no
luck finding that mechanism so far (is that the purpose of both
'firefox' and 'firefox-bin' in the app bundle?) but I'll keep digging.

-Christian

On Sep 24, 2:24 pm, Chris Latko <ch...@latko.org> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ted Mielczarek  
View profile  
 More options Sep 29, 9:41 am
Newsgroups: mozilla.dev.apps.firefox
From: Ted Mielczarek <ted.mielcza...@gmail.com>
Date: Tue, 29 Sep 2009 06:41:19 -0700 (PDT)
Local: Tues, Sep 29 2009 9:41 am
Subject: Re: Installation - Mac OS X
On Sep 24, 4:39 pm, Christian <linde...@gmail.com> wrote:

Sometimes (related to various complicated things), the app will do
some setup and then restart itself. You don't really need to know the
technical details, but that's all basically handled in
nsAppRunner.cpp, and the actual restart logic is here:
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner...

Note that this can be after the app has run, since that same code path
is used if you click "restart firefox" from the add-ons manager, for
example.

You can probably get away with putting this logic pretty close to the
top of XRE_Main. It's a long and ugly function, but since a) you are
only using platform-native methods, likely, and b) you really would
like to do this as early as possible, it makes sense.

-Ted


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Limi  
View profile  
 More options Nov 10, 4:23 pm
Newsgroups: mozilla.dev.apps.firefox
From: Alexander Limi <l...@mozilla.com>
Date: Tue, 10 Nov 2009 13:23:40 -0800
Local: Tues, Nov 10 2009 4:23 pm
Subject: Re: Installation - Mac OS X
Hi Christian & Chris,

We're in the process of ramping up for Firefox 3.7, and one of the things
we're considering landing is an improved Firefox 3.7 installer for the Mac.

Did any of you make any progress on this so far? :)

--
Alexander Limi · Firefox User Experience · http://limi.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Limi  
View profile  
 More options Nov 10, 5:39 pm
Newsgroups: mozilla.dev.apps.firefox
From: Alexander Limi <l...@mozilla.com>
Date: Tue, 10 Nov 2009 14:39:26 -0800
Local: Tues, Nov 10 2009 5:39 pm
Subject: Re: Installation - Mac OS X
irc.mozilla.org, #fx-team. :)

--
Alexander Limi · Firefox User Experience · http://limi.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google