Thomas Kho | 1 Jul 04:02 2006

wcmd: modify option-parser to allow compound options

wcmd: modify option-parser to allow compound options
Perl's `system` is implemented as `cmd.exe /x/d/c ...`, and this patch allows
parsing of the compound options

Thomas Kho

---

 programs/wcmd/wcmdmain.c |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c
index 8b61445..1af01eb 100644
--- a/programs/wcmd/wcmdmain.c
+++ b/programs/wcmd/wcmdmain.c
 <at>  <at>  -61,21 +61,30  <at>  <at>  int main (int argc, char *argv[])
   opt_c=opt_k=opt_q=0;
   while (*argv!=NULL)
   {
-      if (lstrcmpi(*argv,"/c")==0) {
-          opt_c=1;
+      char c;
+      if ((*argv)[0]!='/' || (*argv)[1]=='\0') {
           argv++;
-          break;
-      } else if (lstrcmpi(*argv,"/q")==0) {
+          continue;
+      }
+
+      c=(*argv)[1];
(Continue reading)

Tony Lambregts | 1 Jul 06:52 2006
Picon

[AppDB] Fix Screenshots on windows IE 6 and others

My was testing out the AppDB on several different browsers and I had 
some problems with them that this patch fixes.

Windows XP Home edition.
==========
IE 6 sp2 
* http://appdb.winehq.org/viewScreenshots.php would not display thumbnails

Firefox 1.07
* http://appdb.winehq.org/viewScreenshots.php did display thumbnails but 
appimage.php does not open a new window
the java console finds this error.
Error: syntax error
Source Code:
javascript:openWin('./appimage.php?id=52','ttzqd',,4);return false;

Fedora Core 4
==========
SeaMonkey/1.0
* http://appdb.winehq.org/viewScreenshots.php did display thumbnails but 
appimage.php does not open a new window

Konqueror 3.4.0-5
* Side and bottom bars obscure bottom and side of screenshot in appimage.php

Firefox 1.04
* http://appdb.winehq.org/viewScreenshots.php did display thumbnails but 
appimage.php does not open a new window

==========
(Continue reading)

Daniel Steven Hipschman | 1 Jul 07:44 2006

Slow EULA display patch

This patch fixes the slow EULA loading problem in
http://bugs.winehq.org/show_bug.cgi?id=5516
The problem was that GetTextExtentExPointW was using an order n-squared
algorithm to fill in the array of partial extents.  It computed the extent
of every prefix of the string using WineEngGetTextExtentPoint.  The fix
moves the filling in of the array into the lower level function
WineEngGetTextExtentExPoint, which can do this at the same time as when
it computes the complete extent.  The patch speeds up loading of the
EULA in Adobe's trial product
(http://www.adobe.com/products/acrobatpro/tryreg.html) from 7-8 minutes to
seconds on my system.

ChangeLog:
* Sped up GetTextExtentExPointW by adding a new freetype GDI font function
  WineEngGetTextExtentExPoint and a new DC function pGetTextExtentExPoint.
---
 dlls/gdi/enhmfdrv/init.c |    1 +
 dlls/gdi/font.c          |   68 ++++++++++++++++------------------------------
 dlls/gdi/freetype.c      |   48 ++++++++++++++++++++++++++------
 dlls/gdi/gdi_private.h   |    2 +
 dlls/gdi/mfdrv/init.c    |    1 +
 5 files changed, 66 insertions(+), 54 deletions(-)

diff --git a/dlls/gdi/enhmfdrv/init.c b/dlls/gdi/enhmfdrv/init.c
index 82f0222..4c64fae 100644
--- a/dlls/gdi/enhmfdrv/init.c
+++ b/dlls/gdi/enhmfdrv/init.c
 <at>  <at>  -80,6 +80,7  <at>  <at>  static const DC_FUNCTIONS EMFDRV_Funcs =
     NULL,                            /* pGetPixel */
     NULL,                            /* pGetPixelFormat */
(Continue reading)

Stefan Dösinger | 1 Jul 13:40 2006
Picon
Picon

DDraw / WineD3D: Use CheckAdapterFormat, remove format enumerating calls

When I added IWineD3DDevice::EnumZBufferFormats and 
IWineD3DDevice::EnumTextureFormats I wasn't aware of 
IWineD3D:CheckDeviceFormat. This patch corrects that. 
IDirect3D7::EnumZBufferFormats and IDirect3DDevice7::EnumTextureFormats keep 
a list of possible formats(WINED3DFORMATs that exist in ddraw) and call 
CheckDeviceFormat to see if it is supported. This makes the format handling 
in wined3d simpler.

ChangeLog:
Stefan Dösinger: Use CheckDeviceFormat for format enumeration, remove the 
enumeration methods from wined3d
From nobody Mon Sep 17 00:00:00 2001
From: Stefan Dösinger <stefan <at> codeweavers.com>
Date: Sat Jul 1 13:36:46 2006 +0200
Subject: [PATCH] DDraw / WineD3D: Use CheckDeviceFormat, remove enumeration methods

---

 dlls/ddraw/device.c              |  192 ++++++++++++++++++++++----------------
 dlls/ddraw/direct3d.c            |   84 ++++++++++-------
 dlls/wined3d/device.c            |   85 -----------------
 include/wine/wined3d_interface.h |    8 --
 4 files changed, 161 insertions(+), 208 deletions(-)

014cf80bb70886320c8f7351cbbe31cb09c4215b
diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 63f272b..e394e81 100644
--- a/dlls/ddraw/device.c
(Continue reading)

Hwang YunSong(황윤성 | 1 Jul 13:48 2006

[clock]update korean resource

-- programs/clock/Ko.rc        2006-07-01 20:43:49.000000000 +0900
+++ Ko.rc       2006-07-01 20:45:40.000000000 +0900
 <at>  <at>  -24,23 +24,23  <at>  <at> 

 MAIN_MENU MENU
 {
- POPUP "&#65533; d &P" {
-  MENUITEM "&#435;α&#65533;&L", IDM_ANALOG
-  MENUITEM "&#65533;&#65533;&#65533;&T", IDM_DIGITAL
+ POPUP "&#65533; d(&P)" {
+  MENUITEM "&#435;α&#65533;&L)", IDM_ANALOG
+  MENUITEM "&#65533;&#65533;&#65533;&T)", IDM_DIGITAL
   MENUITEM SEPARATOR
-  MENUITEM "&#1778;&#65533;&F...", IDM_FONT
+  MENUITEM "&#1778;&#65533;&F)...", IDM_FONT
   MENUITEM SEPARATOR
-  MENUITEM "f&#65533;&#65533; &#65533; &W", IDM_NOTITLE
+  MENUITEM "f&#65533;&#485;&#65533;&#65533;&#65533;(&W)", IDM_NOTITLE
   MENUITEM SEPARATOR
-  MENUITEM "&#65533; &S", IDM_SECONDS
-  MENUITEM "&#165; &D", IDM_DATE
+  MENUITEM "&#65533;(&S)", IDM_SECONDS
+  MENUITEM "&#165;(&D)", IDM_DATE
   MENUITEM SEPARATOR
-  MENUITEM "&#65533;&#65533;d&#65533;&A", IDM_ONTOP
+  MENUITEM "&#65533;&#65533; &#1407; (&A)", IDM_ONTOP
  }
- POPUP "d &o" {
-  MENUITEM "&#65533;&#65533;&L...", IDM_LICENSE
-  MENUITEM "&#65533; &#65533; &N...", IDM_NOWARRANTY
(Continue reading)

Robert Shearman | 1 Jul 14:28 2006

oleaut32: Fix parsing of hex numbers with 'e' in the string by moving the exponent parsing to after the hex digit parsing.

---

  dlls/oleaut32/tests/vartest.c |    8 +++++---
  dlls/oleaut32/variant.c       |   35 ++++++++++++++++++-----------------
  2 files changed, 23 insertions(+), 20 deletions(-)


Hwang YunSong(황윤성 | 1 Jul 14:33 2006

[cmdlgtst] updated Korean resource

--- programs/cmdlgtst/Ko.rc	2006-07-01 20:57:24.000000000 +0900
+++ Ko.rc	2006-07-01 20:59:20.000000000 +0900
 <at>  <at>  -40,21 +40,21  <at>  <at> 
   MENUITEM "텍스트 찾기(&T)", CM_U_FIND
   MENUITEM "텍스트 바꾸기(&R)", CM_U_REPLACE
   MENUITEM SEPARATOR
-  MENUITEM "인쇄(&r)", CM_U_PRINT
-  MENUITEM "인쇄 설정(&g)", CM_U_PAGESETUP
+  MENUITEM "인쇄(&R)", CM_U_PRINT
+  MENUITEM "인쇄 설정(&G)", CM_U_PAGESETUP
  }

- POPUP "플래그(&l)"
+ POPUP "플래그(&L)"
  {
-  MENUITEM "파일(&e)", CM_F_FILE
+  MENUITEM "파일(&E)", CM_F_FILE
   MENUITEM SEPARATOR
   MENUITEM "색상(&C)", CM_F_COLOR
   MENUITEM "글꼴(&F)", CM_F_FONT
   MENUITEM SEPARATOR
   MENUITEM "찾기/바꾸기(&R)", CM_F_FINDREPLACE
   MENUITEM SEPARATOR
-  MENUITEM "인쇄(&r)", CM_F_PRINT
-  MENUITEM "인쇄 설정(&g)", CM_F_PAGESETUP
+  MENUITEM "인쇄(&R)", CM_F_PRINT
+  MENUITEM "인쇄 설정(&G)", CM_F_PAGESETUP
  }

  POPUP "도움말(&H)"
(Continue reading)

Hwang YunSong(황윤성 | 1 Jul 14:34 2006

[comctl32] updated Korean resource

--- dlls/comctl32/comctl_Ko.rc	2006-07-01 21:19:32.000000000 +0900
+++ comctl_Ko.rc	2006-07-01 21:20:18.000000000 +0900
 <at>  <at>  -54,11 +54,11  <at>  <at> 
 FONT 9, "MS Shell Dlg"
 BEGIN
   DEFPUSHBUTTON "닫기(&C)",     IDCANCEL,308,6,44,14
-  PUSHBUTTON    "다시(&e)",     IDC_RESET_BTN,308,23,44,14
+  PUSHBUTTON    "다시(&E)",     IDC_RESET_BTN,308,23,44,14
   PUSHBUTTON    "도움말(&H)",      IDC_HELP_BTN,308,40,44,14
   PUSHBUTTON    "위로 이동(&U)",   IDC_MOVEUP_BTN,308,74,44,14
   PUSHBUTTON    "아래로 이동(&D)", IDC_MOVEDN_BTN,308,91,44,14
-  LTEXT         "가능한 버튼(&v)", -1,4,5,84,10
+  LTEXT         "가능한 버튼(&V)", -1,4,5,84,10
   LISTBOX       IDC_AVAILBTN_LBOX,4,17,120,100, LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
   PUSHBUTTON    "더하기(&A) ->",    IDOK, 131, 42, 44, 14
   PUSHBUTTON    "<- 제거하기(&R)", IDC_REMOVE_BTN,131,62,44,14
 <at>  <at>  -81,3 +81,9  <at>  <at> 
 {
     IDS_SEPARATOR "분리자"
 }
+
+STRINGTABLE DISCARDABLE
+{
+   HKY_NONE "없음"
+}
+

-------------------------------------------------
Your Life on the Net
(Continue reading)

Hwang YunSong(황윤성 | 1 Jul 14:34 2006

[comdlg32] updated Korean resource

--- dlls/comdlg32/cdlg_Ko.rc	2006-07-01 21:17:17.000000000 +0900
+++ cdlg_Ko.rc	2006-07-01 21:21:11.000000000 +0900
 <at>  <at>  -37,9 +37,9  <at>  <at> 
  LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
LBS_DISABLENOSCROLL | WS_TABSTOP
  LTEXT "파일 형식 목록(&T):", 1089, 6, 104, 90, 9
  COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
- LTEXT "드라이브(&v):", 1091, 110, 104, 92, 9
+ LTEXT "드라이브(&V):", 1091, 110, 104, 92, 9
  COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
- DEFPUSHBUTTON "Open", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
+ DEFPUSHBUTTON "열", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
  PUSHBUTTON "취소", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
  PUSHBUTTON "도움말(&H)", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
  CHECKBOX "읽기 전용(&R)", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 <at>  <at>  -59,7 +59,7  <at>  <at> 
  LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS |
LBS_DISABLENOSCROLL | WS_TABSTOP
  LTEXT "파일 형식 목록(&T):", 1089, 6, 104, 90, 9
  COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
- LTEXT "드라이브(&v):", 1091, 110, 104, 92, 9
+ LTEXT "드라이브(&V):", 1091, 110, 104, 92, 9
  COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
  DEFPUSHBUTTON "다른 이름으로 저장", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
  PUSHBUTTON "취소", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
 <at>  <at>  -77,7 +77,7  <at>  <at> 
  LTEXT "", 1089, 60, 6, 150, 9
  GROUPBOX "인쇄 범위", grp1, 6, 30, 160, 65, BS_GROUPBOX
(Continue reading)

Hwang YunSong(황윤성 | 1 Jul 14:36 2006

[mshtml] updated Koren Resource

--- dlls/mshtml/Ko.rc	2006-07-01 21:21:37.000000000 +0900
+++ Ko.rc	2006-07-01 21:24:54.000000000 +0900
 <at>  <at>  -24,8 +24,24  <at>  <at> 
 {
     IDS_HTMLDISABLED    "HTML 렌더링은 현재 가능하지 않음."
     IDS_HTMLDOCUMENT    "HTML 문서"
+   IDS_DOWNLOADING     "다운로드 중..."
+   IDS_INSTALLING      "설치 중..."
 }
 
+ID_DWL_DIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE  0, 0, 260, 85
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Wine Gecko 설치 풀그림"
+FONT 8, "MS Shell Dlg"
+{
+    LTEXT "이 어플리케이션은 HTML 페이지를 보여주려고 합니다. Wine은 이
페이지를 보여주기 위해를  " \
+    "Gecko (Mozilla HTML 엔진)를 설치할 것입니다. Wine이 자동으로 Gecko를
다운로드하고 설치하기를 원한다면 " \
+   "[설치]버튼을 클릭하십시오", ID_DWL_STATUS, 10, 10, 240, 30, SS_CENTER
+   CONTROL "Progress", ID_DWL_PROGRESS, PROGRESS_CLASSA, WS_BORDER|PBS_SMOOTH, 10, 40, 240, 12
+   PUSHBUTTON "취소", IDCANCEL, 140, 60, 50, 15, WS_GROUP | WS_TABSTOP
+   PUSHBUTTON "설치", ID_DWL_INSTALL, 200, 60, 50, 15, WS_GROUP | WS_TABSTOP
+}
+
+
 /* FIXME: This should be in shdoclc.dll */
 
 IDR_BROWSE_CONTEXT_MENU MENU
 <at>  <at>  -33,23 +49,23  <at>  <at> 
(Continue reading)


Gmane