[Libreoffice-qa] Newbie question: old version of Java for LO 3.3 regression testing?

2018-02-26 Thread Ted Lee

Hi,

This is very definitely a newbie question.  I think I've found a bug, 
possibly two, in both 5.4.5 and 6.0.1.1.  Up to this point I've been 
using NeoOffice and decided to switch over to LibreOffice, so I have no 
experience with previous versions. Anyway, I know I owe it to the 
community to see if the bug is present in the legacy code from OO.  So I 
have downloaded LibreOffice 3.3 but it doesn't seem to like the JRE on 
my system (which seems to be OK for 5.4.5 and 6.0.1.1).  Soo... how 
do I find a MacOS version of JRE that should work with LO 3.3?  Yes, 
Java does seem to be needed for the feature that exhibits the bug(s).


Yes, I've searched the LibreOffice QA pages and not found the answer.

Running High Sierra, MacOS 10.13.3

--
Ted Lee

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Newbie question

2014-05-20 Thread Mukhiddin

Hello,

I have recently committed my first patches for te bug 43157. These were 
my first experience in open source programming, so I chose easy task. 
Then I gor review saying that the workben submodule files where I made 
change are not built. I also noticed that. I waned to know how can I 
respond to the review.


Thank you!
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Newbie question

2014-05-20 Thread Christian Lohmaier
Hi Mukhiddin,

On Tue, May 20, 2014 at 11:12 AM, Mukhiddin ymukhid...@gmail.com wrote:
 Hello,

 I have recently committed my first patches for te bug 43157. These were my
 first experience in open source programming, so I chose easy task. Then I
 gor review saying that the workben submodule files where I made change are
 not built. I also noticed that. I waned to know how can I respond to the
 review.

When you are logged-in to gerrit, you will get a Reply button at the
top, above the commit-message.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Newbie question

2014-05-20 Thread yusupmuk
Thank you!



--
View this message in context: 
http://nabble.documentfoundation.org/Newbie-question-tp4109464p4109483.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Newbie question: git push

2012-01-08 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

This is a newbie question: I have commit A and commit B, with A and B
totally independent, and A was committed before B in my local copy.

I want to push B to the repository.

How can it be done?

Thanks
- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPCYeLAAoJEJp3R7nH3vLxVLwH/RywdBxEuaa7WqY2Fho4avqV
IGVLohZKLuDKEyTiG/llnUC/jkhGs+JoD4miQmNsPH933ZWQN+tgtDxiU2HYPRUl
NIKzrsqjW08yh5+tWdszdwdeSV6g1uSZQV4OiSlp4ID6YFV1lwjPJSJlb0eXnXBX
0YuDov7hrX7ZWKhV3e+anz4CWSnVEYE2py0BhWQqR39Hk0w6gGeIOXBjlqN68eoh
4zO1cpce+7tNNBRhwSFG+38j0y6e5YDgc7HPpYhqyY6XnQq3QJ65V4sxOStm+5Wr
WbjyUNaXj7CU2OjFpf5AZxcaqhIjRun7Hp3Iq7GGcmWsdDRfEQQYfyQVN186ss4=
=d2wH
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Matúš Kukan
On 8 January 2012 13:09, Olivier Hallot
olivier.hal...@documentfoundation.org wrote:
 This is a newbie question: I have commit A and commit B, with A and B
 totally independent, and A was committed before B in my local copy.

 I want to push B to the repository.

 How can it be done?

Assuming you don't have any uncommited changes, you can do:
git format-patch HEAD~2
git reset --hard HEAD~2
git am 0002-commit-B-you-want-to-push
git push
then you can also
git am 0001-commit-A

HTH,

Matus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Norbert Thiebaud
There are multiple ways, here are two

Let's assume that your tree looks like

* --- /origin/master
|
* --- commit A
|
* --- commit B : HEAD

let's say that sha-A is the sha of commit A and sha-B is the sha1 of commit B

1/
You can swap the 2 commits with git-rebase -i

git rebase -i origin/master
then swap the 2 lines in the editor that pop-up and save.
that should rewrite the commits in the order B,A

