Closed Bug 291564 Opened 20 years ago Closed 20 years ago

Show XULRunner version and help info in Windows release builds

Categories

(Toolkit Graveyard :: XULRunner, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

Attachments

(1 file)

Show XULRunner version and help info in Windows release builds

Since we don't have a console in release builds under Windows, I think it'd be
nice if we still showed the user (in this case the developer /me hopes) the
version and help info as well as some error messages pertaining to
application.ini parsing.
Attached patch v1 patchSplinter Review
This patch makes it so that we use MessageBox on Windows when MOZ_WINCONSOLE is
false.	I thought about launching a DOS console (via AllocConsole), but I think
I prefer MessageBox.
Attachment #181603 - Flags: first-review?(benjamin)
Severity: normal → enhancement
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta2
how about reusing ShowOSAlert? that has code for non-windows platforms too, and
seems to be used in toolkit/xre already.
(In reply to comment #2)
> how about reusing ShowOSAlert? that has code for non-windows platforms too, and
> seems to be used in toolkit/xre already.

No, this message is intended for developers.  On unix systems, dumping to the
console seems most appropriate and far more convenient than showing a popup
dialog.  I think developers on unix systems will appreciate being able to do:

  bash$ ver=($(xulrunner -v 2>&1))
  bash$ build_id=${ver[3]}

and fun things like that :)
Comment on attachment 181603 [details] [diff] [review]
v1 patch

Don't checkin the __asm break-on-load bits. And remove the XXXlocalizable
comment, it's unnecessary and would be very complicated to implement.
Attachment #181603 - Flags: first-review?(benjamin) → first-review+
Thanks, I did not mean to include the __asm bits.
Comment on attachment 181603 [details] [diff] [review]
v1 patch

This patch is XULRunner only.
Attachment #181603 - Flags: approval1.8b2?
Comment on attachment 181603 [details] [diff] [review]
v1 patch

a=chofmann
Attachment #181603 - Flags: approval1.8b2? → approval1.8b2+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: