Author: cfinck
Date: Fri Jan 29 22:28:31 2010
New Revision: 45321
URL: http://svn.reactos.org/svn/reactos?rev=45321&view=rev
Log:
- Explicitly build all target libraries with STABS+ debug information. (for people using GDB and such)
For some reason, our libxslt is also miscompiled when no -g* option was specified here (due to libgcc). Using -gstabs+ also fixes this.
- Fix message shown before building RosBE-Unix.
Modified:
trunk/tools/RosBE/RosBE-Unix/Base-i386/RosBE-Builder.sh
trunk/tools/RosBE/RosBE-Windows/Buildtoolchain/rosbe_1.5/buildtoolchain.sh
Modified: trunk/tools/RosBE/RosBE-Unix/Base-i386/RosBE-Builder.sh
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/Base-i386/R…
==============================================================================
--- trunk/tools/RosBE/RosBE-Unix/Base-i386/RosBE-Builder.sh [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Unix/Base-i386/RosBE-Builder.sh [iso-8859-1] Fri Jan 29 22:28:31 2010
@@ -11,7 +11,7 @@
rs_host_cflags="-pipe -O2"
rs_needed_tools="bison flex gcc g++ grep makeinfo" # GNU Make has a special check
rs_target="mingw32"
-rs_target_cflags="-pipe -O2 -march=pentium -mtune=i686"
+rs_target_cflags="-pipe -gstabs+ -O2 -march=pentium -mtune=i686"
# Get the absolute path to the script directory
cd `dirname $0`
@@ -169,7 +169,7 @@
rs_boldmsg "Ready to start"
echo "Ready to build and install the ReactOS Build Environment."
- echo "Press any key to continue or Ctrl+C to exit."
+ echo "Press Return to continue or Ctrl+C to exit."
read
else
installdir=`eval echo $1`
Modified: trunk/tools/RosBE/RosBE-Windows/Buildtoolchain/rosbe_1.5/buildtoolchain.sh
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Buildtoo…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Buildtoolchain/rosbe_1.5/buildtoolchain.sh [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Buildtoolchain/rosbe_1.5/buildtoolchain.sh [iso-8859-1] Fri Jan 29 22:28:31 2010
@@ -30,7 +30,7 @@
rs_host_cflags="-pipe -fno-common -O2 -march=pentium3 -mfpmath=sse" # -fno-common needed for native builds due to GCC 4.4 bug according to Dmitry Gorbachev
rs_needed_tools="bison flex gcc g++ grep makeinfo" # GNU Make has a special check
rs_target="mingw32"
-rs_target_cflags="-pipe -O2 -march=pentium -mtune=i686"
+rs_target_cflags="-pipe -gstabs+ -O2 -march=pentium -mtune=i686"
# Get the absolute path to the script directory
cd `dirname $0`
@@ -246,8 +246,6 @@
echo "Removing debugging symbols..."
find -executable -type f -exec strip -s {} ";" >& /dev/null
-find -name "*.a" -type f -exec strip -d {} ";"
-find -name "*.o" -type f -exec strip -d {} ";"
##### END almost shared buildtoolchain/RosBE-Unix building part ###############
# Create the package out of the built files if we want to build the "mingw_runtime_dev" package
Author: fireball
Date: Fri Jan 29 22:02:00 2010
New Revision: 45319
URL: http://svn.reactos.org/svn/reactos?rev=45319&view=rev
Log:
[CSR]
- DejaVu Sans Mono seems to have a bug which makes Windows and Arwinss report double max char width as compared to a real char width. Since only a monospace font could be used, measure exact char width using GetTextExtentPoint32W and use that value.
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c [iso-8859-1] Fri Jan 29 22:02:00 2010
@@ -685,6 +685,7 @@
HDC Dc;
HFONT OldFont;
TEXTMETRICW Metrics;
+ SIZE CharSize;
PCSRSS_PROCESS_DATA ProcessData;
HKEY hKey;
@@ -762,6 +763,11 @@
}
GuiData->CharWidth = Metrics.tmMaxCharWidth;
GuiData->CharHeight = Metrics.tmHeight + Metrics.tmExternalLeading;
+
+ /* Measure real char width more precisely if possible. */
+ if (GetTextExtentPoint32W(Dc, L"R", 1, &CharSize))
+ GuiData->CharWidth = CharSize.cx;
+
SelectObject(Dc, OldFont);
ReleaseDC(hWnd, Dc);