[dev] a crash issue

2007-03-27 Thread blueeagle
Hello all,
I meet a problem that can make the soffice crash.
It crashs when insert a new slide in the Outline view.
1.build a new Impress.
2.Insert a new slide in the Outline view via menu.
3.crash.
It is not crash If click the left column of slide first before insert a new 
slide.
I debug this issue and find some error.
1.If do not click the left column of slide,the function void 
LayoutMenu::Execute (SfxRequest rRequest)(sd/../layoutmenu.cxx)is called and 
the function const SfxPoolItem* SfxShell::ExecuteSlot( SfxRequest rReq, BOOL 
bAsync ) (SFX2/../shell.exe)is called and SfxExecFunc pFunc = 
pSlot-GetExecFnc() will be executed.but the pSlot is NULL,I think this is a 
reason.
2.If click the left column of slide,the function void 
SlideSorterViewShell::FuTemporary (SfxRequest 
rRequest)(sd/../slidesorterviewshell.cxx)is called and the new slide can be 
inserted in.
Above all,I think there is something wrong in the pointer.maybe it points to a 
wrong address.
p.s. It is not crash in the m120.
I wish someone could give me some advices to solve this issue.
I will submit in the Issuezilla if no one submited it. 

LiuTao

Beijing Redflag CH2000 Software Co., Ltd. 
Postalcode: 100176 
Tel: 8610-58022828-605
Mobile: 13126869000 
Email: [EMAIL PROTECTED] 


Re: [dev] Re: Errors while building m202 on windows, ask for help

2007-03-19 Thread blueeagle

Hello all,
Thank you for your help. We have solved this problem.
It is the upzip.exe file, I use the MSDOS format file but not the cgywin format.
I also tested the TEMP directory,It seems not relate to this build issue.
Thank you very much again.
Regards,
Liutao 

 Hi,
 I have changed the TEMP path, but it is useless. And I find the 
 basicsrvdepot.zip can be unzipped successfully in anywhere else.
 
 --
  
 checkdir:  cannot create extraction directory: 
 /cygdrive/c/TEMP/i_3361174097751/
 wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip
 ... cleaning the output tree ...
 ... removing directory /cygdrive/c/TEMP/i_3361174097751 ...
 
 **
 ERROR: ERROR: Systemcall: unzip.exe -o -q 
 e:/SRC680_m202/solver/680/wntmsci10.pr
 o/pck/basicsrvdepot.zip -d 
 /cygdrive/c/TEMP/i_3361174097751/wntmsci10.pro/OpenOf
 fice/msi/zip/en-US/00/basicsrvdepot_zip/
 
 in function: resolving_archive_flag
 **
 
 **
 ERROR: Saved logfile: 
 e:/SRC680_m202/instsetoo_native/wntmsci10.pro/OpenOffice/m
 si/logging/en-US/log_SRC680__en-US.log
 **
 Sat Mar 17 10:16:20 2007 (00:29 min.)
 dmake.exe:  Error code 255, while making 'openoffice_en-US'
 '---* tg_merge.mk *---'
 
 
 
 
 
 
 FangYaqiong [EMAIL PROTECTED]
 2007-03-17
 
 
 
 发件人: Volker Quetschke
 发送时间: 2007-03-16 22:52:47
 收件人: dev@openoffice.org
 抄送: 
 主题: (瑞星提示-此邮件可能是垃圾邮件)Re: [dev] Re: Errors while building m202 on windows, ask 
 for help
 
 blueeagle wrote:
 Hi,
 I don't think the path name is too long , because I can build the M196 
 successful.
 
 And that proves it for you? There might be changes from milestone to
 milestone 
 
 Anyway, this really looks like your TEMP path is too long, see
 for example  http://www.openoffice.org/issues/show_bug.cgi?id=59187 
 
 So just follow Ruediger's advice and do:
 
 $ export TEMP=/tmp ; export TMP=/tmp
 
 before you start your build.
 
 This might not be the problem but unless you try we will never know.
 
  Volker
 
 Regards,
 LiuTao
 
  Perhaps the path name is too long. Try setting TEMP dir to something
  more basic, f.e. /cygdrive/c/temp
 
  Ruediger
 
 
  blueeagle wrote:
   Hello all,Hello Martin,
   I am building the M205 now. this error occured too. Wish you can give me 
   some advices.
   Regards,
   LiuTao 
  
