1. Jan 30, 2014
    • Ulf Hermann's avatar
      Make the QML debug server thread safe · 539d5376
      Ulf Hermann authored
      
      Previously, if instance() was accessed concurrently we could run into
      various problems as the initialization wasn't synchronized. By putting
      most of the initialization into the constructor, wrapping it into a
      Q_GLOBAL_STATIC and discerning between accesses that need to wait for
      the initial "hello" packet and ones that don't the situation is
      improved.
      
      Change-Id: I182e8e6abf054b851ef7ea5f897d4a197a9da4bf
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      539d5376
  2. Jan 29, 2014
  3. Nov 10, 2013
  4. Oct 16, 2013
  5. May 24, 2013
  6. Apr 23, 2013
    • Kai Koehne's avatar
      Debugger: fix race condition in block mode · a028d463
      Kai Koehne authored
      
      Make sure that the GUI thread & debugger thread actually sync on startup. So far
      the GUI thread would block forever in waitCondition.wait() if the debugger thread
      spawns & receives the HELLO before.
      
      Also remove unused code and rename variables to make their use more obvious.
      
      Change-Id: I8285e8860667496d491807e696535353d9f14dea
      Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
      a028d463
  7. Apr 16, 2013
  8. Apr 02, 2013
    • Aurindam Jana's avatar
      Debugger: Accepts port range as arguments · f1559590
      Aurindam Jana authored
      
      Allow a port range to pass on command line, and try to listen on any of the
      ports in the range. (Re)using the ',' separator allows for backwards compatibility,
      that is, also Qt 4 will accept a -qmljsdebugger=port:1000,1010 argument, but
      will only try to listen on port 1000.
      
      Change-Id: Ic03fe20e4aee9ecdea86651f46f1df5cb19bd75c
      Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
      f1559590
  9. Jan 10, 2013
  10. Sep 23, 2012
  11. May 14, 2012
  12. Apr 26, 2012
  13. Apr 25, 2012
  14. Apr 24, 2012
  15. Apr 10, 2012
  16. Mar 30, 2012
  17. Mar 19, 2012
  18. Mar 14, 2012
  19. Mar 13, 2012
  20. Mar 07, 2012
  21. Feb 24, 2012
  22. Feb 10, 2012
  23. Feb 09, 2012
  24. Jan 30, 2012
  25. Jan 23, 2012
  26. Jan 05, 2012
  27. Dec 21, 2011
  28. Dec 20, 2011
  29. Dec 16, 2011
  30. Nov 22, 2011
    • Kai Koehne's avatar
      Debugger: Move server into it's own thread · 43e20d57
      Kai Koehne authored
      
      So far the debugger infrastructure was running in the GUI thread,
      which required e.g. nested event loops to implement blocking behavior.
      The server and networking code are now running in their own thread,
      while the services are still running in the main thread.
      
      Because v8 isn't thread safe, we're adding two new JSEngines + isolates
      to qv8debugservice: One to decode JSON messages in the debugger thread,
      and one in the GUI thread.
      
      Change-Id: I746f5e203968f7bcc510fb66118c88ef0fd0cd14
      Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
      43e20d57
  31. Nov 17, 2011
  32. Nov 01, 2011
  33. Oct 17, 2011
    • Kent Hansen's avatar
      Clean up declarative includes · 7fa3aa4d
      Kent Hansen authored
      
      (This commit is in preparation of moving several files
      to a separate library (QtQuick2).)
      
      Don't add all subfolders to the includepath (from the
      .pri files). There's no good reason to do that.
      
      For headers (both public and private) that are in the
      same folder as the file that includes them, prefer to use
      
       #include "foo.h"
       #include "bar_p.h"
      
      For public headers that are outside the current folder
      but have "unambiguous" names (e.g. qdeclarative prefix), use
      
       #include <foo.h>
      
      For private headers that are outside the current folder, use
      
       #include <private/baz_p.h>
      
      Also change
      
       #include <QtDeclarative/private/foo_p.h>
      
      to
      
       #include <private/foo_p.h>
      
      The header filenames already have a qdeclarative or qsg
      prefix; there's no need to prefix by module name to
      disambiguate.
      
      Finally,
      
       #include "private/foo_p.h"
      
      should be avoided. private/ is used for auto-generated
      (forwarding) headers, which never reside in the current
      (source) directory. Use angle brackets instead.
      
      Change-Id: I04f8477fdba043546064ee276475c09dc373f8f2
      Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@nokia.com>
      7fa3aa4d
  34. Oct 04, 2011
  35. Sep 21, 2011