Module: wine
Branch: refs/heads/master
Commit: 2940fd91706209ee2bc8e5fe753630a9c19ae869
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2940fd91706209ee2bc8e5f…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Sun Mar 19 22:25:49 2006 +0000
d3d8: Downgrade a FIXME to a TRACE in IDirect3DDevice8Impl_SetVertexShader.
---
dlls/d3d8/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 4038188..33d56fb 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1088,7 +1088,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetV
/* Call SetVertexShader with a NULL shader to set the vertexshader in the stateblock to NULL. */
IWineD3DDevice_SetVertexShader(This->WineD3DDevice, NULL);
} else {
- FIXME("Setting shader\n");
+ TRACE("Setting shader\n");
if (MAX_SHADERS <= pShader - (VS_HIGHESTFIXEDFXF + 1)) {
FIXME("(%p) : Number of shaders exceeds the maximum number of possible shaders\n", This);
hrc = D3DERR_INVALIDCALL;
Module: wine
Branch: refs/heads/master
Commit: 9f487ba1dee3426b1acd03e3d02e00b79e71aec0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9f487ba1dee3426b1acd03e…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Sat Mar 18 16:12:15 2006 +0000
msi: Optimise WHERE operations.
Optimise WHERE operations on matching against strings by adding a new
function find_matching_rows to the views, which eliminates the need to
examine every record when executing a query. Implement this function
in the table using a hash table on the ID stored in the data.
---
dlls/msi/delete.c | 11 +++++
dlls/msi/distinct.c | 24 +++++++++++
dlls/msi/insert.c | 11 +++++
dlls/msi/msipriv.h | 16 +++++++
dlls/msi/order.c | 21 +++++++++-
dlls/msi/select.c | 21 +++++++++-
dlls/msi/table.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++-
dlls/msi/update.c | 10 ++++-
dlls/msi/where.c | 63 +++++++++++++++++++++++++++++
9 files changed, 276 insertions(+), 10 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=9f487ba1dee3426b1ac…
Module: wine
Branch: refs/heads/master
Commit: 7eefc9eb0d853ad8d513ae5d66bff9afd83f515e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7eefc9eb0d853ad8d513ae5…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:33:16 2006 +0100
dbghelp: Support for LF_VTSHAPE in MSC.
- added preliminary support for VT (virtual table) shape
type record
- as we don't do C++, it's just a hack to get rid of
some errors
---
dlls/dbghelp/msc.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index b181af2..734cb5f 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1009,6 +1009,15 @@ static struct symt* codeview_parse_one_t
type->mfunction_v2.call);
break;
+ case LF_VTSHAPE_V1:
+ /* this is an ugly hack... FIXME when we have C++ support */
+ if (!(symt = existing))
+ {
+ char buf[128];
+ snprintf(buf, sizeof(buf), "__internal_vt_shape_%x\n", curr_type);
+ symt = &symt_new_udt(ctp->module, buf, 0, UdtStruct)->symt;
+ }
+ break;
default:
FIXME("Unsupported type-id leaf %x\n", type->generic.id);
dump(type, 2 + type->generic.len);
Module: wine
Branch: refs/heads/master
Commit: e737dbec7f324ca6a50de40d8ff8dd05a17a9f4a
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e737dbec7f324ca6a50de40…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:33:11 2006 +0100
dbghelp: MSC forward declaration.
- create an infrastructure for handling forward usage
of type records
- used it in some cases (pointer to yet not defined udt,
function signature, modifiers)
---
dlls/dbghelp/msc.c | 333 +++++++++++++++++++++++++++++++++++-----------------
1 files changed, 226 insertions(+), 107 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=e737dbec7f324ca6a50…
Module: wine
Branch: refs/heads/master
Commit: 79b47204f057b648437b9594104e27f47b38b316
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=79b47204f057b648437b959…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:33:06 2006 +0100
dbghelp: Type parsing refactoring.
- seperate types' table handling from a single type handling
by adding codeview_parse_one_type function
- factored all calls for caching symt
- make type parsing helpers return the symt instead of a
simple error status
---
dlls/dbghelp/msc.c | 404 ++++++++++++++++++++++++++--------------------------
1 files changed, 205 insertions(+), 199 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=79b47204f057b648437…
Module: wine
Branch: refs/heads/master
Commit: 209e175d83674c162a58b05941b5fdaa7694c632
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=209e175d83674c162a58b05…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:32:56 2006 +0100
dbghelp: Cleanup MSC bitfield handling.
- no longer caching bitfield information but accessing it directly
when needed
- removed all kludges for bitfield handling
- reused BOOL parameter to codeview_get_type for monitoring
traces (will be used in later patches)
---
dlls/dbghelp/msc.c | 186 +++++++++++++++---------------------------------
dlls/dbghelp/mscvpdb.h | 36 +++++----
2 files changed, 76 insertions(+), 146 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=209e175d83674c162a5…
Module: wine
Branch: refs/heads/master
Commit: 4c2cec55533abcb53a47a26b3cf244fadffcbfe9
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4c2cec55533abcb53a47a26…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:32:50 2006 +0100
dbghelp: Fieldlist.
- now that we have offset tables to type, we can cleanly
parse the field-lists and remove the associated kludges
- also adding internal structure for easing parameter sharing
across functions (codeview_type_parse)
- in mscvpdb.h, also reparated the type records that are
referenced from other type records (union codeview_type_ref)
from type records referenced by symbols (union codeview_type)
---
dlls/dbghelp/msc.c | 210 +++++++++++++++++++++++-------------------------
dlls/dbghelp/mscvpdb.h | 30 +++++--
2 files changed, 121 insertions(+), 119 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=4c2cec55533abcb53a4…
Module: wine
Branch: refs/heads/master
Commit: 633ab584c1e5e3e3e2c077f9d2cdb2bc612055ce
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=633ab584c1e5e3e3e2c077f…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:32:44 2006 +0100
dbghelp: MSC types.
- enforce the type records that can be accessed by symbols (these are
anyway the high level ones)
---
dlls/dbghelp/msc.c | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 559d325..8e269c7 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -752,6 +752,23 @@ static int codeview_parse_type_table(str
retv = TRUE;
type = (const union codeview_type*)(table + offset[curr_type - 0x1000]);
+ /* type records we're interested in are the ones referenced by symbols
+ * The known ranges are (X mark the ones we want):
+ * X 0000-0016 for V1 types
+ * 0200-020c for V1 types referenced by other types
+ * 0400-040f for V1 types (complex lists & sets)
+ * X 1000-100f for V2 types
+ * 1200-120c for V2 types referenced by other types
+ * 1400-140f for V1 types (complex lists & sets)
+ * X 1500-150d for V3 types
+ * 8000-8010 for numeric leafes
+ */
+ if ((type->generic.id & 0x8600) &&
+ type->generic.id != LF_BITFIELD_V1 && /* still some cases to fix */
+ type->generic.id != LF_BITFIELD_V2 &&
+ type->generic.id != LF_FIELDLIST_V1 &&
+ type->generic.id != LF_FIELDLIST_V2)
+ continue;
switch (type->generic.id)
{
case LF_MODIFIER_V1:
@@ -943,15 +960,6 @@ static int codeview_parse_type_table(str
type->mfunction_v2.call);
break;
- case LF_ARGLIST_V1:
- case LF_ARGLIST_V2:
- {
- static int once;
- if (!once++)
- FIXME("Not adding parameters' types to function signature\n");
- }
- break;
-
default:
FIXME("Unsupported type-id leaf %x\n", type->generic.id);
dump(type, 2 + type->generic.len);
Module: wine
Branch: refs/heads/master
Commit: c0e0de6c4e7aea28bf3d707f50f6ca5b47a38b84
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c0e0de6c4e7aea28bf3d707…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:32:31 2006 +0100
dbghelp: Compiland and source files are not the same thing.
- in MSC debug info parsing, clearly separate a source file
information from a compiland (including in linetab structure)
- in ELF debug info parsing, now storing compiland directly
in symtab_elt while browsing the symtab section (we still
create twice the compilands, once in stabs/dwarf parsing,
a second time in symtab parsing)
---
dlls/dbghelp/elf_module.c | 58 +++++++++++------------------------
dlls/dbghelp/msc.c | 74 ++++++++++++++++++---------------------------
dlls/dbghelp/mscvpdb.h | 22 +++++++++----
3 files changed, 62 insertions(+), 92 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=c0e0de6c4e7aea28bf3…
Module: wine
Branch: refs/heads/master
Commit: a1a54e7bf737e5275ac5ba63bafc51272f12f368
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a1a54e7bf737e5275ac5ba6…
Author: Vitaly Lipatov <lav(a)etersoft.ru>
Date: Fri Mar 17 18:36:11 2006 +0300
gdi32: Look for ttf fonts in the Wine font dir.
---
dlls/gdi/freetype.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi/freetype.c b/dlls/gdi/freetype.c
index f38ef1b..1914f1f 100644
--- a/dlls/gdi/freetype.c
+++ b/dlls/gdi/freetype.c
@@ -1499,6 +1499,7 @@ BOOL WineEngInit(void)
WCHAR windowsdir[MAX_PATH];
char *unixname;
HANDLE font_mutex;
+ const char *data_dir;
TRACE("\n");
@@ -1578,7 +1579,7 @@ BOOL WineEngInit(void)
}
WaitForSingleObject(font_mutex, INFINITE);
- /* load the system fonts */
+ /* load the system bitmap fonts */
load_system_fonts();
/* load in the fonts from %WINDOWSDIR%\\Fonts first of all */
@@ -1590,6 +1591,15 @@ BOOL WineEngInit(void)
HeapFree(GetProcessHeap(), 0, unixname);
}
+ /* load the system truetype fonts */
+ data_dir = wine_get_data_dir();
+ if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
+ strcpy(unixname, data_dir);
+ strcat(unixname, "/fonts/");
+ ReadFontDir(unixname, FALSE);
+ HeapFree(GetProcessHeap(), 0, unixname);
+ }
+
/* now look under HKLM\Software\Microsoft\Windows[ NT]\CurrentVersion\Fonts
for any fonts not installed in %WINDOWSDIR%\Fonts. They will have their
full path as the entry. Also look for any .fon fonts, since ReadFontDir