Re: Track0001:Build fail on formula-core-rework branch 05/24/2013.

2013-05-28 Thread leo2013
Okay.Thanks,and now I have changed to another branch named
feature/calc-group-interpreter and build it pass.




--
View this message in context: 
http://nabble.documentfoundation.org/Track0001-Build-fail-on-formula-core-rework-branch-05-24-2013-on-SUSE12-3-tp4057562p4058238.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


Track0001:Build fail on formula-core-rework branch 05/24/2013.

2013-05-23 Thread leo2013
git show
commit c982a228c02cd1c0fededa3191f1fabd1ce44d53
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Wed May 22 21:07:31 2013 -0400
..
cat autogen.input
--disable-odk
..
make
..
[build CXX] desktop/source/app/app.cxx
[build CXX] desktop/source/app/appfirststart.cxx
[build CXX] desktop/source/app/appinit.cxx
[build CXX] desktop/source/app/check_ext_deps.cxx
[build CXX] desktop/source/app/cmdlineargs.cxx
/home/leo/libreproj/zlibreoffice/core/sfx2/source/view/viewfrm.cxx: In
static member function ‘static bool SfxViewFrame::IsSidebarEnabled()’:
/home/leo/libreproj/zlibreoffice/core/sfx2/source/view/viewfrm.cxx:3416:57:
error: ‘officecfg::Office::Common::Misc::ExperimentalSidebar’ has not been
declared
make[1]: ***
[/home/leo/libreproj/zlibreoffice/core/workdir/unxlngx6.pro/CxxObject/sfx2/source/view/viewfrm.o]
Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [build] Error 2





--
View this message in context: 
http://nabble.documentfoundation.org/Track0001-Build-fail-on-formula-core-rework-branch-05-24-2013-tp4057562.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


Build libreoffice error for xml2 on windows7.

2013-05-19 Thread leo2013
These days, I'm trying to build the libreoffice on windows7(sp1,x64).
I referenced to the wiki:
https://wiki.documentfoundation.org/Development/BuildingOnWindows
I download some software accoring to the wiki site:
https://wiki.documentfoundation.org/Development/Windows_Build_Dependencies
1.windows sdk
2.vs2012
3.DirectX sdk
4.GDI+ Redistributable (but not used according to the note)
5.Dot NET SDK v2.0 (Important: x86, not x64!!!)
6.Java Development Kit (use a 32bit SDK)
7.Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (but not used
cause I used vs2012)
8.Apache ANT
9.Junit 4
10.Mozilla build tooling (only for stable LibreOffice versions 4.1) (but
not used)
11.LO patched GNU make 3.82: install it at the cygwin path /opt/lo/bin/make
12.LO patched ccache: install it at the cygwin path /opt/lo/bin/ccache
13.Cygwin's setup.exe
After installing and configuring them, I began to build source codes from
site:
http://cgit.freedesktop.org/libreoffice/core/log/?h=feature/formula-core-rework
I used:
--with-parallelism=4
--disable-odk
--with-junit=/opt/lo/misc/junit-4.10.jar 
--with-ant-home=/opt/lo/misc/apache-ant-1.9.0
--with-jdk-home=D:/x86/Java/jdk1.7.0_21
--enable-pch
--enable-ccache
--disable-activex
--enable-symbols
--disable-cve-tests
--disable-atl
--without-myspell-dicts
as configure arguments in autogen.input file.
$ ./autogen.sh   (not work because the format isn't UNIX. and after
transferred it to UNIX it works but failed again)
need copy the two files from
(xx\cygwin\usr\x86_64-pc-cygwin\sys-root\usr\share\libtool\config\config.guess)
and
(xx\cygwin\usr\x86_64-pc-cygwin\sys-root\usr\share\libtool\config\config.sub)
into current path which is the same
as auogen.sh; and then, try $ ./autogen.sh
...
To build, issue:
/opt/lo/bin/make

run: /opt/lo/bin/make help
for details

*
* WARNING : ccache's cache size is less than 1GB using it is
counter-producive: auto-ccache detection disabled
...
$ /opt/lo/bin/make  (begin to download something automatically and after
long time, failed)
This time need notice the file named 'g', the format of g isn't all UNIX
too, so that need transferred it to UNIX and 
$/opt/lo/bin/make clean
$/opt/lo/bin/make
It looks everything is stopping there but it's working now indeed.
After a long time, it begins to scroll up by printing the build information.
...
[build DEP]...xx
...
[build CXX]...xx
...
[build C  ]...xx
...

