diff --git a/.gitmodules b/.gitmodules index 17e51d523..b85aa582d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "third_party/wslay"] path = third_party/wslay url = https://github.com/benvanik/wslay.git +[submodule "third_party/jansson"] + path = third_party/jansson + url = https://github.com/akheron/jansson.git diff --git a/debugger/assets/ui/code/code-tab.html b/debugger/assets/ui/code/code-tab.html index 48388c9c4..d5929bbc4 100644 --- a/debugger/assets/ui/code/code-tab.html +++ b/debugger/assets/ui/code/code-tab.html @@ -1,4 +1,4 @@ -
+
debug header/toolbar/etc
diff --git a/debugger/assets/ui/code/code-tab.js b/debugger/assets/ui/code/code-tab.js new file mode 100644 index 000000000..55fb8e14b --- /dev/null +++ b/debugger/assets/ui/code/code-tab.js @@ -0,0 +1,32 @@ +/** + ****************************************************************************** + * Xenia : Xbox 360 Emulator Research Project * + ****************************************************************************** + * Copyright 2013 Ben Vanik. All rights reserved. * + * Released under the BSD license - see LICENSE in the root for more details. * + ****************************************************************************** + */ + +'use strict'; + +var module = angular.module('xe.ui.code', [ + 'xe.log', + 'xe.session' +]); + + +module.controller('CodeTabController', function( + $rootScope, $scope, app, log) { + + $rootScope.$on('refresh', function() { + var dataSource = app.session.dataSource; + + dataSource.getModuleList().then(function(list) { + console.log(list); + }, function(e) { + log('Unable to fetch module list'); + }); + + console.log('refresh'); + }); +}); diff --git a/debugger/assets/ui/navbar.html b/debugger/assets/ui/navbar.html index 9c94802d1..3539d379a 100644 --- a/debugger/assets/ui/navbar.html +++ b/debugger/assets/ui/navbar.html @@ -13,12 +13,15 @@