From: Kenneth J.Davis (jeremyd@computer.org)
Date: Sun May 12 2002 - 18:23:49 EDT
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: win/ap_Win32App.cpp win/ap_Win32App.h xp/ap_App.cpp
CVS: xp/ap_Args.cpp
CVS: ----------------------------------------------------------------------
continued Win32 cmdline processing work
Hopefully I didn't break other platforms. More work towards getting
Win32 build using popt. The AbiWord source is now mostly done and
displays in MessageBoxes, however to view the popt output you still
need to run it through another program (e.g. Abiword --help | more )
For the windows to actually display you need to apply a patch similar
to below to win/ap_Win32Frame.cpp (I did not commit it as I am using
a modified ap_Win32Frame.cpp that has a fix for bug 1750).
I will work on this more tommorrow. I still need to adjust when
the window is opened (it currently loads the document before displaying)
and make sure I haven't introduced new window position/displaying
bugs into the Window code.
Jeremy Davis
jeremyd@computer.org
Index: win/ap_Win32Frame.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/ap/win/ap_Win32Frame.cpp,v
retrieving revision 1.82
diff -u -5 -r1.82 ap_Win32Frame.cpp
--- win/ap_Win32Frame.cpp 21 Mar 2002 16:36:31 -0000 1.82
+++ win/ap_Win32Frame.cpp 12 May 2002 22:19:24 -0000
@@ -710,11 +762,12 @@
}
UT_Error AP_Win32Frame::loadDocument(const char * szFilename, int ieft, bool createNew)
{
UT_ASSERT(UT_TODO);
- return UT_OK;
+ return loadDocument(szFilename, ieft);
}
UT_Error AP_Win32Frame::loadDocument(const char * szFilename, int ieft)
{
UT_Vector vClones;
This archive was generated by hypermail 2.1.4 : Sun May 12 2002 - 18:30:46 EDT