Author: gadamopoulos
Date: Sun Nov 3 14:28:40 2013
New Revision: 60848
URL: http://svn.reactos.org/svn/reactos?rev=60848&view=rev
Log:
[shell32]
- Hackix F5 accelerator by moving it for now to the accelerator table of the shell view control
- Use uppercase letters in the accelerator table in order to make windres compile it properly.
- shell accelerators should work fine now
Modified:
trunk/reactos/dll/win32/shell32/shell32.rc
Modified: trunk/reactos/dll/win32/shell32/shell32.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32.rc [iso-8859-1] Sun Nov 3 14:28:40 2013
@@ -30,19 +30,25 @@
IDA_SHELLVIEW ACCELERATORS
BEGIN
- "d", FCIDM_SHVIEW_DELETE, VIRTKEY, CONTROL
+ "D", FCIDM_SHVIEW_DELETE, VIRTKEY, CONTROL
VK_DELETE, FCIDM_SHVIEW_DELETE, VIRTKEY
VK_DELETE, FCIDM_SHVIEW_DELETE, VIRTKEY, SHIFT
VK_F2, FCIDM_SHVIEW_RENAME, VIRTKEY
VK_RETURN, FCIDM_SHVIEW_OPEN, VIRTKEY, ALT
- "x", FCIDM_SHVIEW_CUT, VIRTKEY, CONTROL
- "c", FCIDM_SHVIEW_COPY, VIRTKEY, CONTROL
+ "X", FCIDM_SHVIEW_CUT, VIRTKEY, CONTROL
+ "C", FCIDM_SHVIEW_COPY, VIRTKEY, CONTROL
VK_INSERT, FCIDM_SHVIEW_COPY, VIRTKEY, CONTROL
- "v", FCIDM_SHVIEW_INSERT, VIRTKEY, CONTROL
+ "V", FCIDM_SHVIEW_INSERT, VIRTKEY, CONTROL
VK_INSERT, FCIDM_SHVIEW_INSERT, VIRTKEY, SHIFT
- "z", FCIDM_SHVIEW_UNDO, VIRTKEY, CONTROL
- "a", FCIDM_SHVIEW_SELECTALL, VIRTKEY, CONTROL
+ "Z", FCIDM_SHVIEW_UNDO, VIRTKEY, CONTROL
+ "A", FCIDM_SHVIEW_SELECTALL, VIRTKEY, CONTROL
VK_F1, FCIDM_SHVIEW_HELP, VIRTKEY
+
+ /* FIXME: the following accelerator doesn't belong here. This accelerator
+ * table is used by the shell view control. F5 should be handled by the
+ * a different accelerator table thats translated in IShellBrowser::TranslateAcceleratorSB
+ * but will put it here until the shell work fine */
+ VK_F5, FCIDM_SHVIEW_REFRESH, VIRTKEY
END
shv_accel ACCELERATORS
Author: hbelusca
Date: Sun Nov 3 13:25:01 2013
New Revision: 60846
URL: http://svn.reactos.org/svn/reactos?rev=60846&view=rev
Log:
[NTVDM]
Implement INT 10h, AH 10h, AL 10h, 12h, 15h and 17h (set/get individual or block of DAC registers).
Modified:
branches/ntvdm/subsystems/ntvdm/bios.c
Modified: branches/ntvdm/subsystems/ntvdm/bios.c
URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/bios.c?r…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] Sun Nov 3 13:25:01 2013
@@ -1031,6 +1031,77 @@
break;
}
+ /* Set Individual DAC Register */
+ case 0x10:
+ {
+ /* Write the index */
+ // Certainly in BL and not in BX as said by Ralf Brown...
+ VgaWritePort(VGA_DAC_WRITE_INDEX, getBL());
+
+ /* Write the data in this order: Red, Green, Blue */
+ VgaWritePort(VGA_DAC_DATA, getDH());
+ VgaWritePort(VGA_DAC_DATA, getCH());
+ VgaWritePort(VGA_DAC_DATA, getCL());
+
+ break;
+ }
+
+ /* Set Block of DAC Registers */
+ case 0x12:
+ {
+ INT i;
+ LPBYTE Buffer = SEG_OFF_TO_PTR(getES(), getDX());
+
+ /* Write the index */
+ // Certainly in BL and not in BX as said by Ralf Brown...
+ VgaWritePort(VGA_DAC_WRITE_INDEX, getBL());
+
+ for (i = 0; i < getCX(); i++)
+ {
+ /* Write the data in this order: Red, Green, Blue */
+ VgaWritePort(VGA_DAC_DATA, *Buffer++);
+ VgaWritePort(VGA_DAC_DATA, *Buffer++);
+ VgaWritePort(VGA_DAC_DATA, *Buffer++);
+ }
+
+ break;
+ }
+
+ /* Get Individual DAC Register */
+ case 0x15:
+ {
+ /* Write the index */
+ VgaWritePort(VGA_DAC_READ_INDEX, getBL());
+
+ /* Read the data in this order: Red, Green, Blue */
+ setDH(VgaReadPort(VGA_DAC_DATA));
+ setCH(VgaReadPort(VGA_DAC_DATA));
+ setCL(VgaReadPort(VGA_DAC_DATA));
+
+ break;
+ }
+
+ /* Get Block of DAC Registers */
+ case 0x17:
+ {
+ INT i;
+ LPBYTE Buffer = SEG_OFF_TO_PTR(getES(), getDX());
+
+ /* Write the index */
+ // Certainly in BL and not in BX as said by Ralf Brown...
+ VgaWritePort(VGA_DAC_READ_INDEX, getBL());
+
+ for (i = 0; i < getCX(); i++)
+ {
+ /* Write the data in this order: Red, Green, Blue */
+ *Buffer++ = VgaReadPort(VGA_DAC_DATA);
+ *Buffer++ = VgaReadPort(VGA_DAC_DATA);
+ *Buffer++ = VgaReadPort(VGA_DAC_DATA);
+ }
+
+ break;
+ }
+
default:
{
DPRINT1("BIOS Palette Control Sub-command AL = 0x%02X NOT IMPLEMENTED\n",
Author: gadamopoulos
Date: Sun Nov 3 13:15:52 2013
New Revision: 60845
URL: http://svn.reactos.org/svn/reactos?rev=60845&view=rev
Log:
[shell32]
- When the caller uses SVGIO_BACKGROUND we should always return a context menu of the background. To do it we pass no items to CDefFolderMenu even when we have selected items. Should improve the situation for ctrl+c, ctrl+v in the shell
Modified:
trunk/reactos/dll/win32/shell32/shlview.cpp
Modified: trunk/reactos/dll/win32/shell32/shlview.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] Sun Nov 3 13:15:52 2013
@@ -2089,7 +2089,7 @@
if (IsEqualIID(riid, IID_IContextMenu))
{
//*ppvOut = ISvBgCm_Constructor(pSFParent, FALSE);
- CDefFolderMenu_Create2(NULL, NULL, cidl, (LPCITEMIDLIST*)apidl, pSFParent, NULL, 0, NULL, (IContextMenu**)ppvOut);
+ CDefFolderMenu_Create2(NULL, NULL, 0, NULL, pSFParent, NULL, 0, NULL, (IContextMenu**)ppvOut);
if (!ppvOut)
hr = E_OUTOFMEMORY;
else
Author: fireball
Date: Sat Nov 2 22:54:54 2013
New Revision: 60840
URL: http://svn.reactos.org/svn/reactos?rev=60840&view=rev
Log:
Create a new branch for my experimental pet project. The branch will be organized the same way as the arwinss branch - as a diff to trunk plus its own files, so no copying from trunk is involved.
Added:
branches/monstera/ (with props)
Propchange: branches/monstera/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sat Nov 2 22:54:54 2013
@@ -0,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: branches/monstera/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: branches/monstera/
------------------------------------------------------------------------------
bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%