Now, the error comes as below:
E:/core/workdir/wntmsci14.pro/UnpackedTarball/zlib/x64/zutil.c(137) :  
warning C4131: ??zError??: ??
E:/core/workdir/wntmsci14.pro/UnpackedTarball/zlib/x64/zutil.c(305) :  
warning C4131: ??zcalloc??: ??
E:/core/workdir/wntmsci14.pro/UnpackedTarball/zlib/x64/zutil.c(315) :   
warning C4131: ??zcfree??: ??
[build LNK] Executable/gcc-wrapper.exe
[build LNK] Executable/g++-wrapper.exe
Microsoft (R) Windows Script Host Version 5.8
???(C) Microsoft Corporation 1996-2001???

libxml2 version: 2.7.6
Created Makefile.
Created config.h.

XML processor configuration
---
  Trio: no
 Thread safety: native
FTP client: yes
   HTTP client: yes
HTML processor: yes
  C14N support: yes
   Catalog support: yes
   DocBook support: yes
 XPath support: yes
  XPointer support: yes
  XInclude support: yes
 iconv support: no
  iso8859x support: no
  zlib support: no
  Debugging module: yes
  Memory debugging: no
 Runtime debugging: no
Regexp support: yes
Module support: yes
  Tree support: yes
Reader support: yes
Writer support: yes
Walker support: yes
   Pattern support: yes
  Push support: yes
Validation support: yes
  SAX1 support: yes
Legacy support: yes
Output support: yes
XML Schema support: yes
Schematron support: yes
   Python bindings: no

Win32 build configuration
-
  Compiler: msvc
  C-Runtime option: /MD
Embed Manifest: no
 Debug symbols: no
Static xmllint: no
Install prefix: .
  Put tools in: $(PREFIX)\bin
Put headers in: $(PREFIX)\include
Put static libs in: $(PREFIX)\lib
Put shared libs in: $(PREFIX)\lib
  Include path: .
  Lib path: .


Microsoft (R) ?ù??? 11.00.50727.1 ??
??? (C) Microsoft Corporation???

if not exist bin.msvc mkdir bin.msvc
if not exist int.msvc mkdir int.msvc
cl.exe /EP /nologo /I..\include /D _REENTRANT libxml2.def.src 
int.ms  
 
vc\libxml2.def
libxml2.def.src
cl.exe /nologo /D WIN32 /D _WINDOWS /D _MBCS /W1 /MD /I..
/I..\inc
c14n.c
catalog.c
chvalid.c
debugXML.c
dict.c
DOCBparser.c
encoding.c
entities.c
error.c
globals.c
hash.c
HTMLparser.c
HTMLtree.c
legacy.c
list.c
nanoftp.c
nanohttp.c
parser.c
parserInternals.c
pattern.c
???...
???...
relaxng.c

How can I obtain the data stored in variables of Calc ?

2013-05-13 Thread leo2013
There are two cases which I meet normally. 
One is creating one or more new data-sheets in one workbook, and then fill
some data into the cells of these data-sheets; the other is opening one
*.xlsx (or *.xls,*.slsm,*.xls) file with a amount of data which have been in
data-sheets of this file already.
My question: Which structures from source codes will the data be stored in
on the two cases separately ?



--
View this message in context: 
http://nabble.documentfoundation.org/How-can-I-obtain-the-data-stored-in-variables-of-Calc-tp4055743.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


How to build libreoffice source codes on windows ?

2013-05-13 Thread leo2013
I saw that there is windows version of the libreoffice.
But there are a lot of dependent packages in linux to build the source
codes.
So I want to know what will be prepared and how to build the libreoffice
source codes on windows ?





--
View this message in context: 
http://nabble.documentfoundation.org/How-to-build-libreoffice-source-codes-on-windows-tp4055759.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


Re: How to remake a modified source codes, not the first time, based on source codes core which has been made successfully?

2013-05-06 Thread leo2013
I checked again and found that:
using the make module-name, for example,
If I modify the module named desktop, I will use: xxx/core make desktop
And it shows as below:
===
xxx/core* make desktop*
cd xxx/core/desktop  /usr/bin/make -j 4 -rs
[build DEP] LNK:Executable/soffice.bin
[build C  ] desktop/source/app/main.c
[build CHK] loaded modules: desktop
...
[build LNK] Executable/soffice.bin
[build MOD] desktop
[build ALL] top level modules: desktop
[build ALL] loaded modules: desktop
... It can save some time.

I run the command:
xxx/core *./install/program/soffice*
No effects work in the results.
Next, there are two methods which can get to the same goal.
/Method-1:/
And I used *make dev-install*. It works well;
/Method-2:/
And I used make dev-install-nocheck (or *make dev-install -o build*)
And then,run the command:
xxx/core *./install/program/soffice*. It works well.
Obviously, method-2 is part of method1, so that it can save some time.
And what the side effect of the method-2 was, I couldn't meet it yet.






--
View this message in context: 
http://nabble.documentfoundation.org/How-to-remake-a-modified-source-codes-not-the-first-time-based-on-source-codes-core-which-has-been-m-tp4053499p4054020.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


Re: How to remake a modified source codes, not the first time, based on source codes core which has been made successfully?

2013-05-04 Thread leo2013
It works now,
Thank you for your kind suggestions!




--
View this message in context: 
http://nabble.documentfoundation.org/How-to-remake-a-modified-source-codes-not-the-first-time-based-on-source-codes-core-which-has-been-m-tp4053499p4053690.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


How to remake a modified source codes,not the first time,based on source codes core which has been made successfully?

2013-05-03 Thread leo2013
I went to the website:  http://www.libreoffice.org/developers-2/
http://www.libreoffice.org/developers-2/  
And $ git clone http://anongit.freedesktop.org/git/libreoffice/core.git
Did as Build and Run It:
=
sudo zypper si -d libreoffice # for OpenSUSE 12.3
./autogen.sh #wrong format for UNIX and I modify it to UNIX format
locally and then pass
make#download some packages and then compile,link...
long time to do this automatically
make dev-install  #Developer installation finished, you can now execute:
xxx/core/install/program/soffice
make debugrun#show (gdb)
And then,I used : xxx/core ./install/program/soffice
It started one graphic interface and there are some icons which need me to
click(writer,calc,impress...)
===
Now, I want to add some codes into file(desktop/source/app/main.c) to track
the codes working flow.
Some simple print codes to print something to watch how it worked.
And after the adding and saving, I use the make command : *xxx/coremake*
Wait for some times and finished the make, and then I use the 'make
dev-install' again : 
 xxx/coremake dev-install

And I check the generated date of the soffice in xxx/core/install/program/
,modified time is the same as which 
I made successfully on the first time(no matter I delete it or not,but
visited time is new,same as now)
And I tried to run the same commands as my first time after my first make:
xxx/core ./install/program/soffice
And nothing shows on the terminal.So I think the '*make*' not worked to
rebuild the codes which I modified just now as below:
===
desktop/source/app/main.c
..
SAL_IMPLEMENT_MAIN() {*
char c = getchar();
printf(SAL_IMPLEMENT_MAIN in main...%c\n,c);
getchar();*
int ret = soffice_main();
#ifdef DBG_UTIL
#ifdef __gnu_linux__
g_Exiting = 1;
#endif
#endif
return ret;
}

What's wrong to the method which I added the new codes to track and make it
with the same configure as before ?
(I didn't use 'make clean' and autogen.sh because it'll take long time to
re-build the libreoffice codes through
make again.)





--
View this message in context: 
http://nabble.documentfoundation.org/How-to-remake-a-modified-source-codes-not-the-first-time-based-on-source-codes-core-which-has-been-m-tp4053499.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


Re: How to remake a modified source codes, not the first time, based on source codes core which has been made successfully?

2013-05-03 Thread leo2013
I have done make dev-install after make when I updated one file's source
codes.
But no effect on the results as I expected. 



--
View this message in context: 
http://nabble.documentfoundation.org/How-to-remake-a-modified-source-codes-not-the-first-time-based-on-source-codes-core-which-has-been-m-tp4053499p4053560.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


Re: How to remake a modified source codes, not the first time, based on source codes core which has been made successfully?

2013-05-03 Thread leo2013
I have done make dev-install after make when I updated one file's source
codes.
But no effect on the results as I expected. 



--
View this message in context: 
http://nabble.documentfoundation.org/How-to-remake-a-modified-source-codes-not-the-first-time-based-on-source-codes-core-which-has-been-m-tp4053499p4053562.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