Expanded on chat navigation keys
This commit is contained in:
parent
17aa0c1ad8
commit
7ca86db7dc
31
bigbluebutton-client/hs_err_pid29724.log
Normal file
31
bigbluebutton-client/hs_err_pid29724.log
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1080872 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:317), pid=29724, tid=1927461744
|
||||
#
|
||||
# JRE version: 6.0_24-b24
|
||||
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
|
||||
# Derivative: IcedTea6 1.11.3
|
||||
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x081a9000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=29733, stack(0x72dab000,0x72e2c000)]
|
||||
|
||||
Stack: [0x72dab000,0x72e2c000], sp=0x72e29850, free space=506k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [libjvm.so+0x65aa07]
|
31
bigbluebutton-client/hs_err_pid31400.log
Normal file
31
bigbluebutton-client/hs_err_pid31400.log
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1077880 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:317), pid=31400, tid=1926810480
|
||||
#
|
||||
# JRE version: 6.0_24-b24
|
||||
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
|
||||
# Derivative: IcedTea6 1.11.3
|
||||
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x73193800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=31410, stack(0x72d0c000,0x72d8d000)]
|
||||
|
||||
Stack: [0x72d0c000,0x72d8d000], sp=0x72d8a5d0, free space=505k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [libjvm.so+0x65aa07]
|
31
bigbluebutton-client/hs_err_pid31922.log
Normal file
31
bigbluebutton-client/hs_err_pid31922.log
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1080872 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:317), pid=31922, tid=1926753136
|
||||
#
|
||||
# JRE version: 6.0_24-b24
|
||||
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
|
||||
# Derivative: IcedTea6 1.11.3
|
||||
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x72e02800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=31932, stack(0x72cfe000,0x72d7f000)]
|
||||
|
||||
Stack: [0x72cfe000,0x72d7f000], sp=0x72d7c6d0, free space=505k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [libjvm.so+0x65aa07]
|
31
bigbluebutton-client/hs_err_pid32020.log
Normal file
31
bigbluebutton-client/hs_err_pid32020.log
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1080872 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:317), pid=32020, tid=1927408496
|
||||
#
|
||||
# JRE version: 6.0_24-b24
|
||||
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
|
||||
# Derivative: IcedTea6 1.11.3
|
||||
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x72f11c00): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=32029, stack(0x72d9e000,0x72e1f000)]
|
||||
|
||||
Stack: [0x72d9e000,0x72e1f000], sp=0x72e1c850, free space=506k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [libjvm.so+0x65aa07]
|
31
bigbluebutton-client/hs_err_pid32254.log
Normal file
31
bigbluebutton-client/hs_err_pid32254.log
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1080872 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:317), pid=32254, tid=1927281520
|
||||
#
|
||||
# JRE version: 6.0_24-b24
|
||||
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
|
||||
# Derivative: IcedTea6 1.11.3
|
||||
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x09cd8400): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=32264, stack(0x72d7f000,0x72e00000)]
|
||||
|
||||
Stack: [0x72d7f000,0x72e00000], sp=0x72dfd8d0, free space=506k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [libjvm.so+0x65aa07]
|
@ -243,7 +243,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
LogUtil.debug("Key was pressed: " + e.keyCode);
|
||||
//LogUtil.debug("Key was pressed: " + e.keyCode);
|
||||
|
||||
}
|
||||
]]>
|
||||
|
@ -78,7 +78,7 @@ package org.bigbluebutton.modules.chat.model {
|
||||
public function toString() : String {
|
||||
var result:String;
|
||||
// Remember to localize this later
|
||||
result = "Chat message: " + name + " " + time + " " + stripTags(translatedText);
|
||||
result = "Chat message " + name + " said " + stripTags(translatedText) + " at " + time;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -57,6 +57,7 @@
|
||||
private var scrollTimer:Timer;
|
||||
private var scrollBarWorkaround:Boolean = false;
|
||||
private var currentMessage:int;
|
||||
private var chatHistorySpacer:int;
|
||||
|
||||
private function onCreationComplete():void {
|
||||
addContextMenuItems();
|
||||
@ -72,10 +73,11 @@
|
||||
|
||||
// Initialize the indicator for the position in the message history, and add the listener for message history navigation
|
||||
currentMessage = -1;
|
||||
chatHistorySpacer = 0;
|
||||
this.addEventListener(KeyboardEvent.KEY_DOWN, navigateMessages);
|
||||
// Initialize the chatMessagesList tooltip as the Welcome message
|
||||
if (chatMessagesList.toolTip == null)
|
||||
chatMessagesList.toolTip = messages[0].toString();
|
||||
if (chatMessagesList.accessibilityDescription == null)
|
||||
chatMessagesList.accessibilityDescription = messages[0].toString();
|
||||
}
|
||||
|
||||
public function showNewMessage(chatobj:ChatObject, translate:Boolean, language:String = null):void {
|
||||
@ -220,19 +222,68 @@
|
||||
|
||||
public function navigateMessages(e:KeyboardEvent) :void
|
||||
{
|
||||
var firstMessage:Boolean = false;
|
||||
var latestMessage:Boolean = false;
|
||||
|
||||
// Stop undoing, you're back to normal
|
||||
if (e.keyCode == 32) {
|
||||
if (!e.ctrlKey){
|
||||
if (currentMessage < (messages.length-3))
|
||||
if (!e.ctrlKey && !e.altKey && !e.shiftKey){ // SPACE key: Advance one message
|
||||
if (currentMessage < (messages.length-3)){
|
||||
currentMessage++;
|
||||
} // if not CTRL key
|
||||
else{
|
||||
if (currentMessage > 0)
|
||||
chatMessagesList.accessibilityDescription = messages[currentMessage].toString();
|
||||
}
|
||||
else{
|
||||
latestMessage = true;
|
||||
chatHistorySpacer++;
|
||||
chatMessagesList.accessibilityDescription = "You have reached the latest message. " + messages[currentMessage].toString();
|
||||
for (var i:int = 0; i <= chatHistorySpacer; i++)
|
||||
chatMessagesList.accessibilityDescription += " ";
|
||||
}
|
||||
}
|
||||
else if (e.ctrlKey && !e.altKey && !e.shiftKey){ // CTRL-SPACE: Go back one message
|
||||
if (currentMessage > 0){
|
||||
currentMessage--;
|
||||
} // if CTRL key
|
||||
chatMessagesList.toolTip = messages[currentMessage].toString();
|
||||
//LogUtil.debug("MESSAGE: " + messages[currentMessage].toString());
|
||||
//LogUtil.debug("TOOLTIP: " + chatMessagesList.toolTip);
|
||||
} // if SPACE key
|
||||
chatMessagesList.accessibilityDescription = messages[currentMessage].toString();
|
||||
}
|
||||
else{
|
||||
firstMessage = true;
|
||||
chatHistorySpacer++;
|
||||
chatMessagesList.accessibilityDescription = "You have reached the first message. " + messages[currentMessage].toString();
|
||||
for (var i:int = 0; i <= chatHistorySpacer; i++)
|
||||
chatMessagesList.accessibilityDescription += " ";
|
||||
}
|
||||
}
|
||||
else if (e.ctrlKey && e.altKey && !e.shiftKey){ // CTRL-ALT-SPACE: Repeat current message
|
||||
chatHistorySpacer++;
|
||||
chatMessagesList.accessibilityDescription = messages[currentMessage].toString();
|
||||
for (var i:int = 0; i <= chatHistorySpacer; i++)
|
||||
chatMessagesList.accessibilityDescription += " ";
|
||||
}
|
||||
else if (!e.ctrlKey && !e.altKey && e.shiftKey){ // SHIFT-SPACE: Go to latest message
|
||||
currentMessage = messages.length-4;
|
||||
chatMessagesList.accessibilityDescription = "You have navigated to the latest message. " + messages[currentMessage].toString();
|
||||
for (var i:int = 0; i <= chatHistorySpacer; i++)
|
||||
chatMessagesList.accessibilityDescription += " ";
|
||||
}
|
||||
else if (e.ctrlKey && !e.altKey && e.shiftKey){ // CTRL-SHIFT-SPACE: Go to first message
|
||||
currentMessage = 0;
|
||||
chatMessagesList.accessibilityDescription = "You have navigated to the first message. " + messages[currentMessage].toString();
|
||||
for (var i:int = 0; i <= chatHistorySpacer; i++)
|
||||
chatMessagesList.accessibilityDescription += " ";
|
||||
}
|
||||
if (chatHistorySpacer == 1000)
|
||||
chatHistorySpacer = 0;
|
||||
Accessibility.updateProperties();
|
||||
}
|
||||
/*
|
||||
else if (e.ctrlKey && e.keyCode != 32){
|
||||
if (e.keyCode == 46){ // PERIOD key
|
||||
// Repeat current message
|
||||
chatMessagesList.accessibilityDescription = messages[currentMessage].toString();
|
||||
Accessibility.updateProperties();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
]]>
|
||||
|
Loading…
Reference in New Issue
Block a user