Giter Site home page Giter Site logo

clbr / fifth Goto Github PK

View Code? Open in Web Editor NEW
108.0 108.0 7.0 853 KB

Fifth is a Linux-exclusive browser that carries the best features from Opera, as well as a few unique features that are likely to please Linux power users. It's based on a custom Webkit port to FLTK and comes licensed under the GPLv3.

License: GNU General Public License v3.0

Shell 0.49% C++ 50.87% C 43.65% Makefile 0.51% POV-Ray SDL 0.53% M4 3.95%

fifth's People

Contributors

clbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fifth's Issues

Full screen

Hi all,
I'd like to use Fifth in fullscreen mode, but I don't see any options related to that.
Is there a way to force this mode?

Thanks a lot

trivial patches

[main.cpp:397]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.

[inputplace.cpp:19]: (warning) Member variable 'inputplace::ctrl' is not initialized in the constructor.
[inputplace.cpp:19]: (warning) Member variable 'inputplace::shift' is not initialized in the constructor.

[Fl_Input_Choice.H:57]: (warning) Member variable 'InputMenuButton::pullx' is not initialized in the constructor.
[Fl_Input_Choice.H:57]: (warning) Member variable 'InputMenuButton::pully' is not initialized in the constructor.
[Fl_Input_Choice.H:57]: (warning) Member variable 'InputMenuButton::pullw' is not initialized in the constructor.

Fifth crashes when JS is turned on for any webpage

I'm sorry if i do something wrong as this is my first time reporting a bug on any software ever..

~/fifth-0.5/src $ gdb ./fifth GNU gdb (GDB) 10.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-androideabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./fifth... (gdb) run Starting program: /data/data/com.termux/files/home/fifth-0.5/src/fifth [New LWP 3579] [New LWP 3580] libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG XOpenIM() failed Fontconfig warning: "/data/data/com.termux/files/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" [New LWP 3581] [New LWP 3582] [LWP 3581 exited] [New LWP 3602] [New LWP 3603] [LWP 3603 exited] [New LWP 3608] [LWP 3608 exited] Thread 1 "fifth" received signal SIGSEGV, Segmentation fault.
0xad444434 in WebCore::JSDOMWindowBase::finishCreation(JSC::VM&, WebCore::JSDOMWindowShell*) () (gdb) bt #0 0xad444434 in WebCore::JSDOMWindowBase::finishCreation(JSC::VM&, WebCore::JSDOMWindowShell*) () #1 0xad8382f4 in WebCore::JSDOMWindow::create(JSC::VM&, JSC::Structure*, WTF::RefWebCore::DOMWindow&&, WebCore::JSDOMWindowShell*) () #2 0xad83816a in WebCore::JSDOMWindowShell::setWindow(WTF::PassRefPtrWebCore::DOMWindow) () #3 0xad8380ac in WebCore::JSDOMWindowShell::finishCreation(JSC::VM&, WTF::PassRefPtrWebCore::DOMWindow) () #4 0xad4c0724 in WebCore::JSDOMWindowShell::create(JSC::VM&, WTF::PassRefPtrWebCore::DOMWindow, JSC::Structure*, WebCore::DOMWrapperWorld&) () #5 0xad4c060a in WebCore::ScriptController::createWindowShell(WebCore::DOMWrapperWorld&) () #6 0xad4c0db6 in WebCore::ScriptController::initScript(WebCore::DOMWrapperWorld&) () #7 0xad44480c in WebCore::ScriptController::windowShell(WebCore::DOMWrapperWorld&) () #8 0xad4c08f6 in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&) () #9 0xad4c0ad2 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) () #10 0xad67227a in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) () #11 0xad671a9a in WebCore::ScriptElement::prepareScript(WTF::TextPosition const&, WebCore::ScriptElement::LegacyTypeSupport) () #12 0xad9b8522 in WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&) () #13 0xad9b8498 in WebCore::HTMLScriptRunner::execute(WTF::PassRefPtrWebCore::Element, WTF::TextPosition const&) () #14 0xad6053ba in WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() () #15 0xad605434 in WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&) () #16 0xad6051d2 in WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) () --Type for more, q to quit, c to continue without paging-- #17 0xad6058de in WebCore::HTMLDocumentParser::append(WTF::PassRefPtrWTF::StringImpl) () #18 0xad60663a in WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter&, char const*, unsigned int) () #19 0xacd08760 in WebCore::DocumentLoader::commitData(char const*, unsigned int) () #20 0xacd0923a in WebCore::DocumentLoader::commitLoad(char const*, int) () #21 0xad5e2b46 in WebCore::CachedRawResource::notifyClientsDataWasReceived(char const*, unsigned int) () #22 0xad5e2ab6 in WebCore::CachedRawResource::addDataBuffer(WebCore::SharedBuffer&) () #23 0xad5efa60 in WebCore::SubresourceLoader::didReceiveDataOrBuffer(char const*, int, WTF::PassRefPtrWebCore::SharedBuffer, long long, WebCore::DataPayloadType) ()
#24 0xad5ef998 in WebCore::SubresourceLoader::didReceiveData(char const*, unsigned int, long long, WebCore::DataPayloadType) () #25 0xad5e4138 in WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, unsigned int, int) () #26 0xaccf9726 in WebCore::writeCallback(void*, unsigned int, unsigned int, void*) () #27 0xadd8cd0e in Curl_client_write () #28 0xadd8849a in inflate_stream () #29 0xadd88bbe in Curl_httpchunk_read () #30 0xadd90ad2 in Curl_readwrite () #31 0xadd82ff0 in multi_runsingle () #32 0xadd8251e in curl_multi_perform () #33 0xaccf8058 in WebCore::ResourceHandleManager::downloadTimerCallback() () #34 0xaccede06 in WebCore::ThreadTimers::sharedTimerFiredInternal() () #35 0xacceee86 in WebCore::callback(void*) () #36 0xada83334 in Fl::wait(double) () #37 0xacc85f92 in main () (gdb) kill Kill the program being debugged? (y or n) y [Inferior 1 (process 3576) killed]

also, clicking on the "History" and "Advanced Config" menu options result in an instant crash.

For this build, I built webkitfltk-0.5.1 for android using "-DNDEBUG" and "-D__ANDROID_API__=21" (for android 5 compatibility)

webkit.h not found

Hello,

on my install webkit.h cannot be found during configure and build.

The file is in /usr/include/webkitfltk/

It's easy to patch:

diff -aur fifth-0.2-orig/configure.ac fifth-0.2-patched/configure.ac
--- fifth-0.2-orig/configure.ac 2014-12-18 10:43:47.000000000 +0100
+++ fifth-0.2-patched/configure.ac      2014-12-21 09:31:17.766678132 +0100
@@ -79,7 +79,7 @@

 # Check for webkitfltk version
 AC_MSG_CHECKING([webkitfltk version is ok])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <webkit.h>]],
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <webkitfltk/webkit.h>]],
        [[
        #if WK_FLTK_MAJOR != 0 || WK_FLTK_MINOR < 2
        #error unsupported webkitfltk version
diff -aur fifth-0.2-orig/src/main.h fifth-0.2-patched/src/main.h
--- fifth-0.2-orig/src/main.h   2014-12-18 10:43:47.000000000 +0100
+++ fifth-0.2-patched/src/main.h        2014-12-21 09:32:01.396679583 +0100
@@ -33,7 +33,7 @@
 #include <FL/fl_draw.H>
 #include <FL/Fl_Shared_Image.H>
 #include <FL/Fl_Menu_Bar.H>
-#include <webkit.h>
+#include <webkitfltk/webkit.h>
 #include <iconv.h>

 #include "autoconfig.h"

add easier install option

It would ease adoption and greatly increase user base if there would be a way to easily install fifth via distro repos (for example ppa, copr etc). The first step would be to include easier way to build packages right from the git checkout - debian/ directory etc. After all, the way to ensure world domination is by getting into distro repositories :)

Building Fifth Browser for Noobs

Admittedly this is the first time building software from source on Linux but the dependency train is getting a bit long (Ubuntu 17.10). It's cost me almost the whole day so I wonder if some instructions could be included in the readme or if there's a better way to install all the tools and dependencies.

In case it helps other noobs I'm writing the steps I had to do here. I had to install a whole bunch of stuff to even get ./configure to run and even then it's still failing. So for me the following had to be done:

  • Install autoconf: sudo apt-get install autoconf
  • Run autoreconf -fvi (dunno why)
  • Install fltk: sudo apt-get install libfltk1.3-dev
  • Download, build and install "liburlmatch"...
    ** Download the source and extract
    ** cd into the extracted folder
    ** Run make then make install
  • Install: sudo apt-get install libjpeg-dev
  • Download build and install "physfs":
    ** Download source and extract
    ** Install cmake: sudo apt install cmake
    ** cd into the extracted folder
    ** Run cmake .
    ** Run make
    ** Run sudo make install

That's as far as I get. The latest error seems to be in ./configure on line 5612:

PKG_CHECK_MODULES(DEPS, libxslt libxml-2.0 sqlite3

It seems DEPS is not defined.

checking for PHYSFS_init in -lphysfs... yes
./configure: line 5612: syntax error near unexpected token DEPS,' ./configure: line 5612: PKG_CHECK_MODULES(DEPS, libxslt libxml-2.0 sqlite3 '

Notes:
It seems physfs is no longer "around" (https://icculus.org/physfs/ is dead).

Unsupported webkit version

After succeful building and installing webkitfltk(after last commits),
while building fifth having next error:
~/SOFT/fifth-0.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for fltk-config13... no
checking for fltk-config... fltk-config
checking for url_init in -lurlmatch... yes
checking for dlopen in -ldl... yes
checking for sched_get_priority_min in -lrt... yes
checking for compress in -lz... yes
checking for jpeg_set_quality in -ljpeg... yes
checking for PHYSFS_init in -lphysfs... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... yes
checking for CPPDEPS... yes
checking for webkitInit in -lwebkitfltk... yes
checking webkitfltk version is ok... configure: error: Unsupported webkit version, 0.1 required
See `config.log' for more details.

Fifth crashes when I try to go to any URL

Hi!
I'm the maintainer of the fifth package in Gentoo. I built it (with its dependencies webkitfltk and urlmatch using GCC 7.3.0), and everything went fine.
However, everytime I want to go to any URL, this happens:

hackenherr:~ jorgicio% fifth [21:57:27]
Crash recovery
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
ASSERTION FAILED: !m_deletionHasBegun
../WTF/wtf/RefCounted.h(44) : void WTF::RefCountedBase::ref()
1 0x5634974092e8
2 0x563497694382
3 0x56349755412a
4 0x5634974c35ed
5 0x5634972cf3ea
6 0x5634971aada2
7 0x5634971aaf86
8 0x5634971db692
9 0x5634988b4576
10 0x5634988b4696
11 0x5634970cbb46
12 0x5634976eadb2
13 0x7f7cd565546d Fl::wait(double)
14 0x56349702d6f4
15 0x7f7cd3cd60b1 __libc_start_main
16 0x56349702e53a
Crashing with signal Violación de segmento (11)
LEAK: 1 RenderObject
LEAK: 434 WebCoreNode
LEAK: 42 SubresourceLoader
LEAK: 44 CachedResource
LEAK: 1 Frame
LEAK: 1 Page

Also, I tried with gdb:

hackenherr:~ jorgicio% gdb fifth [20:42:36]
zsh: correct 'fifth' to '.fifth' [nyae]? n
GNU gdb (Gentoo 8.1 p1) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://bugs.gentoo.org/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fifth...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/fifth
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Crash recovery
[New Thread 0x7ffff2c2b700 (LWP 9930)]
[New Thread 0x7ffff2b99700 (LWP 9931)]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[New Thread 0x7ffff2992700 (LWP 9932)]
[New Thread 0x7fffafffd700 (LWP 9975)]
[New Thread 0x7fffafdfc700 (LWP 9976)]
[New Thread 0x7fffafbfb700 (LWP 9977)]
[New Thread 0x7fffaf9fa700 (LWP 9978)]
[Thread 0x7fffaf9fa700 (LWP 9978) exited]
[New Thread 0x7fffaf9fa700 (LWP 9979)]
[Thread 0x7fffaf9fa700 (LWP 9979) exited]
[New Thread 0x7fffaf9fa700 (LWP 9994)]
[New Thread 0x7fffaede1700 (LWP 9995)]
[New Thread 0x7fffae5e0700 (LWP 9996)]
[New Thread 0x7fffadddf700 (LWP 9997)]
[Thread 0x7fffaede1700 (LWP 9995) exited]
[Thread 0x7fffaf9fa700 (LWP 9994) exited]
[Thread 0x7fffae5e0700 (LWP 9996) exited]
[Thread 0x7fffadddf700 (LWP 9997) exited]
[New Thread 0x7fffadddf700 (LWP 9998)]
[Thread 0x7fffadddf700 (LWP 9998) exited]
ASSERTION FAILED: !m_deletionHasBegun
../WTF/wtf/RefCounted.h(44) : void WTF::RefCountedBase::ref()
1 0x555555d172e8
2 0x555555fa2382
3 0x555555e6212a
4 0x555555dd15ed
5 0x555555bdd3ea
6 0x555555ab8da2
7 0x555555ab8f86
8 0x555555ae9692
9 0x5555571c2576
10 0x5555571c2696
11 0x5555571c2696
12 0x5555559d9b46
13 0x555555ff8db2
14 0x7ffff78f446d Fl::wait(double)
15 0x55555593b6f4
16 0x7ffff5f5d0b1 __libc_start_main
17 0x55555593c53a

Thread 1 "fifth" received signal SIGSEGV, Segmentation fault.
0x00005555564df41c in ?? ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit

I think the problem is with WTF.

Thanks.

Fifth fails to start after importing Opera bookmarks

I imported Opera bookmarks using the provided shell script while Fifth was not running. Then it could not start. After I removed the bookmarks file, it could start again. If you would like to inspect the generated file, please tell me where can I post it as a private message.

configure error with liburlmatch

Hello, I'm trying to configure & install the fifth on my ubuntu 16.04,but then I do
./autogen && ./configure --prefix=/opt
I get this error
checking for PTHREAD_PRIO_INHERIT... yes checking for fltk-config13... no checking for fltk-config... fltk-config checking for url_init in -lurlmatch... no configure: error: liburlmatch not found
but I'm compile and install the liburlmatch
git clone https://github.com/clbr/urlmatch;cd urlmatch;make all && sudo make install
How to resolve this error?

fifth fails to compile against openssl-1.1.1

Whilst webkitfltk compiles against openssl-1.1.1, fifth fails.

Is this something to do with the change in definition of x509 (made internal)?

g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti -DHAVE_CONFIG_H -I. -DDATADIR="/usr/local/share/fifth" -pthread -isystem /usr/local/include -fvisibility-inlines-hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/include/uuid -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/webkitfltk -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c -o ssl.o ssl.cpp
ssl.cpp: In function 'u8 isletsencrypt(const char*)':
ssl.cpp:94:24: error: invalid use of incomplete type 'X509' {aka 'struct x509_st'}
94 | X509_NAME_oneline(info->cert_info->issuer, buf, 1024);
| ^~

Build problem on GuixSD

Hello,

I'm trying to package fifth for the GuixSD distribution

it's failing at ./configure not finding urlmatch:

checking for url_init in -lurlmatch... no
configure: error: liburlmatch not found
phase `configure' failed after 3.2 seconds

How can I instruct the configure script where to find liburlmatch.a ?

I tried the obvious LDFLAGS (with and without the added LIBS):

[...]

configure flags: ("CONFIG_SHELL=/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42/bin/bash" "SHELL=/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42/bin/bash" "--prefix=/gnu/store/vppc48x56mhsixvcwf2h4hkps49ag4yr-fifth-0.5" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "LDFLAGS=-L/gnu/store/gsp3fqgmdhlay7k3cfbi5cgp3w7abvd8-urlmatch-1.0/lib" "LIBS=-lurlmatch")

[...]

and the .a is there:

ls /gnu/store/gsp3fqgmdhlay7k3cfbi5cgp3w7abvd8-urlmatch-1.0/lib
liburlmatch.a

$ cp /gnu/store/gsp3fqgmdhlay7k3cfbi5cgp3w7abvd8-urlmatch-1.0/lib/liburlmatch.a .
$ ar x liburlmatch.a 
$ nm *.o | grep url_init
00000000000002a0 T url_init
0000000000000ca0 T url_init_file
0000000000000960 T url_init_file2

Crash on email.seznam.cz

Fifth sometimes crashes in the web-mail interface of seznam.cz. This interface seems to be ajax-based. I cannot state a specific condition when it crashes, but it seems that it happens preferably when performing some action after a while of inactivity.

This will be hardly reproducible for you: You would have to create an account there, have some e-mails there and work with them, while the interface is in Czech. However, here is some gdb output:

Program received signal SIGPIPE, Broken pipe.
0x00007ffff608735d in write () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff608735d in write () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3b9f7f6 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#2  0x00007ffff3b9d89b in BIO_write () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#3  0x00007ffff3ebcdb2 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#4  0x00007ffff3ebe993 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#5  0x00007ffff3ebae52 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#6  0x00007ffff414864e in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x00007ffff411952b in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#8  0x00007ffff411c648 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#9  0x00007ffff412c630 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#10 0x00007ffff412d181 in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#11 0x000000000170178c in WebCore::ResourceHandleManager::downloadTimerCallback(WebCore::Timer<WebCore::ResourceHandleManager>*) ()
#12 0x00000000017066b6 in void std::_Mem_fn<void (WebCore::ResourceHandleManager::*)(WebCore::Timer<WebCore::ResourceHandleManager>*)>::operator()<WebCore::Timer<WebCore::ResourceHandleManager>*&, void>(WebCore::ResourceHandleManager*, WebCore::Timer<WebCore::ResourceHandleManager>*&) const ()
#13 0x00000000017064a7 in void std::_Bind<std::_Mem_fn<void (WebCore::ResourceHandleManager::*)(WebCore::Timer<WebCore::ResourceHandleManager>*)> (WebCore::ResourceHandleManager*, WebCore::Timer<WebCore::ResourceHandleManager>*)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()
#14 0x00000000017060b8 in void std::_Bind<std::_Mem_fn<void (WebCore::ResourceHandleManager::*)(WebCore::Timer<WebCore::ResourceHandleManager>*)> (WebCore::ResourceHandleManager*, WebCore::Timer<WebCore::ResourceHandleManager>*)>::operator()<, void>() ()
#15 0x0000000001705ca9 in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (WebCore::ResourceHandleManager::*)(WebCore::Timer<WebCore::ResourceHandleManager>*)> (WebCore::ResourceHandleManager*, WebCore::Timer<WebCore::ResourceHandleManager>*)> >::_M_invoke(std::_Any_data const&) ()
#16 0x000000000046c2e4 in std::function<void ()>::operator()() const ()
#17 0x00000000017069f6 in WebCore::Timer<WebCore::ResourceHandleManager>::fired() ()
#18 0x00000000004af861 in WebCore::ThreadTimers::sharedTimerFiredInternal() ()
#19 0x00000000004af751 in WebCore::ThreadTimers::sharedTimerFired() ()
#20 0x0000000000ab6ddd in WebCore::callback(void*) ()
#21 0x0000000001ad8b53 in Fl::wait(double) ()
#22 0x00000000004158df in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:821

Is that helpful? I have not yet terminated gdb, so I can execute more gdb commands if you wish and if you reply quickly.

Incorrect TAG

Hello,
I have downloaded source code from source forge.
At file about.cpp line 25, column 73 there is a tag error, its supposed to be < body > and now is < bopdy >

Lockup when typing in address line

When typing in the address line sometimes when the list of last addresses appears/is updated it comes to a sort of lockup as no more characters are accepted and the address line stays in place when the browser window is moved.

It happens more frequently when deliberately holding down a key and the autorepeat starts.

"configure: error: libwebkitfltk not found" despite having webkitfltk installed.

12:45:23 /dev/shm/fifth-0.5> PKG_CONFIG_PATH=/usr/lib/pkgconfig/ ./autogen.sh 
12:45:29 /dev/shm/fifth-0.5> PKG_CONFIG_PATH=/usr/lib/pkgconfig/ ./configure
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking target system type... x86_64-suse-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for fltk-config13... fltk-config13
checking for url_init in -lurlmatch... yes
checking for dlopen in -ldl... yes
checking for sched_get_priority_min in -lrt... yes
checking for compress in -lz... yes
checking for jpeg_set_quality in -ljpeg... yes
checking for PHYSFS_init in -lphysfs... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... yes
checking for CPPDEPS... yes
checking for webkitInit in -lwebkitfltk... no
configure: error: libwebkitfltk not found
12:45:39 /dev/shm> cat /usr/lib/pkgconfig/webkitfltk.pc
prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include

Name: WebkitFLTK
Description: Web browser library
Version: 0.5.0
Libs: -L${libdir} -lwebkitfltk
Cflags: -I${includedir}/webkitfltk
12:50:05 /dev/shm> ls -la /usr/include/webkitfltk/
total 28
drwxr-xr-x   2 root root  4096 Jun  3 12:30 .
drwxr-xr-x 178 root root 12288 Jun  3 12:30 ..
-rw-r--r--   1 root root  3548 Jun  3 12:30 webkit.h
-rw-r--r--   1 root root  4640 Jun  3 12:30 webview.h

Any suggestions?

Unable to build fifth

[b@a ~]$ git clone https://github.com/clbr/fifth.git
Cloning into 'fifth'...
remote: Counting objects: 2859, done.
remote: Compressing objects: 100% (719/719), done.
remote: Total 2859 (delta 2133), reused 2858 (delta 2132)
Receiving objects: 100% (2859/2859), 747.59 KiB | 255.00 KiB/s, done.
Resolving deltas: 100% (2133/2133), done.
Checking connectivity... done.
[b@a ~]$ cd fifth/
[b@a fifth]$ autoconf 
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
[b@a fifth]$

Unable to install Fifth

Hi,

I am happy that somebody (i.e. you) is working on an Opera <= 12 replacement, and I would like to try it out. Unfortunately, I am not able to install it.

Since the builds on sf.net seem a bit outdated, I wanted to build Fifth from source. I have installed all the dependencies. As FLTK >= 1.3.3 is required (according to your web site) and the most recent version available in Synaptic is 1.3.2-4, I downloaded and installed FLTK manually. And that probably causes the problem: pkg-config cannot see it. If I try to configure Fifth, it ends up with this:

checking for DEPS... yes
checking for CPPDEPS... no
configure: error: Package requirements (harfbuzz harfbuzz-icu icu-uc icu-i18n webkitfltk) were not met:

No package 'webkitfltk' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CPPDEPS_CFLAGS
and CPPDEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I have even used fltk-config to find the gcc options and tried passing them to configure:

CPPDEPS_CFLAGS='-I../fltk-1.3.3 -I../fltk-1.3.3/jpeg -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT' CPPDEPS_LIBS='-L../fltk-1.3.3/lib -lfltk -lXcursor -lXfixes -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11' ./configure

Result:

(...)

checking for DEPS... yes
checking for CPPDEPS... yes
checking for webkitInit in -lwebkitfltk... no
configure: error: libwebkitfltk not found

What can I do to make it work?

dashed and dotted are broken

I use fifth-0.5 and webkitfltk-0.5.1. Both borders below are broken.
Which file in webkitfltk-0.5.1 draws border lines resp. border styles?

winfried

10px red dashed
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz
10px blue dotted
Column 1 Column 2
Aaa Aaa Aaa Xxx Xxx Xxx
Bbb Bbb Bbb Yyy Yyy Yyy
Ccc Ccc Ccc Zzz Zzz Zzz

http crash with v0.4 : always

szukw000: fifth http://www.fltk.org
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
Opening remote URL http://www.fltk.org
Crashing with signal Segmentation fault (11)
LEAK: 1 Page
LEAK: 1 Frame
LEAK: 14 CachedResource
LEAK: 12 SubresourceLoader
LEAK: 664 WebCoreNode
LEAK: 503 RenderObject

szukw000: fifth http://fifth-browser.sf.net
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
Opening remote URL http://fifth-browser.sf.net
Crashing with signal Segmentation fault (11)
LEAK: 1 Page
LEAK: 1 Frame
LEAK: 8 CachedResource
LEAK: 6 SubresourceLoader
LEAK: 117 WebCoreNode
LEAK: 81 RenderObject

winfried

Feature request: kiosk mode

Are there any plans to add a kiosk mode to fifth? If yes, any timeframe to go with it? Am trying to build a photo frame thing with tiny ore on raspberry pi, and fifth would be perfect if it could run fullscreen without window decorations.

request: proxy

please consider separating function between proxy and browser
in which the proxy handles unified options for each domain/url:

  • blocking
  • user style/script
  • bookmarks
  • annotation
  • extensible as need be...

such a proxy can of course be used with any browser
to separate configuration from renderer (as $God intended ;)
while enabling the browser to be simpler
and avoiding much duplicated work

maybe cooperate with https://github.com/gorhill who is already considering a proxy
and he's doing excellent work on blocking in any case (see µMatrix)

thanks for working to improve the situation anyway :}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.