Hello Martin,
Thank you for your reply.
I checked the disc space,It is enough,almost 4G free. I also tried to 
create the directory manually but the temp folder i_26281173858510 
is always changed. 
Regards,
Fang
   
   
   
FangYaqiong [EMAIL PROTECTED]
2007-03-16
   
   
   
发件人: Martin Hollmichel
发送时间: 2007-03-16 21:48:50
收件人: FangYaqiong
抄送: dev
主题: (瑞星提示-此邮件可能是垃圾邮件)[dev] Re: Errors while building m202 on windows, 
ask for help
   
Hi,
   
have you checked if there's still enough disk space ?
   
Are you able to create the directory manually ?:
/cygdrive/c/DOCUME~1/fangyq1/LOCA
LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip
   
Martin
   
FangYaqiong wrote:
 Hi Martin,
 I am compiling the version m202 on windows, I download the code by
 CVS. But there are some errors in the instsetoo_native.
 ---
 ... languages en-US ...
 ... analyzing files ...
 ... analyzing files with flag ARCHIVE ...
 checkdir: cannot create extraction directory:
 /cygdrive/c/DOCUME~1/fangyq1/LOCA
 LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdep
 ot_zip
 ... cleaning the output tree ...
 ... removing directory
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_262811738585
 10 ...
 **
 ERROR: ERROR: Systemcall: unzip.exe -o -q
 e:/SRC680_m202/solver/680/wntmsci10.pr
 o/pck/basicsrvdepot.zip -d
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_26281173
 858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip/
 in function: resolving_archive_flag
 **
 **
 ERROR: Saved logfile:
 e:/SRC680_m202/instsetoo_native/wntmsci10.pro/OpenOffice/m
 si/logging/en-US/log_SRC680__en-US.log
 **
 Wed Mar 14 15:49:01 2007 (00:31 min.)
 dmake.exe: Error code 255, while making 'openoffice_en-US'
 '---* tg_merge.mk *---'
 ERROR: Error 65280 occurred while making
 /cygdrive/e/SRC680_m202/instsetoo_nativ
 e/util

Re: [dev] Re: Errors while building m202 on windows, ask for help

2007-03-16 Thread blueeagle

Hello all,Hello Martin,
I am building the M205 now. this error occured too. Wish you can give me some 
advices.
Regards,
LiuTao 

 Hello Martin,
 Thank you for your reply.
 I checked the disc space,It is enough,almost 4G free. I also tried to create 
 the directory manually but the temp folder i_26281173858510 is always 
 changed. 
 Regards,
 Fang
 
 
 
 FangYaqiong [EMAIL PROTECTED]
 2007-03-16
 
 
 
 发件人: Martin Hollmichel
 发送时间: 2007-03-16 21:48:50
 收件人: FangYaqiong
 抄送: dev
 主题: (瑞星提示-此邮件可能是垃圾邮件)[dev] Re: Errors while building m202 on windows, ask for 
 help
 
 Hi,
 
 have you checked if there's still enough disk space ?
 
 Are you able to create the directory manually ?:
 /cygdrive/c/DOCUME~1/fangyq1/LOCA
 LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip
 
 Martin
 
 FangYaqiong wrote:
 Hi Martin,
 I am compiling the version m202 on windows, I download the code by
 CVS. But there are some errors in the instsetoo_native.
 ---
 ... languages en-US ...
 ... analyzing files ...
 ... analyzing files with flag ARCHIVE ...
 checkdir: cannot create extraction directory:
 /cygdrive/c/DOCUME~1/fangyq1/LOCA
 LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdep
 ot_zip
 ... cleaning the output tree ...
 ... removing directory
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_262811738585
 10 ...
 **
 ERROR: ERROR: Systemcall: unzip.exe -o -q
 e:/SRC680_m202/solver/680/wntmsci10.pr
 o/pck/basicsrvdepot.zip -d
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_26281173
 858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip/
 in function: resolving_archive_flag
 **
 **
 ERROR: Saved logfile:
 e:/SRC680_m202/instsetoo_native/wntmsci10.pro/OpenOffice/m
 si/logging/en-US/log_SRC680__en-US.log
 **
 Wed Mar 14 15:49:01 2007 (00:31 min.)
 dmake.exe: Error code 255, while making 'openoffice_en-US'
 '---* tg_merge.mk *---'
 ERROR: Error 65280 occurred while making
 /cygdrive/e/SRC680_m202/instsetoo_nativ
 e/util
 
 I have tried a lot to solve it, but nothing is in effect.
 Can you give me some suggestion?
 P.S. I have built m6 on my computer, it works well. So I think the
 building entironment is OK.
 Thank you very much. Looking forward to your reply.
 Regards,
 Fang
 
 FangYaqiong [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 
 2007-03-16
 RegardsThanks!
 Tel:010-5802-2828 Ext.693
 Beijing Redflag CH2000 Software Co., Ltd.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


Re: [dev] Re: Errors while building m202 on windows, ask for help

2007-03-16 Thread blueeagle
Hi,
I don't think the path name is too long , because I can build the M196 
successful.
Regards,
LiuTao

 Perhaps the path name is too long. Try setting TEMP dir to something
 more basic, f.e. /cygdrive/c/temp
 
 Ruediger
 
 
 blueeagle wrote:
 Hello all,Hello Martin,
 I am building the M205 now. this error occured too. Wish you can give me 
 some advices.
 Regards,
 LiuTao 
 
 Hello Martin,
 Thank you for your reply.
 I checked the disc space,It is enough,almost 4G free. I also tried to 
 create the directory manually but the temp folder i_26281173858510 is 
 always changed. 
 Regards,
 Fang



 FangYaqiong [EMAIL PROTECTED]
 2007-03-16



 发件人: Martin Hollmichel
 发送时间: 2007-03-16 21:48:50
 收件人: FangYaqiong
 抄送: dev
 主题: (瑞星提示-此邮件可能是垃圾邮件)[dev] Re: Errors while building m202 on windows, ask 
 for help

 Hi,

 have you checked if there's still enough disk space ?

 Are you able to create the directory manually ?:
 /cygdrive/c/DOCUME~1/fangyq1/LOCA
 LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip

 Martin

 FangYaqiong wrote:
 Hi Martin,
 I am compiling the version m202 on windows, I download the code by
 CVS. But there are some errors in the instsetoo_native.
 ---
 ... languages en-US ...
 ... analyzing files ...
 ... analyzing files with flag ARCHIVE ...
 checkdir: cannot create extraction directory:
 /cygdrive/c/DOCUME~1/fangyq1/LOCA
 LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdep
 ot_zip
 ... cleaning the output tree ...
 ... removing directory
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_262811738585
 10 ...
 **
 ERROR: ERROR: Systemcall: unzip.exe -o -q
 e:/SRC680_m202/solver/680/wntmsci10.pr
 o/pck/basicsrvdepot.zip -d
 /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_26281173
 858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip/
 in function: resolving_archive_flag
 **
 **
 ERROR: Saved logfile:
 e:/SRC680_m202/instsetoo_native/wntmsci10.pro/OpenOffice/m
 si/logging/en-US/log_SRC680__en-US.log
 **
 Wed Mar 14 15:49:01 2007 (00:31 min.)
 dmake.exe: Error code 255, while making 'openoffice_en-US'
 '---* tg_merge.mk *---'
 ERROR: Error 65280 occurred while making
 /cygdrive/e/SRC680_m202/instsetoo_nativ
 e/util
 
 I have tried a lot to solve it, but nothing is in effect.
 Can you give me some suggestion?
 P.S. I have built m6 on my computer, it works well. So I think the
 building entironment is OK.
 Thank you very much. Looking forward to your reply.
 Regards,
 Fang
 
 FangYaqiong [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 
 2007-03-16
 RegardsThanks!
 Tel:010-5802-2828 Ext.693
 Beijing Redflag CH2000 Software Co., Ltd.
 -
 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]

Re: [dev] about the new feature.

2007-02-12 Thread blueeagle

Hi carsten,
I have uploaded the new version of the specification.Please have a look.
Regards,
LiuTao


 blueeagle wrote:
 Hi carsten,Hi peter,Hi all,
 I have added a new freture named Preview Web_HtmlIn the OpenOffice.org.
 This feature can be described as follows:
 Added a new menu item in the File menu which named 'Web Html'. This menu 
 item can make the current document browsed in web page. text, picture and 
 media that can be edit in the document are all can be browsed successful. 
 you can discuss and give me your opinion in this 
 page:http://wiki.services.openoffice.org/mwiki/index.php?title=Development/Web_HTMLredirect=no
 You also can download the Specification in the 
 http://wiki.services.openoffice.org/wiki/Image:Preview_Web_Html_Specification.odt
 page.
 don't hesitate to point out if there are still some unseemliness.
 
 Hi LiuTao,
 
 I read your specification on the wiki server. From my point of view your
 feature specification is in a good shape. The only thing I miss is a
 string table where you describe the user interface strings. There you
 have to add the English and Chinese strings for your new menu entry.
 
 Could you please write an issue using IssueZilla, set the type to
 FEATURE, set cd as owner and add your code changes as a diff. I will
 check your changes and if I don't find anything critical we can add your
 feature to one of our CWS for OpenOffice.org 2.3.
 
 Regards,
 Carsten
 
 -- 
 Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
 Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dev] about the new feature.

