gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11322: Fixed TextField password pro


From: Sharad Desai
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11322: Fixed TextField password property
Date: Mon, 27 Jul 2009 15:28:34 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11322
committer: Sharad Desai <address@hidden>
branch nick: trunk
timestamp: Mon 2009-07-27 15:28:34 -0600
message:
  Fixed TextField password property
modified:
  libcore/TextField.cpp
  libcore/asobj/TextFormat_as.cpp
    ------------------------------------------------------------
    revno: 11317.1.2
    committer: Sharad Desai <address@hidden>
    branch nick: desai_Jul24
    timestamp: Mon 2009-07-27 15:26:18 -0600
    message:
      Fixed TextField password property
    modified:
      libcore/TextField.cpp
      libcore/asobj/TextFormat_as.cpp
=== modified file 'libcore/TextField.cpp'
--- a/libcore/TextField.cpp     2009-07-27 20:14:18 +0000
+++ b/libcore/TextField.cpp     2009-07-27 21:26:18 +0000
@@ -1521,6 +1521,7 @@
                     ge.advance = scale * rec.getFont()->get_advance(bullet, 
                         _embedFonts);
                     rec.addGlyph(ge); 
+                                       break;
                                }
                                // The font table holds up to 65535 glyphs. 
Casting
                                // from uint32_t would, in the event that the 
code
@@ -1622,6 +1623,7 @@
                                log_debug(" wordWrap=true");
 #endif
 
+
                                // Insert newline if there's space or autosize 
!= none
 
                                // Close out this stretch of glyphs.
@@ -2999,7 +3001,7 @@
 {
     boost::intrusive_ptr<TextField> text = ensureType<TextField>(fn.this_ptr);
 
-    LOG_ONCE(log_unimpl("TextField.password"));
+    //LOG_ONCE(log_unimpl("TextField.password"));
 
     if (!fn.nargs)
     {

=== modified file 'libcore/asobj/TextFormat_as.cpp'
--- a/libcore/asobj/TextFormat_as.cpp   2009-07-27 20:14:18 +0000
+++ b/libcore/asobj/TextFormat_as.cpp   2009-07-27 21:26:18 +0000
@@ -294,7 +294,7 @@
        //~ int countComma = 0;
        //~ int countSpace = 0;
        //~ int countTab = 0;
-       //~ 
+       
        //~ // Next check is to see whether there is a comma and a space in the 
        //~ // array
        //~ for (int i=0; i<strVal.length(); i++)
@@ -354,11 +354,11 @@
        //~ {
                //~ ptr->tabStopsSet(tabStops);
        //~ }
+       
+       return ret;
        //~ 
-       //~ return ret;
-       
-       //~ LOG_ONCE( log_unimpl("TextFormat.tabStops") );
-       return as_value();
+       LOG_ONCE( log_unimpl("TextFormat.tabStops") );
+       //return as_value();
 }
 
 as_value


reply via email to

[Prev in Thread] Current Thread [Next in Thread]