mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 19:02:07 +03:00
[project @ 2004-06-21 15:25:35 by bursa]
Remove obsolete files and some dead code. svn path=/import/netsurf/; revision=988
This commit is contained in:
parent
ed8bde561c
commit
86206259fe
@ -50,13 +50,6 @@ struct browser_window
|
||||
bool history_add;
|
||||
/** Start time of fetching loading_content. */
|
||||
clock_t time0;
|
||||
|
||||
|
||||
#ifdef WITH_FRAMES
|
||||
struct browser_window *parent;
|
||||
unsigned int no_children;
|
||||
struct browser_window **children;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
4
makefile
4
makefile
@ -24,7 +24,7 @@ OBJECTS_COMMON += imagemap.o loginlist.o options.o # desktop/
|
||||
|
||||
OBJECTS_RISCOS = $(OBJECTS_COMMON)
|
||||
OBJECTS_RISCOS += browser.o netsurf.o version.o # desktop/
|
||||
OBJECTS_RISCOS += 401login.o constdata.o debugwin.o \
|
||||
OBJECTS_RISCOS += 401login.o debugwin.o \
|
||||
dialog.o download.o draw.o filetype.o font.o gif.o \
|
||||
gifread.o gui.o help.o history.o htmlinstance.o \
|
||||
htmlredraw.o jpeg.o menus.o mouseactions.o plugin.o \
|
||||
@ -40,7 +40,7 @@ OBJECTS_DEBUG += gif.o gifread.o jpeg.o png.o save_complete.o schedule.o \
|
||||
OBJECTS_DEBUGRO = $(OBJECTS_COMMON)
|
||||
OBJECTS_DEBUGRO += netsurfd.o # debug/
|
||||
OBJECTS_DEBUGRO += version.o # desktop/
|
||||
OBJECTS_DEBUGRO += constdata.o draw.o filetype.o font.o \
|
||||
OBJECTS_DEBUGRO += draw.o filetype.o font.o \
|
||||
gif.o gifread.o jpeg.o png.o save_complete.o schedule.o \
|
||||
sprite.o theme.o toolbar.o wimp.o # riscos/
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "oslib/wimp.h"
|
||||
#include "netsurf/utils/config.h"
|
||||
#include "netsurf/desktop/netsurf.h"
|
||||
#include "netsurf/riscos/constdata.h"
|
||||
#include "netsurf/riscos/gui.h"
|
||||
#include "netsurf/riscos/options.h"
|
||||
#include "netsurf/riscos/theme.h"
|
||||
@ -440,7 +439,9 @@ void ro_gui_dialog_click_config_th(wimp_pointer *pointer)
|
||||
os_cli("Filer_OpenDir " THEMES_DIR);
|
||||
break;
|
||||
case ICON_CONFIG_TH_GET:
|
||||
browser_window_create(THEMES_URL, NULL);
|
||||
browser_window_create(
|
||||
"http://netsurf.sourceforge.net/themes/",
|
||||
NULL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "netsurf/render/font.h"
|
||||
#include "netsurf/render/form.h"
|
||||
#include "netsurf/render/html.h"
|
||||
#include "netsurf/riscos/constdata.h"
|
||||
#include "netsurf/riscos/gui.h"
|
||||
#include "netsurf/riscos/help.h"
|
||||
#include "netsurf/riscos/options.h"
|
||||
@ -670,11 +669,7 @@ void ro_gui_close_window_request(wimp_close *close)
|
||||
g = ro_lookup_gui_from_w(close->w);
|
||||
|
||||
if (g) {
|
||||
browser_window_destroy(g->data.browser.bw
|
||||
#ifdef WITH_FRAMES
|
||||
, true
|
||||
#endif
|
||||
);
|
||||
browser_window_destroy(g->data.browser.bw);
|
||||
} else
|
||||
ro_gui_dialog_close(close->w);
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "oslib/os.h"
|
||||
#include "oslib/wimp.h"
|
||||
#include "netsurf/desktop/gui.h"
|
||||
#include "netsurf/riscos/constdata.h"
|
||||
#include "netsurf/riscos/gui.h"
|
||||
#include "netsurf/riscos/help.h"
|
||||
#include "netsurf/riscos/theme.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "oslib/wimpspriteop.h"
|
||||
#include "netsurf/css/css.h"
|
||||
#include "netsurf/utils/config.h"
|
||||
#include "netsurf/riscos/constdata.h"
|
||||
#include "netsurf/riscos/gui.h"
|
||||
#include "netsurf/riscos/options.h"
|
||||
#include "netsurf/riscos/theme.h"
|
||||
@ -900,11 +899,7 @@ bool ro_gui_window_keypress(gui_window *g, int key, bool toolbar)
|
||||
return true;
|
||||
|
||||
case wimp_KEY_CONTROL + wimp_KEY_F2: /* Close window. */
|
||||
browser_window_destroy(g->data.browser.bw
|
||||
#ifdef WITH_FRAMES
|
||||
, true
|
||||
#endif
|
||||
);
|
||||
browser_window_destroy(g->data.browser.bw);
|
||||
return true;
|
||||
|
||||
case wimp_KEY_F3:
|
||||
|
@ -28,18 +28,12 @@
|
||||
#define WITH_SPRITE
|
||||
#endif
|
||||
|
||||
/* Frames */
|
||||
#undef WITH_FRAMES
|
||||
|
||||
/* HTTP Auth */
|
||||
#define WITH_AUTH
|
||||
|
||||
/* Cookies */
|
||||
#define WITH_COOKIES
|
||||
|
||||
/* About page */
|
||||
#define WITH_ABOUT
|
||||
|
||||
#ifdef riscos
|
||||
/* Plugin module */
|
||||
#define WITH_PLUGIN
|
||||
|
Loading…
Reference in New Issue
Block a user