at this point is it wise to rebase the whole things so that you can push

git pull -r

Now you want to save the corrent head:
git branch save HEAD

move master one up:
git reset --hard master HEAD^

now your  master is on B
you can push it
git push

and finally restore you master to A (the saved point)

git reset --hard save

we don't need the save branch anymore

git branch -d save

2/
you can play with branches and cherry pick to achieve the same


save our branch and our 2 commits
git branch save master

'rollback A and B on master'
git reset --hard origin/master

Now cherry pick B
git cherry-pick save

push it
git push

cherry pick A
git cherry-pick save^

now master is back to having both commit in reverse order and B  is pushed

we don't need the 'save' branch anymore

git branch -D save


Norbert

PS: you can do a gitk --all before all of the and keep it open, and
File/Update after each step to visualize what is happening...
Note that the second scenario can completely be done with gitk user interface
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Newbie question: i18n numeric formats

2011-11-22 Thread Olivier Hallot

Hi

I was looking into

http://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/pt_BR.xml

and I found that the number of pre-defined numeric formats could be 
improved to handle telephone number, postal codes, social security 
numbers, and other locale numeric formats.


My question is: is it OK that I patch the xml file with these new fomats?

Thanks

--
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: i18n numeric formats

2011-11-22 Thread Eike Rathke
Hi Olivier,

On Tuesday, 2011-11-22 16:23:50 -0200, Olivier Hallot wrote:

 I found that the number of pre-defined numeric formats could be
 improved to handle telephone number, postal codes, social security
 numbers, and other locale numeric formats.
 
 My question is: is it OK that I patch the xml file with these new fomats?

hmm.. well, yes, but.. ;-) it depends on what you want to achieve.

For one, numeric input is limited to 15 digits, more digits are
converted to scientific format and lose precision.

Second, for example, a format code of 00-000-000 will display the number
12345678 as 12-345-678, so if the user sees such values in a column and
wants to add a value or replace an existing one he might key in
12-345-678 that would result in a string instead of a number,
effectively leading to a mix of numbers and strings. Number format codes
are not input masks.

Third, the actual cell content does not preserve leading zeros while the
format may leave the impression it would. If that number was used as
a key to lookup items that had this key stored as strings with leading
zeros there would be no match.

I might have forgotten something.

Anyway, you'd probably want to decide on a case by case basis, YMMV.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgp2Ra9L3FVG1.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-22 Thread Tor Lillqvist
I build LO on Windows Server 2008R2 (i.e. the server version of Windows 7, 
64-bit). I have the Windows SDK 7.0 installed in its default location(s), i.e. 
in C:\Program Files\Microsoft SDKs\Windows\v7.0 *and* C:\Program Files 
(x86)\Microsoft SDKs\Windows\v7.0A , with some overlap, partly same files in 
both locations.

(Yeah, seems a bit weird to me, too, but as far as I can recall it is not 
myself who have done any weird choice here.)

Anyway, from the config.log I see that it is the first one that is found and 
that gets used. If I run ./oowintool --windows-sdk-home it outputs 
/cygdrive/C/Program Files/Microsoft SDKs/Windows/v7.0 .

--tml


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-22 Thread Caolán McNamara
On Mon, 2011-08-22 at 02:11 -0600, Tor Lillqvist wrote:
 I build LO on Windows Server 2008R2 (i.e. the server version of Windows
  7, 64-bit). I have the Windows SDK 7.0 installed in its default
  location(s), i.e. in C:\Program Files\Microsoft SDKs\Windows\v7.0
  *and* C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A , with some
  overlap, partly same files in both locations.
 
 (Yeah, seems a bit weird to me, too, but as far as I can recall it is
  not myself who have done any weird choice here.)

I had difficulties on a fresh install of all the recommended things.

Attached was my hack-around fix for the problem I had, which might be
the same fundamental problem.

