Commit graph

224 commits

Author SHA1 Message Date
Christian Dywan
6767225b2a Disable assertion checks with 'none' debug level
If CCFLAGS are defined, it takes precedence over 'none'.
2010-04-22 23:56:34 +02:00
Christian Dywan
aade642897 Conditionalize SSL validation on libsoup 2.29.91
The flag in the SoupMessage to verify secure connections is
only available in recent versions of libsoup. So we continue
to be oblivious to certificates with older versions.
2010-04-14 22:41:24 +02:00
Christian Dywan
2f1ae3feba Make use of the XScreenSaver extension optional
The extension is only needed for the --inactivity-reset option,
so most users building Midori won't need it.
We also need to check for the according header file.
2010-04-01 18:25:30 +02:00
Christian Dywan
37e2216775 Implement -i, --inactivity-reset command line option
The use case is kiosk systems where leaving the application
idle for a period of time means that the user left, and the
session is reset so the next user starts off clean.

The implementation uses libXss and uses XScreenSaverQueryExtension
which means it is for now supported on X11 only.

Right now reset means closing any opens web pages and opening
the original web page.

Currently --inactivity-reset is only supported with --app.
2010-04-01 00:05:08 +02:00
Christian Dywan
f3cb7c31ec Skip unavailable languages in LINGUAS 2010-03-08 21:13:06 +01:00
Christian Dywan
37fc44c375 Bump version to 0.2.4 2010-03-07 22:23:04 +01:00
Christian Dywan
f456520373 Remove -Wunreachable-code due to false positives 2010-03-06 18:55:59 +01:00
Christian Dywan
baef8d1283 Add -Wunreachable-code to compilation warnings 2010-03-04 02:08:49 +01:00
Christian Dywan
623784d65d Bump to version 0.2.3 2010-02-20 12:39:23 +01:00
Alexander Butenko
34761080e7 Install extension config files to xdg, like search 2010-02-19 19:24:45 +01:00
Rivo Nurges
d8d0c95a02 Look for inet_aton and inet_addr in more header files
This is needed for BSD like systems.
2010-02-17 23:19:17 +01:00
Peter de Ridder
b993cdc553 Add win32 specific linker flags for Midori extensions 2010-02-16 00:59:42 +01:00
Peter de Ridder
f9a6a8e379 Use po directory either in current or parent folder 2010-02-16 00:59:42 +01:00
Christian Dywan
c181b45db9 Add diverse GTK+ deprecation warning flags for debug=full builds 2010-01-31 20:41:30 +01:00
Christian Dywan
65c56f26a8 Rely on sqlite for completion, otherwise disable it entirely 2010-01-25 01:19:03 +01:00
Christian Dywan
c335bb19c7 Generate LINGUAS at buildtime and recognize LINGUAS variable 2010-01-17 18:14:49 +01:00
Christian Dywan
2e496c53fa Remove translation template midori.pot from the repository
Transifex should generate a template. A benefit of this is that it
automatically notifies about problems.

The file midori.pot does unfortunately have to live in the source
tree, but we remove it in clean and distclean targets.
2010-01-06 23:40:45 +01:00
Christian Dywan
15658145b2 Build katze, core and panels as one, and allow non-progressive build
This simplifies the build and possibly helps with linking problems
on some platforms. The 'progressive' option allows building
without an intermediate static library except for unit tests.
2010-01-01 18:20:08 +01:00
Christian Dywan
fc7689f906 Move DNS prefetching into the core
The feature is going to be included with WebKitGTK+ and
having it in the core allows us to prefetch bookmarks as well.
2010-01-01 18:16:55 +01:00
Christian Dywan
81f716eacd Bump version to 0.2.2 2009-12-15 22:34:29 +01:00
Christian Dywan
a94cf71700 Turn libnotify into a build-time dependency, mind notify-send
libnotify support is decided at build-time now, to avoid so name
issues. notify-send is still optional at runtime as a fallback.
2009-12-15 00:03:28 +01:00
Christian Dywan
da617bdefd Only use signal.h when not building on or for Win32
The signal API is available but not practically usable.
2009-12-10 21:55:35 +01:00
Christian Dywan
e5d8016bf4 Wrap file chooser into the function sokoke_file_chooser_dialog_new 2009-11-14 22:50:20 +01:00
Christian Dywan
881a5bb060 Bump version to 0.2.1 2009-11-13 23:31:25 +01:00
Christian Dywan
204f0fd98a Use pkgconfig to locate X11, which takes correct paths into account on BSD 2009-11-12 21:53:02 +01:00
Yves-Alexis Perez
42174b473a Explicitly link to X11 to not rely on indirect library linking
It is recommended by Debian and required for the gold linker.
2009-11-11 23:41:08 +01:00
Christian Dywan
3a491840f5 Only install extension data files if extensions are built 2009-11-03 23:40:53 +01:00
Christian Dywan
6f69a04905 Add compatibility options to build script to support packaging
Debian CDBS for example can use the 'configure' script in a way
that doesn't require waf specific rules, but it insists on passing
--build and --disable-maintainer-mode.
2009-10-31 22:44:30 +01:00
Avan Anishchuk
1133bc4449 Catch SIGHUP, SIGINT, SIGTERM and SIGQUIT and quit peacefully 2009-10-31 04:49:57 +01:00
Christian Dywan
a712d0ea7a Use old Python decorator syntax to support old Python versions 2009-10-30 21:14:05 +01:00
Christian Dywan
616f62a10e Fix HAVE_HILDON_2_2 define when building with Hildon 2.2 2009-10-28 23:54:26 +01:00
Christian Dywan
c17c6f6151 Define HAVE_HILDON_2_2 if Hildon 2.2 is available 2009-10-26 18:17:27 +01:00
Christian Dywan
715ae2efa4 Only look for the osso folder, not the .defs, to see if it's Maemo 2009-10-22 23:11:57 +02:00
Christian Dywan
6b0f38e51a Install autosuggestcontrol.js/.css into res like the other files 2009-10-22 02:20:26 +02:00
Christian Dywan
d92d96eab7 Bump version to 0.2.0 2009-10-16 00:56:27 +02:00
Alexander Butenko
37e2c84b2b Install formhistory resources, don't fill in passwords
Reading post data is there but nothing is written to disk yet.
2009-10-07 22:30:16 +02:00
Christian Dywan
ce5a959840 Use MIDORI_NLSPATH instead of NLSPATH
A small number of systems uses NLSPATH in a way that breaks
localization in Midori. It is unclear what the correct way is to
use NLSPATH, so we switch to using a prefixed variable.
2009-10-03 02:27:51 +02:00
Christian Dywan
ec81068299 Provide default adblock config with easylist 2009-10-03 01:37:07 +02:00
Christian Dywan
bb0688b796 Don't use libidn if we have libsoup 2.27.90 2009-09-21 22:12:14 +02:00
Christian Dywan
a158ac4585 Disable loop warnings and include warnings, clang dislikes them 2009-09-18 19:37:27 +02:00
Christian Dywan
e23a25bc65 Bump version to 0.1.10 2009-09-12 00:09:38 +02:00
Christian Dywan
ccc76f3fc6 libsoup 2.27.91 is good enough for GNOME password manager 2009-09-06 00:58:23 +02:00
Christian Dywan
af86796eab Use GNOME proxy resolver and GNOME password manager optionally 2009-08-30 04:22:55 +02:00
Christian Dywan
c0ecd79a29 Bump version to 0.1.9 2009-08-01 00:03:19 +02:00
Christian Dywan
20948034d8 Bump version to 0.1.8 2009-07-20 23:16:07 +02:00
Christian Dywan
3a7ae20104 Don't disable JavaScriptCore when building with mingw32 2009-07-20 22:43:34 +02:00
Christian Dywan
021a892678 Add '-mwindows' to LINKFLAGS on Win32 to suppress the console 2009-07-20 07:45:41 +02:00
Christian Dywan
ff104135de Use the 16x16 icon for the Win32 icon 2009-07-20 07:06:59 +02:00
Christian Dywan
78805e5cd4 Don't build Desktop file on Win32 2009-07-09 19:08:37 +01:00
Christian Dywan
1f0f411657 Check for rsvg-convert early to support it when cross compiling 2009-07-09 19:02:23 +01:00
Christian Dywan
087a579450 Create Win32 icon and resorce and build it into the executable 2009-07-09 18:55:41 +01:00
Christian Dywan
e32f252b88 Check for Maemo only if /etc/osso-af-init/osso-gtk.defs exists
A surprisingly high number of users mistakenly installed libhildon1
because they noticed that it wasn't found and later wondered where
the menubar was.

