Re: svn commit: r1439359 - /openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx

2013-01-28 Thread Neil
Unsubscribe


On Jan 28, 2013, at 5:13 AM, h...@apache.org wrote:

 Author: hdu
 Date: Mon Jan 28 12:13:41 2013
 New Revision: 1439359
 
 URL: http://svn.apache.org/viewvc?rev=1439359view=rev
 Log:
 #i121534# fix graphite-enabled windows build
 
 Modified:
openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx
 
 Modified: openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx
 URL: 
 http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx?rev=1439359r1=1439358r2=1439359view=diff
 ==
 --- openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx (original)
 +++ openoffice/trunk/main/vcl/win/source/gdi/winlayout.cxx Mon Jan 28 
 12:13:41 2013
 @@ -2937,7 +2937,7 @@ void  GraphiteWinLayout::AdjustLayout(Im
 void GraphiteWinLayout::DrawText(SalGraphics sal_graphics) const
 {
 HFONT hOrigFont = DisableFontScaling();
 -HDC aHDC = static_castWinSalGraphics(sal_graphics).mhDC;
 +const HDC aHDC = static_castWinSalGraphics(sal_graphics).getHDC();
 maImpl.DrawBase() = WinLayout::maDrawBase;
 maImpl.DrawOffset() = WinLayout::maDrawOffset;
 const int MAX_GLYPHS = 2;
 @@ -2956,7 +2956,7 @@ void GraphiteWinLayout::DrawText(SalGrap
 NULL, (LPCWSTR)(glyphWStr), nGlyphs, NULL);
 } while (nGlyphs);
 if( hOrigFont )
 -  DeleteFont( SelectFont( mhDC, hOrigFont ) );
 +  DeleteFont( SelectFont( aHDC, hOrigFont ) );
 }
 
 int GraphiteWinLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int 
 nFactor ) const
 @@ -3017,7 +3017,7 @@ SalLayout* WinSalGraphics::GetTextLayout
 {
 #ifdef ENABLE_GRAPHITE
 if (rFontFace.SupportsGraphite())
 -pWinLayout = new GraphiteWinLayout(mhDC, rFontFace, 
 rFontInstance);
 +pWinLayout = new GraphiteWinLayout( getHDC(), rFontFace, 
 rFontInstance);
 else
 #endif // ENABLE_GRAPHITE
 // script complexity is determined in upper layers
 @@ -3044,7 +3044,7 @@ SalLayout* WinSalGraphics::GetTextLayout
 eCharSet = mpLogFont-lfCharSet;
 #ifdef ENABLE_GRAPHITE
 if (rFontFace.SupportsGraphite())
 -pWinLayout = new GraphiteWinLayout(mhDC, rFontFace, 
 rFontInstance);
 +pWinLayout = new GraphiteWinLayout( getHDC(), rFontFace, 
 rFontInstance);
 else
 #endif // ENABLE_GRAPHITE
 pWinLayout = new SimpleWinLayout( getHDC(), eCharSet, rFontFace, 
 rFontInstance );
 
 



Re: Error while trying to build from svn checkout

2013-01-28 Thread Herbert Duerr

On 27.01.2013 23:20, Michael Lam wrote:

Thanks, I did give that a try and it still didn't work properly. I
decided to remove the existing copy and do a clean checkout. I am
running into a different issue.

checking if hash_map will be in __gnu_cxx namespace... configure: error:
Can't find hash_map. Try with --with-stlport

I get the above when running configure. This is on revision 1439200.

At some point in the past I did build successfully, I still have that
copy running on my machine.

Any ideas?


As suggested please add the option --with-stlport when doing the 
configure step (unless you are experimenting with alternative standard 
template libraries).


Herbert



Re: Error Building module hsqldb - Installation Source Code in AOO

2013-01-28 Thread Herbert Duerr

On 27.01.2013 20:52, Michael Lam wrote:

I had the same issue but it was due to JDK7, I switch and it is working
but I have a question about how the java libraries are included. As
mentioned by Kay, the current version of hsqldb is quite old. The latest
is 2.2.9 and the same goes for Lucene the included version is 2.x
whereas the latest is 4.1. How come the jar is being created as part of
the build process instead of just pulling a prebuild version?


I know nothing about these modules except what I just saw while peeking 
at http://svn.apache.org/repos/asf/openoffice/trunk/main/hsqldb/patches/


The patch files there seem to fix some general bugs seen in OpenOffice 
that may or may not have been fixed by upstream hsqldb. Investigating 
this, updating to a newer release of hsqldb and testing it might be a 
worthwhile task. Are you interested?


For reference the bugs fixed by the patches mentioned above where:
https://issues.apache.org/ooo/show_bug.cgi?id=96823
https://issues.apache.org/ooo/show_bug.cgi?id=103528
https://issues.apache.org/ooo/show_bug.cgi?id=104901
https://issues.apache.org/ooo/show_bug.cgi?id=97032

Herbert


Re: Error Building module hsqldb - Installation Source Code in AOO

2013-01-28 Thread Michael Lam
Sounds good, i can definitely look into it. it will provide a good start 
for me to see how it is utilized by the C++ code.


On 01/28/2013 08:50 AM, Herbert Duerr wrote:

On 27.01.2013 20:52, Michael Lam wrote:

I had the same issue but it was due to JDK7, I switch and it is working
but I have a question about how the java libraries are included. As
mentioned by Kay, the current version of hsqldb is quite old. The latest
is 2.2.9 and the same goes for Lucene the included version is 2.x
whereas the latest is 4.1. How come the jar is being created as part of
the build process instead of just pulling a prebuild version?


I know nothing about these modules except what I just saw while 
peeking at 
http://svn.apache.org/repos/asf/openoffice/trunk/main/hsqldb/patches/


The patch files there seem to fix some general bugs seen in OpenOffice 
that may or may not have been fixed by upstream hsqldb. Investigating 
this, updating to a newer release of hsqldb and testing it might be a 
worthwhile task. Are you interested?


For reference the bugs fixed by the patches mentioned above where:
https://issues.apache.org/ooo/show_bug.cgi?id=96823
https://issues.apache.org/ooo/show_bug.cgi?id=103528
https://issues.apache.org/ooo/show_bug.cgi?id=104901
https://issues.apache.org/ooo/show_bug.cgi?id=97032

Herbert





Re: OpenOffice thin client edition - why not?

2013-01-28 Thread Thorsten Behrens
Rob Weir wrote:
 Does anyone know what LibreOffice has in terms of test documents?
 
Hi Rob,

there is

 http://cgit.freedesktop.org/libreoffice/contrib/test-files/

, and in-tree application unit tests, e.g.

 http://cgit.freedesktop.org/libreoffice/core/tree/sw/qa/core/data

Btw, I vaguely recall Jos mentioning to setup something along the
lines of this discussion on gitorious, though momentarily only finding
http://gitorious.org/odfautotests which does not seem to contain
actual test files.

Since github or gitorious would be closer to something
project-independent, and also very light-touch. Otherwise,
freedesktop.org toplevel of course is always a good place to host such
content.

Cheers,

-- Thorsten


signature.asc
Description: Digital signature


Re: Help with OOO project

2013-01-28 Thread Alexandro Colorado
On Mon, Jan 28, 2013 at 1:46 PM, Jan Vrba jvrb...@gmail.com wrote:

 Dear Sir / Madam,

 I would like to help you with Apache Open Office project. My native
 language is Czech, I have an English Advanced Certificate from Cambridge
 and JLPT N4 (Japanese Lang.). Therefore I can translate something for you.

 Moreover I can help you with testing new version of Apache OpenOffice for
 PC or Android (if you are planning to make Android version).

 If you are interested, please feel free to contact me and I can send you
 my CV.


Hi Jan, welcome!

Please make sure to read the introduction modules of the QA project, which
include instructions about testing and how we organized ourselves through
test cases.
http://openoffice.apache.org/orientation/intro-qa.html

Also please check the piece on Testing like, setting up virtual OS via
Virtualbox or other emulation software and getting our nightly builds and
Snapshot build:
https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds





 I look forward to hearing from you.

 Your faithfully,
 Jan Vrba




-- 
Alexandro Colorado
Apache OpenOffice Contributor
http://es.openoffice.org


Re: [RESULT] [VOTE]: Release Apache OpenOffice 3.4.1 respin to support 8 new languages

2013-01-28 Thread Jürgen Schmidt
On 1/27/13 6:07 PM, Marcus (OOo) wrote:
 Am 01/27/2013 06:48 PM, schrieb Kay Schenk:
 On Sun, Jan 27, 2013 at 9:17 AM, Marcus (OOo)marcus.m...@wtnet.de 
 wrote:

 Am 01/27/2013 12:37 PM, schrieb Jürgen Schmidt:

 the files are uploaded


 thanks, I can see them on the ASF mirrors. Now waiting for appearance on
 SourceForge.

 stay tuned for further details :)
 
 still nothing to see here:
 http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/
 
 Will go on tomorrow.

