⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 about.c

📁 嵌入式下基于MiniGUI的Web Browser
💻 C
📖 第 1 页 / 共 2 页
字号:
/* * File: about.c * * Copyright (C) 1997 Raph Levien <raph@acm.org> * Copyright (C) 1999, 2001 Jorge Arellano Cid <jcid@dillo.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */#include "../nav.h"#include "../web.h"#include "../msg.h"#include "io.h"#include "url_io.h"#define VERSION "0.8.4"typedef struct _SplashInfo SplashInfo_t;struct _SplashInfo {   gint FD_Read;   gint FD_Write;};/* * HTML text for startup screen */static char *Splash="Content-type: text/html\n""\n""<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n""<html>\n""<head>\n""<title>Splash screen for dillo-" VERSION "</title>\n""</head>\n""<body bgcolor='#778899' text='#000000' link='#000000' vlink='#000000'>\n""\n""\n""<!--   the head of the page   -->\n""\n""<table width='100%' border='0' cellspacing='1' cellpadding='3'>\n"" <tr><td>\n""  <table border='1' cellspacing='1' cellpadding='0'>\n""   <tr>\n""   <td bgcolor='#000000'>\n""    <table width='100%' border='0' bgcolor='#ffffff'>\n""    <tr>\n""     <td valign='top' align='left'>\n""      <h1>&nbsp;Welcome to Dillo " VERSION "&nbsp;</h1>\n""    </table>\n""  </table>\n""</table>\n""\n""<br>\n""\n""\n""<!-- the main layout table, definition -->\n""\n""<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n""<tr><td valign='top' width='150' align='center'>\n""\n""\n""<!--   The navigation bar   -->\n""\n""<table border='0' cellspacing='0' cellpadding='0' width='140' bgcolor='#000000'>\n""<tr>\n"" <td>\n""  <table width='100%' border='0' cellspacing='1' cellpadding='3'>\n""  <tr>\n""   <td colspan='1' bgcolor='#CCCCCC'>Dillo\n""  <tr>\n""   <td bgcolor='#FFFFFF'>\n""    <table border='0' cellspacing='0' cellpadding='5'><tr><td>\n""    <table border='0' cellspacing='0' cellpadding='2'><tr>\n""    <td>\n""    <td>\n""     <a href='http://www.dillo.org/dillo-help.html'>\n""     Help</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/'>Home</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/funding/objectives.html'>\n""     Objectives</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/ChangeLog.html'>\n""     ChangeLog</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/interview.html'>\n""       Interview</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/D_authors.html'>\n""     Authors</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.dillo.org/donations.html'>\n""     Donate</a>\n""    </table>\n""    </table>\n""  </table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellspacing='0' cellpadding='0' width='140' bgcolor='#000000'>\n""<tr>\n"" <td>\n""  <table width='100%' border='0' cellspacing='1' cellpadding='3'>\n""  <tr>\n""    <td colspan='1' bgcolor='#CCCCCC'>Magazines\n""\n""  <tr>\n""   <td bgcolor='#FFFFFF'>\n""    <table border='0' cellspacing='0' cellpadding='5'><tr><td>\n""    <table border='0' cellpadding='2'>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://lwn.net/'>LWN</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://slashdot.org/'>Slashdot</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.kuro5hin.org/?op=section;section=__all__'>KuroShin</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.nexusmagazine.com/'>Nexus&nbsp;M.</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.gnu-darwin.org/update.html'>Monster News</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.thejemreport.com/index.php'>TheJemReport</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.theregister.co.uk/index.html'>The Register</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.infoanarchy.org/'>InfoAnarchy</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td>\n""     <a href='http://www.linuxforkids.org/'>Linux4Kids</a>\n""    </table>\n""    </table>\n""  </table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellspacing='0' cellpadding='0' width='140' bgcolor='#000000'>\n""<tr>\n"" <td>\n""  <table width='100%' border='0' cellspacing='1' cellpadding='3'>\n""  <tr>\n""   <td colspan='1' bgcolor='#CCCCCC'>Additional Stuff\n""\n""  <tr>\n""   <td bgcolor='#FFFFFF'>\n""    <table border='0' cellspacing='0' cellpadding='5'><tr><td>\n""    <table border='0' cellpadding='2'><tr>\n""    <td>&nbsp;&nbsp;\n""    <td><a href='http://www.google.com/'>Google</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td><a href='http://www.wikipedia.org/'>Wikipedia</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td><a href='http://www.gutenberg.org/'>P. Gutenberg</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td><a href='http://freshmeat.net/'>FreshMeat</a>\n""    <tr>\n""    <td>&nbsp;&nbsp;\n""    <td><a href='http://www.gnu.org/gnu/thegnuproject.html'>GNU\n""     project</a>\n""    <tr>\n" "    <td>&nbsp;&nbsp;\n""    <td><a href='http://www.linuxfund.org/'>LinuxFund</a>\n""    </table>\n""    </table>\n""  </table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellspacing='0' cellpadding='0' width='140' bgcolor='#000000'>\n""<tr>\n"" <td>\n""   <table width='100%' border='0' cellspacing='1' cellpadding='3'>\n""   <tr>\n""    <td colspan='1' bgcolor='#CCCCCC'>Essential Reading\n"  "\n""   <tr>\n""    <td bgcolor='#FFFFFF'>\n""     <table border='0' cellspacing='0' cellpadding='5'><tr><td>\n""     <table border='0' cellpadding='2'><tr>\n""     <td>&nbsp;&nbsp;\n""     <td><a href='http://www.violence.de'>Peace&amp;Violence</a>\n""     </table>\n""     </table>\n""   </table>\n""</table>\n""\n""<table border='0' width='100%' cellpadding='0' cellspacing='0'><tr><td height='10'></table>\n""\n""\n""<!-- the main layout table, a small vertical spacer -->\n""\n""<td width='20'><td valign='top'>\n""\n""\n""<!--   Main Part of the page   -->\n""\n""<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n""<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n""<tr>\n"" <td bgcolor='#CCCCCC'>\n""  <h4>Free Software</h4>\n""<tr>\n"" <td bgcolor='#FFFFFF'>\n""  <table border='0' cellspacing='0' cellpadding='5'><tr><td>\n""  <p>\n""  Dillo is Free Software in the terms of the GPL.\n""  This means you have four basic freedoms:\n""  <ul>\n""   <li>Freedom to use the program any way you see fit.\n""   <li>Freedom to study and modify the source code.\n""   <li>Freedom to make backup copies.\n""   <li>Freedom to redistribute it.\n""  </ul>\n""  The <a href='http://www.gnu.org/licenses/gpl.html'>GPL</a>\n""  is the legal mechanism that gives you these freedoms.\n""  It also protects them from being taken away: any derivative work\n""  based on the program must be under the GPL.<br>\n""  </table>\n""</table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n""<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n""<tr>\n"" <td bgcolor='#CCCCCC'>\n""  <h4>Release overview</h4>\n""  11 January 2004\n""<tr>\n"" <td bgcolor='#FFFFFF'>\n""  <table border='0' cellspacing='0' cellpadding='5'>\n""  <tr>\n""   <td>\n""<p>\n""The  new dillo-" VERSION " is mainly a bugfix release.\n""<p>\n""A very important\n""memory  leak  involving  pthreads'  stacks  was  fixed. This cuts\n""virtual  memory  usage (VSZ) by a factor ranging from 2 to 20, on\n""average, depending on usage and the pthreads library implementation!\n""<p>\n""The generic parser was orthogonalized. This brings some important\n""enhancements  and  improvements  detailed  in  the ChangeLog. The\n""algorithm  for  parsing  character  entities was redesigned, and a\n""security bug was addressed.\n""<p>\n""Lots of minor improvements round up this dillo release. Users are\n""encouraged to upgrade ASAP.\n""<p>\n""Remember that dillo project uses a release model where every new\n""browser shall be better than the former.\n""<EM>Keep up with the latest one!</EM>\n""  </table>\n""</table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n""<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n""<tr>\n"" <td bgcolor='#CCCCCC'>\n""  <h4>ChangeLog highlights</h4>\n""  (Extracted from the\n""  <a href='http://www.dillo.org/ChangeLog.html'>full\n""  ChangeLog</a>)\n""<tr>\n"" <td bgcolor='#FFFFFF'>\n""  <table border='0' cellspacing='0' cellpadding='5'>\n""  <tr>\n""   <td>\n""<ul>\n""<li>Fixed a large memory leak of thread specific resources. --Very important\n""<li>Orthogonalized the generic parser:\n""  <ul>\n""    <li>Fixes memory leaks and widget state when recovering from bad HTML.\n""    <li>Improves error detection and validation (needed by XHTML).\n""    <li>Makes DOC tree generation possible.\n""    <li>Cleaner design of handling routines for bad HTML.\n""    <li>Orthodox treatment of double optional elements (HTML, HEAD, BODY).\n""    <li>Lots of minor code cleanups.\n""  </ul>\n""<li>Switched the dpi file server's design to pthreads (fixes a critical race).\n""<li>Removed warnings for pointer arithmetic and strict prototypes all\n""  around the code (now it works under LP64 architectures).\n""<li>Made miscelaneous cleanups for LP64 architectures.\n""<li>Made a grammatical and typographical review of the whole documentation\n""  in doc/. Also added some clarifications.\n""<li>Improved the parsing algorithm for character entities.\n""<li>Fixed handling of XML's \"/>\" tag-closing (e.g. &lt;script ... />).\n""<li>Fixed a security bug with uncertain data and a_Interface_msg().\n""</ul>\n""  </table>\n""</table>\n""</table>\n""\n""<br>\n""\n""<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n""<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n""<tr>\n"" <td bgcolor='#CCCCCC'>\n""  <h4>Notes</h4>\n""<tr>\n"" <td bgcolor='#FFFFFF'>\n""  <table border='0' cellspacing='0' cellpadding='5'>\n""  <tr>\n""   <td>\n""<ul>\n"" <li> There's a\n""   <a href='http://www.dillo.org/dillorc'>dillorc</a>\n""   (readable  config)  file within the tarball; It is well commented\n""   and  has  plenty  of  options to customize dillo, so <STRONG>copy\n""   it</STRONG>  to  your  <STRONG>~/.dillo/</STRONG>  directory, and\n""   modify to your taste.\n"" <li> There's documentation for developers in the <CODE>/doc</CODE>\n""   dir  within  the  tarball;  you can find directions on everything\n""   else at the home page.\n"" <li> Dillo has context sensitive menus using the\n""   right mouse button (available on pages, links, images,\n""   the Back and Forward buttons, and bug meter).\n"" <li> Dillo behaves very nicely when browsing local files, images, and HTML.\n""   It's also very good for Internet searching (try Google!).\n"" <li> This release is mainly intended <strong>for developers</strong>\n""   and <em>advanced users</em>.\n"" <li> Frames, Java and Javascript are not supported.\n""</ul>\n""<br>\n""  </table>\n""</table>\n""</table>\n""\n""<table border='0' width='100%' cellpadding='0' cellspacing='0'><tr><td height='10'></table>\n""\n""\n""<!-- the main layout table, a small vertical spacer -->\n""\n""<td width='20'>\n""\n""\n""\n""<!--   The right column (info)   -->\n""<td valign='top' align='center'>\n"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -