*.wav | *.wav |
*.pyc | *.pyc |
/nbproject/private/ | /nbproject/private/ |
/output.txt | /output.txt |
bin | |
gen | |
target | |
.settings | |
.classpath | |
.project | |
*.keystore | |
*.swp | |
*.orig | |
*.log | |
*.properties | |
seed.txt | |
map.txt | |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
<project version="4"> | <project version="4"> |
<component name="ChangeListManager"> | <component name="ChangeListManager"> |
<list default="true" id="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" name="Default" comment=""> | <list default="true" id="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" name="Default" comment=""> |
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/compiler.xml" /> | |
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/copyright/profiles_settings.xml" /> | |
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/404.html" afterPath="$PROJECT_DIR$/404.html" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Chart.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Chart.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Chart.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Chart.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Color.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Color.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Color.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Color.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Flotr.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Flotr.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Flotr.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Flotr.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Graph.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Graph.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/Graph.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/Graph.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/base64.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/base64.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/base64.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/base64.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/basic.json" afterPath="$PROJECT_DIR$/js/flotr2/make/basic.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/basic.json" afterPath="$PROJECT_DIR$/js/flotr2/make/basic.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/build.json" afterPath="$PROJECT_DIR$/js/flotr2/make/build.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/build.json" afterPath="$PROJECT_DIR$/js/flotr2/make/build.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/calllog.php" afterPath="$PROJECT_DIR$/calllog.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/calls.json.php" afterPath="$PROJECT_DIR$/calls.json.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/common.inc.php" afterPath="$PROJECT_DIR$/common.inc.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/examples.js" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/examples.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/examples.js" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/examples.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/examples.json" afterPath="$PROJECT_DIR$/js/flotr2/make/examples.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/examples.json" afterPath="$PROJECT_DIR$/js/flotr2/make/examples.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/extending-flotr.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/extending-flotr.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/extending-flotr.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/extending-flotr.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/flotr2.json" afterPath="$PROJECT_DIR$/js/flotr2/make/flotr2.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/flotr2.json" afterPath="$PROJECT_DIR$/js/flotr2/make/flotr2.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/flotr2.stable.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/flotr2.stable.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/flotr2.stable.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/flotr2.stable.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/lib/codemirror/lib/util/formatting.js" afterPath="$PROJECT_DIR$/js/flotr2/examples/lib/codemirror/lib/util/formatting.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/lib/codemirror/lib/util/formatting.js" afterPath="$PROJECT_DIR$/js/flotr2/examples/lib/codemirror/lib/util/formatting.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/generateConvos.php" afterPath="$PROJECT_DIR$/generateConvos.php" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/generateHourlys.php" afterPath="$PROJECT_DIR$/generateHourlys.php" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/getfile.php" afterPath="$PROJECT_DIR$/getfile.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/ie.json" afterPath="$PROJECT_DIR$/js/flotr2/make/ie.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/ie.json" afterPath="$PROJECT_DIR$/js/flotr2/make/ie.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/index.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/index.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/index.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/index.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/index.html" afterPath="$PROJECT_DIR$/js/flotr2/spec/index.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/index.html" afterPath="$PROJECT_DIR$/js/flotr2/spec/index.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine-html.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine-html.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine-html.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine-html.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.css" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.css" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.css" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.css" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/jasmine/jasmine.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/vendor/jquery-1.8.0.min.js" afterPath="$PROJECT_DIR$/js/vendor/jquery-1.8.0.min.js" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-data.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-data.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-data.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-data.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-real-data.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-real-data.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-real-data.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json-real-data.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json.txt" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json.txt" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json.txt" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/json.txt" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/lib.json" afterPath="$PROJECT_DIR$/js/flotr2/make/lib.json" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/make/lib.json" afterPath="$PROJECT_DIR$/js/flotr2/make/lib.json" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/logarithmic-scale.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/logarithmic-scale.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/logarithmic-scale.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/logarithmic-scale.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/vendor/modernizr-2.6.1.min.js" afterPath="$PROJECT_DIR$/js/vendor/modernizr-2.6.1.min.js" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/mouse-zoom-preview.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/mouse-zoom-preview.html" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/mouse-zoom-preview.html" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/mouse-zoom-preview.html" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/nbproject/project.xml" afterPath="$PROJECT_DIR$/nbproject/project.xml" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/prototype.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/prototype.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/lib/prototype.js" afterPath="$PROJECT_DIR$/js/flotr2/lib/prototype.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/scannr.iml" afterPath="$PROJECT_DIR$/.idea/scannr.iml" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/scannr.py" afterPath="$PROJECT_DIR$/scannr.py" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/snd.py" afterPath="$PROJECT_DIR$/snd.py" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/style.css" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/style.css" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/examples/old_examples/style.css" afterPath="$PROJECT_DIR$/js/flotr2/examples/old_examples/style.css" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-background.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-background.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-background.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-background.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-boundaries.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-boundaries.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-boundaries.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-boundaries.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-mountain-nulls.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-mountain-nulls.js" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/flotr2/spec/js/test-mountain-nulls.js" afterPath="$PROJECT_DIR$/js/flotr2/spec/js/test-mountain-nulls.js" /> |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/test.py" afterPath="$PROJECT_DIR$/test.py" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/test2.py" afterPath="$PROJECT_DIR$/test2.py" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/trunklog.php" afterPath="$PROJECT_DIR$/trunklog.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/viewcalls.php" afterPath="$PROJECT_DIR$/viewcalls.php" /> | |
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> |
</list> | </list> |
<ignored path="scannr.iws" /> | <ignored path="scannr.iws" /> |
<ignored path=".idea/workspace.xml" /> | <ignored path=".idea/workspace.xml" /> |
<file path="/Dummy.txt" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356154429152" ignored="false" /> | <file path="/Dummy.txt" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356959804071" ignored="false" /> |
<file path="/calllog.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356153807482" ignored="false" /> | <file path="/calllog.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356153807482" ignored="false" /> |
<file path="/scannr.py" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356154551131" ignored="false" /> | <file path="/scannr.py" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356154551131" ignored="false" /> |
<file path="/start_script.py" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155203132" ignored="false" /> | <file path="/start_script.py" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155203132" ignored="false" /> |
<file path="/a.java" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155211924" ignored="false" /> | <file path="/a.java" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155211924" ignored="false" /> |
<file path="/a.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155216083" ignored="false" /> | <file path="/a.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155216083" ignored="false" /> |
<file path="/calls.json.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356155700744" ignored="false" /> | |
<file path="/generateHourlys.php" changelist="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" time="1356960167594" ignored="false" /> | |
<option name="TRACKING_ENABLED" value="true" /> | <option name="TRACKING_ENABLED" value="true" /> |
<option name="SHOW_DIALOG" value="false" /> | <option name="SHOW_DIALOG" value="false" /> |
<option name="HIGHLIGHT_CONFLICTS" value="true" /> | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> |
<option name="LAST_RESOLUTION" value="IGNORE" /> | <option name="LAST_RESOLUTION" value="IGNORE" /> |
</component> | </component> |
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> | <component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> |
<component name="CreatePatchCommitExecutor"> | <component name="CreatePatchCommitExecutor"> |
<option name="PATCH_PATH" value="" /> | <option name="PATCH_PATH" value="" /> |
</component> | </component> |
<component name="DaemonCodeAnalyzer"> | <component name="DaemonCodeAnalyzer"> |
<disable_hints /> | <disable_hints /> |
</component> | </component> |
<component name="DebuggerManager"> | <component name="DebuggerManager"> |
<ui_properties default_suspend_policy="SuspendAll" default_condition_enabled="true" /> | |
<breakpoint_any default_suspend_policy="SuspendAll" default_condition_enabled="true"> | <breakpoint_any default_suspend_policy="SuspendAll" default_condition_enabled="true"> |
<breakpoint> | <breakpoint> |
<option name="NOTIFY_CAUGHT" value="true" /> | <option name="NOTIFY_CAUGHT" value="true" /> |
<option name="NOTIFY_UNCAUGHT" value="true" /> | <option name="NOTIFY_UNCAUGHT" value="true" /> |
<option name="ENABLED" value="false" /> | <option name="ENABLED" value="false" /> |
<option name="LOG_ENABLED" value="false" /> | <option name="LOG_ENABLED" value="false" /> |
<option name="LOG_EXPRESSION_ENABLED" value="false" /> | <option name="LOG_EXPRESSION_ENABLED" value="false" /> |
<option name="SUSPEND_POLICY" value="SuspendAll" /> | <option name="SUSPEND_POLICY" value="SuspendAll" /> |
<option name="SUSPEND" value="true" /> | <option name="SUSPEND" value="true" /> |
<option name="COUNT_FILTER_ENABLED" value="false" /> | <option name="COUNT_FILTER_ENABLED" value="false" /> |
<option name="COUNT_FILTER" value="0" /> | <option name="COUNT_FILTER" value="0" /> |
<option name="CONDITION_ENABLED" value="true" /> | <option name="CONDITION_ENABLED" value="true" /> |
<option name="CLASS_FILTERS_ENABLED" value="false" /> | <option name="CLASS_FILTERS_ENABLED" value="false" /> |
<option name="INSTANCE_FILTERS_ENABLED" value="false" /> | <option name="INSTANCE_FILTERS_ENABLED" value="false" /> |
<option name="CONDITION" value="" /> | <option name="CONDITION" value="" /> |
<option name="LOG_MESSAGE" value="" /> | <option name="LOG_MESSAGE" value="" /> |
</breakpoint> | </breakpoint> |
<breakpoint> | <breakpoint> |
<option name="NOTIFY_CAUGHT" value="true" /> | <option name="NOTIFY_CAUGHT" value="true" /> |
<option name="NOTIFY_UNCAUGHT" value="true" /> | <option name="NOTIFY_UNCAUGHT" value="true" /> |
<option name="ENABLED" value="false" /> | <option name="ENABLED" value="false" /> |
<option name="LOG_ENABLED" value="false" /> | <option name="LOG_ENABLED" value="false" /> |
<option name="LOG_EXPRESSION_ENABLED" value="false" /> | <option name="LOG_EXPRESSION_ENABLED" value="false" /> |
<option name="SUSPEND_POLICY" value="SuspendAll" /> | <option name="SUSPEND_POLICY" value="SuspendAll" /> |
<option name="SUSPEND" value="true" /> | <option name="SUSPEND" value="true" /> |
<option name="COUNT_FILTER_ENABLED" value="false" /> | <option name="COUNT_FILTER_ENABLED" value="false" /> |
<option name="COUNT_FILTER" value="0" /> | <option name="COUNT_FILTER" value="0" /> |
<option name="CONDITION_ENABLED" value="true" /> | <option name="CONDITION_ENABLED" value="true" /> |
<option name="CLASS_FILTERS_ENABLED" value="false" /> | <option name="CLASS_FILTERS_ENABLED" value="false" /> |
<option name="INSTANCE_FILTERS_ENABLED" value="false" /> | <option name="INSTANCE_FILTERS_ENABLED" value="false" /> |
<option name="CONDITION" value="" /> | <option name="CONDITION" value="" /> |
<option name="LOG_MESSAGE" value="" /> | <option name="LOG_MESSAGE" value="" /> |
</breakpoint> | </breakpoint> |
</breakpoint_any> | </breakpoint_any> |
<ui_properties default_suspend_policy="SuspendAll" default_condition_enabled="true" /> | |
<breakpoint_rules /> | <breakpoint_rules /> |
<ui_properties /> | <ui_properties /> |
</component> | </component> |
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> | <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> |
<component name="FavoritesManager"> | <component name="FavoritesManager"> |
<favorites_list name="scannr" /> | <favorites_list name="scannr" /> |
</component> | </component> |
<component name="FileEditorManager"> | <component name="FileEditorManager"> |
<leaf> | <leaf> |
<file leaf-file-name="calllog.php" pinned="false" current="false" current-in-tab="false"> | <file leaf-file-name="calllog.php" pinned="false" current="false" current-in-tab="false"> |
<entry file="file://$PROJECT_DIR$/calllog.php"> | <entry file="file://$PROJECT_DIR$/calllog.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="9" column="0" selection-start="189" selection-end="189" vertical-scroll-proportion="0.0"> | <state line="2" column="0" selection-start="34" selection-end="226" vertical-scroll-proportion="0.0"> |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
</file> | </file> |
<file leaf-file-name="scannr.py" pinned="false" current="true" current-in-tab="true"> | <file leaf-file-name="calls.json.php" pinned="false" current="false" current-in-tab="false"> |
<entry file="file://$PROJECT_DIR$/scannr.py"> | <entry file="file://$PROJECT_DIR$/calls.json.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="80" column="64" selection-start="2271" selection-end="2271" vertical-scroll-proportion="-0.31178707"> | <state line="13" column="53" selection-start="499" selection-end="499" vertical-scroll-proportion="0.0"> |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="generateConvos.php" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$PROJECT_DIR$/generateConvos.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="generateHourlys.php" pinned="false" current="true" current-in-tab="true"> | |
<entry file="file://$PROJECT_DIR$/generateHourlys.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="23" column="6" selection-start="1012" selection-end="1012" vertical-scroll-proportion="0.68944097"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="getfile.php" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$PROJECT_DIR$/getfile.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="11" column="13" selection-start="471" selection-end="539" vertical-scroll-proportion="0.0"> | |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
</file> | </file> |
</leaf> | </leaf> |
</component> | </component> |
<component name="FindManager"> | <component name="FindManager"> |
<FindUsagesManager> | <FindUsagesManager> |
<setting name="OPEN_NEW_TAB" value="false" /> | <setting name="OPEN_NEW_TAB" value="false" /> |
</FindUsagesManager> | </FindUsagesManager> |
</component> | </component> |
<component name="Git.Settings"> | <component name="Git.Settings"> |
<option name="SYNC_SETTING" value="DONT" /> | <option name="SYNC_SETTING" value="DONT" /> |
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> | <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> |
</component> | </component> |
<component name="GitLogSettings"> | <component name="GitLogSettings"> |
<option name="myDateState"> | <option name="myDateState"> |
<MyDateState /> | <MyDateState /> |
</option> | </option> |
</component> | </component> |
<component name="IdeDocumentHistory"> | <component name="IdeDocumentHistory"> |
<option name="changedFiles"> | <option name="changedFiles"> |
<list> | <list> |
<option value="$PROJECT_DIR$/common.inc.php" /> | <option value="$PROJECT_DIR$/common.inc.php" /> |
<option value="$PROJECT_DIR$/calls.json.php" /> | |
<option value="$PROJECT_DIR$/viewcalls.php" /> | <option value="$PROJECT_DIR$/viewcalls.php" /> |
<option value="$PROJECT_DIR$/calllog.php" /> | <option value="$PROJECT_DIR$/calllog.php" /> |
<option value="$PROJECT_DIR$/scannr.py" /> | <option value="$PROJECT_DIR$/scannr.py" /> |
<option value="$PROJECT_DIR$/calls.json.php" /> | |
<option value="$PROJECT_DIR$/generateHourlys.php" /> | |
</list> | </list> |
</option> | </option> |
</component> | </component> |
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" interpreter_name="PHP" /> | <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" interpreter_name="PHP" /> |
<component name="ProjectFrameBounds"> | <component name="ProjectFrameBounds"> |
<option name="y" value="22" /> | <option name="y" value="22" /> |
<option name="width" value="1680" /> | <option name="width" value="1680" /> |
<option name="height" value="937" /> | <option name="height" value="936" /> |
</component> | </component> |
<component name="ProjectLevelVcsManager" settingsEditedManually="true"> | <component name="ProjectLevelVcsManager" settingsEditedManually="true"> |
<OptionsSetting value="true" id="Add" /> | <OptionsSetting value="true" id="Add" /> |
<OptionsSetting value="true" id="Remove" /> | <OptionsSetting value="true" id="Remove" /> |
<OptionsSetting value="true" id="Checkout" /> | <OptionsSetting value="true" id="Checkout" /> |
<OptionsSetting value="true" id="Update" /> | <OptionsSetting value="true" id="Update" /> |
<OptionsSetting value="true" id="Status" /> | <OptionsSetting value="true" id="Status" /> |
<OptionsSetting value="true" id="Edit" /> | <OptionsSetting value="true" id="Edit" /> |
<ConfirmationsSetting value="0" id="Add" /> | <ConfirmationsSetting value="0" id="Add" /> |
<ConfirmationsSetting value="0" id="Remove" /> | <ConfirmationsSetting value="0" id="Remove" /> |
</component> | </component> |
<component name="ProjectReloadState"> | <component name="ProjectReloadState"> |
<option name="STATE" value="0" /> | <option name="STATE" value="0" /> |
</component> | </component> |
<component name="ProjectView"> | <component name="ProjectView"> |
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> | <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> |
<flattenPackages /> | <flattenPackages /> |
<showMembers /> | <showMembers /> |
<showModules /> | <showModules /> |
<showLibraryContents ProjectPane="true" /> | <showLibraryContents ProjectPane="true" /> |
<hideEmptyPackages /> | <hideEmptyPackages /> |
<abbreviatePackageNames /> | <abbreviatePackageNames /> |
<autoscrollToSource /> | <autoscrollToSource /> |
<autoscrollFromSource /> | <autoscrollFromSource /> |
<sortByType /> | <sortByType /> |
</navigator> | </navigator> |
<panes> | <panes> |
<pane id="Scope" /> | |
<pane id="PackagesPane" /> | <pane id="PackagesPane" /> |
<pane id="ProjectPane"> | <pane id="ProjectPane"> |
<subPane> | <subPane> |
<PATH> | <PATH> |
<PATH_ELEMENT> | <PATH_ELEMENT> |
<option name="myItemId" value="scannr" /> | <option name="myItemId" value="scannr" /> |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> |
</PATH_ELEMENT> | </PATH_ELEMENT> |
</PATH> | </PATH> |
<PATH> | <PATH> |
<PATH_ELEMENT> | <PATH_ELEMENT> |
<option name="myItemId" value="scannr" /> | <option name="myItemId" value="scannr" /> |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> |
</PATH_ELEMENT> | </PATH_ELEMENT> |
<PATH_ELEMENT> | <PATH_ELEMENT> |
<option name="myItemId" value="scannr" /> | <option name="myItemId" value="scannr" /> |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> |
</PATH_ELEMENT> | </PATH_ELEMENT> |
</PATH> | </PATH> |
</subPane> | </subPane> |
</pane> | </pane> |
<pane id="Scope" /> | |
</panes> | </panes> |
</component> | </component> |
<component name="PropertiesComponent"> | <component name="PropertiesComponent"> |
<property name="options.splitter.main.proportions" value="0.3" /> | <property name="options.splitter.main.proportions" value="0.3" /> |
<property name="WebServerToolWindowFactoryState" value="false" /> | <property name="WebServerToolWindowFactoryState" value="false" /> |
<property name="options.lastSelected" value="tasks" /> | <property name="options.lastSelected" value="tasks" /> |
<property name="last_opened_file_path" value="$PROJECT_DIR$/../busui/myway/myway_timeliness.php" /> | <property name="last_opened_file_path" value="$PROJECT_DIR$/../disclosr" /> |
<property name="FullScreen" value="false" /> | <property name="FullScreen" value="false" /> |
<property name="options.searchVisible" value="true" /> | |
<property name="options.splitter.details.proportions" value="0.2" /> | <property name="options.splitter.details.proportions" value="0.2" /> |
<property name="options.searchVisible" value="true" /> | |
</component> | </component> |
<component name="PyConsoleOptionsProvider"> | <component name="PyConsoleOptionsProvider"> |
<option name="myPythonConsoleState"> | <option name="myPythonConsoleState"> |
<PyConsoleSettings /> | <PyConsoleSettings /> |
</option> | </option> |
<option name="myDjangoConsoleState"> | <option name="myDjangoConsoleState"> |
<PyConsoleSettings /> | <PyConsoleSettings /> |
</option> | </option> |
</component> | </component> |
<component name="RecentsManager"> | |
<key name="CopyFile.RECENT_KEYS"> | |
<recent name="$PROJECT_DIR$" /> | |
</key> | |
</component> | |
<component name="RunManager"> | <component name="RunManager"> |
<configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit"> | <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit"> |
<TestRunner /> | <TestRunner /> |
<method /> | |
</configuration> | |
<configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console"> | |
<method /> | |
</configuration> | |
<configuration default="true" type="tests" factoryName="Doctests"> | |
<option name="INTERPRETER_OPTIONS" value="" /> | |
<option name="PARENT_ENVS" value="true" /> | |
<envs /> | |
<option name="SDK_HOME" value="" /> | |
<option name="WORKING_DIRECTORY" value="" /> | |
<option name="IS_MODULE_SDK" value="false" /> | |
<module name="scannr" /> | |
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" /> | |
<option name="SCRIPT_NAME" value="" /> | |
<option name="CLASS_NAME" value="" /> | |
<option name="METHOD_NAME" value="" /> | |
<option name="FOLDER_NAME" value="" /> | |
<option name="TEST_TYPE" value="TEST_SCRIPT" /> | |
<option name="PATTERN" value="" /> | |
<option name="USE_PATTERN" value="false" /> | |
<method /> | <method /> |
</configuration> | </configuration> |
<configuration default="true" type="JavascriptDebugSession" factoryName="Local" singleton="true"> | <configuration default="true" type="JavascriptDebugSession" factoryName="Local" singleton="true"> |
<JSDebuggerConfigurationSettings> | <JSDebuggerConfigurationSettings> |
<option name="engineId" value="embedded" /> | <option name="engineId" value="embedded" /> |
<option name="fileUrl" /> | <option name="fileUrl" /> |
</JSDebuggerConfigurationSettings> | </JSDebuggerConfigurationSettings> |
<method /> | <method /> |
</configuration> | </configuration> |
<list size="0" /> | <list size="0" /> |
</component> | </component> |
<component name="ShelveChangesManager" show_recycled="false" /> | <component name="ShelveChangesManager" show_recycled="false" /> |
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false"> | <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false"> |
<option name="USER" value="" /> | <option name="USER" value="" /> |
<option name="PASSWORD" value="" /> | <option name="PASSWORD" value="" /> |
<option name="mySSHConnectionTimeout" value="30000" /> | <option name="mySSHConnectionTimeout" value="30000" /> |
<option name="mySSHReadTimeout" value="30000" /> | <option name="mySSHReadTimeout" value="30000" /> |
<option name="LAST_MERGED_REVISION" /> | <option name="LAST_MERGED_REVISION" /> |
<option name="MERGE_DRY_RUN" value="false" /> | <option name="MERGE_DRY_RUN" value="false" /> |
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> | <option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> |
<option name="UPDATE_LOCK_ON_DEMAND" value="false" /> | <option name="UPDATE_LOCK_ON_DEMAND" value="false" /> |
<option name="IGNORE_SPACES_IN_MERGE" value="false" /> | <option name="IGNORE_SPACES_IN_MERGE" value="false" /> |
<option name="DETECT_NESTED_COPIES" value="true" /> | <option name="DETECT_NESTED_COPIES" value="true" /> |
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" /> | <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" /> |
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> | <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> |
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> | <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> |
<option name="FORCE_UPDATE" value="false" /> | <option name="FORCE_UPDATE" value="false" /> |
<option name="IGNORE_EXTERNALS" value="false" /> | <option name="IGNORE_EXTERNALS" value="false" /> |
<myIsUseDefaultProxy>false</myIsUseDefaultProxy> | <myIsUseDefaultProxy>false</myIsUseDefaultProxy> |
</component> | </component> |
<component name="TaskManager"> | <component name="TaskManager"> |
<task active="true" id="Default" summary="Default task"> | <task active="true" id="Default" summary="Default task"> |
<changelist id="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" name="Default" comment="" /> | <changelist id="f90ee5b5-97e4-47ec-9b14-d4f4e896f100" name="Default" comment="" /> |
<created>1350026709905</created> | <created>1350026709905</created> |
<updated>1350026709905</updated> | <updated>1350026709905</updated> |
</task> | </task> |
<servers /> | <servers /> |
</component> | </component> |
<component name="ToolWindowManager"> | <component name="ToolWindowManager"> |
<frame x="0" y="22" width="1680" height="937" extended-state="6" /> | <frame x="0" y="22" width="1680" height="936" extended-state="6" /> |
<editor active="true" /> | <editor active="true" /> |
<layout> | <layout> |
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> |
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> |
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> |
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> |
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925338" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> | <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32843137" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> |
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> | <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> |
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> |
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> | <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> |
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" /> | <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" /> |
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> |
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> |
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19645043" sideWeight="0.6707466" order="0" side_tool="false" content_ui="combo" /> | <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19645043" sideWeight="0.67156863" order="0" side_tool="false" content_ui="combo" /> |
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> |
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> |
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> |
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> |
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> |
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> | <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> |
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> | <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> |
</layout> | </layout> |
</component> | </component> |
<component name="VcsContentAnnotationSettings"> | <component name="VcsContentAnnotationSettings"> |
<option name="myLimit" value="2678400000" /> | <option name="myLimit" value="2678400000" /> |
</component> | </component> |
<component name="VcsManagerConfiguration"> | <component name="VcsManagerConfiguration"> |
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" /> | <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" /> |
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" /> | <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" /> |
<option name="CHECK_NEW_TODO" value="true" /> | <option name="CHECK_NEW_TODO" value="true" /> |
<option name="myTodoPanelSettings"> | <option name="myTodoPanelSettings"> |
<value> | <value> |
<are-packages-shown value="false" /> | <are-packages-shown value="false" /> |
<are-modules-shown value="false" /> | <are-modules-shown value="false" /> |
<flatten-packages value="false" /> | <flatten-packages value="false" /> |
<is-autoscroll-to-source value="false" /> | <is-autoscroll-to-source value="false" /> |
</value> | </value> |
</option> | </option> |
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" /> | <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" /> |
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" /> | <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" /> |
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" /> | <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" /> |
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" /> | <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" /> |
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" /> | <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" /> |
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" /> | <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" /> |
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" /> | <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" /> |
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" /> | <option name="CHANGED_ON_SERVER_INTERVAL" value="60" /> |
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" /> | <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" /> |
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" /> | <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" /> |
<option name="DEFAULT_PATCH_EXTENSION" value="patch" /> | <option name="DEFAULT_PATCH_EXTENSION" value="patch" /> |
<option name="SHORT_DIFF_HORISONTALLY" value="true" /> | <option name="SHORT_DIFF_HORISONTALLY" value="true" /> |
<option name="SHORT_DIFF_EXTRA_LINES" value="2" /> | <option name="SHORT_DIFF_EXTRA_LINES" value="2" /> |
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" /> | <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" /> |
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" /> | <option name="INCLUDE_TEXT_INTO_PATCH" value="false" /> |
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" /> | <option name="INCLUDE_TEXT_INTO_SHELF" value="false" /> |
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" /> | <option name="SHOW_FILE_HISTORY_DETAILS" value="true" /> |
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" /> | <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" /> |
<option name="SHOW_DIRTY_RECURSIVELY" value="false" /> | <option name="SHOW_DIRTY_RECURSIVELY" value="false" /> |
<option name="LIMIT_HISTORY" value="true" /> | <option name="LIMIT_HISTORY" value="true" /> |
<option name="MAXIMUM_HISTORY_ROWS" value="1000" /> | <option name="MAXIMUM_HISTORY_ROWS" value="1000" /> |
<option name="FORCE_NON_EMPTY_COMMENT" value="false" /> | <option name="FORCE_NON_EMPTY_COMMENT" value="false" /> |
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" /> | <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" /> |
<option name="LAST_COMMIT_MESSAGE" /> | <option name="LAST_COMMIT_MESSAGE" /> |
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" /> | <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" /> |
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" /> | <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" /> |
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" /> | <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" /> |
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" /> | <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" /> |
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" /> | <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" /> |
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" /> | <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" /> |
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" /> | <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" /> |
<option name="ACTIVE_VCS_NAME" /> | <option name="ACTIVE_VCS_NAME" /> |
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" /> | <option name="UPDATE_GROUP_BY_PACKAGES" value="false" /> |
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" /> | <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" /> |
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" /> | <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" /> |
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" /> | <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" /> |
</component> | </component> |
<component name="XDebuggerManager"> | <component name="XDebuggerManager"> |
<breakpoint-manager /> | <breakpoint-manager /> |
</component> | </component> |
<component name="antWorkspaceConfiguration"> | <component name="antWorkspaceConfiguration"> |
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> | <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> |
<option name="FILTER_TARGETS" value="false" /> | <option name="FILTER_TARGETS" value="false" /> |
</component> | </component> |
<component name="editorHistoryManager"> | <component name="editorHistoryManager"> |
<entry file="file://$PROJECT_DIR$/viewcalls.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="2" column="13" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="34" column="0" selection-start="1179" selection-end="1179" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/calls.json.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="2" column="9" selection-start="42" selection-end="42" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/trunklog.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../disclosr/include/template.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="72" column="93" selection-start="2545" selection-end="2635" vertical-scroll-proportion="0.43404254" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../disclosr/include/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../busui/myway/myway_timeliness.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="27" column="5" selection-start="1003" selection-end="1018" vertical-scroll-proportion="26.346153" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/snd.py"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="60" column="117" selection-start="2262" selection-end="2262" vertical-scroll-proportion="-39.23077" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/viewcalls.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="41" column="69" selection-start="1388" selection-end="1388" vertical-scroll-proportion="1.2659575" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/scannr.py"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="80" column="64" selection-start="2271" selection-end="2271" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/calllog.php"> | <entry file="file://$PROJECT_DIR$/calllog.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="9" column="0" selection-start="189" selection-end="189" vertical-scroll-proportion="0.0"> | <state line="2" column="0" selection-start="34" selection-end="226" vertical-scroll-proportion="0.0"> |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
<entry file="file://$PROJECT_DIR$/scannr.py"> | <entry file="file://$PROJECT_DIR$/calls.json.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="12" column="21" selection-start="328" selection-end="328" vertical-scroll-proportion="0.0"> | <state line="13" column="53" selection-start="499" selection-end="499" vertical-scroll-proportion="0.0"> |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
<entry file="file://$PROJECT_DIR$/calllog.php"> | <entry file="file://$PROJECT_DIR$/generateConvos.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
<entry file="file://$PROJECT_DIR$/viewcalls.php"> | <entry file="file://$PROJECT_DIR$/getfile.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="2" column="13" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0" /> | <state line="11" column="13" selection-start="471" selection-end="539" vertical-scroll-proportion="0.0"> |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="34" column="0" selection-start="1179" selection-end="1179" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/calls.json.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="2" column="9" selection-start="42" selection-end="42" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/trunklog.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../disclosr/include/template.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="72" column="93" selection-start="2545" selection-end="2635" vertical-scroll-proportion="0.43404254" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../disclosr/include/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/../busui/myway/myway_timeliness.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="27" column="5" selection-start="1003" selection-end="1018" vertical-scroll-proportion="26.346153" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/snd.py"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/common.inc.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="60" column="117" selection-start="2262" selection-end="2262" vertical-scroll-proportion="-39.23077" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/calls.json.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="72" column="41" selection-start="2843" selection-end="2843" vertical-scroll-proportion="-43.153847" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/viewcalls.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="41" column="69" selection-start="1388" selection-end="1388" vertical-scroll-proportion="1.2659575" /> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/calllog.php"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="9" column="0" selection-start="189" selection-end="189" vertical-scroll-proportion="0.0"> | |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
<entry file="file://$PROJECT_DIR$/scannr.py"> | <entry file="file://$PROJECT_DIR$/generateHourlys.php"> |
<provider selected="true" editor-type-id="text-editor"> | <provider selected="true" editor-type-id="text-editor"> |
<state line="80" column="64" selection-start="2271" selection-end="2271" vertical-scroll-proportion="-0.31178707"> | <state line="23" column="6" selection-start="1012" selection-end="1012" vertical-scroll-proportion="0.68944097"> |
<folding /> | <folding /> |
</state> | </state> |
</provider> | </provider> |
</entry> | </entry> |
</component> | </component> |
</project> | </project> |
<?php | <?php |
include('common.inc.php'); | include('common.inc.php'); |
function getTGIDValuesByHour($TGID, $timeFrom, $timeTo) | function getTGIDValuesByHour($TGID, $timeFrom, $timeTo) |
{ | { |
global $conn; | global $conn; |
$sth = $conn->prepare('select tgid, min(call_timestamp) as time, count(*), min(length), max(length), avg(length), stddev(length) from recordings | $sth = $conn->prepare('select tgid, min(call_timestamp) as time, count(*), min(length), max(length), avg(length), stddev(length) from recordings |
where call_timestamp between to_timestamp(?) and to_timestamp(?) | where call_timestamp between to_timestamp(?) and to_timestamp(?) |
group by tgid, date_trunc(\'hour\', call_timestamp) order by time'); | group by tgid, date_trunc(\'hour\', call_timestamp) order by time'); |
$sth->execute(Array($timeFrom, $timeTo)); | $sth->execute(Array($timeFrom, $timeTo)); |
return $sth->fetchAll(); | return $sth->fetchAll(PDO::FETCH_ASSOC); |
} | } |
function getTGIDValuesByDay($TGID, $dayFrom, $dayTo) | function getTGIDValuesByDay($TGID, $dayFrom, $dayTo) |
{ | { |
global $conn; | global $conn; |
$sth = $conn->prepare('select min(time) as time, min(value), max(value), avg(value), stddev(value) from sensor_values where sensor_id = ? | $sth = $conn->prepare('select min(time) as time, min(value), max(value), avg(value), stddev(value) from sensor_values where sensor_id = ? |
group by sensor_id, date_trunc(\'day\', time) order by time'); | group by sensor_id, date_trunc(\'day\', time) order by time'); |
$sth->execute(Array($TGID)); | $sth->execute(Array($TGID)); |
return $sth->fetchAll(); | return $sth->fetchAll(PDO::FETCH_ASSOC); |
} | } |
function getTGIDDataYears($TGID, $timeFrom, $timeTo) | function getTGIDDataYears($TGID, $timeFrom, $timeTo) |
{ | { |
global $conn; | global $conn; |
$sth = $conn->prepare("select distinct extract('year' from call_timestamp) as year from recordings where tgid = ? order by year"); | $sth = $conn->prepare("select distinct extract('year' from call_timestamp) as year from recordings where tgid = ? order by year"); |
$sth->execute(Array($TGID)); | $sth->execute(Array($TGID)); |
return $sth->fetchAll(); | return $sth->fetchAll(PDO::FETCH_ASSOC); |
} | } |
function getTGIDDataMonths($TGID, $timeFrom, $timeTo) | function getTGIDDataMonths($TGID, $timeFrom, $timeTo) |
{ | { |
global $conn; | global $conn; |
$sth = $conn->prepare("select distinct extract('month' from call_timestamp) as month, extract('year' from call_timestamp) as year from recordings where tgid = ? order by year, month"); | $sth = $conn->prepare("select distinct extract('month' from call_timestamp) as month, extract('year' from call_timestamp) as year from recordings where tgid = ? order by year, month"); |
$sth->execute(Array($TGID)); | $sth->execute(Array($TGID)); |
return $sth->fetchAll(); | return $sth->fetchAll(PDO::FETCH_ASSOC); |
} | } |
function getTGIDDataDays($TGID, $timeFrom, $timeTo) | function getTGIDDataDays($TGID, $timeFrom, $timeTo) |
{ | { |
global $conn; | global $conn; |
$sth = $conn->prepare("select distinct extract('day' from call_timestamp) as day, extract('month' from call_timestamp) as month, extract('year' from call_timestamp) as year from recordings where tgid = ? order by year,month,day"); | $sth = $conn->prepare("select distinct extract('day' from call_timestamp) as day, extract('month' from call_timestamp) as month, extract('year' from call_timestamp) as year from recordings where tgid = ? order by year,month,day"); |
$sth->execute(Array($TGID)); | $sth->execute(Array($TGID)); |
return $sth->fetchAll(); | return $sth->fetchAll(PDO::FETCH_ASSOC); |
} | } |
$action = (isset($_REQUEST['action']) ? $_REQUEST['action'] : ''); | $action = (isset($_REQUEST['action']) ? $_REQUEST['action'] : ''); |
$TGID = (isset($_REQUEST['tgid']) ? $_REQUEST['tgid'] : ''); | $TGID = (isset($_REQUEST['tgid']) ? $_REQUEST['tgid'] : ''); |
$timefrom = (isset($_REQUEST['from']) ? $_REQUEST['from'] : ''); | $timefrom = (isset($_REQUEST['from']) ? $_REQUEST['from'] : ''); |
$timeto = (isset($_REQUEST['to']) ? $_REQUEST['to'] : ''); | $timeto = (isset($_REQUEST['to']) ? $_REQUEST['to'] : ''); |
if ($action == "data") { | |
$sth = $conn->prepare('select * from recordings | |
order by call_timestamp desc limit 100'); | |
$sth->execute(Array()); | |
echo json_encode ($sth->fetchAll(PDO::FETCH_ASSOC)); | |
} | |
if ($action == "data_description") { | if ($action == "data_description") { |
$timefrom = strtotime($timefrom); | $timefrom = strtotime($timefrom); |
$timeto = strtotime($timeto); | $timeto = strtotime($timeto); |
$years = getTGIDDataYears($TGID, $timefrom, $timeto); | $years = getTGIDDataYears($TGID, $timefrom, $timeto); |
$months = getTGIDDataMonths($TGID, $timefrom, $timeto); | $months = getTGIDDataMonths($TGID, $timefrom, $timeto); |
$days = getTGIDDataDays($TGID, $timefrom, $timeto); | $days = getTGIDDataDays($TGID, $timefrom, $timeto); |
echo json_encode(Array("years" => $years, "months" => $months, "days" => $days | echo json_encode(Array("years" => $years, "months" => $months, "days" => $days |
)); | )); |
} | } |
if (strpos($action, "graph") !== false) { | if (strpos($action, "graph") !== false) { |
$values = getTGIDValuesByHour($TGID, $timefrom, $timeto); | $values = getTGIDValuesByHour($TGID, $timefrom, $timeto); |
$label = $TGID; | $label = $TGID; |
$data = Array(); | $data = Array(); |
$tzoffset = get_timezone_offset("UTC"); | $tzoffset = get_timezone_offset("UTC"); |
foreach ($values as $value) { | foreach ($values as $value) { |
if ($action == "graphlength") { | if ($action == "graphlength") { |
$data[$value['tgid']][] = Array((strtotime($value['time']) + $tzoffset) * 1000, intval($value['avg'])); | $data[$value['tgid']][] = Array((strtotime($value['time']) + $tzoffset) * 1000, intval($value['avg'])); |
} else if ($action == "graphcount") { | } else if ($action == "graphcount") { |
$data[$value['tgid']][] = Array((strtotime($value['time']) + $tzoffset) * 1000, intval($value['count'])); | $data[$value['tgid']][] = Array((strtotime($value['time']) + $tzoffset) * 1000, intval($value['count'])); |
} | } |
} | } |
echo json_encode(Array("label" => $label, "data" => $data, | echo json_encode(Array("label" => $label, "data" => $data, |
"previous" => Array( | "previous" => Array( |
"from" => $timefrom - (24 * 60 * 60), | "from" => $timefrom - (24 * 60 * 60), |
"to" => $timefrom) | "to" => $timefrom) |
, | , |
"next" => Array( | "next" => Array( |
"to" => $timeto + (24 * 60 * 60), | "to" => $timeto + (24 * 60 * 60), |
"from" => $timeto) | "from" => $timeto) |
) | ) |
); | ); |
} | } |
?> | ?> |
<?php | <?php |
//select tgid, extract(hour from call_timestamp) ahour, date_trunc('day', call_timestamp) aday, count(filename), array_to_string(array_agg(filename), ' ') from recordings group by tgid, ahour, aday order by aday, ahour, tgid | |
include('common.inc.php'); | include('common.inc.php'); |
$sth = $conn->prepare('select * from recordings limit 100;'); | $sth = $conn->prepare('select * from recordings limit 100;'); |
$sth->execute(); | $sth->execute(); |
$recordings = $sth->fetchAll(); | $recordings = $sth->fetchAll(); |
$convos = Array(); | $convos = Array(); |
$convo = Array(); | $convo = Array(); |
foreach ($recordings as $i => $recording) { | foreach ($recordings as $i => $recording) { |
if (count($convo) > 0) { | if (count($convo) > 0) { |
echo "<br> " . strcasecmp($convos[count($convos) - 1][0]['call_timestamp'], $recording['call_timestamp']); | echo "<br> " . strcasecmp($convos[count($convos) - 1][0]['call_timestamp'], $recording['call_timestamp']); |
if (abs(strcasecmp($convos[count($convos) - 1][0]['call_timestamp'], $recording['call_timestamp'])) > 2) { | if (abs(strcasecmp($convos[count($convos) - 1][0]['call_timestamp'], $recording['call_timestamp'])) > 2) { |
echo " " . $convos[count($convos) - 1][0]['call_timestamp'] . " " . $recording['call_timestamp']; | echo " " . $convos[count($convos) - 1][0]['call_timestamp'] . " " . $recording['call_timestamp']; |
} | } |
if (strcasecmp($convos[count($convos) - 1][0]['tgid'], $recording['tgid']) != 0) { | if (strcasecmp($convos[count($convos) - 1][0]['tgid'], $recording['tgid']) != 0) { |
$convos[] = $convo; | $convos[] = $convo; |
$convo = Array(); | $convo = Array(); |
} | } |
} | } |
; | ; |
//print_r($recording); | //print_r($recording); |
$convo[] = $recording; | $convo[] = $recording; |
//print_r($convo); | //print_r($convo); |
//echo "<br>\n"; | //echo "<br>\n"; |
} | } |
foreach ($convos as $i => $convo) { | foreach ($convos as $i => $convo) { |
foreach ($convo as $recording) { | foreach ($convo as $recording) { |
echo $recording['filename'] . " , "; | echo $recording['filename'] . " , "; |
} | } |
echo "<br><hr>\n"; | echo "<br><hr>\n"; |
} | } |
?> | ?> |
<?php | |
include('common.inc.php'); | |
function processHourly($hourly) { | |
$filename = $hourly['tgid'].'-'.str_replace(' 00:00:00+1','',$hourly['aday']).'-'.$hourly['ahour'].'.3gp'; | |
if(!file_exists("hourly/".$filename)) { | |
$filenames = explode(",",$hourly['filenames']); | |
$cmd = "/usr/local/bin/ffmpeg -i data/".implode(" -i data/",$filenames)." -ar 8000 -ab 4.75k -ac 1 hourly/".$filename . ' 2>&1'; | |
//print_r($hourly); | |
exec ( $cmd,$output,$returncode ); | |
echo $cmd."<br>\n"; | |
if ($returncode != 10) { | |
//print_r($output); | |
//die(); | |
} | |
} | |
} | |
$sth = $conn->prepare("select tgid, extract(hour from call_timestamp) ahour, date_trunc('day', call_timestamp) aday, count(filename), array_to_string(array_agg(filename order by call_timestamp), ',') filenames from recordings group by tgid, ahour, aday order by aday DESC, ahour, tgid;"); | |
$sth->execute(); | |
$hourlies = $sth->fetchAll(PDO::FETCH_ASSOC); | |
foreach($hourlies as $hourly) { | |
//processHourly($hourly); | |
} | |
$sth = $conn->prepare("select 'hour' as tgid, extract(hour from call_timestamp) ahour, date_trunc('day', call_timestamp) aday, count(filename), array_to_string(array_agg(filename order by call_timestamp), ',') filenames from recordings group by ahour, aday order by aday DESC, ahour;"); | |
$sth->execute(); | |
$hourlies = $sth->fetchAll(PDO::FETCH_ASSOC); | |
foreach($hourlies as $hourly) { | |
processHourly($hourly); | |
} | |
bin | |
gen | |
target | |
.settings | |
.classpath | |
.project | |
*.keystore | |
*.swp | |
*.orig | |
*.log | |
*.properties | |
seed.txt | |
map.txt | |
scannrmobile |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="AntConfiguration"> | |
<defaultAnt bundledAnt="true" /> | |
</component> | |
</project> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CompilerConfiguration"> | |
<option name="DEFAULT_COMPILER" value="Javac" /> | |
<excludeFromCompile> | |
<directory url="file://$PROJECT_DIR$/gen" includeSubdirectories="true" /> | |
</excludeFromCompile> | |
<resourceExtensions /> | |
<wildcardResourcePatterns> | |
<entry name="!?*.java" /> | |
<entry name="!?*.form" /> | |
<entry name="!?*.class" /> | |
<entry name="!?*.groovy" /> | |
<entry name="!?*.scala" /> | |
<entry name="!?*.flex" /> | |
<entry name="!?*.kt" /> | |
<entry name="!?*.clj" /> | |
</wildcardResourcePatterns> | |
<annotationProcessing> | |
<profile default="true" name="Default" enabled="false"> | |
<processorPath useClasspath="true" /> | |
</profile> | |
</annotationProcessing> | |
</component> | |
</project> | |
<component name="CopyrightManager"> | |
<settings default=""> | |
<module2copyright /> | |
</settings> | |
</component> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> | |
</project> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="EntryPointsManager"> | |
<entry_points version="2.0" /> | |
</component> | |
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="Android 4.2 Platform" project-jdk-type="Android SDK"> | |
<output url="file://$PROJECT_DIR$/out" /> | |
</component> | |
</project> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectModuleManager"> | |
<modules> | |
<module fileurl="file://$PROJECT_DIR$/scannrmobile.iml" filepath="$PROJECT_DIR$/scannrmobile.iml" /> | |
</modules> | |
</component> | |
</project> | |
<component name="DependencyValidationManager"> | |
<state> | |
<option name="SKIP_IMPORT_STATEMENTS" value="false" /> | |
</state> | |
</component> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Palette2"> | |
<group name="Swing"> | |
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> | |
</item> | |
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> | |
</item> | |
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> | |
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> | |
<initial-values> | |
<property name="text" value="Button" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="RadioButton" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="CheckBox" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="Label" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
<preferred-size width="200" height="200" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
<preferred-size width="200" height="200" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> | |
</item> | |
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> | |
<preferred-size width="-1" height="20" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> | |
</item> | |
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> | |
</item> | |
</group> | |
</component> | |
</project> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="VcsDirectoryMappings"> | |
<mapping directory="" vcs="" /> | |
</component> | |
</project> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="AndroidConfiguredLogFilters"> | |
<filters> | |
<filter> | |
<option name="logLevel" value="verbose" /> | |
<option name="logMessagePattern" value="Scannr" /> | |
<option name="logTagPattern" value="" /> | |
<option name="name" value="Scannr" /> | |
<option name="pid" value="" /> | |
</filter> | |
</filters> | |
</component> | |
<component name="AndroidDesignerProfile"> | |
<option name="fullProfile"> | |
<profile> | |
<option name="device" value="2.7in QVGA" /> | |
<option name="deviceConfiguration" value="Portrait" /> | |
<option name="targetHashString" value="android-17" /> | |
<option name="theme" value="Theme" /> | |
</profile> | |
</option> | |
<option name="selection" value="[Full]" /> | |
</component> | |
<component name="AndroidLogFilters"> | |
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Scannr" /> | |
</component> | |
<component name="ChangeListManager"> | |
<list default="true" id="4912fbca-fcd2-420f-a992-61830c24c4b5" name="Default" comment="" /> | |
<ignored path="scannrmobile.iws" /> | |
<ignored path=".idea/workspace.xml" /> | |
<file path="$PROJECT_DIR$/res/values/strings.xml" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356156665048" ignored="false" /> | |
<file path="/fragment.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356173506003" ignored="false" /> | |
<file path="/HttpTask.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356175420628" ignored="false" /> | |
<file path="$PROJECT_DIR$/gen/com/example/scannrmobile/Manifest.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356176134813" ignored="false" /> | |
<file path="$PROJECT_DIR$/gen/com/example/scannrmobile/R.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356176134813" ignored="false" /> | |
<file path="$PROJECT_DIR$/gen/com/example/scannrmobile/BuildConfig.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356176134813" ignored="false" /> | |
<file path="/ScannrMobile.java" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356177267735" ignored="false" /> | |
<file path="/Dummy.txt" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356175572532" ignored="false" /> | |
<file path="$USER_HOME$/Sites/scannr/calls.json.php" changelist="4912fbca-fcd2-420f-a992-61830c24c4b5" time="1356175698040" ignored="false" /> | |
<option name="TRACKING_ENABLED" value="true" /> | |
<option name="SHOW_DIALOG" value="false" /> | |
<option name="HIGHLIGHT_CONFLICTS" value="true" /> | |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | |
<option name="LAST_RESOLUTION" value="IGNORE" /> | |
</component> | |
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> | |
<component name="CreatePatchCommitExecutor"> | |
<option name="PATCH_PATH" value="" /> | |
</component> | |
<component name="DaemonCodeAnalyzer"> | |
<disable_hints /> | |
</component> | |
<component name="DebuggerManager"> | |
<line_breakpoints default_suspend_policy="SuspendAll" default_condition_enabled="true" /> | |
<breakpoint_any default_suspend_policy="SuspendAll" default_condition_enabled="true"> | |
<breakpoint> | |
<option name="NOTIFY_CAUGHT" value="true" /> | |
<option name="NOTIFY_UNCAUGHT" value="true" /> | |
<option name="ENABLED" value="false" /> | |
<option name="LOG_ENABLED" value="false" /> | |
<option name="LOG_EXPRESSION_ENABLED" value="false" /> | |
<option name="SUSPEND_POLICY" value="SuspendAll" /> | |
<option name="SUSPEND" value="true" /> | |
<option name="COUNT_FILTER_ENABLED" value="false" /> | |
<option name="COUNT_FILTER" value="0" /> | |
<option name="CONDITION_ENABLED" value="true" /> | |
<option name="CLASS_FILTERS_ENABLED" value="false" /> | |
<option name="INSTANCE_FILTERS_ENABLED" value="false" /> | |
<option name="CONDITION" value="" /> | |
<option name="LOG_MESSAGE" value="" /> | |
</breakpoint> | |
<breakpoint> | |
<option name="NOTIFY_CAUGHT" value="true" /> | |
<option name="NOTIFY_UNCAUGHT" value="true" /> | |
<option name="ENABLED" value="false" /> | |
<option name="LOG_ENABLED" value="false" /> | |
<option name="LOG_EXPRESSION_ENABLED" value="false" /> | |
<option name="SUSPEND_POLICY" value="SuspendAll" /> | |
<option name="SUSPEND" value="true" /> | |
<option name="COUNT_FILTER_ENABLED" value="false" /> | |
<option name="COUNT_FILTER" value="0" /> | |
<option name="CONDITION_ENABLED" value="true" /> | |
<option name="CLASS_FILTERS_ENABLED" value="false" /> | |
<option name="INSTANCE_FILTERS_ENABLED" value="false" /> | |
<option name="CONDITION" value="" /> | |
<option name="LOG_MESSAGE" value="" /> | |
</breakpoint> | |
</breakpoint_any> | |
<ui_properties default_suspend_policy="SuspendAll" default_condition_enabled="true" /> | |
<breakpoint_rules /> | |
<ui_properties /> | |
</component> | |
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> | |
<component name="FavoritesManager"> | |
<favorites_list name="scannrmobile" /> | |
</component> | |
<component name="FileEditorManager"> | |
<leaf> | |
<file leaf-file-name="ScannrMobile.java" pinned="false" current="true" current-in-tab="true"> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/ScannrMobile.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="32" column="50" selection-start="1063" selection-end="1073" vertical-scroll-proportion="0.44060475"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="ArrayAdapter.java" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$USER_HOME$/Downloads/android-sdk-macosx/sources/android-17/android/widget/ArrayAdapter.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="46" column="13" selection-start="1860" selection-end="1860" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="simplerow.xml" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$PROJECT_DIR$/res/layout/simplerow.xml"> | |
<provider selected="true" editor-type-id="android-designer"> | |
<state /> | |
</provider> | |
<provider editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="HttpTask.java" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/HttpTask.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="61" column="28" selection-start="1919" selection-end="1919" vertical-scroll-proportion="0.0"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
<file leaf-file-name="AndroidManifest.xml" pinned="false" current="false" current-in-tab="false"> | |
<entry file="file://$PROJECT_DIR$/AndroidManifest.xml"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="5" column="68" selection-start="266" selection-end="266" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
</file> | |
</leaf> | |
</component> | |
<component name="FindManager"> | |
<FindUsagesManager> | |
<setting name="OPEN_NEW_TAB" value="false" /> | |
</FindUsagesManager> | |
</component> | |
<component name="IdeDocumentHistory"> | |
<option name="changedFiles"> | |
<list> | |
<option value="$PROJECT_DIR$/AndroidManifest.xml" /> | |
<option value="$PROJECT_DIR$/src/com/example/scannrmobile/HttpTask.java" /> | |
<option value="$PROJECT_DIR$/res/layout/main.xml" /> | |
<option value="$PROJECT_DIR$/src/com/example/scannrmobile/ScannrMobile.java" /> | |
</list> | |
</option> | |
</component> | |
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" /> | |
<component name="ProjectFrameBounds"> | |
<option name="y" value="22" /> | |
<option name="width" value="1680" /> | |
<option name="height" value="937" /> | |
</component> | |
<component name="ProjectLevelVcsManager" settingsEditedManually="false"> | |
<OptionsSetting value="true" id="Add" /> | |
<OptionsSetting value="true" id="Remove" /> | |
<OptionsSetting value="true" id="Checkout" /> | |
<OptionsSetting value="true" id="Update" /> | |
<OptionsSetting value="true" id="Status" /> | |
<OptionsSetting value="true" id="Edit" /> | |
<ConfirmationsSetting value="0" id="Add" /> | |
<ConfirmationsSetting value="0" id="Remove" /> | |
</component> | |
<component name="ProjectReloadState"> | |
<option name="STATE" value="0" /> | |
</component> | |
<component name="ProjectView"> | |
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> | |
<flattenPackages /> | |
<showMembers /> | |
<showModules /> | |
<showLibraryContents /> | |
<hideEmptyPackages /> | |
<abbreviatePackageNames /> | |
<autoscrollToSource /> | |
<autoscrollFromSource /> | |
<sortByType /> | |
</navigator> | |
<panes> | |
<pane id="ProjectPane"> | |
<subPane> | |
<PATH> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | |
</PATH_ELEMENT> | |
</PATH> | |
<PATH> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
</PATH> | |
<PATH> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="src" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
</PATH> | |
<PATH> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="res" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
</PATH> | |
<PATH> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="scannrmobile" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="res" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
<PATH_ELEMENT> | |
<option name="myItemId" value="layout" /> | |
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | |
</PATH_ELEMENT> | |
</PATH> | |
</subPane> | |
</pane> | |
<pane id="PackagesPane" /> | |
<pane id="Scope" /> | |
</panes> | |
</component> | |
<component name="PropertiesComponent"> | |
<property name="GoToFile.includeJavaFiles" value="false" /> | |
<property name="project.structure.last.edited" value="Modules" /> | |
<property name="project.structure.proportion" value="0.0" /> | |
<property name="options.splitter.main.proportions" value="0.3" /> | |
<property name="options.lastSelected" value="preferences.pluginManager" /> | |
<property name="MemberChooser.sorted" value="false" /> | |
<property name="recentsLimit" value="5" /> | |
<property name="AndroidLayoutSelectedEditor" value="android-designer" /> | |
<property name="project.structure.side.proportion" value="0.2" /> | |
<property name="MemberChooser.copyJavadoc" value="false" /> | |
<property name="GoToClass.toSaveIncludeLibraries" value="false" /> | |
<property name="WebServerToolWindowFactoryState" value="false" /> | |
<property name="restartRequiresConfirmation" value="true" /> | |
<property name="FullScreen" value="false" /> | |
<property name="MemberChooser.showClasses" value="true" /> | |
<property name="GoToClass.includeLibraries" value="false" /> | |
<property name="options.splitter.details.proportions" value="0.2" /> | |
<property name="options.searchVisible" value="true" /> | |
</component> | |
<component name="PyConsoleOptionsProvider"> | |
<option name="myPythonConsoleState"> | |
<PyConsoleSettings /> | |
</option> | |
<option name="myDjangoConsoleState"> | |
<PyConsoleSettings /> | |
</option> | |
</component> | |
<component name="RunManager" selected="Android Application.scannrmobile"> | |
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin"> | |
<module name="" /> | |
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m" /> | |
<option name="PROGRAM_PARAMETERS" /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests"> | |
<module name="" /> | |
<option name="TESTING_TYPE" value="0" /> | |
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" /> | |
<option name="METHOD_NAME" value="" /> | |
<option name="CLASS_NAME" value="" /> | |
<option name="PACKAGE_NAME" value="" /> | |
<option name="TARGET_SELECTION_MODE" value="EMULATOR" /> | |
<option name="PREFERRED_AVD" value="" /> | |
<option name="COMMAND_LINE" value="" /> | |
<option name="WIPE_USER_DATA" value="false" /> | |
<option name="DISABLE_BOOT_ANIMATION" value="false" /> | |
<option name="NETWORK_SPEED" value="full" /> | |
<option name="NETWORK_LATENCY" value="none" /> | |
<option name="CLEAR_LOGCAT" value="false" /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="Remote" factoryName="Remote"> | |
<option name="USE_SOCKET_TRANSPORT" value="true" /> | |
<option name="SERVER_MODE" value="false" /> | |
<option name="SHMEM_ADDRESS" value="javadebug" /> | |
<option name="HOST" value="localhost" /> | |
<option name="PORT" value="5005" /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="Applet" factoryName="Applet"> | |
<module name="" /> | |
<option name="MAIN_CLASS_NAME" /> | |
<option name="HTML_FILE_NAME" /> | |
<option name="HTML_USED" value="false" /> | |
<option name="WIDTH" value="400" /> | |
<option name="HEIGHT" value="300" /> | |
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> | |
<option name="VM_PARAMETERS" /> | |
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | |
<option name="ALTERNATIVE_JRE_PATH" /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="TestNG" factoryName="TestNG"> | |
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> | |
<module name="" /> | |
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | |
<option name="ALTERNATIVE_JRE_PATH" /> | |
<option name="SUITE_NAME" /> | |
<option name="PACKAGE_NAME" /> | |
<option name="MAIN_CLASS_NAME" /> | |
<option name="METHOD_NAME" /> | |
<option name="GROUP_NAME" /> | |
<option name="TEST_OBJECT" value="CLASS" /> | |
<option name="VM_PARAMETERS" value="-ea" /> | |
<option name="PARAMETERS" /> | |
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | |
<option name="OUTPUT_DIRECTORY" /> | |
<option name="ANNOTATION_TYPE" /> | |
<option name="ENV_VARIABLES" /> | |
<option name="PASS_PARENT_ENVS" value="true" /> | |
<option name="TEST_SEARCH_SCOPE"> | |
<value defaultName="moduleWithDependencies" /> | |
</option> | |
<option name="USE_DEFAULT_REPORTERS" value="false" /> | |
<option name="PROPERTIES_FILE" /> | |
<envs /> | |
<properties /> | |
<listeners /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="Application" factoryName="Application"> | |
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> | |
<option name="MAIN_CLASS_NAME" /> | |
<option name="VM_PARAMETERS" /> | |
<option name="PROGRAM_PARAMETERS" /> | |
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | |
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | |
<option name="ALTERNATIVE_JRE_PATH" /> | |
<option name="ENABLE_SWING_INSPECTOR" value="false" /> | |
<option name="ENV_VARIABLES" /> | |
<option name="PASS_PARENT_ENVS" value="true" /> | |
<module name="" /> | |
<envs /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="JUnit" factoryName="JUnit"> | |
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> | |
<module name="" /> | |
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | |
<option name="ALTERNATIVE_JRE_PATH" /> | |
<option name="PACKAGE_NAME" /> | |
<option name="MAIN_CLASS_NAME" /> | |
<option name="METHOD_NAME" /> | |
<option name="TEST_OBJECT" value="class" /> | |
<option name="VM_PARAMETERS" value="-ea" /> | |
<option name="PARAMETERS" /> | |
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> | |
<option name="ENV_VARIABLES" /> | |
<option name="PASS_PARENT_ENVS" value="true" /> | |
<option name="TEST_SEARCH_SCOPE"> | |
<value defaultName="moduleWithDependencies" /> | |
</option> | |
<envs /> | |
<patterns /> | |
<method /> | |
</configuration> | |
<configuration default="true" type="AndroidRunConfigurationType" factoryName="Android Application"> | |
<module name="" /> | |
<option name="ACTIVITY_CLASS" value="" /> | |
<option name="MODE" value="default_activity" /> | |
<option name="DEPLOY" value="true" /> | |
<option name="TARGET_SELECTION_MODE" value="EMULATOR" /> | |
<option name="PREFERRED_AVD" value="" /> | |
<option name="COMMAND_LINE" value="" /> | |
<option name="WIPE_USER_DATA" value="false" /> | |
<option name="DISABLE_BOOT_ANIMATION" value="false" /> | |
<option name="NETWORK_SPEED" value="full" /> | |
<option name="NETWORK_LATENCY" value="none" /> | |
<option name="CLEAR_LOGCAT" value="false" /> | |
<method /> | |
</configuration> | |
<configuration default="false" name="scannrmobile" type="AndroidRunConfigurationType" factoryName="Android Application"> | |
<module name="scannrmobile" /> | |
<option name="ACTIVITY_CLASS" value="com.example.scannrmobile.ScannrMobile" /> | |
<option name="MODE" value="specific_activity" /> | |
<option name="DEPLOY" value="true" /> | |
<option name="TARGET_SELECTION_MODE" value="EMULATOR" /> | |
<option name="PREFERRED_AVD" value="MyAvd0" /> | |
<option name="COMMAND_LINE" value="" /> | |
<option name="WIPE_USER_DATA" value="false" /> | |
<option name="DISABLE_BOOT_ANIMATION" value="false" /> | |
<option name="NETWORK_SPEED" value="full" /> | |
<option name="NETWORK_LATENCY" value="none" /> | |
<option name="CLEAR_LOGCAT" value="true" /> | |
<RunnerSettings RunnerId="AndroidDebugRunner" /> | |
<ConfigurationWrapper RunnerId="AndroidDebugRunner" /> | |
<method /> | |
</configuration> | |
<list size="1"> | |
<item index="0" class="java.lang.String" itemvalue="Android Application.scannrmobile" /> | |
</list> | |
<configuration name="<template>" type="WebApp" default="true" selected="false"> | |
<Host>localhost</Host> | |
<Port>5050</Port> | |
</configuration> | |
</component> | |
<component name="ShelveChangesManager" show_recycled="false" /> | |
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false"> | |
<option name="USER" value="" /> | |
<option name="PASSWORD" value="" /> | |
<option name="mySSHConnectionTimeout" value="30000" /> | |
<option name="mySSHReadTimeout" value="30000" /> | |
<option name="LAST_MERGED_REVISION" /> | |
<option name="MERGE_DRY_RUN" value="false" /> | |
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> | |
<option name="UPDATE_LOCK_ON_DEMAND" value="false" /> | |
<option name="IGNORE_SPACES_IN_MERGE" value="false" /> | |
<option name="DETECT_NESTED_COPIES" value="true" /> | |
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" /> | |
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> | |
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> | |
<option name="FORCE_UPDATE" value="false" /> | |
<option name="IGNORE_EXTERNALS" value="false" /> | |
<myIsUseDefaultProxy>false</myIsUseDefaultProxy> | |
</component> | |
<component name="TaskManager"> | |
<task active="true" id="Default" summary="Default task"> | |
<changelist id="4912fbca-fcd2-420f-a992-61830c24c4b5" name="Default" comment="" /> | |
<created>1356156646856</created> | |
<updated>1356156646856</updated> | |
</task> | |
<servers /> | |
</component> | |
<component name="ToolWindowManager"> | |
<frame x="0" y="22" width="1680" height="937" extended-state="6" /> | |
<editor active="true" /> | |
<layout> | |
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32986537" sideWeight="0.6719706" order="3" side_tool="false" content_ui="tabs" /> | |
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32986537" sideWeight="0.6719706" order="2" side_tool="false" content_ui="tabs" /> | |
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | |
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | |
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | |
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39902082" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | |
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925338" sideWeight="0.500612" order="7" side_tool="true" content_ui="tabs" /> | |
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> | |
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | |
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32802936" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | |
<window_info id="Android" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925338" sideWeight="0.49510404" order="7" side_tool="false" content_ui="tabs" /> | |
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> | |
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" /> | |
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | |
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | |
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.249694" sideWeight="0.6009792" order="0" side_tool="false" content_ui="combo" /> | |
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925338" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | |
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | |
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | |
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925338" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | |
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> | |
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> | |
</layout> | |
</component> | |
<component name="VcsContentAnnotationSettings"> | |
<option name="myLimit" value="2678400000" /> | |
</component> | |
<component name="VcsManagerConfiguration"> | |
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" /> | |
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" /> | |
<option name="CHECK_NEW_TODO" value="true" /> | |
<option name="myTodoPanelSettings"> | |
<value> | |
<are-packages-shown value="false" /> | |
<are-modules-shown value="false" /> | |
<flatten-packages value="false" /> | |
<is-autoscroll-to-source value="false" /> | |
</value> | |
</option> | |
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" /> | |
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" /> | |
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" /> | |
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" /> | |
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" /> | |
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" /> | |
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" /> | |
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" /> | |
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" /> | |
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" /> | |
<option name="DEFAULT_PATCH_EXTENSION" value="patch" /> | |
<option name="SHORT_DIFF_HORISONTALLY" value="true" /> | |
<option name="SHORT_DIFF_EXTRA_LINES" value="2" /> | |
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" /> | |
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" /> | |
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" /> | |
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" /> | |
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" /> | |
<option name="SHOW_DIRTY_RECURSIVELY" value="false" /> | |
<option name="LIMIT_HISTORY" value="true" /> | |
<option name="MAXIMUM_HISTORY_ROWS" value="1000" /> | |
<option name="FORCE_NON_EMPTY_COMMENT" value="false" /> | |
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" /> | |
<option name="LAST_COMMIT_MESSAGE" /> | |
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" /> | |
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" /> | |
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" /> | |
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" /> | |
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" /> | |
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" /> | |
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" /> | |
<option name="ACTIVE_VCS_NAME" /> | |
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" /> | |
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" /> | |
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" /> | |
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" /> | |
</component> | |
<component name="XDebuggerManager"> | |
<breakpoint-manager /> | |
</component> | |
<component name="antWorkspaceConfiguration"> | |
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> | |
<option name="FILTER_TARGETS" value="false" /> | |
</component> | |
<component name="editorHistoryManager"> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/HttpTask.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="6" column="30" selection-start="184" selection-end="184" vertical-scroll-proportion="0.0"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$USER_HOME$/Downloads/android-sdk-macosx/sources/android-17/android/os/AsyncTask.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="347" column="53" selection-start="14141" selection-end="14141" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/AndroidManifest.xml"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="5" column="68" selection-start="266" selection-end="266" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/res/layout/main.xml"> | |
<provider selected="true" editor-type-id="android-designer"> | |
<state /> | |
</provider> | |
<provider editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/ScannrMobile.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="37" column="0" selection-start="1317" selection-end="1317" vertical-scroll-proportion="0.0"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/AndroidManifest.xml"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="5" column="68" selection-start="266" selection-end="266" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/res/layout/main.xml"> | |
<provider selected="true" editor-type-id="android-designer"> | |
<state /> | |
</provider> | |
<provider editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/ScannrMobile.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="48" column="0" selection-start="1666" selection-end="1666" vertical-scroll-proportion="0.0"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/AndroidManifest.xml"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="5" column="68" selection-start="266" selection-end="266" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$USER_HOME$/Downloads/android-sdk-macosx/sources/android-17/android/os/AsyncTask.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="347" column="53" selection-start="14141" selection-end="14141" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/AndroidManifest.xml"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="5" column="68" selection-start="266" selection-end="266" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/res/layout/main.xml"> | |
<provider selected="true" editor-type-id="android-designer"> | |
<state /> | |
</provider> | |
<provider editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/res/layout/simplerow.xml"> | |
<provider selected="true" editor-type-id="android-designer"> | |
<state /> | |
</provider> | |
<provider editor-type-id="text-editor"> | |
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$USER_HOME$/Downloads/android-sdk-macosx/sources/android-17/android/widget/ArrayAdapter.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="46" column="13" selection-start="1860" selection-end="1860" vertical-scroll-proportion="0.0"> | |
<folding /> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/HttpTask.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="61" column="28" selection-start="1919" selection-end="1919" vertical-scroll-proportion="0.0"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
<entry file="file://$PROJECT_DIR$/src/com/example/scannrmobile/ScannrMobile.java"> | |
<provider selected="true" editor-type-id="text-editor"> | |
<state line="32" column="50" selection-start="1063" selection-end="1073" vertical-scroll-proportion="0.44060475"> | |
<folding> | |
<element signature="imports" expanded="true" /> | |
</folding> | |
</state> | |
</provider> | |
</entry> | |
</component> | |
<component name="masterDetails"> | |
<states> | |
<state key="ArtifactsStructureConfigurable.UI"> | |
<settings> | |
<artifact-editor /> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
<state key="FacetStructureConfigurable.UI"> | |
<settings> | |
<last-edited>Android</last-edited> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
<state key="GlobalLibrariesConfigurable.UI"> | |
<settings> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
<state key="JdkListConfigurable.UI"> | |
<settings> | |
<last-edited>Android 4.2 Platform</last-edited> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
<state key="ModuleStructureConfigurable.UI"> | |
<settings> | |
<last-edited>Android|scannrmobile</last-edited> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
<state key="ProjectLibrariesConfigurable.UI"> | |
<settings> | |
<splitter-proportions> | |
<option name="proportions"> | |
<list> | |
<option value="0.2" /> | |
</list> | |
</option> | |
</splitter-proportions> | |
</settings> | |
</state> | |
</states> | |
</component> | |
</project> | |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.scannrmobile" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<uses-sdk android:minSdkVersion="17"/> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher"> | |
<activity android:name="ScannrMobile" | |
android:label="@string/app_name"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.LAUNCHER"/> | |
</intent-filter> | |
</activity> | |
</application> | |
</manifest> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="scannrmobile" default="help"> | |
<!-- The local.properties file is created and updated by the 'android' tool. | |
It contains the path to the SDK. It should *NOT* be checked into | |
Version Control Systems. --> | |
<property file="local.properties"/> | |
<!-- The ant.properties file can be created by you. It is only edited by the | |
'android' tool to add properties to it. | |
This is the place to change some Ant specific build properties. | |
Here are some properties you may want to change/update: | |
source.dir | |
The name of the source directory. Default is 'src'. | |
out.dir | |
The name of the output directory. Default is 'bin'. | |
For other overridable properties, look at the beginning of the rules | |
files in the SDK, at tools/ant/build.xml | |
Properties related to the SDK location or the project target should | |
be updated using the 'android' tool with the 'update' action. | |
This file is an integral part of the build system for your | |
application and should be checked into Version Control Systems. | |
--> | |
<property file="ant.properties"/> | |
<!-- if sdk.dir was not set from one of the property file, then | |
get it from the ANDROID_HOME env var. | |
This must be done before we load project.properties since | |
the proguard config can use sdk.dir --> | |
<property environment="env"/> | |
<condition property="sdk.dir" value="${env.ANDROID_HOME}"> | |
<isset property="env.ANDROID_HOME"/> | |
</condition> | |
<!-- The project.properties file is created and updated by the 'android' | |
tool, as well as ADT. | |
This contains project specific properties such as project target, and library | |
dependencies. Lower level build properties are stored in ant.properties | |
(or in .classpath for Eclipse projects). | |
This file is an integral part of the build system for your | |
application and should be checked into Version Control Systems. --> | |
<loadproperties srcFile="project.properties"/> | |
<!-- quick check on sdk.dir --> | |
<fail | |
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." | |
unless="sdk.dir" | |
/> | |
<!-- | |
Import per project custom build rules if present at the root of the project. | |
This is the place to put custom intermediary targets such as: | |
-pre-build | |
-pre-compile | |
-post-compile (This is typically used for code obfuscation. | |
Compiled code location: ${out.classes.absolute.dir} | |
If this is not done in place, override ${out.dex.input.absolute.dir}) | |
-post-package | |
-post-build | |
-pre-clean | |
--> | |
<import file="custom_rules.xml" optional="true"/> | |
<!-- Import the actual build file. | |
To customize existing targets, there are two options: | |
- Customize only one target: | |
- copy/paste the target into this file, *before* the | |
<import> task. | |
- customize it to your needs. | |
- Customize the whole content of build.xml | |
- copy/paste the content of the rules files (minus the top node) | |
into this file, replacing the <import> task. | |
- customize to your needs. | |
*********************** | |
****** IMPORTANT ****** | |
*********************** | |
In all cases you must update the value of version-tag below to read 'custom' instead of an integer, | |
in order to avoid having your file be overridden by tools such as "android update project" | |
--> | |
<!-- version-tag: 1 --> | |
<import file="${sdk.dir}/tools/ant/build.xml"/> | |
</project> | |
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/BuildConfig.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/HttpTask$HttpTaskHandler.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/HttpTask.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R$attr.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R$drawable.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R$id.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R$layout.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R$string.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/R.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/ScannrMobile$1.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/com/example/scannrmobile/ScannrMobile.class differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/scannrmobile.afp.apk differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/scannrmobile.apk differ
Binary files /dev/null and b/scannrmobile/out/production/scannrmobile/scannrmobile.unaligned.apk differ
# To enable ProGuard in your project, edit project.properties | |
# to define the proguard.config property as described in that file. | |
# | |
# Add project specific ProGuard rules here. | |
# By default, the flags in this file are appended to flags specified | |
# in ${sdk.dir}/tools/proguard/proguard-android.txt | |
# You can edit the include path and order by changing the ProGuard | |
# include property in project.properties. | |
# | |
# For more details, see | |
# http://developer.android.com/guide/developing/tools/proguard.html | |
# Add any project specific keep options here: | |
# If your project uses WebView with JS, uncomment the following | |
# and specify the fully qualified class name to the JavaScript interface | |
# class: | |
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
# public *; | |
#} | |
Binary files /dev/null and b/scannrmobile/res/drawable-hdpi/ic_launcher.png differ
Binary files /dev/null and b/scannrmobile/res/drawable-ldpi/ic_launcher.png differ
Binary files /dev/null and b/scannrmobile/res/drawable-mdpi/ic_launcher.png differ
Binary files /dev/null and b/scannrmobile/res/drawable-xhdpi/ic_launcher.png differ
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<ListView android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:id="@+id/mainListView"> | |
</ListView> | |
</LinearLayout> | |
<TextView xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/rowTextView" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:padding="10dp" | |
android:textSize="16sp" > | |
</TextView> | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="app_name">scannrmobile</string> | |
</resources> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="FacetManager"> | |
<facet type="android" name="Android"> | |
<configuration> | |
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" /> | |
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" /> | |
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" /> | |
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" /> | |
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" /> | |
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" /> | |
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" /> | |
<option name="CUSTOM_APK_RESOURCE_FOLDER" value="" /> | |
<option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" /> | |
<option name="CUSTOM_COMPILER_MANIFEST" value="" /> | |
<option name="APK_PATH" value="" /> | |
<option name="LIBRARY_PROJECT" value="false" /> | |
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" /> | |
<option name="GENERATE_UNSIGNED_APK" value="false" /> | |
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" /> | |
<option name="PACK_TEST_CODE" value="false" /> | |
<option name="RUN_PROGUARD" value="false" /> | |
<option name="PROGUARD_CFG_PATH" value="/proguard-project.txt" /> | |
<resOverlayFolders> | |
<path>/res-overlay</path> | |
</resOverlayFolders> | |
<includeSystemProguardFile>true</includeSystemProguardFile> | |
<includeAssetsFromLibraries>false</includeAssetsFromLibraries> | |
<additionalNativeLibs /> | |
</configuration> | |
</facet> | |
</component> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> | |
package com.example.scannrmobile; | |
import android.os.AsyncTask; | |
import org.apache.http.client.methods.*; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.client.HttpClient; | |
import org.apache.http.impl.client.DefaultHttpClient; | |
import org.json.*; | |
import android.util.Log; | |
//http://www.accella.net/android-http-get-json/ | |
public class HttpTask extends AsyncTask<HttpUriRequest,Void,JSONArray> { | |
private static final String TAG = "Scannr_HTTP_TASK"; | |
@Override | |
protected JSONArray doInBackground(HttpUriRequest...params) { | |
// Performed on Background Thread | |
HttpUriRequest request = params[0]; | |
HttpClient client = new DefaultHttpClient(); | |
try { | |
// The UI Thread shouldn't be blocked long enough to do the reading in of the stream. | |
HttpResponse response = client.execute(request); | |
// TODO handle bad response codes (such as 404, etc) | |
BufferedReader reader = new BufferedReader(new InputStreamReader(response.getEntity().getContent(), "UTF-8")); | |
StringBuilder builder = new StringBuilder(); | |
for (String line = null; (line = reader.readLine()) != null; ) { | |
builder.append(line).append("\n"); | |
} | |
JSONTokener tokener = new JSONTokener(builder.toString()); | |
JSONArray json = new JSONArray(tokener); | |
return json; | |
} catch (Exception e) { | |
// TODO handle different exception cases | |
Log.e(TAG,e.toString()); | |
e.printStackTrace(); | |
return null; | |
} | |
} | |
@Override | |
protected void onPostExecute(JSONArray json) { | |
// Done on UI Thread | |
if(json != null) { | |
taskHandler.taskSuccessful(json); | |
} else { | |
taskHandler.taskFailed(); | |
} | |
} | |
public static interface HttpTaskHandler { | |
void taskSuccessful(JSONArray json); | |
void taskFailed(); | |
} | |
HttpTaskHandler taskHandler; | |
public void setTaskHandler(HttpTaskHandler taskHandler) { | |
this.taskHandler = taskHandler; | |
} | |
} |
package com.example.scannrmobile; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.widget.ArrayAdapter; | |
import android.widget.ListView; | |
import com.example.scannrmobile.HttpTask.HttpTaskHandler; | |
import org.apache.http.client.methods.HttpGet; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import java.util.ArrayList; | |
public class ScannrMobile extends Activity { | |
private ListView mainListView ; | |
private ArrayAdapter<String> listAdapter ; | |
private ScannrMobile view; | |
/** | |
* Called when the activity is first created. | |
*/ | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
mainListView = (ListView) findViewById( R.id.mainListView ); | |
view = this; | |
//DownloadWebPageTask task = new DownloadWebPageTask(); | |
//task.execute(new String[] { "http://www.vogella.com" }); | |
HttpTask task = new HttpTask(); | |
task.setTaskHandler(new HttpTaskHandler() | |
{ | |
public void taskSuccessful(JSONArray nodes) { | |
// Just put the JSONObjects into an array list so we can use a ListAdapter | |
ArrayList<String> data = new ArrayList(); | |
// Ingest Data | |
try { | |
Log.d(this.getClass().getName(), "Total Nodes: "+nodes.length()); | |
for (int i = 0; i < nodes.length(); i++ ) { | |
data.add(nodes.getJSONObject(i).toString() ); | |
} | |
// TODO update the list | |
} catch (JSONException j){ | |
Log.e(this.getClass().getName(), j.getMessage()); | |
} | |
// Create ArrayAdapter using the planet list. | |
listAdapter = new ArrayAdapter<String>(view, R.layout.simplerow, R.id.rowTextView, data); | |
// Set the ArrayAdapter as the ListView's adapter. | |
mainListView.setAdapter( listAdapter ); | |
} | |
public void taskFailed() { | |
// handler failure (e.g network not available etc.) | |
Log.e(this.getClass().getName(),"Task Failed"); | |
} | |
}); | |
task.execute(new HttpGet("http://192.168.1.113/~maxious/scannr/calls.json.php?action=data")); | |
} | |
} | |
"""PyAudio example: Record a few seconds of audio and save to a WAVE file.""" | """PyAudio example: Record a few seconds of audio and save to a WAVE file.""" |
import pyaudio | import pyaudio |
import wave | import wave |
CHUNK = 1024 | CHUNK = 1024 |
FORMAT = pyaudio.paInt16 | FORMAT = pyaudio.paInt16 |
CHANNELS = 2 | CHANNELS = 2 |
RATE = 44100 | RATE = 44100 |
RECORD_SECONDS = 5 | RECORD_SECONDS = 5 |
WAVE_OUTPUT_FILENAME = "output.wav" | WAVE_OUTPUT_FILENAME = "output.wav" |
p = pyaudio.PyAudio() | p = pyaudio.PyAudio() |
device_idx = 0; | |
for i in range (0, p.get_device_count()): | |
print(p.get_device_info_by_index(i)) | |
if p.get_device_info_by_index(i)['name'] == 'Built-in Input': | |
device_idx = i | |
print i | |
stream = p.open(format=FORMAT, | stream = p.open(format=FORMAT, |
channels=CHANNELS, | channels=CHANNELS, |
rate=RATE, | rate=RATE, |
input=True, | input=True, |
input_device_index=device_idx, | |
frames_per_buffer=CHUNK) | frames_per_buffer=CHUNK) |
print("* recording") | print("* recording") |
frames = [] | frames = [] |
for i in range(0, int(RATE / CHUNK * RECORD_SECONDS)): | for i in range(0, int(RATE / CHUNK * RECORD_SECONDS)): |
data = stream.read(CHUNK) | data = stream.read(CHUNK) |
frames.append(data) | frames.append(data) |
print("* done recording") | print("* done recording") |
stream.stop_stream() | stream.stop_stream() |
stream.close() | stream.close() |
p.terminate() | p.terminate() |
wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb') | wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb') |
wf.setnchannels(CHANNELS) | wf.setnchannels(CHANNELS) |
wf.setsampwidth(p.get_sample_size(FORMAT)) | wf.setsampwidth(p.get_sample_size(FORMAT)) |
wf.setframerate(RATE) | wf.setframerate(RATE) |
wf.writeframes(b''.join(frames)) | wf.writeframes(b''.join(frames)) |
wf.close() | wf.close() |