any updates on this when we can expect the files available?

Juergen

 
 Marcus
 
 
 
   On 1/27/13 12:08 PM, Jürgen Schmidt wrote:

 The vote period to release Apache OpenOffice 3.4.1 language respin has
 ended.

 The ballot result is +16 including 10 PMC member binding +1 and +1
 vote
 from community members.

 No abstentions, no -1 votes.

 Vote tally

 +1 Jan Iversen
 +1 Olaf Felka (binding)
 +1 Carl Marcum
 +1 Albino Biasutti Netto
 +1 Wolf Harton
 +1 Kay Schenk (binding)
 +1 Armin Le Grand (binding)
 +1 Xuacu
 +1 Donald Harbison (binding)
 +1 Andrea Pescetti (binding)
 +1 Robert Gallopini (binding)
 +1 Juergen Schmidt (binding)
 +1 Herbert Duerr (binding)
 +1 Dave Barton
 +1 Pedro Giffuni (binding)
 +1 Marcus Lange (binding)

 Thanks

 Juergen

 On 1/23/13 10:13 AM, Jürgen Schmidt wrote:

 Hi all,

 this is a call for vote on releasing a minor respin of Apache
 OpenOffice
 3.4.1 to support 8 new languages (Danish, Swedish, Norwegian Bokmal,
 Polish, Korean, Basque, Asturian, Scottish Gaelic). The Hungarian
 version is repackaged and a Hungarian dictionary is now included.

 This release is a minor update to support further languages but no
 bug
 fixes. We decided to keep the effort minimal and updated only the new
 languages and no further minor bug fixes. It is the last minor update
 including incubating in the name and we do that to integrate
 smoothly
 in the naming scheme of the current release and to keep the download
 simple.

 The source release for AOO 3.4.1 will be renewed and is based now on
 revision 1435053 from branch AOO34. For our broad user base we
 built and
 provide convenience binary packages on the same revision for all new
 languages.

 The source release candidate can be found under
 https://cwiki.apache.org/**confluence/display/OOOUSERS/**
 Development+Snapshot+Builds#**DevelopmentSnapshotBuilds-**
 AOO341srcreleasehttps://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOO341srcrelease


 The convenience binary full install sets for the new languages can be
 found under
 https://cwiki.apache.org/**confluence/display/OOOUSERS/**
 Development+Snapshot+Builds#**DevelopmentSnapshotBuilds-**
 AOO341fullsetshttps://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOO341fullsets


 The convenience binary language packs for the new languages can be
 found
 under
 https://cwiki.apache.org/**confluence/display/OOOUSERS/**
 Development+Snapshot+Builds#**DevelopmentSnapshotBuilds-**
 AOO341languagepackshttps://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOO341languagepacks


 Please vote on releasing this respin package as a complement to our
 already released Apache OpenOffice 3.4.1 (incubating).

 The vote starts now and will be open for 72 hours until:

  Saturday, 26 January: 2013-01-26 10:00am UTC+1.

 The vote of PMC members is binding but we invite all people to
 vote (non
 binding) on this RC. We would like to provide a release that is
 supported by the majority of our project members.

  [ ] +1 Release this respin package as complement Apache
 OpenOffice
 3.4.1 (incubating)
  [ ]  0 Don't care
  [ ] -1 Do not release this package because...



Document Test Suites

2013-01-28 Thread Rob Weir
Resetting the subject since the topic has drifted...


On Mon, Jan 28, 2013 at 11:11 AM, Thorsten Behrens
t...@documentfoundation.org wrote:
 Rob Weir wrote:
 Does anyone know what LibreOffice has in terms of test documents?

 Hi Rob,

 there is

  http://cgit.freedesktop.org/libreoffice/contrib/test-files/

 , and in-tree application unit tests, e.g.

  http://cgit.freedesktop.org/libreoffice/core/tree/sw/qa/core/data

 Btw, I vaguely recall Jos mentioning to setup something along the
 lines of this discussion on gitorious, though momentarily only finding
 http://gitorious.org/odfautotests which does not seem to contain
 actual test files.

 Since github or gitorious would be closer to something
 project-independent, and also very light-touch. Otherwise,
 freedesktop.org toplevel of course is always a good place to host such
 content.


Another idea would be to take a federated approach.  Anyone can store
test documents wherever they want, but agree upon a way to describe
metadata for each test document, e.g.: a shadow XML file for each test
document.  foo.odt would have a foo.odt.xml metadata file, with
contents like:

test-doc
editorApache OpenOffice/editor
editor-version3.4.1/editor-version
doc-typeapplication/vnd.oasis.opendocument.text/doc-type
doc-version1.2/doc-type
test-typeperformance/test-type
descriptionThis document contains 1000 tables of 1000 rows and 10
columns each, for 10 million table cells/description
/test-doc