All Maemo releases have the file osso-gtk.defs, including Mer, so
we only check for libhildon1 and libosso if it is present.
If needed --enable-hildon still enforces its use.
2009-06-18 03:24:32 +02:00
Christian Dywan
9f7d89c7a8 Add -c (cache) to intltool flags to be forward compatible with waf 2009-06-18 02:51:35 +02:00
Christian Dywan
ccd6b3c201 Use an appropriate mingw-ar if none was specified 2009-06-16 01:47:45 +02:00
Christian Dywan
3bcd8b6615 Copy libsylph socket.c as fallback for single instance libunique
This socket code makes single instance a mandatory feature assuming
if libunique is not available we can use sockets.
A bit of refactoring of MidoriApp is involved to make the command
logic independant of the nature of the instance handling.
2009-06-16 01:46:22 +02:00
Christian Dywan
84f5e94c08 Reformat optional feature overview shown after waf configuration 2009-06-14 21:35:24 +02:00
Christian Dywan
5416008f28 Error out if libhildon is available but not libosso
libhildon remains optional but we assume that it makes no sense
to use it without libosso.
2009-06-14 21:25:33 +02:00
Christian Dywan
4e19617fdc Use MDATADIR, import os and don't use waf_config_files 2009-06-09 02:02:43 +02:00
Enrico Tröger
ea35ca0422 Split the value of "CC" so that "ccache gcc" works 2009-06-07 18:42:48 +02:00
Christian Dywan
71a4daa605 Move DOCDIR below definition of MDATADIR 2009-06-06 21:41:26 +02:00
Christian Dywan
db2ef8dcf4 Correctly specify the HAVE_JSCORE define as 1 or 0 2009-06-06 19:47:10 +02:00
Christian Dywan
c3cb3a20e2 Support waf '--run' with wine 2009-06-06 19:38:53 +02:00
Christian Dywan
0f5e13e706 Allow building without JSCore and do so for mingw 2009-06-06 18:51:57 +02:00
Christian Dywan
39434709b7 Follow up on the target and MDATA changes 2009-06-06 18:43:40 +02:00
Christian Dywan
80b47120ef Pass win32 target to package config if building for Win32 2009-06-06 06:58:50 +02:00
Christian Dywan
923841e079 Store 'addons' and 'docs' configure options persistently 2009-06-06 06:37:55 +02:00
Christian Dywan
27c3c2a26c Ensure that docs, localizations and other data build last 2009-06-06 06:32:20 +02:00
Christian Dywan
ba04eccf14 Add mingw cross compiling support to the build script 2009-06-06 06:30:34 +02:00
Christian Dywan
fb316e7873 Use MDATA instead of DATA to avoid naming conflict
The header file objidl.h on Windows uses DATA in a different way,
so we need to avoid that name.
2009-06-06 06:22:35 +02:00
Christian Dywan
e19d038b53 Adjust enabling and disabling of options again 2009-06-05 23:14:53 +02:00
Christian Dywan
752ced73be Correct --enable-foo/ --disable-foo configuration options 2009-06-03 01:49:47 +02:00
Christian Dywan
a6cb1d8450 Use getattr instead of eval in the wscript 2009-05-30 23:56:31 +02:00
Christian Dywan
eff875e2e3 Bump version to 0.1.7 2009-05-28 23:44:17 +02:00
Christian Dywan
4897dc9da5 Use absolute path to generate locale symlinks for --run 2009-05-25 18:18:29 +02:00
Christian Dywan
b47ee725fd Catch non-existance of os.path.relpath 2009-05-17 13:07:15 +02:00
Christian Dywan
3395d0a0f2 Shorten the paths used for --run to make them more easily reusable 2009-05-15 20:30:24 +02:00
Jean-François Guchens
760553f374 Store speed dial as JSON instead of actual HTML source
This will make it possible to change the layout of the page
without losing shortcuts.
2009-05-13 23:56:55 +02:00
Jean-François Guchens
bd6c23cc71 Allow adding speed dial shortcuts from the context menu 2009-05-09 16:41:01 +02:00
Christian Dywan
5a64656847 Remove 'Optional run time dependencies' text from waf output 2009-05-09 15:41:50 +02:00
Jean-François Guchens
c89651c05f Implement quick launch page code named Tandoori
The quick launch page replaces the blank page unless it turns out
to be a bad idea.
2009-05-07 22:22:43 +02:00
Christian Dywan
ca98c68e70 Support error pages with the load-error signal in WebKitGTK+ 1.1.6 2009-05-02 21:44:20 +02:00
Christian Dywan
8f58355014 Bump version to 0.1.6 2009-04-19 22:15:25 +02:00
Christian Dywan
19c57b4da7 Make sure to create 'data' folder if NLS is disabled 2009-04-19 17:03:55 +02:00
Sebastian Andrzej Siewior
b8f9571783 Don't add optimization flags for "--debug-level none"
Choosing 'none' now means no changes to CFLAGS whilst the 'debug'
and 'full' still add optimizations among other options because
they can have a significant effect on generated code.
2009-04-17 03:56:10 +02:00
Faheem Pervez
0ffda1fe27 Initizalize and deinitialize the osso context 2009-04-07 23:23:27 +02:00
Sebastian Andrzej Siewior
461b831d97 Shift selection of debug-level
Currently configure switches on gcc to debug mode what means -O0. Adding
-d none does not help because it is filtered out earlier. -d bla would
help if bla were an allowed keyword.
This patch simply shifts the "compiler is gcc" block to the left so -O2 is
selected if the user selected -d none on the command line. Other compilers
remain with no extra switches.
2009-03-28 23:00:32 +01:00
Christian Dywan
600168b614 Bump version to 0.1.5 2009-03-22 22:38:24 +01:00
Christian Dywan
5d41589437 Bump requirements to WebKitGTK+, Glib 2.16 and libsoup 2.25.2 2009-03-16 01:18:22 +01:00
Christian Dywan
bc3e1408b7 Check for and link with libm 2009-03-12 18:20:14 +01:00
Christian Dywan
58920912fc Bump version to 0.1.4 2009-03-01 21:11:31 +01:00
Christian Dywan
d8bcecc99d Only add the git hash to the version if it's not empty 2009-02-23 01:03:59 +01:00
Christian Dywan
e3485dfbfb Bump version to 0.1.3 2009-02-22 23:37:51 +01:00
Enrico Tröger
40a3eeb94d Cache libSoup version and remove an extra space 2009-02-22 23:34:17 +01:00
Christian Dywan
5e14715d2f Print actual libSoup version if found, otherwise required versions 2009-02-22 23:17:36 +01:00
Christian Dywan
15cbd44f06 Use existing utility functions of WAF rather than our own 2009-02-19 02:07:03 +01:00
Christian Dywan
4314623138 Update WAF to 1.5.3 rv5749, fixing --destdir with relative paths 2009-02-19 01:00:19 +01:00
Christian Dywan
bbe809cacf Support IDN by decoding domain names in magic_uri 2009-02-17 00:16:14 +01:00
Christian Dywan
8d3d76ed8f Default sysconfdir to /etc if the prefix is /usr 2009-02-02 01:10:30 +01:00
Christian Dywan
135b1be01e Provide default search engines 2009-01-31 19:07:27 +01:00
Christian Dywan
a1e8089ad3 Do not use grep for the libsoup check 2009-01-30 18:33:04 +01:00