Module: wine
Branch: master
Commit: 5d74f5838266e81a969f97cf389f6369c5bc46c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5d74f5838266e81a969f97cf3…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com>
Date: Wed Jan 28 01:34:56 2009 -0500
richedit: Actually store end of line string for end paragraph runs.
Previously a count of the carraige returns and line feeds were stored
for end of paragraph runs, and a paragraph sign was stored as the actual
string. This was causing many special cases where the length of the
run needed to be determined differently if the run was or wasn't an
end of paragraph run.
There wasn't any use for storing the paragraph sign unless some drawing
code gets commented out to allow the end paragraphs to be shown,
therefore I changed the code to store the actual string that gets
retrieved by WM_GETTEXT.
---
dlls/riched20/caret.c | 35 +++++++++++----------
dlls/riched20/editor.c | 69 +++++++++++++----------------------------
dlls/riched20/editor.h | 2 +-
dlls/riched20/editstr.h | 3 +-
dlls/riched20/list.c | 6 +--
dlls/riched20/paint.c | 1 -
dlls/riched20/para.c | 32 ++++++++-----------
dlls/riched20/run.c | 8 +----
dlls/riched20/string.c | 1 +
dlls/riched20/table.c | 21 ++++++++-----
dlls/riched20/undo.c | 6 +--
dlls/riched20/writer.c | 58 ++++++++--------------------------
dlls/riched32/tests/editor.c | 13 ++++++--
13 files changed, 101 insertions(+), 154 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=5d74f5838266e81a969f9…
Module: wine
Branch: master
Commit: 271e3bbad444d0975f0ea8a1230c2a46b766c1b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=271e3bbad444d0975f0ea8a12…
Author: Lei Zhang <thestig(a)google.com>
Date: Tue Jan 27 15:49:30 2009 -0800
wineps.drv: Remove SelectBitmap stub implementation.
---
dlls/wineps.drv/Makefile.in | 1 -
dlls/wineps.drv/objects.c | 33 ---------------------------------
dlls/wineps.drv/wineps.drv.spec | 1 -
3 files changed, 0 insertions(+), 35 deletions(-)
diff --git a/dlls/wineps.drv/Makefile.in b/dlls/wineps.drv/Makefile.in
index fef94ae..52bc28f 100644
--- a/dlls/wineps.drv/Makefile.in
+++ b/dlls/wineps.drv/Makefile.in
@@ -60,7 +60,6 @@ C_SRCS = \
glyphlist.c \
graphics.c \
init.c \
- objects.c \
pen.c \
ppd.c \
ps.c \
diff --git a/dlls/wineps.drv/objects.c b/dlls/wineps.drv/objects.c
deleted file mode 100644
index 274e7f9..0000000
--- a/dlls/wineps.drv/objects.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * PostScript driver object handling
- *
- * Copyright 1998 Huw D M Davies
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include "psdrv.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
-
-/***********************************************************************
- * SelectBitmap (WINEPS.@)
- */
-HBITMAP PSDRV_SelectBitmap( PSDRV_PDEVICE *physDev, HBITMAP hbitmap )
-{
- FIXME("stub\n");
- return 0;
-}
diff --git a/dlls/wineps.drv/wineps.drv.spec b/dlls/wineps.drv/wineps.drv.spec
index 1d3f20c..38ada75 100644
--- a/dlls/wineps.drv/wineps.drv.spec
+++ b/dlls/wineps.drv/wineps.drv.spec
@@ -27,7 +27,6 @@
@ cdecl Rectangle(ptr long long long long) PSDRV_Rectangle
@ cdecl ResetDC(ptr ptr) PSDRV_ResetDC
@ cdecl RoundRect(ptr long long long long long long) PSDRV_RoundRect
-@ cdecl SelectBitmap(ptr long) PSDRV_SelectBitmap
@ cdecl SelectBrush(ptr long) PSDRV_SelectBrush
@ cdecl SelectFont(ptr long long) PSDRV_SelectFont
@ cdecl SelectPen(ptr long) PSDRV_SelectPen