I don't mean to propose a specific form for the metadata, but to
suggest that encoding these facts in a common way allows us to work
with the test documents more effectively.  For example, even with
several repositories, if we agree on the metadata, it is easy to write
tools that can query the document test sets and extract desired test
cases, e.g., all OOXML performance test cases for spreadsheets, or all
footnote layout test cases created in LibreOffice for ODF 1.2.


Regards,

-Rob
 Cheers,

 -- Thorsten


RE: Getting Started

2013-01-28 Thread David Virden
Hey Rodrigo,

I would love to help with proofreading the writer guide. 

From: RGB ES [rgb.m...@gmail.com]
Sent: Monday, January 28, 2013 5:42 PM
To: dev@openoffice.apache.org
Subject: Re: Getting Started

Hi, David!


2013/1/29 David Virden dvir...@sulross.edu

 Hi all,

 I'd like to help with some user guides. Is there anything in particular I
 could assist with?


We are discussing the user guides on the doc mailing list

d...@openoffice.apache.org

Right now there is a first draft for a general introduction and for a
Writer guide, the last one on need for proofreading. Writers who know Calc,
Impress, Draw and Base are needed.

Regards
Ricardo




 Thanks




Re: error building (bootstrap command)

2013-01-28 Thread Pedro Giffuni
It is unfortunately not that easy.

You need to specify a lot of configure flags. Follow in detail
the building guide:

http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO


Pedro.

ps. Bienvenidos!!




 Da: Henry Tiquet Leyva henry.tiquet.le...@gmail.com
A: dev@openoffice.apache.org 
Inviato: Lunedì 28 Gennaio 2013 21:29
Oggetto: error building (bootstrap command)
 
Hello everyone,

I have a problem compilling aoo,
I can't execute the ./bootstrap command,
I did this:
1.- autoconf
2.- ./configure
3.- ./bootstrap

but it not work.
how can I do to repair this error?
Can anyone give me a link for find information about this?
there is any forum for consult it?




Re: New volunteers from Mexico

2013-01-28 Thread Henry Tiquet Leyva
Hello Andrea,

We are IT's students. we are at your disposition to work in some project
that you will give us and we are at your service.


