[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

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


User jsk changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from j...@openoffice.org Mon Aug  3 11:47:51 + 
2009 ---
Locales shown, three different error conditions pop up. Verified.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-22 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from s...@openoffice.org Wed Jul 22 11:53:55 + 
2009 ---
@ab:  "I extended the functionality in Basic to also support a first context
parameter, but here it's optional" ():  For ellipsis-ctors like

  create([in] any... args)

this makes it ambiguous whether a call

  create(GetDefaultContext())

has zero args or one arg (that happens to be of type XComponentContext).

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-22 Thread atjensen
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User atjensen changed the following:

What|Old value |New value

  CC|'arielch,cornouws,sb' |'arielch,atjensen,cornouws
|  |,sb'





-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-22 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User ab changed the following:

What|Old value |New value

 Assigned to|ab|jsk





--- Additional comments from a...@openoffice.org Wed Jul 22 11:16:59 + 
2009 ---
ab->jsk: Please verify using the test macro and resources.
To make the macro run you have ot adapt aStringResourceURL
to the location where you've copied the resource files.
The program should show two message boxes both containing
the used resource langages. Below the two working calls
three different error scenarios are shown to test the er-
ror handling. Please see the comments inside the macro.


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-22 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Wed Jul 22 11:12:17 + 
2009 ---
Created an attachment (id=63686)
Macro and resource files for testing


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-22 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Wed Jul 22 11:10:33 + 
2009 ---
As in C++ the functions generated as service ctors always have a
XComponentContext as first parameter I extended the functionality
in Basic to also support a first context parameter, but here it's
optional. So the sample above could also be written:

oContext = GetDefaultContext()
oStringResource = com.sun.star.resource.StringResourceWithLocation.create _
( oContext, aURL, bReadOnly, aLocale, aBaseName, aComment, oInteractionHandler )

Of course any other valid context can also be used.


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-07-20 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User ab changed the following:

What|Old value |New value

Target milestone|OOo 3.x   |OOo 3.2





--- Additional comments from a...@openoffice.org Mon Jul 20 09:18:21 + 
2009 ---
-> OOo 3.2


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-06-04 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Thu Jun  4 07:41:48 + 
2009 ---
Moving to cws ab72


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-03-09 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Mon Mar  9 11:32:41 + 
2009 ---
Sorry, I hadn't set the corresponding data at cws ab67 so far.
Done now, Target = 3.2, cws should now be visible.


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-28 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from arie...@openoffice.org Sat Feb 28 11:22:40 
+ 2009 ---
I was going to ask the same as Cor.
Couldn't find any info on EIS (there doesn't seem to be an ab67)

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread cornouws
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from corno...@openoffice.org Sat Feb 28 07:31:06 
+ 2009 ---
Tanks!
Target = ??

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Fri Feb 27 11:22:55 + 
2009 ---
I forgot to mention that "create" of course is the ctor name specified
in the service description. If a default ctor is specified it's named
"create" in Basic automatically. The StringResourceWithLocation ctor
is named "create" in the idl anyway without beeing a default ctor.


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from f...@openoffice.org Fri Feb 27 11:21:16 + 
2009 ---
thanks for the explanation!

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from a...@openoffice.org Fri Feb 27 11:16:39 + 
2009 ---
Services now are recognized in the UNO namespace hierarchy and handled
as objects in Basic. The service ctors can be called as methods, e.g.:

oStringResource = com.sun.star.resource.StringResourceWithLocation.create _
( aURL, bReadOnly, aLocale, aBaseName, aComment, oInteractionHandler )

or

oService = com.sun.star.resource.StringResourceWithLocation
oStringResource = oService.create( aURL, bReadOnly, aLocale, aBaseName,
aComment, oInteractionHandler )


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from f...@openoffice.org Fri Feb 27 11:00:55 + 
2009 ---
> FIXED in cws ab67

Hey, that's cool!

How does it look like? I.e., which syntax needs to be used?

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2009-02-27 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User ab changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from a...@openoffice.org Fri Feb 27 10:38:53 + 
2009 ---
FIXED in cws ab67


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2008-06-15 Thread cornouws
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User cornouws changed the following:

What|Old value |New value

  CC|'arielch,sb'  |'arielch,cornouws,sb'





-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2008-06-15 Thread arielch
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User arielch changed the following:

What|Old value |New value

  CC|'sb'  |'arielch,sb'





-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2008-06-03 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User ab changed the following:

What|Old value |New value

Target milestone|OOo 3.0   |OOo 3.x





--- Additional comments from [EMAIL PROTECTED] Wed Jun  4 05:39:04 + 
2008 ---
Probably no resources left to fix for 3.0, -> 3.x


-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2007-11-15 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User ab changed the following:

What|Old value |New value

  Status|NEW   |STARTED

  Issue type|DEFECT|ENHANCEMENT

Target milestone|---   |OOo 3.0





--- Additional comments from [EMAIL PROTECTED] Thu Nov 15 11:58:19 + 
2007 ---
STARTED, 3.0, ENHANCEMENT



-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2007-11-14 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from [EMAIL PROTECTED] Wed Nov 14 10:25:27 + 
2007 ---
Sure, thanks. Seems I forgot to enter a name when submitting, so the default
owner was taken.

-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2007-11-14 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918


User npower changed the following:

What|Old value |New value

 Assigned to|npower|ab





--- Additional comments from [EMAIL PROTECTED] Wed Nov 14 10:17:24 + 
2007 ---
I guess this is meant for andreas not me ;-)

-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2007-10-30 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918





--- Additional comments from [EMAIL PROTECTED] Tue Oct 30 14:17:04 + 
2007 ---
"However, I do not know whether it is actually plan to make the ctor name
distinctive."  It is.  So please do not introduce solutions that do not mention
explicit constructor names (at least if there are two or more constructors; if
there is only one explicit constructor, or only an implicit constructor,
shortcuts that do not mention the constructor name might be feasible).

-
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]



[framework-issues] [Issue 82918] please add native support for "new"-style service constructors in Basic

2007-10-24 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82918
 Issue #|82918
 Summary|please add native support for "new"-style service cons
|tructors in Basic
   Component|framework
 Version|OOo 2.3
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|scripting
 Assigned to|npower
 Reported by|fs





--- Additional comments from [EMAIL PROTECTED] Wed Oct 24 11:15:54 + 
2007 ---
For quite a while now, we have modern facilities in UNO to create services. In
particular, there are service constructors:
  service Foo
  {
create( [in] string fromBar );
  }

There is no support for this in Basic: To instantiate the above service, you
would need to
- do a create Instance with Foo's service name
- create an array of objects with one element
- set this one element to contain fromBar's value
- call initialize on the "Foo" object previously created

This is not only cumbersome and error prone, it also exposes the fact that
service constructors are implemented using XInitialization to the user. Finally,
this is an implementation detail (which can also change over time), which the
user should not be bothered with.

The Basic language binding should support something like
  Dim foo as new com.sun.star.module.Foo
  foo.create( fromBar )
or
  Dim foo as Object
  foo = createUnoService( "com.sun.star.module.Foo", "create", fromBar )
or
  Dim foo as Object
  foo = createUnoService( "com.sun.star.module.Foo" )
  foo.create( fromBar )
or
  Dim foo as Object
  foo = createUnoServiceWithArguments( "com.sun.star.module.Foo", fromBar )
or
  Dim foo as new com.sun.star.module.Foo( fromBar )

or something like this. As you can see, I am unsure how the best syntax would
be. Personally, I'd probably prefer the last one, as it is straight-forward to
write and read, and does not separate object creation from object
initialization, this way being less error-prone.

Some of the above suggested solutions would not scale for the case that the
constructor name at some time in the future becomes a distinctive feature - at
the moment, it is not really: Currently, the implementation of the service does
not know which constructor was actually used, it only gets the arguments passed.
However, I do not know whether it is actually plan to make the ctor name
distinctive.

-
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]