2007-02-08 Thread blueeagle
Hi all,
I am change the link page. Please have a look
http://wiki.services.openoffice.org/wiki/Web_HTML
- Original Message - 
From: blueeagle [EMAIL PROTECTED]
To: dev@openoffice.org
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 10:36 AM
Subject: [dev] about the new feature.


 Hi carsten,Hi peter,Hi all,
 I have added a new freture named Preview Web_HtmlIn the OpenOffice.org.
 This feature can be described as follows:
 Added a new menu item in the File menu which named 'Web Html'. This menu item 
 can make the current document browsed in web page. text, picture and media 
 that can be edit in the document are all can be browsed successful. 
 you can discuss and give me your opinion in this 
 page:http://wiki.services.openoffice.org/mwiki/index.php?title=Development/Web_HTMLredirect=no
 You also can download the Specification in the 
 http://wiki.services.openoffice.org/wiki/Image:Preview_Web_Html_Specification.odt
 page.
 don't hesitate to point out if there are still some unseemliness.
 Regards,
 LiuTao
 
 Beijing Redflag CH2000 Software Co., Ltd. 
 Postalcode: 100176 
 Tel: 8610-58022828-605
 Mobile: 13126869000 
 Email: [EMAIL PROTECTED] 


[dev] question about add new menu item

2007-01-31 Thread blueeagle
Hi all,

I have some troubles with the display of the new added menu item.
For examlpe, I want to add a menu item WebHtml in the file menu. I modified 
the 
 correlative files and added the necessary codes in those files. The result is: 
