unsupported functions (fwd)

2000-06-09 Thread Douglas Ridgway


As forwarded.

doug.
[EMAIL PROTECTED]

-- Forwarded message --
Date: Fri, 09 Jun 2000 14:49:15 -0500
From: Matthew Lake <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: unsupported functions

are these functions on a to-do list somewhere?  they are the remaining
functions missing to compleat the port of our product to linux.

StartDocPrinter
StartPagePrinter
EndDocPrinter
EndPagePrinter
Netbios
itoa

ListView_SetColumn
ListView_SetTextColor
ListView_SetTextBkColor
ListView_SetExtendedListViewStyleEx

ListView_GetColumn
ListView_GetExtendedListViewStyle

ListView_DeleteColumn

OleAutoGetPropOne
OleAutoReleaseRoute

HtmlHelp






Re: CVS Errors

2000-06-09 Thread Bertho Stultiens

Douglas Ridgway wrote:
> > I'm still getting the error "`/home/wine/wine/dlls/kernel': Permission
> > denied", all other directories work fine. Is there still a problem?
> 
> Yes. I don't understand it yet, though. The permission is getting reset
> somehow, perhaps by cvsup.
> 
> Hopefully, I'll be able to resolve it when I get more than five minutes in
> a row to work on it. Till then, use another server.

Setting umask are you? That was the problem at my server in the
beginning. Look at the cron job there.

Greetings Bertho




CVS Problems

2000-06-09 Thread Josef Wegner

Hello,

I have problems to update the wine source via CVS. I use Cervisia 0.5.0...
it worked pretty good in the past but now it always says:

cvs server: failed to create lock directory in repository 
`/home/wine/wine/dlls/kernel': Permission denied
cvs server: failed to obtain dir lock in repository `/home/wine/wine/dlls/kernel'
cvs [server aborted]: read lock failed - giving up
[Exited with error]

What is going wrong?

Thanks
Josef




Re: Star Money 2.0 crash

2000-06-09 Thread gerard patel

At 06:18 PM 6/9/00 +0200, you wrote:

>The question is:
>Should we
>a) Apply this patch and forget about wIDmenu <-> hMenu potential clash ?
>b) Apply this patch *and* fix the clash ?
>c) Only fix the clash and forget about this patch ?

I don't think there is a clash.
The combo listbox is now created like a child window in controls/combo.c
But this 'strange little beast' is not keeping its style when it's reparented 
in the wnd.c file (because of the code removed by my patch).
So, the style is turned from child to neither child nor popup - hence,
overlapped (main window).
An overlapped window can have a menu and has, of course, no
child Id.. A child has an Id, but can't have a menu.
With my patch, the id can't be handled as a menu handle in the (rather
special) case of the combolbox.

It's  an incredibly bad design, of course, but being compatible with Windows
and having a good design is a challenge.

Gerard




Re: Star Money 2.0 crash

2000-06-09 Thread Juergen Schmied


> The question is:
> Should we
> a) Apply this patch and forget about wIDmenu <-> hMenu potential clash ?
> b) Apply this patch *and* fix the clash ?
> c) Only fix the clash and forget about this patch ?
d) update the internal data structure of menus to be 
compatible with the w2k/win98 data fields/flags. This
should resolve this problem also.

juergen


---
[EMAIL PROTECTED]

... from sunny Berlin




Re: CVS Errors

2000-06-09 Thread Douglas Ridgway



On Wed, 7 Jun 2000, Dave Hawkes wrote:

> I'm still getting the error "`/home/wine/wine/dlls/kernel': Permission
> denied", all other directories work fine. Is there still a problem?

Yes. I don't understand it yet, though. The permission is getting reset
somehow, perhaps by cvsup. 

Hopefully, I'll be able to resolve it when I get more than five minutes in
a row to work on it. Till then, use another server.

doug.
[EMAIL PROTECTED]




Re: Star Money 2.0 crash

2000-06-09 Thread Andreas Mohr

On Fri, Jun 09, 2000 at 03:09:27AM -0600, gerard patel wrote:
> At 11:55 PM 6/8/00 +0200, you wrote:
> 
> >OK, I'll see what I can do ;-)
> 
> Could you try the following patch against windows/x11drv/wnd.c
Damn, that worked !
How did you get that done ?

The question is:
Should we
a) Apply this patch and forget about wIDmenu <-> hMenu potential clash ?
b) Apply this patch *and* fix the clash ?
c) Only fix the clash and forget about this patch ?

Thanks,

Andreas Mohr




Re: Star Money 2.0 crash

2000-06-09 Thread Jim Aston

Andreas Mohr wrote:

> Hi all,
>
> Star Money 2.0 demo crashes here:
> trace:relay:WINPROC_CallWndProc 
>(wndproc=0x4008a3a8,hwnd=0540,msg=WM_NCCALCSIZE,wp=0001,lp=41096280)
> trace:menu:MENU_GetMenuBarHeight HWND 0x540, width 372, at (1, 1).
> trace:menu:MENU_MenuBarCalcSize left=1 top=1 right=373 bottom=20
> trace:menu:MENU_MenuBarCalcSize calling MENU_CalcItemSize org=(1, 1)
> trace:menu:do_debug_print_menuitem   item:  { ID=0x50, Sub=0x50, Typ=pop,rorder, 
>Text=Null }
> trace:menu:MENU_CalcItemSize dc=0x0910 owner=0x0540 (1,1)
> trace:menu:do_debug_print_menuitem MENU_CalcItemSize: menuitem: { ID=0x50, Sub=0x50, 
>Typ=pop,rorder, Text=Null }  (MenuBar)
> ^^^

Sorry for jumping into the thread late, but I have
been looking into a probably related menu bug.

err:menu:MENU_FindItem Bad handle 01cf:(nil)
err:menu:InsertMenuA New menu item added to tree! hMenu 03c2, pos 16, flags 0400,
id , str ''
{ ID=0x, Typ=sep }


Intead of menu items I get separators with NULL buffers or buffer gets re-used
(whaterver garbage was there). This is similar to your problem.

The problem seem to be with the dymanic menu items, the MDI child windows
to be exact.  MENU_FindItem can't find them (bad handle) and returns NULL,
this leads to the chain of events where they get replaced by "default values"
eg <> "contents of buffer"

I should add that the menu is fine at startup, but the problem occurs when you
modify it later ( in my case when I "reset defaults" ).


Why these handles are(have become) invalid is a mystery.  It is the same
subdmenu handle that has been used on 15 menuitems previously, on the 16th
(and first MDI child) it is no longer valid.  This failure corrupts/truncates/
the menu.

Presently looking at MDISetMenu(), MDIRefreshMenu()(stub).
-Jim



-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "[EMAIL PROTECTED]".  
The poster's email address is "[EMAIL PROTECTED]".




Re: Star Money 2.0 crash

2000-06-09 Thread gerard patel

At 11:55 PM 6/8/00 +0200, you wrote:

>OK, I'll see what I can do ;-)

Could you try the following patch against windows/x11drv/wnd.c

Gerard

--- wnd.c.orig  Fri Jun  9 10:59:06 2000
+++ wnd.c   Fri Jun  9 11:05:07 2000
@@ -266,8 +266,8 @@
 {
   /* Create the X window (only for top-level windows, and then only */
   /* when there's no desktop window) */
-
-  if (!(cs->style & WS_CHILD) && (X11DRV_GetXRootWindow() == 
DefaultRootWindow(display)))
+  if ( (X11DRV_GetXRootWindow() == DefaultRootWindow(display))
+  && (wndPtr->parent->hwndSelf == GetDesktopWindow()))
   {
   WindowwGroupLeader;
   XWMHints* wm_hints;
@@ -446,7 +446,6 @@
 
 if( pWndParent == pDesktop )
 {
-wndPtr->dwStyle &= ~WS_CHILD;
 if( X11DRV_GetXRootWindow() == DefaultRootWindow(display) )
 {
 CREATESTRUCTA cs;
@@ -474,7 +473,6 @@
 {
 if( !( wndPtr->dwStyle & WS_CHILD ) )
 {
-wndPtr->dwStyle |= WS_CHILD;
 if( wndPtr->wIDmenu != 0)
 {
 DestroyMenu( (HMENU) wndPtr->wIDmenu );   





Re: CVS Problems again

2000-06-09 Thread Marcus Meissner

On Fri, Jun 09, 2000 at 10:45:22AM +0200, Bertho Stultiens wrote:
> Uwe Bonnes wrote:
> > trying to update yesterday evening and now I get:
> > cvs server: failed to create lock directory in repository 
>`/home/wine/wine/dlls/kernel': Permission denied
> > cvs server: failed to obtain dir lock in repository `/home/wine/wine/dlls/kernel'
> > cvs [server aborted]: read lock failed - giving up
> 
> Set CVSROOT to ome of the servers:

Or just add the line:

 cvs.winehq.com

to your /etc/hosts file. This is much more transparent. :)

Ciao, Marcus




Re: CVS Problems again

2000-06-09 Thread Bertho Stultiens

Uwe Bonnes wrote:
> trying to update yesterday evening and now I get:
> cvs server: failed to create lock directory in repository 
>`/home/wine/wine/dlls/kernel': Permission denied
> cvs server: failed to obtain dir lock in repository `/home/wine/wine/dlls/kernel'
> cvs [server aborted]: read lock failed - giving up

Set CVSROOT to ome of the servers:
:pserver:[EMAIL PROTECTED]:/home/wine
:pserver:[EMAIL PROTECTED]:/home/wine
:pserver:[EMAIL PROTECTED]:/home/wine
:pserver:[EMAIL PROTECTED]:/home/wine

Only setting CVSROOT is not enough. You must use the *commandline*
override in cvs:
cvs -d $CVSROOT ...

Greetings Bertho




CVS Problems again

2000-06-09 Thread Uwe Bonnes

Hallo,

trying to update yesterday evening and now I get:
cvs server: failed to create lock directory in repository 
`/home/wine/wine/dlls/kernel': Permission denied
cvs server: failed to obtain dir lock in repository `/home/wine/wine/dlls/kernel'
cvs [server aborted]: read lock failed - giving up

Bye

Uwe Bonnes[EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
- Tel. 06151 162516  Fax. 06151 164321 --