Closed Bug 281375 Opened 20 years ago Closed 20 years ago

[BEOS] Implement toolkit/xre and xpfe/bootstrap native app support

Categories

(SeaMonkey :: General, defect, P2)

x86
BeOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: thesuckiestemail, Assigned: thesuckiestemail)

References

Details

Attachments

(3 files, 6 obsolete files)

User-Agent: Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.8b) Gecko/20050202 Firefox/1.0+ Build Identifier: BeOS is currently contaminating nsAppRunner with code that should live in the nativeAppSupport. Nobody wants that and moving it to where it belongs help me do a lot of clever stuff (TM). I will provide patches for this shortly. Reproducible: Always
Status: NEW → ASSIGNED
Assignee: general → thesuckiestemail
Status: ASSIGNED → NEW
Blocks: 129411
Blocks: 266252
Attached patch Untested patch for xpfe/bootstrap, see comment. (obsolete) (deleted) — Splinter Review
This is the changes I had in mind for Mozilla. It's not tested since my Mozilla quits in nsAppStartup->doProfileSomething (with or without this patch). So I'm going to get a new tree, which is about time anyway.
Seems to work fine.
Attachment #173788 - Attachment is obsolete: true
Attached file The nsNativeAppSupportBeOS.cpp needed for toolkit/xre (obsolete) (deleted) —
Comment on attachment 173982 [details] [diff] [review] Removes BeOS code from nsAppRunner and puts it in nsAppSupportBeOS (toolkit and xpfe) r?
Attachment #173982 - Flags: review?(sergei_d)
Attachment #173983 - Flags: review?(sergei_d)
Attached patch Separating xpfe and toolkit - this is xpfe (obsolete) (deleted) — Splinter Review
multidir patch was hard to apply because of same filenames.
Attachment #173982 - Attachment is obsolete: true
Attached patch Same for toolkit/xre (deleted) — Splinter Review
Comment on attachment 173982 [details] [diff] [review] Removes BeOS code from nsAppRunner and puts it in nsAppSupportBeOS (toolkit and xpfe) no need to review this one.
Attachment #173982 - Flags: review?(sergei_d)
Attachment #174101 - Flags: review?(sergei_d)
Attachment #174102 - Flags: review?(sergei_d)
per attachment https://bugzilla.mozilla.org/attachment.cgi?id=174101 Code functionality is ok, but i prefer we use this case to unify nsNativeSupportBeOS.cpp style In some places ident is 2 spaces, in some - 3, in some - 4. also there is mix of foo { } and foo { } and also mix of styles for logical expressions in if and for and so on. sometimes it is if (foo) sometimes if( foo ).
about Firefox patch. Same notices as for Mozilla. And one additional thing i'm unsure about - in Makefile you use test for (*TOOLKIT, beos) but in past i got notices that i should use test for OS instead.
Comment on attachment 173983 [details] The nsNativeAppSupportBeOS.cpp needed for toolkit/xre patch will get review after reformatting
Attachment #173983 - Flags: review?(sergei_d) → review-
Comment on attachment 174101 [details] [diff] [review] Separating xpfe and toolkit - this is xpfe patch will get review after reformatting
Attachment #174101 - Flags: review?(sergei_d) → review-
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre patch will get review after reformatting
Attachment #174102 - Flags: review?(sergei_d) → review-
Attached patch Tried to clean up formatting (deleted) — Splinter Review
Cleaned up patch, not tested though as I currently only have Firefox-tree. Should be ok though.
Attachment #174101 - Attachment is obsolete: true
Attachment #175032 - Flags: review?(sergei_d)
Attached file nsNativeAppSupportBeOS.cpp for xre (obsolete) (deleted) —
cleaned up.
Attachment #173983 - Attachment is obsolete: true
Attachment #175035 - Flags: review?(sergei_d)
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre This one is ok I think, conforming to others in Makefile.in
Attachment #174102 - Flags: review- → review?(sergei_d)
Comment on attachment 175035 [details] nsNativeAppSupportBeOS.cpp for xre r=sergei_d
Attachment #175035 - Flags: review?(sergei_d) → review+
Comment on attachment 175032 [details] [diff] [review] Tried to clean up formatting r=sergei_d
Attachment #175032 - Flags: review?(sergei_d) → review+
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre r=sergei_d
Attachment #174102 - Flags: review?(sergei_d) → review+
Comment on attachment 175032 [details] [diff] [review] Tried to clean up formatting Could you sr (and maybe commit) the xpfe changes?
Attachment #175032 - Flags: superreview?(timeless)
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre As this one touches nsAppRunner and Makefile.in I'm asking for sr. (I guess nsNativeAppSupportBeOS.cpp is ok as is.)
Attachment #174102 - Flags: superreview?(benjamin)
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre no sr needed for port-specific code if it is reviewed by the proper owner.
Attachment #174102 - Flags: superreview?(benjamin)
Comment on attachment 175032 [details] [diff] [review] Tried to clean up formatting sr? (also need someone to check this in)
Attachment #175032 - Flags: superreview?(timeless) → superreview?(neil.parkwaycc.co.uk)
Attachment #175032 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre r? (moves out BeOS code from nsAppRunner and to new nsNativeAppSupportBeOS.cpp)
Attachment #174102 - Flags: review+ → review?(bryner)
Attachment #174102 - Flags: review?(bryner) → review+
Need a checkin, tried asking on CVS which only resulted in some unwarrented stupid remarks. Anyway, all files should have been reviewed properly (nsNativeAppSupportBeOS is BeOS only). It's a high priority for me as it hinders me from reworking nsToolkit/nsAppShell to work better for embedding and to allow better integration with OS (NativeAppSupport).
Status: NEW → ASSIGNED
Priority: -- → P2
"tried asking on CVS" Do you mean IRC? #developers channel?
Comment on attachment 175035 [details] nsNativeAppSupportBeOS.cpp for xre i was about to check this in, but i read this file and suspect that this block is wrong, i'd rather someone clear it up before i commit: > * The Original Code is Mozilla Communicator client code. > * > * The Initial Developer of the Original Code is > * Netscape Communications Corporation. > * Portions created by the Initial Developer are Copyright (C) 1998 > * the Initial Developer. All Rights Reserved. > * > * Contributor(s): > * Fredrik Holmqvist <thesuckiestemail@yahoo.se>
Hmm, I can't see what's wrong. The toolkit/xre file is rewritten with only nsApprunner code in it, so I didn't bother to move over the author from xpfe/bootstrap if you meant that. Sergei, yes I meant IRC.
Tqh, I guess you should check the legal status of the nsNativeAppSupportBeOS.cpp file. As it wasn't in the original Netscape suite, it should have a different license header. I don't know which one, you can contact the Mozilla Drivers for that.
Attached file Updated license header (obsolete) (deleted) —
Attachment #178256 - Attachment is patch: false
Attachment #178256 - Attachment is obsolete: true
Update license header
Attachment #175035 - Attachment is obsolete: true
ah, good.
Attachment #178257 - Flags: review?(bryner)
Comment on attachment 178257 [details] Updated license header. nsNativeAppSupportBeOS.cpp for toolkit/xre Changing reviewer, r?darin@meer.net Note, This is a BeOS-specific file, so I don't expect a code review, but approval of CVS-header and that file can be added to CVS.
Attachment #178257 - Flags: review?(bryner) → review?(darin)
Attachment #178257 - Flags: review?(darin) → review+
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre Requesting approval for all patches (naturally).
Attachment #174102 - Flags: approval-aviary1.1a?
Attachment #175032 - Flags: approval-aviary1.1a?
Attachment #178257 - Flags: approval-aviary1.1a?
Comment on attachment 174102 [details] [diff] [review] Same for toolkit/xre a=asa
Attachment #174102 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Comment on attachment 175032 [details] [diff] [review] Tried to clean up formatting a=asa
Comment on attachment 178257 [details] Updated license header. nsNativeAppSupportBeOS.cpp for toolkit/xre a=asa
Attachment #178257 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Checked in by timeless
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Excellent. Thanks Niels for getting the last hurdles out of the way. And timeless for having time for the BeOS-port..
Comment on attachment 175032 [details] [diff] [review] Tried to clean up formatting a=asa
Attachment #175032 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: