Design Bugs

Discussion in 'Development General' started by Deity, Mar 2, 2014.

  1. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    Just going to keep a bug list here for the new forum design. Please ignore this unless you're currently bug testing. ^.^

    Known Bugs
    - Home link redirects to old site
    - Currently shows é so ignore any occurrence of that
    - Medals show gigantic smiley faces, also ignore this
    - Mod/Admin links not currently in header
    - Font displays some "I"s as capital for no reason
    - RSS doesn't work
    - Search brings up no results
    - Go To Top button doesn't work

    If any testers find anything else report it here or PM me on PO.
     
    Last edited: Mar 4, 2014
  2. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    Pairing this with a todo list, since some people might see incomplete features as bugs.

    ToDo List
    - Dropdown menus
    - Modal windows
    - All pages body contents (Meaning header/footer and breadcrumb is done, anything else is potentially still being worked on)

    Mostly Completed Pages (Look for bugs on these pages)
    - Main forum index
    - Portal/news page

    Testing:

    Code (c++):
    1. #include <cxxabi.h>
    2. #include <assert.h>
    3. #include "xs.hh"
    4. #include "dynobject.hh"
    5. #include "engine.hh"
    6. #include "function.h"
    7. #include "../zsysutils/time.hh"
    8.  
    9. using namespace xetascript;
    10.  
    11. static void f2(volatile int16_t i, volatile std::string s, volatile int32_t i2)
    12. {
    13.   asm("");
    14. };
    15.  
    16. int main (void)
    17. {
    18.  
    19.   engine e;
    20.   zsys::parser<> pars("-> %aio int16, %q string, %te int32");
    21.   args_signatures sig;
    22.   e.parse_args(pars, sig);
    23.   xev_function f(&e, sig);
    24.   /*f(98, std::string("testing"), 83);
    25.   f(48, "hello world!", "eee"); // errors here, since we are assigning a const char * to %te int32 :)
    26. */
    27.   zsys::time t = zsys::time::now();
    28.  
    29.   for (int i = 0; i < 200000; i++)
    30.     {
    31.       f(1, std::string("test"), 2);
    32.     };
    33.  
    34.   zsys::time took = zsys::time::now() - t;
    35.  
    36.   fprintf(stderr, "[benchmark] XetaScript calls from C++: %lu.%.9lu seconds.\n", took.secs(), took.nsecs());
    37.  
    38.   t = zsys::time::now();
    39.  
    40.   for (int i = 0; i < 200000; i++)
    41.     {
    42.       f2(1, std::string("test"), 2);
    43.     };
    44.  
    45.   zsys::time took2 = zsys::time::now() - t;
    46.  
    47.   fprintf(stderr, "[benchmark] C++ calls from C++: %lu.%.9lu seconds.\n", took2.secs(), took2.nsecs());
    48.  
    49.   double d(1), d2(1);
    50.  
    51.  
    52.   // Since on my laptop seconds always returns 0, skipping the seconds code...
    53.   assert(took.secs() == 0 && took2.secs() == 0);
    54.   d *= took2.nsecs();
    55.   d /= took.nsecs();
    56.  
    57.   d2 /= took2.nsecs();
    58.   d2 *= took.nsecs();
    59.  
    60.   //d *= 100;
    61.  
    62.   fprintf(stderr, "[benchmark] Was %lf times as fast, %lf times slower, than C++.\n", d, d2);
    63.  
    64.   return 0;
    65. };
    Testing

    testing

    Testing
     
    Last edited: Apr 4, 2014