[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-08-08 Thread kr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Mon Aug  8 01:16:49 -0700 
2005 ---
The OOo command line argument interpretation/evaluation is obviously not
optimal. Unfortunately, the CLI interpretation is architected in a way, that it
is not knowable beforehand (e.g. during startup), if an argument is valid or
not. But anyway, please write separate bugs for the issues found.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-08-07 Thread cyb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Sun Aug  7 11:38:46 -0700 
2005 ---
it now looks like there is much more to do about option-functionality for OOo
executed from the console.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-08-05 Thread damirperisa
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Fri Aug  5 10:06:19 -0700 
2005 ---
hi all,  
 
i was searching for a -v output too ... the idea behind is to give out ONLY 
the version and not the whole help of soffice binary.  
 
if you do  
 
[EMAIL PROTECTED] ~]$ /opt/openoffice2/program/soffice -h 
 
you will get the whole help output. it is also strange that if you use an 
unknown argument, then soffice starts directly instead of outputting the help. 
i know that if the argument is not recognised, it is interpreted as filename 
to open. theoretically it should be that every argument starting with - 
should be interperted as command line option and not filename ... i tried 
first to run 
 
[EMAIL PROTECTED] ~]$ /opt/openoffice2/program/soffice --help  
 
but this was interperted as --help filename that do not exist. ... it should 
fall back to -h if the argument is not known. but this is another thing (maybe 
i should open a bug on this wrong behaviour) ...  
 
i wanted soffice to return directly only the version and used this workaround: 
 
[EMAIL PROTECTED] ~]$ /opt/openoffice2/program/soffice -h 21 | grep Build 
OpenOffice.org 1.9.122  680m122(Build:8941) 
  
as you can see, it works fine, but this should - in my eyes - be built-in the 
binary itself. so ideally it shoulud behave like this: 
 
[EMAIL PROTECTED] ~]$ /opt/openoffice2/program/soffice -v 
OpenOffice.org 1.9.122  680m122(Build:8941) 
 
== please reopen this bug 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-27 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494


User sw changed the following:

  What|Old value |New value

Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Wed Jul 27 02:38:40 -0700 
2005 ---
no further remarks = closed

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-11 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494


User sw changed the following:

  What|Old value |New value

Status|UNCONFIRMED   |RESOLVED

Resolution|  |WONTFIX





--- Additional comments from [EMAIL PROTECTED] Mon Jul 11 04:35:23 -0700 
2005 ---
resetting state

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-06 Thread as
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Tue Jul  5 23:36:10 -0700 
2005 ---
Hi wsp!

 not mandatory, soffice as a UNIX program must have it.
No ... it's not a must. It's usual style doing so. And further there is no rule 
or 
format, which describes how a version info must be shown.

Here some examples:
-
uname --version:
uname (coreutils) 5.2.1
Written by David MacKenzie.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

-
kwrite --version
Qt: 3.3.3
KDE: 3.3.0
KWrite: 4.3

-
mozilla --version
Mozilla 1.7.2, Copyright (c) 2003-2004 mozilla.org, build 2004090600

E.g. for kwrite you will have problems if you try to extract the version number 
from 
the output. I guess you will get the version of QT instead of kwrite. And 
further e.g. 
mozilla needs a X Display. Otherwhise no information is shown !

-
To make it short. The only possible solutions for this bug are:

a) Use the informations provided by the OS depending package manager (as e.g. 
apt, rpm, msi database etcpp) ...

b) Parse the bootstraprc from the office to find out the major/minor/patch info.
(e.g. 645m52) ...

c) Use soffice --help (as it shows any version number, which should be good 
enough to be interpreted by humans not programs but is not guaranteed as a 
stable feature) ...

or d) point us to a RFE or specification, which describes the format and rules 
around versions, so we can implement it.

Last but not least: I'm pretty sure that there is no way to guarantee that a 
shown 
version number can be used directly as a part of an URL to be able to download 
the 
right update. That would require a framework, where web servers / mirrors / 
developers / vendors work together. And especialy on OOo I dont see that 
currently.

BTW: Please accept the shown solutions a-c) or came back with any informations 
regarding to d).

Regards
Andreas

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-06 Thread as
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Tue Jul  5 23:47:52 -0700 
2005 ---
Hi cyb!

 Anyway, if such an enhancement would be made - and I think it would be a very
 useful one - it would be nice to be able to get the implementation exposed as
 an API object, so that API developers can get the version number as well
 (without needing to run ./soffice -v in the shell).

This discussion was done some times before on OOo. There wont be any support 
for versions on the API. The API itself is stable and you have to check if an 
interface is supported by the created API object before you use it. So you dont 
need any version information.

An example:
The implementation of css.frame.Frame got's a new interface named css.util.
XCloseable. It must be used instead of XComponent.dispose() ... if it exists.

XCloseable xClose = (XCloseable)UnoRuntime.queryInterface(
  XCloseable.class,
  xFrame);
if (xClose != null)
xClose.close(false);
else
{
XComponent xDispose = (XComponent)UnoRuntime.queryInterface(
  XComponent.class,
  xFrame);
   if (xDispose != null)
 xDispose.dispose();
  else
 throw Exception(cant close.);
}

In this case the version of the office doesnt help you. Because it's possible 
to move 
the new implementation of css.frame.Frame to an older version ! That's possible 
because it's an UNO component, which can be applied to any office version ... 
where it finds the right environment.

So the version of an office cant be applied to the interface of an API object. 
You 
can extend the office with any UNO component you like and it's not related to 
the 
version of the office.

Regards
Andreas

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-05 Thread kr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Tue Jul  5 00:26:42 -0700 
2005 ---
Wolfgang,

supporting a --version is AFAIK only to be interpreted by humans and not
mandatory. If you have any pointers to any standards requiring it, please
provide these. Obviously these standards would also need to define the
formatting, to enable applications to provide a stable and common interface.

As OOo is a bundle of packages, of which many are optional and depending on the
brand and distribution, just taking the bundles version number for updating to
the latest version is IMO wrong. The right way is, to ensure all latest packages
to be installed. This works via the version recorded in the packages (names). 

OOos development is continuing and it will eventually become a bundle of UNO
components, not necessarily delivering an soffice.bin executable anymore, but
relying on the uno executeable instead. This means, that there will not even
be a place anymore, where we could place the bundles version number.

My Linux box just says:
[EMAIL PROTECTED] uname -a
Linux localhost 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux

Trying another box gives:
localhost /home/kr uname -a
Linux localhost 2.4.27 #16 SMP Tue Oct 19 14:04:28 CEST 2004 i686 unknown

so, what versions of Linux do I have here ? And what do I have to upgrade to? 
:-)


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-05 Thread cyb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Tue Jul  5 03:50:32 -0700 
2005 ---
kr: It is quite a problem to manage OOo, but shouldn't we have a central place
in the build process where the version gets brandmarked (somewhere)? UNO is
yet another thing which should also get its own version number. Customized
builds like those of Debian, Novell Ximian etc. would just give it their own
version number.

Would it really be that hard to implement -v (--version)? Easiest would be to
simply have a text file coming along with OOo containing the version number.

Anyway, if such an enhancement would be made - and I think it would be a very
useful one - it would be nice to be able to get the implementation exposed as an
API object, so that API developers can get the version number as well (without
needing to run ./soffice -v in the shell).




-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-05 Thread wsp
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Tue Jul  5 15:03:40 -0700 
2005 ---
Hi kr, hi cyb   
not mandatory soffice as a UNIX program must have it. Each of them deliver   
this command line info (some hacker and m$ don't use it)   
   
You are right: 1.6.1  OR  1.9.m113 are the IDs of the _bundle_ soffice
soofice is the 'front end'. This
IDs are used as IDs for distribution (look on a mirror for OOo) and to announce 
   
a new release of the 'bundle' (a salesmen cannot sell without saying 'New   
version xx'). Developers have for each part a own release-id. 
And, please not a new invention: We need simply the id usable to get the new 
release without manually editing the URL.   
   
cyb's brandmarked is for my English a good apt quotation.  
  
And, look on the response soffice -h: The first line tells 1.9.113,  
inconsistent is the missing 1.4.1 (writes '645m52') 
  
Sorry for the stress: I should reduce the output using:
[EMAIL PROTECTED] ~]$ uname -r  #not -a = all  
2.6.11.10-ARCH
and your box says then 2.6.11-1 and 2.4.27 (hmm, is this a REF to my 'very 
oldest UNIX/Linux boc'?
   

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-04 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494


User sw changed the following:

  What|Old value |New value

CC|''|'as'

Status|UNCONFIRMED   |RESOLVED

Resolution|  |WONTFIX





--- Additional comments from [EMAIL PROTECTED] Mon Jul  4 01:14:53 -0700 
2005 ---
The office doesn't have a version and so the script can't produce anything
sensible for a -v switch. Only the bootstraprc contains and entry buildid
but this information isn't reliable and could change with every office version 
built

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-04 Thread wsp
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494


User wsp changed the following:

  What|Old value |New value

Status|RESOLVED  |UNCONFIRMED

Resolution|WONTFIX   |





--- Additional comments from [EMAIL PROTECTED] Mon Jul  4 05:50:03 -0700 
2005 ---
The office doesn't have a version   
If there is a QA then there is a version-ID and OO has QA, therefore as a UNIX  
program must support this request.  
My OOo 1.6.1 has as id '645m52' and my Developer Snapshot has id 1.9.m113.  
1.6.1 is an usual version id, the snapshot has an unusual 'm' in it. Both IDs  
are usable.  
soffix -v seen as UNIX-Program has to return this IDs.  
  
PS: Have learned, this should be done by 'framework'  

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-04 Thread kr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Mon Jul  4 08:57:36 -0700 
2005 ---
Hi wsp, there is currently no concept of a version number in OOo. So, it is
hard to supply that info :-(. You may want to compare this to not having a
version number of your Linux (SuSE vs. RedHat vs. Debian  vs. etc.). 

OOo can and actually gets build in various brands and flavors, e.g.
- StarOffice
- StarSuite
- Sun's OOo build
- Debian's OOo build
- Novells OOo build 

etc.

So, before digging any deeper, what for is the version number needed you are
asking for? Could you provide a pointer to the auto-update tool, which seems
to need it? Thanks.

Kay



-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 51494] wanted: soffice -v or --v ersion responds with version-id

2005-07-04 Thread wsp
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51494





--- Additional comments from [EMAIL PROTECTED] Mon Jul  4 10:52:19 -0700 
2005 ---
Hi Kay 
there is currently no concept of a version number in OOo 
and the sales people is proud to announce version 2.0. Not really :-)) 
 
So, it is hard to supply that info :-(.  
Not sooo hard, look on the OOo Download pages and the Id used for a particular 
release. That is ALL we need: e.g. 1.6.1  OR  1.9.m113 
 
type (using SW, not m$):  
[EMAIL PROTECTED] boot]# uname -a  
Linux logoM 2.6.11.10-ARCH #1 SMP Mon May 16 14:58:59 PDT 2005 i686 Mobile  
Intel(R) Pentium(R) 4 - M CPU 2.00GHz GenuineIntel GNU/Linux  
The very oldest UNIX/Linux box will respond :-))  
  
The brand is not really important, we talk about a given system to upgrade,  
therefore the naming for this brand is known: On a web server / mirror only a 
small part of a URL is changing, e.g. the current 1.9.m113 changes to 1.9.m114. 
This part can be substituted and 30 min later you may working and testing with 
a new release. 
 
My update tool asks after login the mirror for his version and compares this 
with my current version and -if higher- installs it automatically. 
BTW my ARCH Linux has this feature, most days programs are updated, only for 
OOo I use the earliest mirror with my own program. 
 
Maybe you should discus this item with a unix-speaking friend, it is easy for 
him. The effort needed to organize the -v option is about 15 minutes, because 
the infrastructure is here and the id is known during preparing a release. 
 
Wolfgang 
 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]