Re: commit: more Win32 cmd line processing work

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun May 12 2002 - 22:05:52 EDT

  • Next message: Anthony Fok: "Re: (Fwd) the encoding "Big5" (that's traditional Chinese encoding"

     --- "Kenneth J.Davis" <jeremyd@computer.org> wrote: >
    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 )

    I'm just wondering if message boxes are always the
    right way to show these errors on Windows.
    If you're running from the command line to just
    convert files between formats without opening the GUI
    should the errors just output to the console?

    Andrew Dunbar.

    > 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;
    >
    >

    =====
    http://linguaphile.sourceforge.net http://www.abisource.com

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com



    This archive was generated by hypermail 2.1.4 : Sun May 12 2002 - 22:09:05 EDT