2013/1/28 jorge ivan poot diaz ivan.pootd...@gmail.com

 Good night greetings from Mexico.

 Thank you for giving us this opportunity to be part of OpenOffice. We are
 convinced that we can help and contribute to the community. We are at
 your service
 in what you want and we can help.

 Regards,
 Ivan POOT.


 2013/1/28 jdaniel.alvaro jdaniel.alv...@gmail.com

  Good night in  Mexico  Andrea,
  thank you, we hope to be of help in this project and we have been
  reading
  the guides.
  we are  so grateful for this opportunity and we are completely at your
  service.
 
  Regards,
  Daniel Alvaro.
  On Mon, Jan 28, 2013 at 1:07 AM, Andrea Pescetti pesce...@apache.org
  wrote:
 
   A number of new volunteers from Mexico, mostly students from the
 Riviera
   Maya University, joined different OpenOffice mailing lists this week.
  
   Well, welcome to everyone of course! And I'd like to make sure that
 you,
   as a group, can get the most out of this project and that we can
 benefit
   from your availability in the most effective way.
  
   If this is part of a course project please let us know, since in that
  case
   we can probably arrange specific projects for you.
  
   Anyway, depending on what you are interested in, these are the next
  steps:
   - if you are interested in development, please read
   http://openoffice.apache.org/**orientation/intro-development.**html
  http://openoffice.apache.org/orientation/intro-development.htmland get
  your first build done:
   http://wiki.openoffice.org/**wiki/Documentation/Building_**Guide_AOO
  http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
   - if you are interested in QA, please read
   http://openoffice.apache.org/**orientation/intro-qa.html
  http://openoffice.apache.org/orientation/intro-qa.html
   and write to the QA mailing list (references at the above URL) saying
  that
   you've read the Orientation to QA and that you would like to be
  assigned
   a set of bugs to confirm.
  
   Please let us know when you have completed these preliminary steps,
 there
   are a lot of ways you can get involved!
  
   Regards,
 Andrea.
  
 



Re: Error Building module hsqldb - Installation Source Code in AOO

2013-01-28 Thread Alexandro Colorado
On Sun, Jan 27, 2013 at 1:59 AM, Alan Eduardo Puc Pech 
alan.pucp...@gmail.com wrote:

 Hi team! I'm AlanSan, i have a problem with the compilation of AOO, the
 error shows when the module starts the Building module hsqldb. I need your
 help to solve this problem


It would be useful if you can join the #dev.openoffice.org IRC channel so
you can get more dynamic support to your questions. So far one
recommendation via Pavel is to unset all the LANG variables.




 This is the error:

 =
 Building module hsqldb
 =

 Entering /home/alan/ooo/main/hsqldb

 mkdir: cannot create directory `./unxlngi6.pro/misc/build/hsqldb/': File
 exists
 Buildfile: /home/alan/ooo/main/hsqldb/
 unxlngi6.pro/misc/build/hsqldb/build/build.xml

 init:

 javaversion6:

 javaversion4:

 javaversion2:

 -prepare:

 codeswitcher:
 [javac] /home/alan/ooo/main/hsqldb/
 unxlngi6.pro/misc/build/hsqldb/build/build.xml:135: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds

 switches:

 switchtojdk14:

 switchtojdk16:
  [java] 

 store:
 [javac] /home/alan/ooo/main/hsqldb/
 unxlngi6.pro/misc/build/hsqldb/build/build.xml:291: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds

 lib:
 [javac] /home/alan/ooo/main/hsqldb/
 unxlngi6.pro/misc/build/hsqldb/build/build.xml:302: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds
 [javac] Compiling 46 source files to /home/alan/ooo/main/hsqldb/
 unxlngi6.pro/misc/build/hsqldb/classes
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac]^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac] ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac]  ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac] ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac]  ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
 :
 error: unmappable character for encoding ASCII
 [javac]  * Implements the Knuth???Morris???Pratt string search
 algorithm for searching
 [javac]   ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
 :
 error: unmappable character for encoding ASCII
 [javac]  * Note that the Boyer???Moore algorithm is generally
 considered to be the better
 [javac]   ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
 :
 error: unmappable character for encoding ASCII
 [javac]  * Note that the Boyer???Moore algorithm is generally
 considered to be the better
 [javac]^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
 :
 error: unmappable character for encoding ASCII
 [javac]  * Note that the Boyer???Moore algorithm is generally
 considered to be the better
 [javac] ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
 :
 error: unmappable character for encoding ASCII
 [javac]  * Boyer???Moore requires at minimum twice the memory required
 by Knuth???Morris???Pratt
 [javac] ^
 [javac] /home/alan/ooo/main/hsqldb/

 unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
 :
 error: unmappable character for encoding ASCII
 [javac]  * Boyer???Moore requires at minimum twice the memory required
 by