summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup missing lincludes from messages API updateVincent Sanders2015-06-223-0/+3
|
* Allow translation messages to be compiled in as GTK resourcesVincent Sanders2015-06-216-31/+192
|
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-2114-31/+90
| | | | | | | | | | The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file.
* Move the browser identification and machine info logging.Vincent Sanders2015-06-212-9/+20
| | | | | | | | Previously this information was logged when netsurf_init was called which might be many lines out output into the log. It is useful to have this information at the beginning of the log to make it easily found. In addition it makes netsurf_init less complex.
* Change GTK resource path to use the users netsurf directoryVincent Sanders2015-06-211-2/+37
| | | | | | This changes the path used to find resources from containg a hard coded ${HOME}/.netsurf to using the computed path to the users netsurf config.
* Clean up doxygen errors in image handlers.Vincent Sanders2015-06-213-8/+11
|
* Space ARexx menu items correctly.Chris Young2015-06-211-1/+2
|
* Fix the capitalisation of "New tab" to matach "New window" etc.Chris Young2015-06-211-1/+1
|
* Require gadtools 53.7Chris Young2015-06-201-2/+2
| | | | OS4.1u6 does not cope well with image menus, so insist on a component in FE to ensure the layouting is sane and menu creation is fast.
* Stop unused variable warning when no core image handlers are enabled.Vincent Sanders2015-06-181-2/+2
|
* Fix cocoa_bitmap_modified scope error introduced in cleanupVincent Sanders2015-06-181-1/+1
|
* Fix several warnings in cocoa frontendVincent Sanders2015-06-185-121/+116
|
* Add direct resources to GTKVincent Sanders2015-06-176-104/+346
| | | | | | This adds API to obtain direct pointers to arrays of data from compiled in resources. Additionally it hooks this up to provide data for the resourece scheme handler.
* Allow the resource scheme to provide data directly.Vincent Sanders2015-06-173-50/+196
| | | | | | This allows front ends to provide resources from compiled in data instead of requiring the resources to be available on disc and forcing a redirect.
* Change gtk to use resource API for throbberVincent Sanders2015-06-175-86/+60
|
* Make GTK resource handling configurableVincent Sanders2015-06-175-17/+76
| | | | | | | | This makes the GTK resource handling configurable in the same way as all other pkg-config style feature options. It is now possible to completely disable compiled in resources if wanted as well as forcing inline pixdata on if desired.
* Add legacy support for inline pixbuf usageVincent Sanders2015-06-172-16/+44
| | | | | | | | | Before GResource it was possible to compile pixbufs as inline elements. This has historically been done for the menu cursor only. This change integrates the inline support and uses it when the GResource support is not selected.
* update default gtk window icon source to use resourcesVincent Sanders2015-06-173-5/+9
|
* Change GTK UI builder handling to use resource APIVincent Sanders2015-06-1724-561/+983
| | | | | | | | | | | | | | GTK UI builder resources have till now been exclusively stored on disc requiring netsurf to ship numerous additional resource files. This requires going to disc every time a UI action is performed which can become a lot of unwanted file handling. GLib/GTK has moved towards GResource handling for such resources instead. It now seems that migrating to this style of usage is expected and indeed the only portable way to include pixbufs. This introduces an API to hide the various implementation details of how resources are handled from the rest of the codebase.
* Add links to dutch resources for gtk frontendVincent Sanders2015-06-173-0/+3
|
* Prettify pull-down (not context) menu.Chris Young2015-06-162-36/+47
|
* Remove some workarounds to make image menus conform better on OS4.1u6. They ↵Chris Young2015-06-161-31/+2
| | | | never quite matched normal menus so are going to look odd when we add more images anyway.
* move gtk menu cursor creation into separate resourec handling moduleVincent Sanders2015-06-044-15/+75
| | | | | | The gtk resource handling must be changed for GTK3 as creating from inline is depricated. This is the first step to splitting out the support.
* Only iterate the form when freeing a control if there is one.Daniel Silverstone2015-06-031-14/+16
| | | | This fixes Bug#2322
* Updated Dutch messages for NetSurfDick Tanis2015-06-021-115/+157
|
* Set the default cache size on RISC OS to zero (off)Vincent Sanders2015-06-011-1/+6
|
* use logfile as variable name as cocoa gives an error about the symbol type ↵Vincent Sanders2015-05-291-8/+8
| | | | of logf
* Improve logging interface to reduce overheadVincent Sanders2015-05-292-22/+20
| | | | | | | | | | | | | This reduces logging overhead by only calling the log output function once instead of three times. Additionally the nslog_gettime interface no longer needs to be exported and the static function is directly inlined further reducing function call overhead. Finally the appending of a newline uses fputc instead of a full printf call which is considerably more simple and further reduces overhead time.
* Allow verbose logging to be directed to a fileVincent Sanders2015-05-291-1/+34
|
* fixup logging macros that incorrectly override the LOG() macro nameVincent Sanders2015-05-284-4/+4
|
* fixup all the remaining logging macro callsitesVincent Sanders2015-05-2832-208/+208
| | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up
* Fixup javascript logging to cope with new varadic LOG macroVincent Sanders2015-05-284-5/+5
|
* Change LOG() macro to be varadicVincent Sanders2015-05-28209-2617/+1921
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Clean up atari source linendings, whitespace damage and executable statusVincent Sanders2015-05-2861-4858/+4862
|
* Fix warnings about using integer absolute operations on floating point valuesVincent Sanders2015-05-212-13/+18
|
* Change how GDK image resources are compiled in.Vincent Sanders2015-05-202-3/+3
| | | | | | | | | | The compiled in image resources were being created as a structure in a generated c source file. The generation of this file caused constness warning as a guint8 * was initialised from a const char array. This changes the generation and use of these compiled in resources to use the raw inline form as suggested by the documentation removing the const warning.
* Fix format string type missmatches on 32-bit systems.Michael Drake2015-05-121-3/+7
| | | | Use C99 inttypes header for format string macros.
* Avoid generating confusing warning.Michael Drake2015-05-122-4/+1
| | | | Now the disc cache will be disabled silently if its too slow.
* Fix the PNG handler crashing in low memory situations.Vincent Sanders2015-05-121-1/+13
| | | | | | | Obtaining a netsurf bitmap buffer may fail on some frontends (RISC OS especially) as the bitmap allocation is not performed until the buffer is requested. The PNG image handler failed to check for this when populating the row pointer structure.
* Improve the logge dinformation about written cache dataVincent Sanders2015-05-081-7/+7
|
* put assert back to protect against bad logic in frontend drag implementationsVincent Sanders2015-05-081-0/+4
|
* utility to translate public suffix data into a c codeVincent Sanders2015-05-061-0/+378
|
* Move the setting of block file extents to background maintinance.Vincent Sanders2015-05-041-16/+68
| | | | | | On some OS the ftruncate operation can take some time so move it to occour in the background maintinance operations instead of when data blocks are initialy opened. This should improve browsing responsiveness.
* remove assert if drag message contains an unknown type.Vincent Sanders2015-05-031-8/+12
| | | | | Instead of asserting if a message contains an unsupported drag type the message is now logged and ignored.
* Silence incorrect warning from gcc 4.9Vincent Sanders2015-05-031-9/+19
| | | | | | | This makes the box_move_xy function return a value on all code paths. This was not really necessary as there is an assert in the path that could have returned without a value. The gcc optimiser seems unable to reason about this in this case causing a warning.
* make global history treeview directory creation return error instead of abortingVincent Sanders2015-05-031-2/+11
|
* Remove legacy #undefMichael Drake2015-05-031-2/+0
|
* Use standard macros for monkey frontend mandantory pkg-config based librariesVincent Sanders2015-05-031-17/+17
|
* Update posix source version on monkey frontend to reflect oyr usage of scandirVincent Sanders2015-05-032-2/+2
|
* On OpenBSD framebuffer resource building should link the correct libraryVincent Sanders2015-05-031-1/+1
|