[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/asobj/Key.cpp
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash ChangeLog server/asobj/Key.cpp |
Date: |
Wed, 10 Oct 2007 08:55:46 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 07/10/10 08:55:46
Modified files:
. : ChangeLog
server/asobj : Key.cpp
Log message:
Reversion of part of last commit of Key.cpp, which I didn't
intend to
commit, and update of Changelog.
* server/asobj/Key.cpp: rename get_last_key_pressed() to
get_last_key()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4586&r2=1.4587
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.38&r2=1.39
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4586
retrieving revision 1.4587
diff -u -b -r1.4586 -r1.4587
--- ChangeLog 10 Oct 2007 07:45:27 -0000 1.4586
+++ ChangeLog 10 Oct 2007 08:55:45 -0000 1.4587
@@ -1,6 +1,7 @@
2007-10-10 Benjamin Wolsey <address@hidden>
* gui/gui.cpp: only handle GUI shortcuts on key down.
+ * server/asobj/Key.cpp: rename get_last_key_pressed() to get_last_key().
2007-10-10 Sandro Santilli <address@hidden>
Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- server/asobj/Key.cpp 10 Oct 2007 07:45:28 -0000 1.38
+++ server/asobj/Key.cpp 10 Oct 2007 08:55:46 -0000 1.39
@@ -98,14 +98,10 @@
{
if (code < 0 || code >= key::KEYCOUNT) return;
- // This is used for getAscii() of the last key event up to
- // SWF7, so we use gnash's internal code.
+ // Key.isDown() only cares about flash keycode, not character, so
+ // we lookup keycode to add to m_unreleased_keys.
- VM& vm = VM::get();
- if ( vm.getSWFVersion() < 8 )
- {
m_last_key_event = code;
- }
// Key.isDown() only cares about flash keycode, not character, so
// we lookup keycode to add to m_unreleased_keys.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp,
Benjamin Wolsey <=