What's the point of adding all those useless stubbed dlls? It only contributes to increase build time
-------------------------------------------------- From: dchapyshev@svn.reactos.org Sent: Friday, June 27, 2008 7:34 PM To: ros-diffs@reactos.org Subject: [ros-diffs] [dchapyshev] 34135: - Add fontext.dll
Author: dchapyshev Date: Fri Jun 27 12:34:08 2008 New Revision: 34135
URL: http://svn.reactos.org/svn/reactos?rev=34135&view=rev Log:
- Add fontext.dll
Added: trunk/reactos/dll/shellext/fontext/ trunk/reactos/dll/shellext/fontext/fontext.c (with props) trunk/reactos/dll/shellext/fontext/fontext.def (with props) trunk/reactos/dll/shellext/fontext/fontext.h (with props) trunk/reactos/dll/shellext/fontext/fontext.rbuild (with props) trunk/reactos/dll/shellext/fontext/fontext.rc (with props) trunk/reactos/dll/shellext/fontext/lang/ trunk/reactos/dll/shellext/fontext/lang/en-US.rc (with props) trunk/reactos/dll/shellext/fontext/regsvr.c (with props) trunk/reactos/dll/shellext/fontext/resource.h (with props) trunk/reactos/dll/shellext/fontext/rsrc.rc (with props) Modified: trunk/reactos/dll/shellext/shellext.rbuild
Added: trunk/reactos/dll/shellext/fontext/fontext.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... ============================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.c (added) +++ trunk/reactos/dll/shellext/fontext/fontext.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,45 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/fontext.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include "fontext.h"
+static HINSTANCE hInstance;
+HRESULT WINAPI +DllCanUnloadNow(VOID) +{
- DPRINT1("DllCanUnloadNow() stubs\n");
- return S_OK;
+}
+HRESULT WINAPI +DllGetClassObject(REFCLSID rclsid,
REFIID riid,LPVOID *ppv)+{
- DPRINT1("DllGetClassObject() stubs\n");
- return S_OK;
+}
+BOOL STDCALL +DllMain(HINSTANCE hinstDLL,
DWORD dwReason,LPVOID lpvReserved)+{
- switch (dwReason)
- {
case DLL_PROCESS_ATTACH:hInstance = hinstDLL;DisableThreadLibraryCalls(hInstance);break;- }
- return TRUE;
+}
Propchange: trunk/reactos/dll/shellext/fontext/fontext.c
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... ============================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.def (added) +++ trunk/reactos/dll/shellext/fontext/fontext.def [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,6 @@ +LIBRARY fontext.dll +EXPORTS +DllCanUnloadNow +DllGetClassObject +DllRegisterServer +DllUnregisterServer
Propchange: trunk/reactos/dll/shellext/fontext/fontext.def
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... ============================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.h (added) +++ trunk/reactos/dll/shellext/fontext/fontext.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,12 @@ +#ifndef __FONTEXT__H +#define __FONTEXT__H
+#define COBJMACROS +#include <windows.h> +#include <tchar.h> +#include <stdio.h> +#include <shlobj.h>
+#include <debug.h>
+#endif /* __FONTEXT__H */
Propchange: trunk/reactos/dll/shellext/fontext/fontext.h
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... ============================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.rbuild (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rbuild [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,21 @@ +<module name="fontext" type="win32dll" baseaddress="${BASEADDRESS_FONTEXT}" installbase="system32" installname="fontext.dll" unicode="yes">
<importlibrary definition="fontext.def" />
- <include base="fontext">.</include>
- <define name="_WIN32_IE">0x0500</define>
- <define name="_WIN32_WINNT">0x0600</define>
- <define name="WINVER">0x0600</define>
- <library>ntdll</library>
- <library>kernel32</library>
- <library>user32</library>
- <library>gdi32</library>
- <library>ole32</library>
- <library>uuid</library>
- <library>msvcrt</library>
- <library>shlwapi</library>
- <library>lz32</library>
- <library>advapi32</library>
- <library>setupapi</library>
- <file>fontext.c</file>
- <file>regsvr.c</file>
- <file>fontext.rc</file>
+</module>
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rbuild
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... ============================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.rc (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,10 @@ +#include <windows.h> +#include "resource.h"
+#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Font Folder\0" +#define REACTOS_STR_INTERNAL_NAME "fontext\0" +#define REACTOS_STR_ORIGINAL_FILENAME "fontext.dll\0" +#include <reactos/version.rc>
+#include "rsrc.rc"
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rc
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/lang/en-US.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/lang/e... ============================================================================== --- trunk/reactos/dll/shellext/fontext/lang/en-US.rc (added) +++ trunk/reactos/dll/shellext/fontext/lang/en-US.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,9 @@ +// Don't translate this file at current time
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+STRINGTABLE +BEGIN
- IDS_REACTOS_FONTS_FOLDER "ReactOS Font Folder"
+END
Propchange: trunk/reactos/dll/shellext/fontext/lang/en-US.rc
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/regsvr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/regsvr... ============================================================================== --- trunk/reactos/dll/shellext/fontext/regsvr.c (added) +++ trunk/reactos/dll/shellext/fontext/regsvr.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,38 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/regsvr.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include <windows.h> +#include <ole2.h>
+#include <fontext.h>
+static HRESULT +REGSVR_RegisterServer() +{
- return S_OK;
+}
+static HRESULT +REGSVR_UnregisterServer() +{
- return S_OK;
+}
+HRESULT WINAPI +DllRegisterServer(VOID) +{
- return REGSVR_RegisterServer();
+}
+HRESULT WINAPI +DllUnregisterServer(VOID) +{
- return REGSVR_UnregisterServer();
+}
Propchange: trunk/reactos/dll/shellext/fontext/regsvr.c
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/resource.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/resour... ============================================================================== --- trunk/reactos/dll/shellext/fontext/resource.h (added) +++ trunk/reactos/dll/shellext/fontext/resource.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,6 @@ +#ifndef __RESOURCE__H +#define __RESOURCE__H
+#define IDS_REACTOS_FONTS_FOLDER 151
+#endif /* __RESOURCE__H */
Propchange: trunk/reactos/dll/shellext/fontext/resource.h
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/rsrc.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/rsrc.r... ============================================================================== --- trunk/reactos/dll/shellext/fontext/rsrc.rc (added) +++ trunk/reactos/dll/shellext/fontext/rsrc.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,4 @@ +#include <windows.h> +#include "resource.h"
+#include "lang/en-US.rc"
Propchange: trunk/reactos/dll/shellext/fontext/rsrc.rc
svn:eol-style = native
Modified: trunk/reactos/dll/shellext/shellext.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/shellext.rbuil... ============================================================================== --- trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -10,6 +10,9 @@
<directory name="devcpux"> <xi:include href="devcpux/devcpux.rbuild" /> </directory> + <directory name="fontext"> + <xi:include href="fontext/fontext.rbuild" /> + </directory> <directory name="slayer"> <xi:include href="slayer/slayer.rbuild" /> </directory>
I think it's a good idea.
It pushes us to find better ways to reduce build time, and reminds us that Windows builds over 2500 DLLs as part of the boot process.
On 28-Jun-08, at 12:41 PM, Marc Piulachs wrote:
What's the point of adding all those useless stubbed dlls? It only contributes to increase build time
From: dchapyshev@svn.reactos.org Sent: Friday, June 27, 2008 7:34 PM To: ros-diffs@reactos.org Subject: [ros-diffs] [dchapyshev] 34135: - Add fontext.dll
Author: dchapyshev Date: Fri Jun 27 12:34:08 2008 New Revision: 34135
URL: http://svn.reactos.org/svn/reactos?rev=34135&view=rev Log:
- Add fontext.dll
Added: trunk/reactos/dll/shellext/fontext/ trunk/reactos/dll/shellext/fontext/fontext.c (with props) trunk/reactos/dll/shellext/fontext/fontext.def (with props) trunk/reactos/dll/shellext/fontext/fontext.h (with props) trunk/reactos/dll/shellext/fontext/fontext.rbuild (with props) trunk/reactos/dll/shellext/fontext/fontext.rc (with props) trunk/reactos/dll/shellext/fontext/lang/ trunk/reactos/dll/shellext/fontext/lang/en-US.rc (with props) trunk/reactos/dll/shellext/fontext/regsvr.c (with props) trunk/reactos/dll/shellext/fontext/resource.h (with props) trunk/reactos/dll/shellext/fontext/rsrc.rc (with props) Modified: trunk/reactos/dll/shellext/shellext.rbuild
Added: trunk/reactos/dll/shellext/fontext/fontext.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.c (added) +++ trunk/reactos/dll/shellext/fontext/fontext.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,45 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/fontext.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include "fontext.h"
+static HINSTANCE hInstance;
+HRESULT WINAPI +DllCanUnloadNow(VOID) +{
- DPRINT1("DllCanUnloadNow() stubs\n");
- return S_OK;
+}
+HRESULT WINAPI +DllGetClassObject(REFCLSID rclsid,
REFIID riid,LPVOID *ppv)+{
- DPRINT1("DllGetClassObject() stubs\n");
- return S_OK;
+}
+BOOL STDCALL +DllMain(HINSTANCE hinstDLL,
DWORD dwReason,LPVOID lpvReserved)+{
- switch (dwReason)
- {
case DLL_PROCESS_ATTACH:hInstance = hinstDLL;DisableThreadLibraryCalls(hInstance);break;- }
- return TRUE;
+}
Propchange: trunk/reactos/dll/shellext/fontext/fontext.c
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.def (added) +++ trunk/reactos/dll/shellext/fontext/fontext.def [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,6 @@ +LIBRARY fontext.dll +EXPORTS +DllCanUnloadNow +DllGetClassObject +DllRegisterServer +DllUnregisterServer
Propchange: trunk/reactos/dll/shellext/fontext/fontext.def
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.h (added) +++ trunk/reactos/dll/shellext/fontext/fontext.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,12 @@ +#ifndef __FONTEXT__H +#define __FONTEXT__H
+#define COBJMACROS +#include <windows.h> +#include <tchar.h> +#include <stdio.h> +#include <shlobj.h>
+#include <debug.h>
+#endif /* __FONTEXT__H */
Propchange: trunk/reactos/dll/shellext/fontext/fontext.h
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.rbuild (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rbuild [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,21 @@ +<module name="fontext" type="win32dll" baseaddress="${BASEADDRESS_FONTEXT}" installbase="system32" installname="fontext.dll" unicode="yes">
<importlibrary definition="fontext.def" />
- <include base="fontext">.</include>
- <define name="_WIN32_IE">0x0500</define>
- <define name="_WIN32_WINNT">0x0600</define>
- <define name="WINVER">0x0600</define>
- <library>ntdll</library>
- <library>kernel32</library>
- <library>user32</library>
- <library>gdi32</library>
- <library>ole32</library>
- <library>uuid</library>
- <library>msvcrt</library>
- <library>shlwapi</library>
- <library>lz32</library>
- <library>advapi32</library>
- <library>setupapi</library>
- <file>fontext.c</file>
- <file>regsvr.c</file>
- <file>fontext.rc</file>
+</module>
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rbuild
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/fontext.rc (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,10 @@ +#include <windows.h> +#include "resource.h"
+#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Font Folder\0" +#define REACTOS_STR_INTERNAL_NAME "fontext\0" +#define REACTOS_STR_ORIGINAL_FILENAME "fontext.dll\0" +#include <reactos/version.rc>
+#include "rsrc.rc"
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rc
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/lang/en-US.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/lang/e... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/lang/en-US.rc (added) +++ trunk/reactos/dll/shellext/fontext/lang/en-US.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,9 @@ +// Don't translate this file at current time
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+STRINGTABLE +BEGIN
- IDS_REACTOS_FONTS_FOLDER "ReactOS Font Folder"
+END
Propchange: trunk/reactos/dll/shellext/fontext/lang/en-US.rc
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/regsvr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/regsvr... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/regsvr.c (added) +++ trunk/reactos/dll/shellext/fontext/regsvr.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,38 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/regsvr.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include <windows.h> +#include <ole2.h>
+#include <fontext.h>
+static HRESULT +REGSVR_RegisterServer() +{
- return S_OK;
+}
+static HRESULT +REGSVR_UnregisterServer() +{
- return S_OK;
+}
+HRESULT WINAPI +DllRegisterServer(VOID) +{
- return REGSVR_RegisterServer();
+}
+HRESULT WINAPI +DllUnregisterServer(VOID) +{
- return REGSVR_UnregisterServer();
+}
Propchange: trunk/reactos/dll/shellext/fontext/regsvr.c
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/resource.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/resour... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/resource.h (added) +++ trunk/reactos/dll/shellext/fontext/resource.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,6 @@ +#ifndef __RESOURCE__H +#define __RESOURCE__H
+#define IDS_REACTOS_FONTS_FOLDER 151
+#endif /* __RESOURCE__H */
Propchange: trunk/reactos/dll/shellext/fontext/resource.h
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/rsrc.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/rsrc.r... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/fontext/rsrc.rc (added) +++ trunk/reactos/dll/shellext/fontext/rsrc.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,4 @@ +#include <windows.h> +#include "resource.h"
+#include "lang/en-US.rc"
Propchange: trunk/reactos/dll/shellext/fontext/rsrc.rc
svn:eol-style = native
Modified: trunk/reactos/dll/shellext/shellext.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/shellext.rbuil... = = = = = = = = = ===================================================================== --- trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -10,6 +10,9 @@
<directory name="devcpux"> <xi:include href="devcpux/devcpux.rbuild" /> </directory> + <directory name="fontext"> + <xi:include href="fontext/fontext.rbuild" /> + </directory> <directory name="slayer"> <xi:include href="slayer/slayer.rbuild" /> </directory>
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
Best regards, Alex Ionescu
I completely agree, this needs to be clamped down on. Do we really need 78 different keyboard layouts at this point? It's fine for the people with mega fast systems and time on their hands, but most people don't fall into this category.
I now try to avoid building as much as possible and I suspect more people will be following suit if the build time continues to increase.
Ged
-----Original Message----- From: ros-dev-bounces@reactos.org [mailto:ros-dev-bounces@reactos.org] On Behalf Of Marc Piulachs Sent: 28 June 2008 20:42 To: ros-dev@reactos.org Subject: Re: [ros-dev] [ros-diffs] [dchapyshev] 34135: - Add fontext.dll
What's the point of adding all those useless stubbed dlls? It only contributes to increase build time
-------------------------------------------------- From: dchapyshev@svn.reactos.org Sent: Friday, June 27, 2008 7:34 PM To: ros-diffs@reactos.org Subject: [ros-diffs] [dchapyshev] 34135: - Add fontext.dll
Author: dchapyshev Date: Fri Jun 27 12:34:08 2008 New Revision: 34135
URL: http://svn.reactos.org/svn/reactos?rev=34135&view=rev Log:
- Add fontext.dll
Added: trunk/reactos/dll/shellext/fontext/ trunk/reactos/dll/shellext/fontext/fontext.c (with props) trunk/reactos/dll/shellext/fontext/fontext.def (with props) trunk/reactos/dll/shellext/fontext/fontext.h (with props) trunk/reactos/dll/shellext/fontext/fontext.rbuild (with props) trunk/reactos/dll/shellext/fontext/fontext.rc (with props) trunk/reactos/dll/shellext/fontext/lang/ trunk/reactos/dll/shellext/fontext/lang/en-US.rc (with props) trunk/reactos/dll/shellext/fontext/regsvr.c (with props) trunk/reactos/dll/shellext/fontext/resource.h (with props) trunk/reactos/dll/shellext/fontext/rsrc.rc (with props) Modified: trunk/reactos/dll/shellext/shellext.rbuild
Added: trunk/reactos/dll/shellext/fontext/fontext.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex t.c?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/fontext.c (added) +++ trunk/reactos/dll/shellext/fontext/fontext.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,45 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/fontext.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include "fontext.h"
+static HINSTANCE hInstance;
+HRESULT WINAPI +DllCanUnloadNow(VOID) +{
- DPRINT1("DllCanUnloadNow() stubs\n");
- return S_OK;
+}
+HRESULT WINAPI +DllGetClassObject(REFCLSID rclsid,
REFIID riid,LPVOID *ppv)+{
- DPRINT1("DllGetClassObject() stubs\n");
- return S_OK;
+}
+BOOL STDCALL +DllMain(HINSTANCE hinstDLL,
DWORD dwReason,LPVOID lpvReserved)+{
- switch (dwReason)
- {
case DLL_PROCESS_ATTACH:hInstance = hinstDLL;DisableThreadLibraryCalls(hInstance);break;- }
- return TRUE;
+}
Propchange: trunk/reactos/dll/shellext/fontext/fontext.c
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex t.def?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/fontext.def (added) +++ trunk/reactos/dll/shellext/fontext/fontext.def [iso-8859-1] Fri Jun 27
12:34:08 2008 @@ -1,0 +1,6 @@ +LIBRARY fontext.dll +EXPORTS +DllCanUnloadNow +DllGetClassObject +DllRegisterServer +DllUnregisterServer
Propchange: trunk/reactos/dll/shellext/fontext/fontext.def
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex t.h?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/fontext.h (added) +++ trunk/reactos/dll/shellext/fontext/fontext.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,12 @@ +#ifndef __FONTEXT__H +#define __FONTEXT__H
+#define COBJMACROS +#include <windows.h> +#include <tchar.h> +#include <stdio.h> +#include <shlobj.h>
+#include <debug.h>
+#endif /* __FONTEXT__H */
Propchange: trunk/reactos/dll/shellext/fontext/fontext.h
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex t.rbuild?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/fontext.rbuild (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rbuild [iso-8859-1] Fri Jun
27 12:34:08 2008 @@ -1,0 +1,21 @@ +<module name="fontext" type="win32dll" baseaddress="${BASEADDRESS_FONTEXT}" installbase="system32" installname="fontext.dll" unicode="yes">
<importlibrary definition="fontext.def" />
- <include base="fontext">.</include>
- <define name="_WIN32_IE">0x0500</define>
- <define name="_WIN32_WINNT">0x0600</define>
- <define name="WINVER">0x0600</define>
- <library>ntdll</library>
- <library>kernel32</library>
- <library>user32</library>
- <library>gdi32</library>
- <library>ole32</library>
- <library>uuid</library>
- <library>msvcrt</library>
- <library>shlwapi</library>
- <library>lz32</library>
- <library>advapi32</library>
- <library>setupapi</library>
- <file>fontext.c</file>
- <file>regsvr.c</file>
- <file>fontext.rc</file>
+</module>
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rbuild
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/fontext.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/fontex t.rc?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/fontext.rc (added) +++ trunk/reactos/dll/shellext/fontext/fontext.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,10 @@ +#include <windows.h> +#include "resource.h"
+#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Font Folder\0" +#define REACTOS_STR_INTERNAL_NAME "fontext\0" +#define REACTOS_STR_ORIGINAL_FILENAME "fontext.dll\0" +#include <reactos/version.rc>
+#include "rsrc.rc"
Propchange: trunk/reactos/dll/shellext/fontext/fontext.rc
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/lang/e n-US.rc?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/lang/en-US.rc (added) +++ trunk/reactos/dll/shellext/fontext/lang/en-US.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,9 @@ +// Don't translate this file at current time
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+STRINGTABLE +BEGIN
- IDS_REACTOS_FONTS_FOLDER "ReactOS Font Folder"
+END
Propchange: trunk/reactos/dll/shellext/fontext/lang/en-US.rc
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/regsvr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/regsvr .c?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/regsvr.c (added) +++ trunk/reactos/dll/shellext/fontext/regsvr.c [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,38 @@ +/*
- PROJECT: fontext.dll
- FILE: dll/shellext/fontext/regsvr.c
- PURPOSE: fontext.dll
- PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org)
- UPDATE HISTORY:
10-06-2008 Created- */
+#include <windows.h> +#include <ole2.h>
+#include <fontext.h>
+static HRESULT +REGSVR_RegisterServer() +{
- return S_OK;
+}
+static HRESULT +REGSVR_UnregisterServer() +{
- return S_OK;
+}
+HRESULT WINAPI +DllRegisterServer(VOID) +{
- return REGSVR_RegisterServer();
+}
+HRESULT WINAPI +DllUnregisterServer(VOID) +{
- return REGSVR_UnregisterServer();
+}
Propchange: trunk/reactos/dll/shellext/fontext/regsvr.c
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/resource.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/resour ce.h?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/resource.h (added) +++ trunk/reactos/dll/shellext/fontext/resource.h [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,6 @@ +#ifndef __RESOURCE__H +#define __RESOURCE__H
+#define IDS_REACTOS_FONTS_FOLDER 151
+#endif /* __RESOURCE__H */
Propchange: trunk/reactos/dll/shellext/fontext/resource.h
---------------------------------------------------------------------------- --
svn:eol-style = native
Added: trunk/reactos/dll/shellext/fontext/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/rsrc.r c?rev=34135&view=auto
============================================================================ ==
--- trunk/reactos/dll/shellext/fontext/rsrc.rc (added) +++ trunk/reactos/dll/shellext/fontext/rsrc.rc [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -1,0 +1,4 @@ +#include <windows.h> +#include "resource.h"
+#include "lang/en-US.rc"
Propchange: trunk/reactos/dll/shellext/fontext/rsrc.rc
---------------------------------------------------------------------------- --
svn:eol-style = native
Modified: trunk/reactos/dll/shellext/shellext.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/shellext.rbuil d?rev=34135&r1=34134&r2=34135&view=diff
============================================================================ ==
--- trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/shellext.rbuild [iso-8859-1] Fri Jun 27 12:34:08 2008 @@ -10,6 +10,9 @@
<directory name="devcpux"> <xi:include href="devcpux/devcpux.rbuild" /> </directory> + <directory name="fontext"> + <xi:include href="fontext/fontext.rbuild" /> + </directory> <directory name="slayer"> <xi:include href="slayer/slayer.rbuild" /> </directory>
_______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
On Wed, Jul 2, 2008 at 11:49 AM, gedmurphy gedmurphy@gmail.com wrote:
I now try to avoid building as much as possible and I suspect more people will be following suit if the build time continues to increase.
We could develop a lean target that only builds the bare apps and libraries required.
2008/7/2, Steven Edwards winehacker@gmail.com:
On Wed, Jul 2, 2008 at 11:49 AM, gedmurphy gedmurphy@gmail.com wrote:
I now try to avoid building as much as possible and I suspect more people will be following suit if the build time continues to increase.
We could develop a lean target that only builds the bare apps and libraries required.
... it would be an extention to the work that Alex has done with ReactOS-generic.rbuild
Some "category" rbuild files should be IMO split up, into core components and optional ones. e.g. solitare could be optional where as notepad should be available if the gui parts are build.
Klemens