Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/72c756ff154aa4b7b1e571e99f3130e4eab91607
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/72c756ff154aa4b7b1e571e99f3130e4eab91607
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/72c756ff154aa4b7b1e571e99f3130e4eab91607

The branch, ashmew2/nskolibrios has been updated
       via  72c756ff154aa4b7b1e571e99f3130e4eab91607 (commit)
      from  2cbd8a4029d50d970d6a7470bb1df0a6d816e759 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=72c756ff154aa4b7b1e571e99f3130e4eab91607
commit 72c756ff154aa4b7b1e571e99f3130e4eab91607
Author: Ashish Gupta <[email protected]>
Commit: Ashish Gupta <[email protected]>

    Get rid of bloat

diff --git a/frontends/kolibrios/gui_fetch_table.h 
b/frontends/kolibrios/gui_fetch_table.h
deleted file mode 100644
index a578115..0000000
--- a/frontends/kolibrios/gui_fetch_table.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI FETCHER table. Will contain all functions required as well. 
*/
-/* ------------------------------ */
-
-const char *kolibri_get_mimetype_file(const char *unix_path)
-{
-
-}
-
-
-struct nsurl* kolibri_get_resource_url(const char *path)
-{
-
-}
-
- /* Can be used to always load some .html file probably */
-
-nserror kolibri_get_resource_data(const char *path, const uint8_t **data, 
size_t *data_len)
-{
-
-}
-
-
-nserror kolibri_release_resource_data(const uint8_t *data)
-{
-
-}
-
- /*get_ and release_ functions work in unison one after another*/
-
-char *kolibri_find_mimetype_file(const char *ro_path)
-{
-
-}
-
-struct gui_fetch_table kolibri_fetch_table = {
-  .filetype = kolibri_get_mimetype_file,
-  .get_resource_url = kolibri_get_resource_url,
-  .get_resource_data = kolibri_get_resource_data,
-  .release_resource_data = kolibri_release_resource_data,
-  .mimetype = kolibri_find_mimetype_file
-};
diff --git a/frontends/kolibrios/gui_file_table.h 
b/frontends/kolibrios/gui_file_table.h
deleted file mode 100644
index 2c0795f..0000000
--- a/frontends/kolibrios/gui_file_table.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI FILE TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-nserror kolibri_mkpath(char **str, size_t *size, size_t nemb, va_list ap)
-{
-
-}
-
-nserror kolibri_basename(const char *path, char **str, size_t *size)
-{
-
-}
-
-nserror kolibri_nsurl_to_path(struct nsurl *url, char **path)
-{
-
-}
-
-nserror kolibri_path_to_nsurl(const char *path, struct nsurl **url)
-{
-
-}
-
-nserror kolibri_mkdir_all(const char *fname)
-{
-
-}
-
-
-struct gui_file_table kolibri_gui_file_table = {
-       /* Mandantory entries */
-  .mkpath = kolibri_mkpath,
-  .basename = kolibri_basename,
-  .nsurl_to_path = kolibri_nsurl_to_path,
-  .path_to_nsurl = kolibri_path_to_nsurl,
-  .mkdir_all = kolibri_mkdir_all
-};
diff --git a/frontends/kolibrios/gui_llcache_table.h 
b/frontends/kolibrios/gui_llcache_table.h
deleted file mode 100644
index c7995e5..0000000
--- a/frontends/kolibrios/gui_llcache_table.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI LLCACHE TABLE. Will contain all functions required as well. 
*/
-/* ------------------------------ */
-nserror kolibri_initialise(const struct llcache_store_parameters *parameters)
-{
-
-}
-
-
-nserror kolibri_finalise(void)
-{
-
-}
-
-
-nserror kolibri_store(struct nsurl *url, enum backing_store_flags flags,
-                uint8_t *data, const size_t datalen)
-{
-
-}
-
-
-nserror kolibri_fetch(struct nsurl *url, enum backing_store_flags flags,
-                uint8_t **data, size_t *datalen)
-{
-
-}
-
-
-nserror kolibri_release(struct nsurl *url, enum backing_store_flags flags)
-{
-
-}
-
-
-nserror kolibri_invalidate(struct nsurl *url)
-{
-
-}
-
-
-struct gui_llcache_table kolibri_gui_llcache_table = {
-       .initialise = kolibri_initialise,
-       .finalise = kolibri_finalise,
-       .store = kolibri_store,
-       .fetch = kolibri_fetch,
-       .release = kolibri_release,
-       .invalidate = kolibri_invalidate
-};
diff --git a/frontends/kolibrios/gui_search_table.h 
b/frontends/kolibrios/gui_search_table.h
deleted file mode 100644
index 2cb361a..0000000
--- a/frontends/kolibrios/gui_search_table.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI SEARCH TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-
-void kolibri_status(bool found, void *p)
-{
-
-}
-
-void kolibri_hourglass(bool active, void *p)
-{
-
-}
-
-void kolibri_add_recent(const char *string, void *p)
-{
-
-}
-
-void kolibri_forward_state(bool active, void *p)
-{
-
-}
-
-void kolibri_back_state(bool active, void *p)
-{
-
-}
-
-
-
-struct gui_search_table kolibri_gui_search_table = {
-   .status = kolibri_status,
-   .hourglass = kolibri_hourglass,
-   .add_recent = kolibri_add_recent,
-   .forward_state = kolibri_forward_state,
-   .back_state = kolibri_back_state
-};
diff --git a/frontends/kolibrios/gui_search_web_table.h 
b/frontends/kolibrios/gui_search_web_table.h
deleted file mode 100644
index 1ef3206..0000000
--- a/frontends/kolibrios/gui_search_web_table.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI SEARCH WEB TABLE. Will contain all functions required as 
well. */
-/* ------------------------------ */
-nserror kolibri_search_provider_update(const char *provider_name, struct 
bitmap *ico_bitmap) 
-{
-
-}
-
-struct gui_search_web_table kolibri_search_web_table = {
- .provider_update = kolibri_search_provider_update 
-};
diff --git a/frontends/kolibrios/gui_utf8_table.h 
b/frontends/kolibrios/gui_utf8_table.h
deleted file mode 100644
index 42a0c2b..0000000
--- a/frontends/kolibrios/gui_utf8_table.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI UTF8 TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-
-nserror kolibri_utf8_to_local(const char *string, size_t len, char **result)
-{
-
-}
-
-nserror kolibri_local_to_utf8(const char *string, size_t len, char **result)
-{
-
-}
-
-struct gui_utf8_table kolibri_gui_utf8_table = {
-  .utf8_to_local = kolibri_utf8_to_local,
-  .local_to_utf8 = kolibri_local_to_utf8
-};


-----------------------------------------------------------------------

Summary of changes:
 frontends/kolibrios/gui_fetch_table.h      |   42 ------------------------
 frontends/kolibrios/gui_file_table.h       |   37 ---------------------
 frontends/kolibrios/gui_llcache_table.h    |   49 ----------------------------
 frontends/kolibrios/gui_search_table.h     |   38 ---------------------
 frontends/kolibrios/gui_search_web_table.h |   11 -------
 frontends/kolibrios/gui_utf8_table.h       |   18 ----------
 6 files changed, 195 deletions(-)
 delete mode 100644 frontends/kolibrios/gui_fetch_table.h
 delete mode 100644 frontends/kolibrios/gui_file_table.h
 delete mode 100644 frontends/kolibrios/gui_llcache_table.h
 delete mode 100644 frontends/kolibrios/gui_search_table.h
 delete mode 100644 frontends/kolibrios/gui_search_web_table.h
 delete mode 100644 frontends/kolibrios/gui_utf8_table.h

diff --git a/frontends/kolibrios/gui_fetch_table.h 
b/frontends/kolibrios/gui_fetch_table.h
deleted file mode 100644
index a578115..0000000
--- a/frontends/kolibrios/gui_fetch_table.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI FETCHER table. Will contain all functions required as well. 
*/
-/* ------------------------------ */
-
-const char *kolibri_get_mimetype_file(const char *unix_path)
-{
-
-}
-
-
-struct nsurl* kolibri_get_resource_url(const char *path)
-{
-
-}
-
- /* Can be used to always load some .html file probably */
-
-nserror kolibri_get_resource_data(const char *path, const uint8_t **data, 
size_t *data_len)
-{
-
-}
-
-
-nserror kolibri_release_resource_data(const uint8_t *data)
-{
-
-}
-
- /*get_ and release_ functions work in unison one after another*/
-
-char *kolibri_find_mimetype_file(const char *ro_path)
-{
-
-}
-
-struct gui_fetch_table kolibri_fetch_table = {
-  .filetype = kolibri_get_mimetype_file,
-  .get_resource_url = kolibri_get_resource_url,
-  .get_resource_data = kolibri_get_resource_data,
-  .release_resource_data = kolibri_release_resource_data,
-  .mimetype = kolibri_find_mimetype_file
-};
diff --git a/frontends/kolibrios/gui_file_table.h 
b/frontends/kolibrios/gui_file_table.h
deleted file mode 100644
index 2c0795f..0000000
--- a/frontends/kolibrios/gui_file_table.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI FILE TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-nserror kolibri_mkpath(char **str, size_t *size, size_t nemb, va_list ap)
-{
-
-}
-
-nserror kolibri_basename(const char *path, char **str, size_t *size)
-{
-
-}
-
-nserror kolibri_nsurl_to_path(struct nsurl *url, char **path)
-{
-
-}
-
-nserror kolibri_path_to_nsurl(const char *path, struct nsurl **url)
-{
-
-}
-
-nserror kolibri_mkdir_all(const char *fname)
-{
-
-}
-
-
-struct gui_file_table kolibri_gui_file_table = {
-       /* Mandantory entries */
-  .mkpath = kolibri_mkpath,
-  .basename = kolibri_basename,
-  .nsurl_to_path = kolibri_nsurl_to_path,
-  .path_to_nsurl = kolibri_path_to_nsurl,
-  .mkdir_all = kolibri_mkdir_all
-};
diff --git a/frontends/kolibrios/gui_llcache_table.h 
b/frontends/kolibrios/gui_llcache_table.h
deleted file mode 100644
index c7995e5..0000000
--- a/frontends/kolibrios/gui_llcache_table.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI LLCACHE TABLE. Will contain all functions required as well. 
*/
-/* ------------------------------ */
-nserror kolibri_initialise(const struct llcache_store_parameters *parameters)
-{
-
-}
-
-
-nserror kolibri_finalise(void)
-{
-
-}
-
-
-nserror kolibri_store(struct nsurl *url, enum backing_store_flags flags,
-                uint8_t *data, const size_t datalen)
-{
-
-}
-
-
-nserror kolibri_fetch(struct nsurl *url, enum backing_store_flags flags,
-                uint8_t **data, size_t *datalen)
-{
-
-}
-
-
-nserror kolibri_release(struct nsurl *url, enum backing_store_flags flags)
-{
-
-}
-
-
-nserror kolibri_invalidate(struct nsurl *url)
-{
-
-}
-
-
-struct gui_llcache_table kolibri_gui_llcache_table = {
-       .initialise = kolibri_initialise,
-       .finalise = kolibri_finalise,
-       .store = kolibri_store,
-       .fetch = kolibri_fetch,
-       .release = kolibri_release,
-       .invalidate = kolibri_invalidate
-};
diff --git a/frontends/kolibrios/gui_search_table.h 
b/frontends/kolibrios/gui_search_table.h
deleted file mode 100644
index 2cb361a..0000000
--- a/frontends/kolibrios/gui_search_table.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI SEARCH TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-
-void kolibri_status(bool found, void *p)
-{
-
-}
-
-void kolibri_hourglass(bool active, void *p)
-{
-
-}
-
-void kolibri_add_recent(const char *string, void *p)
-{
-
-}
-
-void kolibri_forward_state(bool active, void *p)
-{
-
-}
-
-void kolibri_back_state(bool active, void *p)
-{
-
-}
-
-
-
-struct gui_search_table kolibri_gui_search_table = {
-   .status = kolibri_status,
-   .hourglass = kolibri_hourglass,
-   .add_recent = kolibri_add_recent,
-   .forward_state = kolibri_forward_state,
-   .back_state = kolibri_back_state
-};
diff --git a/frontends/kolibrios/gui_search_web_table.h 
b/frontends/kolibrios/gui_search_web_table.h
deleted file mode 100644
index 1ef3206..0000000
--- a/frontends/kolibrios/gui_search_web_table.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI SEARCH WEB TABLE. Will contain all functions required as 
well. */
-/* ------------------------------ */
-nserror kolibri_search_provider_update(const char *provider_name, struct 
bitmap *ico_bitmap) 
-{
-
-}
-
-struct gui_search_web_table kolibri_search_web_table = {
- .provider_update = kolibri_search_provider_update 
-};
diff --git a/frontends/kolibrios/gui_utf8_table.h 
b/frontends/kolibrios/gui_utf8_table.h
deleted file mode 100644
index 42a0c2b..0000000
--- a/frontends/kolibrios/gui_utf8_table.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ------------------------------ */
-/* Part about GUI UTF8 TABLE. Will contain all functions required as well. */
-/* ------------------------------ */
-
-nserror kolibri_utf8_to_local(const char *string, size_t len, char **result)
-{
-
-}
-
-nserror kolibri_local_to_utf8(const char *string, size_t len, char **result)
-{
-
-}
-
-struct gui_utf8_table kolibri_gui_utf8_table = {
-  .utf8_to_local = kolibri_utf8_to_local,
-  .local_to_utf8 = kolibri_local_to_utf8
-};


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to