mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-27 09:23:01 +03:00
s/history_core/local_history/
This commit is contained in:
parent
ed557f090a
commit
3f45e53539
@ -40,7 +40,7 @@
|
||||
#include "amiga/tree.h"
|
||||
#include "amiga/utf8.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/searchweb.h"
|
||||
#include "desktop/textinput.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "content/urldb.h"
|
||||
#include "css/utils.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "utils/nsoption.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "amiga/os3support.h"
|
||||
#include "amiga/object.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "content/urldb.h"
|
||||
#include "content/fetch.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "desktop/save_complete.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "content/fetchers/resource.h"
|
||||
#include "css/utils.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/401login.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/browser_private.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/mouse.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/browser_private.h"
|
||||
|
@ -52,7 +52,7 @@
|
||||
extern "C" {
|
||||
#include "content/content.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/plotters.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#import "cocoa/BrowserWindowController.h"
|
||||
|
||||
#import "desktop/browser_private.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/local_history.h"
|
||||
#import "desktop/plotters.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "utils/nsoption.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#import "cocoa/BrowserWindowController.h"
|
||||
|
||||
#import "desktop/browser_private.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/local_history.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "utils/nsoption.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#import "cocoa/BrowserView.h"
|
||||
|
||||
#import "desktop/browser_private.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/local_history.h"
|
||||
#import "desktop/plotters.h"
|
||||
|
||||
@implementation HistoryView
|
||||
|
@ -47,8 +47,8 @@
|
||||
260F1F8B12D620E800D9B07F /* frames.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = frames.c; sourceTree = "<group>"; };
|
||||
260F1F8C12D620E800D9B07F /* frames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = frames.h; sourceTree = "<group>"; };
|
||||
260F1F8D12D620E800D9B07F /* gui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gui.h; sourceTree = "<group>"; };
|
||||
260F1F8E12D620E800D9B07F /* history_core.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = history_core.c; sourceTree = "<group>"; };
|
||||
260F1F8F12D620E800D9B07F /* history_core.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = history_core.h; sourceTree = "<group>"; };
|
||||
260F1F8E12D620E800D9B07F /* local_history.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = local_history.c; sourceTree = "<group>"; };
|
||||
260F1F8F12D620E800D9B07F /* local_history.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = local_history.h; sourceTree = "<group>"; };
|
||||
260F1F9012D620E800D9B07F /* history_global_core.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = history_global_core.c; sourceTree = "<group>"; };
|
||||
260F1F9112D620E800D9B07F /* history_global_core.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = history_global_core.h; sourceTree = "<group>"; };
|
||||
260F1F9212D620E800D9B07F /* hotlist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hotlist.c; sourceTree = "<group>"; };
|
||||
@ -404,8 +404,8 @@
|
||||
260F1F8B12D620E800D9B07F /* frames.c */,
|
||||
260F1F8C12D620E800D9B07F /* frames.h */,
|
||||
260F1F8D12D620E800D9B07F /* gui.h */,
|
||||
260F1F8E12D620E800D9B07F /* history_core.c */,
|
||||
260F1F8F12D620E800D9B07F /* history_core.h */,
|
||||
260F1F8E12D620E800D9B07F /* local_history.c */,
|
||||
260F1F8F12D620E800D9B07F /* local_history.h */,
|
||||
260F1F9012D620E800D9B07F /* history_global_core.c */,
|
||||
260F1F9112D620E800D9B07F /* history_global_core.h */,
|
||||
260F1F9212D620E800D9B07F /* hotlist.c */,
|
||||
|
@ -26,7 +26,7 @@
|
||||
#import "content/fetch.h"
|
||||
#import "css/utils.h"
|
||||
#import "desktop/gui.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/local_history.h"
|
||||
#import "desktop/mouse.h"
|
||||
#import "desktop/netsurf.h"
|
||||
#import "utils/nsoption.h"
|
||||
|
@ -12,7 +12,7 @@ desktop/version.c: testament utils/testament.h
|
||||
|
||||
# S_BROWSER are sources related to full browsers but are common
|
||||
# between RISC OS, GTK, BeOS and AmigaOS builds
|
||||
S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
|
||||
S_BROWSER := browser.c download.c frames.c local_history.c netsurf.c \
|
||||
save_complete.c save_text.c selection.c textinput.c
|
||||
|
||||
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/download.h"
|
||||
#include "desktop/frames.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/knockout.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "content/hlcache.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/frames.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/scrollbar.h"
|
||||
#include "desktop/selection.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "css/css.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "desktop/thumbnail.h"
|
||||
#include "image/bitmap.h"
|
||||
@ -422,7 +422,7 @@ bool history_forward_available(struct history *history)
|
||||
}
|
||||
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
void history_go(struct browser_window *bw,
|
||||
struct history *history,
|
||||
struct history_entry *entry,
|
||||
@ -782,7 +782,7 @@ struct history_entry *history_find_position(struct history_entry *entry,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
void history_enumerate_forward(struct history *history,
|
||||
history_enumerate_cb cb, void *user_data)
|
||||
{
|
||||
@ -797,7 +797,7 @@ void history_enumerate_forward(struct history *history,
|
||||
}
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
void history_enumerate_back(struct history *history,
|
||||
history_enumerate_cb cb, void *user_data)
|
||||
{
|
||||
@ -812,7 +812,7 @@ void history_enumerate_back(struct history *history,
|
||||
}
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
void history_enumerate(const struct history *history, history_enumerate_cb cb,
|
||||
void *user_data)
|
||||
{
|
||||
@ -845,19 +845,19 @@ static bool history_enumerate_entry(const struct history *history,
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
const char *history_entry_get_url(const struct history_entry *entry)
|
||||
{
|
||||
return entry->page.url;
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
const char *history_entry_get_fragment_id(const struct history_entry *entry)
|
||||
{
|
||||
return entry->page.frag_id;
|
||||
}
|
||||
|
||||
/* Documented in history_core.h */
|
||||
/* Documented in local_history.h */
|
||||
const char *history_entry_get_title(const struct history_entry *entry)
|
||||
{
|
||||
return entry->page.title;
|
@ -56,7 +56,7 @@
|
||||
#include "framebuffer/font.h"
|
||||
|
||||
#include "content/urldb.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "content/fetch.h"
|
||||
|
||||
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "framebuffer/font.h"
|
||||
|
||||
#include "content/urldb.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "content/fetch.h"
|
||||
|
||||
static int
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "content/hlcache.h"
|
||||
#include "css/utils.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/netsurf.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "oslib/wimp.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "riscos/dialog.h"
|
||||
#include "desktop/browser_private.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_global_core.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/textinput.h"
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include "desktop/cookies.h"
|
||||
#include "desktop/scrollbar.h"
|
||||
#include "desktop/frames.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/hotlist.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "desktop/plotters.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "content/fetch.h"
|
||||
#include "css/utils.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "utils/nsoption.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/local_history.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/log.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user