The 
 place of new menu item is there but the WebHtml is missing.
 The files and added codes that I modified are as follows:
 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 svx\inc\globlmn_tmpl.hrc
  
 #define ITEM_FILE_OPENDOC \
 Identifier = SID_OPENDOC ; \
  Command = .uno:Open ; \
 HelpID = SID_OPENDOC ; \
 Text [ de ] = ��~ffnen... ; \
 Text [ en-US ] = ~Open... ;\
  Text [ x-comment ] =  ; \
  
 /***added begin*/ \
 #define ITEM_FILE_WEBHTML \
 Identifier = SID_WEBHTML ; \
  Command = .uno:WebHtml ; \
 HelpID = SID_WEBHTML ; \
 Text [ de ] = Web ~Html... ; \
 Text [ en-US ] = Web ~Html...; \
  Text [ x-comment ] = Preview Web ~Html... ; \
 /***added end*/ \
  
 #define ITEM_FILE_AUTOPILOT \
 MenuItem\
 {\
 Identifier = SID_AUTOPILOTMENU ; \
   Command = .uno:AutoPilotMenu ; \
 HelpID = SID_AUTOPILOTMENU ; \
 Text [ de ] = ~Assistent ; \
 Text [ en-US ] = A~utoPilot ; \
   Text [ x-comment ] =  ;\
  };
 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 sfx2\inc\sfxsids.hrc
 #define SID_MAIL_SEND   (SID_SFX_START + 364)
 #define SID_WEBHTML   (SID_SFX_START + 393)/*added*/
 #define SID_MAIL_FILE   (SID_SFX_START + 365)
 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 sfx2\sdi\sfx.sdi
 SfxObjectItem Open SID_OPENDOC
 (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName 
 SID_FILTER_NAME,SfxStringItem OpenFlags SID_OPTIONS,SfxStringItem Password 
 SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item 
Version 
 SID_VERSION,SfxStringItem Referer SID_REFERER)
 [
  /* flags: */
  AutoUpdate = FALSE,
  Cachable = Cachable,
  FastCall = FALSE,
  HasCoreId = FALSE,
  HasDialog = TRUE,
  ReadOnlyDoc = TRUE,
  Toggle = FALSE,
  Container = TRUE,
  RecordAbsolute = FALSE,
  RecordPerSet;
  Asynchron;
  
  /* config: */
  AccelConfig = TRUE,
  MenuConfig = TRUE,
  StatusBarConfig = FALSE,
  ToolBoxConfig = TRUE,
  GroupId = GID_APPLICATION;
 ]
 /**/add begin
 SfxObjectItem WebHtml SID_WEBHTML
 ()
 [
  /* flags: */
  AutoUpdate = FALSE,
  Cachable = Cachable,
  FastCall = FALSE,
  HasCoreId = FALSE,
  HasDialog = TRUE,
  ReadOnlyDoc = TRUE,
  Toggle = FALSE,
  Container = TRUE,
  RecordAbsolute = FALSE,
  RecordPerSet;
  Asynchron;
  
  /* config: */
  AccelConfig = TRUE,
  MenuConfig = TRUE,
  StatusBarConfig = FALSE,
  ToolBoxConfig = TRUE,
  GroupId = GID_FORMAT;
 ]
 /*/added end
 //--
 SfxObjectItem OpenHyperlink SID_OPENHYPERLINK
 (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName 
 SID_FILTER_NAME,SfxStringItem OpenFlags SID_OPTIONS,SfxStringItem Password 
 SID_PASSWORD,SfxStringItem FilterOptions D_FILE_FILTEROPTIONS,SfxInt16Item 
Version 
 SID_VERSION,SfxStringItem Referer SID_REFERER)
 [
 /* flags: */
 AutoUpdate = FALSE,
 Cachable = Cachable,
 FastCall = FALSE,
 HasCoreId = FALSE,
 HasDialog = TRUE,
 ReadOnlyDoc = TRUE,
 Toggle = FALSE,
 Container = TRUE,
 RecordAbsolute = FALSE,
 RecordPerSet;
 Asynchron;
  
 /* config: */
 AccelConfig = FALSE,
 MenuConfig = FALSE,
 StatusBarConfig = FALSE,
 ToolBoxConfig = FALSE,
 GroupId = GID_APPLICATION;
 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  
 sw\uiconfig\swriter\menubar\menubar.xml
 menu:menuitem menu:id=.uno:Reload/
menu:menuitem menu:id=.uno:VersionDialog/
!-- added begin --
menu:menuitem menu:id=.uno:WebHtml /
!--added end --
menu:menuseparator/


刘涛

Beijing Redflag CH2000 Software Co., Ltd. 
Address: 北京亦庄经济技术开发区地盛北街 1号A区3号楼 
Postalcode: 100176 
Tel: 8610-58022828-605
Mobile: 13126869000 
Email: [EMAIL PROTECTED]