summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-22 15:10:18 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-22 15:10:18 +0000
commite7485b930a62af8f420cbd82ec7d9ab53173b3c8 (patch)
treecd8d19e236fa4a5bafe3ff8c58fc38f1dc882a9d /src
parent6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224 (diff)
downloadopenocd+libswd-e7485b930a62af8f420cbd82ec7d9ab53173b3c8.tar.gz
openocd+libswd-e7485b930a62af8f420cbd82ec7d9ab53173b3c8.tar.bz2
openocd+libswd-e7485b930a62af8f420cbd82ec7d9ab53173b3c8.tar.xz
openocd+libswd-e7485b930a62af8f420cbd82ec7d9ab53173b3c8.zip
httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1269 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/server/httpd.c2
-rw-r--r--src/server/httpd/menu_cuts/center_bottom.pngbin0 -> 309 bytes
-rw-r--r--src/server/httpd/menu_cuts/center_top.pngbin0 -> 307 bytes
-rw-r--r--src/server/httpd/menu_cuts/h_tab1.pngbin0 -> 364 bytes
-rw-r--r--src/server/httpd/menu_cuts/h_tab1_selected.pngbin0 -> 310 bytes
-rw-r--r--src/server/httpd/menu_cuts/h_tab2.pngbin0 -> 349 bytes
-rw-r--r--src/server/httpd/menu_cuts/h_tab2_selected.pngbin0 -> 330 bytes
-rw-r--r--src/server/httpd/menu_cuts/h_tab_free.pngbin0 -> 454 bytes
-rw-r--r--src/server/httpd/menu_cuts/logo_bottom.pngbin0 -> 960 bytes
-rw-r--r--src/server/httpd/menu_cuts/logo_top.pngbin0 -> 3082 bytes
-rw-r--r--src/server/httpd/menu_cuts/right_bottom.pngbin0 -> 351 bytes
-rw-r--r--src/server/httpd/menu_cuts/right_top.pngbin0 -> 281 bytes
-rw-r--r--src/server/httpd/menu_cuts/right_top_small.pngbin0 -> 265 bytes
-rw-r--r--src/server/httpd/menu_cuts/top_right.pngbin0 -> 352 bytes
-rw-r--r--src/server/httpd/menu_cuts/v_1.pngbin0 -> 305 bytes
-rw-r--r--src/server/httpd/menu_cuts/v_2_tile.pngbin0 -> 169 bytes
-rw-r--r--src/server/httpd/menu_cuts/v_3.pngbin0 -> 2289 bytes
-rw-r--r--src/server/httpd/menu_cuts/v_tab.pngbin0 -> 390 bytes
-rw-r--r--src/server/httpd/menu_cuts/v_tab_selected.pngbin0 -> 357 bytes
-rw-r--r--src/server/httpd/readme.txt2
20 files changed, 2 insertions, 2 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c
index 348a081b..103c92f0 100644
--- a/src/server/httpd.c
+++ b/src/server/httpd.c
@@ -296,7 +296,7 @@ int handle_request(struct MHD_Connection * connection, const char * url)
}
else
{
- printf("Tcl OK\n");
+ LOG_DEBUG("Tcl OK");
/* FIX!!! how to handle mime types??? */
const char *result;
int reslen;
diff --git a/src/server/httpd/menu_cuts/center_bottom.png b/src/server/httpd/menu_cuts/center_bottom.png
new file mode 100644
index 00000000..cfa58395
--- /dev/null
+++ b/src/server/httpd/menu_cuts/center_bottom.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/center_top.png b/src/server/httpd/menu_cuts/center_top.png
new file mode 100644
index 00000000..6e5a2130
--- /dev/null
+++ b/src/server/httpd/menu_cuts/center_top.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/h_tab1.png b/src/server/httpd/menu_cuts/h_tab1.png
new file mode 100644
index 00000000..b6983bf8
--- /dev/null
+++ b/src/server/httpd/menu_cuts/h_tab1.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/h_tab1_selected.png b/src/server/httpd/menu_cuts/h_tab1_selected.png
new file mode 100644
index 00000000..0485a2b2
--- /dev/null
+++ b/src/server/httpd/menu_cuts/h_tab1_selected.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/h_tab2.png b/src/server/httpd/menu_cuts/h_tab2.png
new file mode 100644
index 00000000..c0fb6dfb
--- /dev/null
+++ b/src/server/httpd/menu_cuts/h_tab2.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/h_tab2_selected.png b/src/server/httpd/menu_cuts/h_tab2_selected.png
new file mode 100644
index 00000000..4a26124d
--- /dev/null
+++ b/src/server/httpd/menu_cuts/h_tab2_selected.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/h_tab_free.png b/src/server/httpd/menu_cuts/h_tab_free.png
new file mode 100644
index 00000000..18682b5e
--- /dev/null
+++ b/src/server/httpd/menu_cuts/h_tab_free.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/logo_bottom.png b/src/server/httpd/menu_cuts/logo_bottom.png
new file mode 100644
index 00000000..8e0bf3e5
--- /dev/null
+++ b/src/server/httpd/menu_cuts/logo_bottom.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/logo_top.png b/src/server/httpd/menu_cuts/logo_top.png
new file mode 100644
index 00000000..6c3a6db2
--- /dev/null
+++ b/src/server/httpd/menu_cuts/logo_top.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/right_bottom.png b/src/server/httpd/menu_cuts/right_bottom.png
new file mode 100644
index 00000000..c6011ef6
--- /dev/null
+++ b/src/server/httpd/menu_cuts/right_bottom.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/right_top.png b/src/server/httpd/menu_cuts/right_top.png
new file mode 100644
index 00000000..aaeed10c
--- /dev/null
+++ b/src/server/httpd/menu_cuts/right_top.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/right_top_small.png b/src/server/httpd/menu_cuts/right_top_small.png
new file mode 100644
index 00000000..095ddf87
--- /dev/null
+++ b/src/server/httpd/menu_cuts/right_top_small.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/top_right.png b/src/server/httpd/menu_cuts/top_right.png
new file mode 100644
index 00000000..d1ed656b
--- /dev/null
+++ b/src/server/httpd/menu_cuts/top_right.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/v_1.png b/src/server/httpd/menu_cuts/v_1.png
new file mode 100644
index 00000000..2f23cfc0
--- /dev/null
+++ b/src/server/httpd/menu_cuts/v_1.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/v_2_tile.png b/src/server/httpd/menu_cuts/v_2_tile.png
new file mode 100644
index 00000000..3f364537
--- /dev/null
+++ b/src/server/httpd/menu_cuts/v_2_tile.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/v_3.png b/src/server/httpd/menu_cuts/v_3.png
new file mode 100644
index 00000000..cf8fa37b
--- /dev/null
+++ b/src/server/httpd/menu_cuts/v_3.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/v_tab.png b/src/server/httpd/menu_cuts/v_tab.png
new file mode 100644
index 00000000..ad39319e
--- /dev/null
+++ b/src/server/httpd/menu_cuts/v_tab.png
Binary files differ
diff --git a/src/server/httpd/menu_cuts/v_tab_selected.png b/src/server/httpd/menu_cuts/v_tab_selected.png
new file mode 100644
index 00000000..fc7397aa
--- /dev/null
+++ b/src/server/httpd/menu_cuts/v_tab_selected.png
Binary files differ
diff --git a/src/server/httpd/readme.txt b/src/server/httpd/readme.txt
index 91ed625c..960c0fe1 100644
--- a/src/server/httpd/readme.txt
+++ b/src/server/httpd/readme.txt
@@ -19,6 +19,6 @@ https://gnunet.org/mantis/view.php?id=1440
../openocd/configure --enable-httpd --enable-dummy --enable-ioutil
make
make install
-openocd -c "interface dummy" -f target/at91eb40a.cfg
+openocd -f httpd/httpd.tcl -c "interface dummy" -f target/at91eb40a.cfg
4. Point browser to: http://localhost:8888