Commit graph

254 commits

Author SHA1 Message Date
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
Christian Dywan
e9460d3ed4 Use ldd and grep when checking if WebKit was built with libsoup 2009-01-30 18:06:40 +01:00
Christian Dywan
a995a66d02 Fix non-localized build after move of midori.desktop.in 2009-01-30 14:15:15 +01:00
Christian Dywan
7f5ad69b86 Correct POTFILES.in and non-hildon installation path 2009-01-28 01:03:16 +01:00
Christian Dywan
181aa10b9d Integrate Midori with Maemo, use a Hildon window and adjust the interface
To make Midori play nicely with Maemo the menubar is now integrated, we
have a service file, a specific toolbar layout, no statusbar and icon styles.

The changes are applied if hildon is available, and can of course be
manually enabled or disabled.
2009-01-27 02:57:40 +01:00
Christian Dywan
a63942cd79 Respect NLSPATH in Midori and use it for ./waf build --run 2009-01-22 01:59:23 +01:00
Christian Dywan
a81405dcf0 Show optional dependency summary at the end of configuration 2009-01-20 04:53:01 +01:00
Christian Dywan
235df3f04d Catch incompatible waf early, ie. with a globally installed waf 2009-01-19 01:12:43 +01:00
Christian Dywan
07bcc0acfa Load extensions from the build folder if ./waf --run is used 2009-01-16 20:27:56 +01:00
Christian Dywan
b146350d58 Bump version to 0.1.2 2009-01-14 00:23:35 +01:00
Christian Dywan
7601ff8865 Fix installing of data files 2009-01-13 00:50:01 +01:00
Christian Dywan
39d2b36b00 Always define HAVE_FOO for unique, libsoup and sqlite 2009-01-12 21:23:32 +01:00
Christian Dywan
266e319451 Apply the default debug level dependend on the compiler 2009-01-10 00:35:10 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan
4e84376e28 Require libSoup 2.23.1 instead of 2.23.0 2009-01-08 01:54:08 +01:00
Christian Dywan
0c7034f69c Warn in red font if unique 1.0.4 is used 2009-01-08 01:43:36 +01:00
Christian Dywan
25e07232ac Rewrite try: except: finally: so it is python 2.4 friendly 2009-01-05 22:08:52 +01:00
Christian Dywan
ee9e8d77e5 Update Waf to 1.5.1 and update build scripts accordingly 2009-01-04 21:38:06 +01:00
Christian Dywan
df6afd7caa Add a --run switch to wscript, to run Midori after building 2008-12-12 10:10:10 +01:00
Christian Dywan
270822a0c4 Perform more fine grained libSoup version checks 2008-12-09 20:04:04 +01:00
Christian Dywan
e1075f1aae Link to GThread, to fix non-soup Midori with soup-WebKit 2008-12-08 23:15:05 +01:00
Christian Dywan
7e68ef90c0 Fix prefix and datadir usage 2008-12-07 05:58:40 +01:00
Christian Dywan
588744fdda Generate and install desktop file also without intltool 2008-12-07 05:10:08 +01:00
Christian Dywan
ae2b0c1700 Group build options and warn if docutils or gtk-doc is missing 2008-12-07 04:00:00 +01:00
Christian Dywan
09a334c3e2 Refactor waf options to allow enable/disable consistently
Particularly Gentoo's way of packaging allows users to
specify all features of a package manually, therefore we
allow enabling options and cause a fatal error if the
dependency is not satisfied.
2008-12-07 01:56:42 +01:00
Christian Dywan
c94258fe67 Fix translation updating in build script 2008-12-06 05:43:24 +01:00
Christian Dywan
d3a00cecac Update translation template 2008-12-06 05:35:28 +01:00
Christian Dywan
604c0e6e59 Hack to store cookies on disk with libSoup 2.25.2
Note that if the WebKit build doesn't use libSoup
cookies will never be loaded or saved just like before.
2008-12-06 04:46:20 +01:00
Christian Dywan
c2c031e041 Bump version to 0.1.1 2008-11-30 01:48:04 +01:00
Christian Dywan
5f149946d6 Implement MIDORI_CHECK_VERSION for use in extensions 2008-11-30 01:22:03 +01:00
Christian Dywan
3cd50f419b Introduce a C extension interface 2008-11-18 02:07:53 +01:00
Christian Dywan
7863d0f7fd Introduce unit tests for automated testing
The first one is a test for sokoke_magic_uri and
it already helped improving the function.
2008-11-14 02:46:23 +01:00
Christian Dywan
22a9bf1bc1 Print warnings after configuring if packages are missing 2008-11-10 22:18:35 +01:00
Christian Dywan
0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan
9abb753cc4 Remove sqlite header check, it turns out to be wrong 2008-11-08 13:12:54 +01:00
Christian Dywan
32d8503bfc Add file TRANSLATE with tips for translating Midori 2008-11-03 00:19:11 +01:00
Christian Dywan
b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan
d26c50f2d4 Explicitly build with GIO again, Gtk < 2.14 needs that 2008-10-24 00:19:04 +02:00
Christian Dywan
ce66f54620 Suppress error when not building from git 2008-10-21 23:07:07 +02:00
Christian Dywan
c9920a10b7 Install the EXPAT license file 2008-10-21 22:53:06 +02:00
Christian Dywan
e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan
cf854d9617 Remove support for GtkSourceView 2008-10-19 22:53:51 +02:00
Christian Dywan
a6e4d7b84b Load and cache favicons with libsoup instead of GIO
The previous code relied on GIO implementing HTTP
with libsoup, so this is effectively not a new
dependency. And since many people don't have GVfs
and even if they do, somehow GIO doesn't work as
good as one should expect, direct use of libsoup
is actually an improvement. Plus the new code
caches icons on disk which we didn't do before.
2008-10-19 22:18:07 +02:00
Christian Dywan
c2cba4899a Bump version to 0.1.0 2008-10-19 00:35:23 +02:00
Christian Dywan
7849f28e08 Display a shaded logo in error pages 2008-10-16 03:51:39 +02:00
Christian Dywan
68cf3388f6 Make sqlite history storage truly optional 2008-10-13 17:50:07 +02:00
Christian Dywan
c1aff9030f Add license note to lots of files and add EXPAT file. 2008-10-11 07:27:52 +02:00
Dale Whittaker
d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan
e4238d7c73 Initial attempt at user documentation 2008-10-03 22:14:14 +02:00
Christian Dywan
ee33d8e3dd Add option to generate API documentation 2008-09-07 21:48:04 +02:00
Christian Dywan
065cfd0816 Disable localization file updates and make them optional 2008-09-03 03:20:35 +02:00
Christian Dywan
88956ae34c Bump version to 0.0.21 2008-08-31 17:23:03 +02:00
Christian Dywan
d60190aaee Warn at configure time if GVfs is not installed 2008-08-31 03:14:00 +02:00
Christian Dywan
0c88d21e4d Add switches to 'wscript' to disable Unique and GIO 2008-08-27 00:44:21 +02:00
Christian Dywan
45e4db6c86 Bump version to 0.0.20 2008-08-24 03:15:45 +02:00
Christian Dywan
c375f862a0 Implement single instance support with Unique 2008-08-22 03:59:07 +02:00
Christian Dywan
212597f416 Use rsvg instead of imagemagick to render icons
Apparently rsvg-convert is good enough for what we
need and it is a dependency of gtk already, unlike
imagemagick's convert which even requires rsvg.
2008-08-10 15:53:07 +02:00
Christian Dywan
4a2e5c59f4 Bump version to 0.0.19 2008-08-02 13:20:02 +02:00
Christian Dywan
2cb278cdb3 Add Midori and news-feed icons, improve waf scripts
Add small, optimized application icons and an all new
news-feed icon including optimized versions. The build
scripts are updated, and the data folder renamed to icons.
Plus the wscript_build is improved. Of course, Midori
now tests the icon theme for news-feed and uses it.
2008-07-27 07:39:39 +02:00
Dale Whittaker
efb148f58e Introduce MidoriLocationEntry and GtkIconEntry 2008-07-17 21:02:14 +02:00
Christian Dywan
103df3d8cc Use GtkSourceView2 if available 2008-07-13 23:21:46 +02:00
Christian Dywan
25edd5e13b Fix Gtk+ < 2.13 and GIO build 2008-07-06 23:47:40 +02:00
Enrico Tröger
b8c222d793 Fix CCFLAGS in wscript 2008-06-20 00:28:33 +02:00
Christian Dywan
3ac8bdb438 Introduce MidoriWebList, second step of refactoring web search 2008-06-14 02:23:33 +02:00
Christian Dywan
f1166afa0a Remove version strings from build and --version output 2008-06-07 13:02:18 +02:00
Enrico Tröger
17c5191100 Fix desktop file install, use DATADIR properly 2008-06-07 11:54:40 +02:00
Christian Dywan
c7626bfda2 Fix and update translation template handling 2008-06-02 01:54:38 +02:00
Christian Dywan
b511f12b9b Rename folder 'src' to 'midori' 2008-06-01 23:47:27 +02:00
Christian Dywan
4e5afd5041 Check for unistd.h in waf, update cache on (un)install only 2008-06-01 15:16:40 +02:00
Christian Dywan
54ea63f161 Update icon cache on uninstall, catch missing gtk-update-icon-cache 2008-05-31 14:57:07 +02:00