Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread Frank Neumann

Hi debin,

you may want to ask this again on the openoffice.porting.mac mailing-list.

Have you tried DEV300_m20 yet? Is the problem still there?

Regards
Frank


debin lei wrote:

hi All

  I am interested in developing Mac AquaBuild. And i found a pb on the
build.
  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not
launched before OO, i selected the Open PDF in Preview button from the
native print dialog. it got an error.(Printing failed because
PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was
launched before the OO, it worked.
  I used gdb to debug it , i found the error occured
in  _LSOpenItemsWithRole_Common() it returns -10810
 #0  0x955a82e8 in _LSOpenItemsWithRole_Common ()
#1  0x955a5910 in LSOpenFromRefSpec ()
#2  0x94a2963a in PJCEndDocument ()
#3  0x94a28c1e in PMSessionEndDocumentNoDialog ()
#4  0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] ()
#5  0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] ()
#6  0x96e63f41 in -[NSConcretePrintOperation _renderView] ()
#7  0x96eaa9c4 in -[NSConcretePrintOperation runOperation] ()

 Can anyone help me ?


 Best Regards.
 Lei Debin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread eric b

Hello Debin,



Le 20 juin 08 à 03:52, debin lei a écrit :


hi All

  I am interested in developing Mac AquaBuild. And i found a pb  
on the build.


Thanks for your feedback.


  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not



[...cut...]



 Can anyone help me ?



I'd suggest you to build a more recent milestone, like DEV300_m20

If you need other information, you can join #ooo_macport IRC channel,  
and we would be vrey glad to help and you advices :-)



Regards,
Eric Bachard


--
qɔᴉɹə






Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread debin lei
Thank you for your answers. I did't try the DEV300_m20, but from the
web cvs, i have checked the file salprn.cxx in vcl\aqua\source\gdi\, it seem
nothing change to print opertions.

I will ask the question to openoffice.porting.mac and i will ooo_macport IRC
channel soon.

Thank you very much.


2008/6/20, eric b [EMAIL PROTECTED]:

 Hello Debin,



 Le 20 juin 08 à 03:52, debin lei a écrit :

 hi All

  I am interested in developing Mac AquaBuild. And i found a pb on the
 build.


 Thanks for your feedback.

  I got the sources (DEV_m12) and build it fellow the guild
 http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not


 [...cut...]


 Can anyone help me ?


 I'd suggest you to build a more recent milestone, like DEV300_m20

 If you need other information, you can join #ooo_macport IRC channel, and
 we would be vrey glad to help and you advices :-)


 Regards,
 Eric Bachard


 --
 qɔᴉɹə







Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread eric b

Hi,

Le 20 juin 08 à 08:52, debin lei a écrit :

Thank you for your answers. I did't try the DEV300_m20, but from  
the web cvs, i have checked the file salprn.cxx in vcl\aqua\source 
\gdi\, it seem

nothing change to print opertions.



If I'm not wrong, Philipp Lohmann commited some changes in vcl/ aqua/  
source/ gdi/ salprn.cxx in aquavcl08, not integrated yet.


and if you need to add it in your build, we'll explain you how proceed.


I will ask the question to openoffice.porting.mac


Yes, good idea.



and i will ooo_macport IRC channel soon.



Ok, see you soon !



Thank you very much.



You're welcome :-)

Eric Bachard


--
qɔᴉɹə






Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread debin lei
Can you tell me what is the e-mail address for  openoffice.porting.mac?

2008/6/20, eric b [EMAIL PROTECTED]:

 Hi,

 Le 20 juin 08 à 08:52, debin lei a écrit :

 Thank you for your answers. I did't try the DEV300_m20, but from the web
 cvs, i have checked the file salprn.cxx in vcl\aqua\source\gdi\, it seem
 nothing change to print opertions.


 If I'm not wrong, Philipp Lohmann commited some changes in vcl/ aqua/
 source/ gdi/ salprn.cxx in aquavcl08, not integrated yet.

 and if you need to add it in your build, we'll explain you how proceed.

 I will ask the question to openoffice.porting.mac


 Yes, good idea.


 and i will ooo_macport IRC channel soon.


 Ok, see you soon !


 Thank you very much.


 You're welcome :-)

 Eric Bachard


 --
 qɔᴉɹə







Re: [dev] about the native print error on Mac AquaBuild

2008-06-20 Thread eric b

Hi,


Le 20 juin 08 à 10:18, debin lei a écrit :

Can you tell me what is the e-mail address for   
openoffice.porting.mac?




You just have to sen a mail to :

[EMAIL PROTECTED] , then confirm ... and once  
done, you'll be able to post on [EMAIL PROTECTED] mailing  
list :-)



Regards,
Eric Bachard


--
qɔᴉɹə






[dev] about the native print error on Mac AquaBuild

2008-06-19 Thread debin lei
hi All

  I am interested in developing Mac AquaBuild. And i found a pb on the
build.
  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not
launched before OO, i selected the Open PDF in Preview button from the
native print dialog. it got an error.(Printing failed because
PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was
launched before the OO, it worked.
  I used gdb to debug it , i found the error occured
in  _LSOpenItemsWithRole_Common() it returns -10810
 #0  0x955a82e8 in _LSOpenItemsWithRole_Common ()
#1  0x955a5910 in LSOpenFromRefSpec ()
#2  0x94a2963a in PJCEndDocument ()
#3  0x94a28c1e in PMSessionEndDocumentNoDialog ()
#4  0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] ()
#5  0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] ()
#6  0x96e63f41 in -[NSConcretePrintOperation _renderView] ()
#7  0x96eaa9c4 in -[NSConcretePrintOperation runOperation] ()

 Can anyone help me ?


 Best Regards.
 Lei Debin