C.
diff --git a/configure.in b/configure.in
index 536ca8b..fd23669 100755
--- a/configure.in
+++ b/configure.in
@@ -6341,6 +6341,16 @@ if test $_os = WINNT; then
 if test -n $WINDOWS_SDK_HOME; then
 WINDOWS_SDK_HOME=`cygpath -d $WINDOWS_SDK_HOME`
 WINDOWS_SDK_HOME=`cygpath -u $WINDOWS_SDK_HOME`
+
+#If this sdk is incomplete, lets see if the one
+#recommended to be installed is available
+if test ! -x $WINDOWS_SDK_HOME/bin/msiinfo.exe; then
+WINDOWS_SDK7_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/v7.1/InstallationFolder 2 /dev/null | tr '\000' '\n' | head -n 1`
+if test -n $WINDOWS_SDK7_HOME; then
+WINDOWS_SDK_HOME=`cygpath -d $WINDOWS_SDK7_HOME`
+WINDOWS_SDK_HOME=`cygpath -u $WINDOWS_SDK_HOME`
+fi
+fi
 fi
 else
 WINDOWS_SDK_HOME=`cygpath -u $with_windows_sdk_home`
@@ -6385,14 +6395,15 @@ the  Windows SDK are installed.])
 fi
 fi
 
+
 if test -z $WINDOWS_SDK_HOME; then
 AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
+elif echo $WINDOWS_SDK_HOME | grep v7 /dev/null 2/dev/null; then
+AC_MSG_RESULT([found Windows SDK 7 ($WINDOWS_SDK_HOME)])
 elif echo $WINDOWS_SDK_HOME | grep v6.1 /dev/null 2/dev/null; then
 AC_MSG_RESULT([found Windows SDK 6.1 ($WINDOWS_SDK_HOME)])
 elif echo $WINDOWS_SDK_HOME | grep v6.0 /dev/null 2/dev/null; then
 AC_MSG_RESULT([found Windows SDK 6.0 ($WINDOWS_SDK_HOME)])
-elif echo $WINDOWS_SDK_HOME | grep v7 /dev/null 2/dev/null; then
-AC_MSG_RESULT([found Windows SDK 7 ($WINDOWS_SDK_HOME)])
 else
 AC_MSG_ERROR([Found legacy Windows Platform SDK ($WINDOWS_SDK_HOME)])
 fi
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-22 Thread Tor Lillqvist
 Attached was my hack-around fix for the problem I had, which might be
 the same fundamental problem.

Hmm, I know you say it's just a hack-around, but in general, I am not sure I 
like the idea of doing similar stuff as oowintool does (i.e. read the Registry 
through its Cygwin /proc/registry pathnames) in configure.in. (Yeah, I see that 
we already do that in one place...)

I wonder if we should just move the oowintool code into configure.in? Sure, 
oowintool is Perl and configure.in is shell, but oowintool isn't that extremely 
perlish Perl, it would be relatively simple to implement its logic in shell 
code instead.

That would keep all business logic related to compiler and SDK selection in 
one place. If we want to get fancy, one could even write a library of Autoconf 
macros for this;) An Easy Hack?

--tml


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-22 Thread Michael Meeks
On Mon, 2011-08-22 at 03:46 -0600, Tor Lillqvist wrote:
 I wonder if we should just move the oowintool code into configure.in?
 Sure, oowintool is Perl and configure.in is shell, but oowintool isn't
 that extremely perlish Perl, it would be relatively simple to
 implement its logic in shell code instead.

Cue language war ;-) personally I'd hate that, and having the tool
standalone perhaps helps some quick debugging without re-autogenning
etc. And of course truly-system-independent-non-bash shell is
susbtantially uglier than perl but ... win32 is your world of course :-)

ATB,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-19 Thread Michael Meeks

On Thu, 2011-08-18 at 22:58 +0200, Jesús Corrius wrote:
 The SDK is usually automatically found through the oowintool utility.

And of course improvements to oowintool much appreciated - for a start
we should put our license header on it I guess - it was not a Sun /
Oracle tool.

ATB,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-19 Thread Olivier Hallot
Thanks guys

I ran oowintool and it gave me (in cygwin), (Windows7 64 bits under a
VirtualBox 4.1 VM).

Olivier@Olivier-ntbk ~/libo
$ ./oowintool --windows-sdk-home
/cygdrive/C/Program Files/Microsoft SDKs/Windows/v6.0A

Then I peeked at this directory:

Olivier@Olivier-ntbk ~/libo
$ ls -al /cygdrive/C/Program\ Files/Microsoft\ SDKs/Windows/v6.0A/
total 456
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 14:48 .
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 15:15 ..
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 14:48 Include
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 14:48 Lib
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 14:48 bin

but, but, but... I get this in autogen.sh:

checking for Windows SDK... configure: error: Some (all) files of the
Windows Installer SDK are missing, please install.

There is another SDK in (note the x86):

Olivier@Olivier-ntbk ~/libo
$ ls -al /cygdrive/C/Program\ Files\ \(x86\)/Microsoft\ SDKs/Windows/
total 0
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 15:09 .
drwx--+ 1 SYSTEM SISTEMA 0 Aug  4 22:49 ..
drwx--+ 1 SYSTEM SISTEMA 0 Aug 17 15:09 v6.0A
drwx--+ 1 SYSTEM SISTEMA 0 Aug  4 22:50 v7.0A

I am puzzled! Can Libo be built in a 64bit OS? Should I move to W7 or XP 32
bits?

Thanks again

Olivier

2011/8/19 Michael Meeks michael.me...@novell.com


 On Thu, 2011-08-18 at 22:58 +0200, Jesús Corrius wrote:
  The SDK is usually automatically found through the oowintool utility.

 And of course improvements to oowintool much appreciated - for a
 start
 we should put our license header on it I guess - it was not a Sun /
 Oracle tool.

ATB,

Michael.

 --
  michael.me...@novell.com  , Pseudo Engineer, itinerant idiot





-- 
Olivier Hallot
Founder and Steering Commitee Member
The Document Foundation
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Newbie question: Windows SDK exact path

2011-08-18 Thread Olivier Hallot
Hi
I am trying to build under windows 7 64Bits. I have installed Microsoft
Windows SDK, but autogen is not able to find it no matter the trials I made.

So can someone tell me what is the exact path to pass to
--with-windows-sdk-home?

The SDK is in 2 places:

C:\Program Files (x86)\Microsoft SDKs

C:\Program Files\Microsoft SDKs

Which one is the good one?

Thanks

-- 
Olivier Hallot
Founder and Steering Commitee Member
The Document Foundation
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Newbie question: Windows SDK exact path

2011-08-18 Thread Jesús Corrius
On Thu, Aug 18, 2011 at 10:34 PM, Olivier Hallot
olivier.hal...@documentfoundation.org wrote:
 Hi
 I am trying to build under windows 7 64Bits. I have installed Microsoft
 Windows SDK, but autogen is not able to find it no matter the trials I made.

 So can someone tell me what is the exact path to pass to
 --with-windows-sdk-home?

 The SDK is in 2 places:

 C:\Program Files (x86)\Microsoft SDKs

 C:\Program Files\Microsoft SDKs

 Which one is the good one?

The SDK is usually automatically found through the oowintool utility.
In the cases where it is not found the problem is usually because the
tool finds the SDK installed by your compiler, which is very
incomplete and misses some of the required components. The safe bet is
to install the same Microsoft SDK version as the one incompletely
provided by your compiler (6.0A for Visual Studio 2008, if I remember
well)

The configure script looks for certain files inside those directories,
so I guess the problem is that does files don't exist (probably
because you did not install some required optional component):

Lib/libcp.lib
Include/adoint.h
Include/SqlUcode.h
Include/usp10.h
lib/user32.lib
bin/msiinfo.exe
bin/msidb.exe
bin/uuidgen.exe
bin/msitran.exe

Last but not least, it's also possible that the newest Microsoft SDK
has some changes that requires that we update our detection.

Hope that helps a bit :)

-- 
Jesús Corrius je...@softcatala.org
Document Foundation founding member
Mobile: +34 661 11 38 26
Skype: jcorrius | Twitter: @jcorrius
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice