Re: [tdf-discuss] how change macro security level?

2011-09-08 Thread Caolán McNamara
On Mon, 2011-08-29 at 12:55 -0400, Terrence Enger wrote:
 On Mon, 2011-08-29 at 09:00 +0100, Caolán McNamara wrote:
  On Sun, 2011-08-28 at 07:34 -0400, Terrence Enger wrote:
   The remaining questions are ... Does anybody else share the
   problem of the ineffective MacroSecurity... button? 
  
  No, works fine here.
  
   Does anybody care?
  
  Sure, but it works for me.
 
 Thank you.
 
 I shall relax about the issue until I know more.

Its because of your --disable-mozilla. The relevant macro security
dialog code is included in a library only built and installed when moz
is included. Fixed this now in master to always include the dialog.

C.


-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [tdf-discuss] how change macro security level?

2011-09-08 Thread Terrence Enger
On Thu, 2011-09-08 at 09:35 +0100, Caolán McNamara wrote:
 On Mon, 2011-08-29 at 12:55 -0400, Terrence Enger wrote:
  On Mon, 2011-08-29 at 09:00 +0100, Caolán McNamara wrote:
   On Sun, 2011-08-28 at 07:34 -0400, Terrence Enger wrote:
The remaining questions are ... Does anybody else share the
problem of the ineffective MacroSecurity... button? 
   
   No, works fine here.
   
Does anybody care?
   
   Sure, but it works for me.
  
  Thank you.
  
  I shall relax about the issue until I know more.
 
 Its because of your --disable-mozilla. The relevant macro security
 dialog code is included in a library only built and installed when moz
 is included. Fixed this now in master to always include the dialog.
 

Thank you, Caolán.  That is awsome.

Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-29 Thread Caolán McNamara
On Sun, 2011-08-28 at 07:34 -0400, Terrence Enger wrote:
 The remaining questions are ... Does anybody else share the
 problem of the ineffective MacroSecurity... button? 

No, works fine here.

 Does anybody care?

Sure, but it works for me.

C.


-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-29 Thread Terrence Enger
On Sun, 2011-08-28 at 14:40 +0200, Johnny Rosenberg wrote:
 
 I don't know if it's mentioned already, in that case I just missed it,
 or if it's even relevant, but what Java are you running?
 From the LibreOffice home page:
 ”If you run Linux, the GCJ Java variant has known issues with
 LibreOffice, we advise to e.g. use OpenJDK instead.”

You got me excited by saying java:  I know that Base uses
java, and I have a mystery with Base.  But, I see that my
system already has OpenJDK Runtime Environment (IcedTea6
1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1).

Thank you for the suggestion.
Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-29 Thread Terrence Enger
On Mon, 2011-08-29 at 09:00 +0100, Caolán McNamara wrote:
 On Sun, 2011-08-28 at 07:34 -0400, Terrence Enger wrote:
  The remaining questions are ... Does anybody else share the
  problem of the ineffective MacroSecurity... button? 
 
 No, works fine here.
 
  Does anybody care?
 
 Sure, but it works for me.

Thank you.

I shall relax about the issue until I know more.

Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-28 Thread Terrence Enger
On Fri, 2011-08-26 at 13:08 -0400, Terrence Enger wrote:
 [snip]
 
 Meanwhile, looking under Tools  Options  LibreOffice 
 Paths, I see that my local builds put things under
 ~/.config/libreoffice, and sure enough there is
 ~/.config/libreoffice/3/user/registrymodifications.xcu.  I
 shall go try that.

That file lacked the entry for MacroSecurityLevel.  Adding
it changed the program behaviour, but not for the better.
And then the program wiped out the entry.

Better news: In the build from aa51fd4-4eb4f62-260b7c1, the
program allows execution for a new module.  The build from
c305fc3 is not quite so cooperative: bug 40420 SIGSEGV,
basicbox.cxx:544
https://bugs.freedesktop.org/show_bug.cgi?id=40420.

So, I have what I need for my own playing around.  Thank
you, Regina, for your pointers.

The remaining questions are ... Does anybody else share the
problem of the ineffective MacroSecurity... button?  Does
anybody care?

Thanks,
Terry,



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-28 Thread Johnny Rosenberg
2011/8/28 Terrence Enger ten...@iseries-guru.com:
 On Fri, 2011-08-26 at 13:08 -0400, Terrence Enger wrote:
 [snip]

 Meanwhile, looking under Tools  Options  LibreOffice 
 Paths, I see that my local builds put things under
 ~/.config/libreoffice, and sure enough there is
 ~/.config/libreoffice/3/user/registrymodifications.xcu.  I
 shall go try that.

 That file lacked the entry for MacroSecurityLevel.  Adding
 it changed the program behaviour, but not for the better.
 And then the program wiped out the entry.

 Better news: In the build from aa51fd4-4eb4f62-260b7c1, the
 program allows execution for a new module.  The build from
 c305fc3 is not quite so cooperative: bug 40420 SIGSEGV,
 basicbox.cxx:544
 https://bugs.freedesktop.org/show_bug.cgi?id=40420.

 So, I have what I need for my own playing around.  Thank
 you, Regina, for your pointers.

 The remaining questions are ... Does anybody else share the
 problem of the ineffective MacroSecurity... button?  Does
 anybody care?

 Thanks,
 Terry,

I don't know if it's mentioned already, in that case I just missed it,
or if it's even relevant, but what Java are you running?
From the LibreOffice home page:
”If you run Linux, the GCJ Java variant has known issues with
LibreOffice, we advise to e.g. use OpenJDK instead.”


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ

-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Cor Nouws

Terrence Enger wrote (25-08-11 17:35)

In general, IMO if you build and test on the master, best for questions
is IRC #libreoffice-dev.


Is that easier for the experts?  My experience on the dev
and discuss lists is that the response time is at least as
fast as I would hope for, and faster by far than I can act
on the answersgrin attitude=wry /.


Oh yes, the dev list is OK too, but discuss@ for build issues ... ;-)

--
 - Cor
 - http://nl.libreoffice.org


--
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Terrence Enger
On Wed, 2011-08-24 at 14:43 +0200, Cor Nouws wrote:
 [snip]
 
 In the build from master (Build ID: 117281b-4eb4f62-260b7c1), on Ubuntu 
 too, that I have, Macro security works fine.
 
 No idea if the problem is a local one (your build) an older or newer 
 version than I have, or...

Around 19:22 UTC yesterday I did `git pull`, and the build
just finished.  My autogen.lastrun contains ...
--with-linked-git=/home/terry/lo_hacking/git/libo/clone
--with-external-tar=/home/terry/lo_hacking/git/libo/src
--disable-mozilla
--enable-symbols
--enable-dbgutil
--enable-crashdump
--disable-build-mozilla
--without-junit
and the program identifies itself in the About dialog as ...
LibreOffice 3.5.0 
Build ID: c305f3c-4eb4f62-260b7c1

The button MacroSecurity... still fails to bring up the
dialog that I expect.

Suggestions welcome.

Thanks,
Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Regina Henschel

Hi Terrence,

Terrence Enger schrieb:

On Wed, 2011-08-24 at 14:43 +0200, Cor Nouws wrote:

[snip]

In the build from master (Build ID: 117281b-4eb4f62-260b7c1), on Ubuntu
too, that I have, Macro security works fine.

No idea if the problem is a local one (your build) an older or newer
version than I have, or...


Around 19:22 UTC yesterday I did `git pull`, and the build
just finished.  My autogen.lastrun contains ...
 --with-linked-git=/home/terry/lo_hacking/git/libo/clone
 --with-external-tar=/home/terry/lo_hacking/git/libo/src
 --disable-mozilla
 --enable-symbols
 --enable-dbgutil
 --enable-crashdump
 --disable-build-mozilla
 --without-junit
and the program identifies itself in the About dialog as ...
 LibreOffice 3.5.0
 Build ID: c305f3c-4eb4f62-260b7c1

The button MacroSecurity... still fails to bring up the
dialog that I expect.


I don't know, why it fails, likely a problem with Java. But if you need 
macros, you can set the value directly. Make a backup of your 
registrymodificaitions.xcu. Then edit it. In path 
/org.openoffice.Office.Common/Security/Scripting set property 
MacroSecrityLevel to 1, that is medium, which means, that you are prompt.


Kind regards
Regina

--
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Terrence Enger
On Fri, 2011-08-26 at 14:54 +0200, Regina Henschel wrote:
 [snip]
 
 I don't know, why it fails, likely a problem with Java. But if you need 
 macros, you can set the value directly. Make a backup of your 
 registrymodificaitions.xcu.

I do not find that file anywhere in my working directory.
Do you mean the one that I see in ~/.libreoffice/3/user/?
Something else?

 Then edit it. In path 
 /org.openoffice.Office.Common/Security/Scripting set property 
 MacroSecrityLevel to 1, that is medium, which means, that you are prompt.

Thanks,
Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Regina Henschel

Hi Terrence,

Terrence Enger schrieb:

On Fri, 2011-08-26 at 14:54 +0200, Regina Henschel wrote:

[snip]

I don't know, why it fails, likely a problem with Java. But if you need
macros, you can set the value directly. Make a backup of your
registrymodificaitions.xcu.


I do not find that file anywhere in my working directory.
Do you mean the one that I see in ~/.libreoffice/3/user/?
Something else?


I forgot, you are on Linux. Yes I mean the file in your user directory. 
How is its name for you?


Kind regards
Regina

--
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-26 Thread Terrence Enger
On Fri, 2011-08-26 at 16:39 +0200, Regina Henschel wrote:
 [snip]
 
 I forgot, you are on Linux. Yes I mean the file in your user directory. 
 How is its name for you?

I have found 
$ ls -l ~/.libreoffice/3/user/registrymodifications.xcu
-rw--- 1 terry terry 157661 2011-08-26 11:17 
/home/terry/.libreoffice/3/user/registrymodifications.xcu
but I came up empty on both of
$ find /home/terry/lo_hacking/git/libo -name registrymodificaitions.xcu
$ find /home/terry/lo_hacking/git/libo_20110825 -name 
registrymodificaitions.xcu
the latter directory being where I rebuilt yesterday
following the instruction under Multiple Work Dirs in
http://wiki.documentfoundation.org/Development/How_to_build.

And I changed that file, but LibreOffice as received with
ubuntu-natty still shows High under Tools  Options 
LibreOffice  Security  MacroSecurity...  Security Level.
I must have done something wrong.


Meanwhile, looking under Tools  Options  LibreOffice 
Paths, I see that my local builds put things under
~/.config/libreoffice, and sure enough there is
~/.config/libreoffice/3/user/registrymodifications.xcu.  I
shall go try that.

( I did look at the paths options before, but was put off by
the fact that none of the paths seemed obviously relevant to
security. )

Thanks,
Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-25 Thread Terrence Enger
On Wed, 2011-08-24 at 14:43 +0200, Cor Nouws wrote:
 [snip}
 
 In the build from master (Build ID: 117281b-4eb4f62-260b7c1), on Ubuntu 
 too, that I have, Macro security works fine.
 
 No idea if the problem is a local one (your build) an older or newer 
 version than I have, or...

Your version is newer, if I am interpreting aright the
output from git.

I guess I shall try to pull and build.  The dev list has
announced patches to the build process, so I hope to have
less trouble than last time.

 
 In general, IMO if you build and test on the master, best for questions 
 is IRC #libreoffice-dev.

Is that easier for the experts?  My experience on the dev
and discuss lists is that the response time is at least as
fast as I would hope for, and faster by far than I can act
on the answers grin attitude=wry /.

Thanks,
Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


[tdf-discuss] how change macro security level?

2011-08-24 Thread Terrence Enger
Greetings,

I find that I am unable to run macros: the dialog box
presented by Tools  Options  LibreOffice  Security offers
a button labelled Macro Security..., and the button
responds to a mouse click by showing itself depressed and
taking focus, but that is all that happens.  In particular,
this does not call up the dialog box that I expected.

Is there something I need to know about macro security?
OTOH, am I alone in this situation?

I am on ubuntu-natty (11.04), running a local build from
master, commit id aa51fd4; my autogen options are ...
--disable-mozilla
--enable-symbols
--enable-dbgutil
--enable-crashdump
--disable-build-mozilla
--without-junit

Thank you, all, for your attention.

Terry.



-- 
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [tdf-discuss] how change macro security level?

2011-08-24 Thread Cor Nouws

Hi Terry,

Terrence Enger wrote (24-08-11 14:25)


taking focus, but that is all that happens.  In particular,
this does not call up the dialog box that I expected.

Is there something I need to know about macro security?
OTOH, am I alone in this situation?

I am on ubuntu-natty (11.04), running a local build from
master, commit id aa51fd4; my autogen options are ...


In the build from master (Build ID: 117281b-4eb4f62-260b7c1), on Ubuntu 
too, that I have, Macro security works fine.


No idea if the problem is a local one (your build) an older or newer 
version than I have, or...


In general, IMO if you build and test on the master, best for questions 
is IRC #libreoffice-dev.


Cheers,

--
 - Cor
 - http://nl.libreoffice.org


--
Unsubscribe instructions: E-mail to discuss+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted