summaryrefslogtreecommitdiff
path: root/beos
Commit message (Collapse)AuthorAgeFilesLines
* strlen() on constant string can be replaced by sizeof()-1John Tytgat2009-02-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=6333
* - when replicated, forbid creating windows, even though it initially works ↵François Revel2008-10-174-5/+189
| | | | | | | | it crashes as soon as the menus are used. - added an about box from the infos in the gtk code, still not perfect. svn path=/trunk/netsurf/; revision=5590
* Call netsurf_init() from the thread creating the replicant, then the main ↵François Revel2008-10-162-14/+22
| | | | | | loop from the thread we created. This avoids a deadlock with the replicant in BeHappy in Haiku. (I should probably make BTranslatorRoster not lock be_app anyway though). svn path=/trunk/netsurf/; revision=5588
* - handle NetPositive what codes; this makes it easy to use NetSurf instead ↵François Revel2008-10-164-0/+54
| | | | | | | | | by just changing the archived message used to instantiate it. - fix background view color, some host apps hide the BDragger, making it visible. - handle mailto: urls as a special case, we historically use the prefered app for text/x-email. svn path=/trunk/netsurf/; revision=5584
* Add Replicant support. No it's not about cyborgs, just embedding NetSurf ↵François Revel2008-10-165-302/+615
| | | | | | into another app, like Tracker (the desktop), or documentation browsers like BeHappy... svn path=/trunk/netsurf/; revision=5583
* Fix copying plain text selection.François Revel2008-10-111-1/+3
| | | | svn path=/trunk/netsurf/; revision=5538
* - support BITMAP_CLEAR_MEMORY in create_bitmap()François Revel2008-10-108-16/+75
| | | | | | | - copying to clipboard now constructs a text_run_array for StyledEdit, that is added to the clipboard. In applications supporting it it pastes the text with the correct fonts and sizes, and the text colors. - tried to find which line in source code the selection starts to open the editor there, but it's not finished so it's disabled. svn path=/trunk/netsurf/; revision=5533
* - fix for copying selection to clipboardFrançois Revel2008-10-095-32/+76
| | | | | | | | - fix some leaks - prepare for about box (use about html from rsrc: but it's broken yet) - if more than 1 refs received at the same time, open the extra ones in a new window. svn path=/trunk/netsurf/; revision=5511
* Override checking the mime type for known extensions. At least on my system, ↵François Revel2008-10-081-0/+13
| | | | | | the mime sniffer thinks css files are text/x-source-code, and NS didn't like that. svn path=/trunk/netsurf/; revision=5509
* Fix drawing the selection.François Revel2008-10-081-0/+2
| | | | svn path=/trunk/netsurf/; revision=5508
* Add clipboard support. Works mostly.François Revel2008-10-082-2/+20
| | | | svn path=/trunk/netsurf/; revision=5507
* -enlarge invalidate rect by 1x1 in gui_window_redraw, this fixes caret updates.François Revel2008-10-081-3/+66
| | | | | | - implement clipboard handling, not yet used though. svn path=/trunk/netsurf/; revision=5506
* Fix multibyte character input.François Revel2008-10-081-3/+2
| | | | svn path=/trunk/netsurf/; revision=5505
* Fix app signature for Haiku's StyledEdit.François Revel2008-10-071-1/+1
| | | | svn path=/trunk/netsurf/; revision=5504
* Dereference symlinks on B_REFS_RECEIVED. This way dropping a symlink to an ↵François Revel2008-10-071-0/+10
| | | | | | html file actually opens the target, and succeeds in finding its related files. One can still enter the path to the symlink itself in the url bar as file:// anyway. svn path=/trunk/netsurf/; revision=5503
* - fix using undefined fd_sets in case active was false. Looks like I was too ↵François Revel2008-10-071-67/+4
| | | | | | | | quick at copy-pasting gtk code. This should fix the busy-loop behaviour on Haiku. - remove dead gtk code. svn path=/trunk/netsurf/; revision=5502
* Snif local files entirely the BeOS way, using the mime db, this fixes taking ↵François Revel2008-10-061-69/+55
| | | | | | | | symlinks to html as plain text. Make sure the mime db has the needed types just in case they are missing. svn path=/trunk/netsurf/; revision=5501
* Uncomment the code to focus the view on mouse click, much better.François Revel2008-10-061-4/+3
| | | | svn path=/trunk/netsurf/; revision=5500
* - less debug outputFrançois Revel2008-10-062-19/+126
| | | | | | - fixed mouse handling, now text input works again. svn path=/trunk/netsurf/; revision=5496
* - fix some coordinate handlingFrançois Revel2008-10-061-5/+9
| | | | | | - bail out trying to redraw if there are more than 1 pending resize, this almost suppresses flicker on resize, and also avoids having the window busy for 10s redrawing 20 times. svn path=/trunk/netsurf/; revision=5495
* - Remove dead gtk codeFrançois Revel2008-10-061-53/+29
| | | | | | - fix overlapping of toolbar and content by 1 pixel svn path=/trunk/netsurf/; revision=5494
* Remove dead GTK code & (c)François Revel2008-10-061-36/+0
| | | | svn path=/trunk/netsurf/; revision=5493
* Make gui_poll() a little better. Don't check for the event pipe fd if select ↵François Revel2008-10-061-3/+6
| | | | | | returned an error. svn path=/trunk/netsurf/; revision=5492
* Fix plot_fill and plot_clip coords.François Revel2008-10-051-2/+71
| | | | | | Added some code to test plotters. -DTEST_PLOTTERS and call test_plotters_main() from main() to test. This should allow comparison on other platforms if they implement it too. svn path=/trunk/netsurf/; revision=5491
* Add Aliases to resources for later use.François Revel2008-10-051-1/+2
| | | | svn path=/trunk/netsurf/; revision=5490
* Add Hubbub support, should work much better when actually initializing it.François Revel2008-10-052-0/+32
| | | | svn path=/trunk/netsurf/; revision=5487
* Fix the white flickering and bad redraws (text too dark due to being drawn ↵François Revel2008-10-052-2/+22
| | | | | | twice), by setting the ViewColor to transparent (avoiding app_server to draw it), and doing it ourselves in plot_clg() just before drawing the rest. svn path=/trunk/netsurf/; revision=5486
* Fix build and opening source file in editor.François Revel2008-10-051-8/+10
| | | | svn path=/trunk/netsurf/; revision=5485
* Add support for editting page source.François Revel2008-10-033-0/+97
| | | | svn path=/trunk/netsurf/; revision=5479
* Fix prototype to get it as C linkage.François Revel2008-10-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=5477
* - cleanup dead gtk code and copyrightsFrançois Revel2008-10-0211-221/+25
| | | | | | - fix refs received before we have a window open (as in OpenWith...), maybe I should just open a new window each time anyway ? svn path=/trunk/netsurf/; revision=5476
* Use find_directory() to find where to put settings instead of polluting ~/.François Revel2008-10-021-23/+42
| | | | svn path=/trunk/netsurf/; revision=5475
* Make sure menu items all get the target set recursively.François Revel2008-10-021-10/+11
| | | | svn path=/trunk/netsurf/; revision=5474
* Add window shortcuts for toolbar actions.François Revel2008-10-021-0/+22
| | | | svn path=/trunk/netsurf/; revision=5473
* Partially fix menu shortcut handling, however I'm not sure how to set ↵François Revel2008-10-021-1/+7
| | | | | | Function keys... svn path=/trunk/netsurf/; revision=5472
* Fix R5 BONE build.François Revel2008-10-022-0/+2
| | | | svn path=/trunk/netsurf/; revision=5471
* Implemented the login dialog.François Revel2008-10-024-98/+161
| | | | svn path=/trunk/netsurf/; revision=5470
* - Cleanup: remove dead gtk code and its copyrightsFrançois Revel2008-10-028-413/+24
| | | | | | | - remove unneeded fieltype hashlist code we just use the mime roster - implemented saving bitmaps svn path=/trunk/netsurf/; revision=5469
* - switch to using builtin css files from rsrc:François Revel2008-10-023-5/+19
| | | | | | - add debug output to trace keyboard input as textinput doesn't work anymore. svn path=/trunk/netsurf/; revision=5468
* First try at implementing menus, from RiscOS ones but lots don't work yet.François Revel2008-10-023-133/+657
| | | | svn path=/trunk/netsurf/; revision=5467
* - iMissing knockout option to falseFrançois Revel2008-10-013-4/+25
| | | | | | | - Use Begin/EndViewTransaction() though it doesn't seem to help much reduce flicker - some fiddling with bitmaps svn path=/trunk/netsurf/; revision=5466
* Implemented thumbnails, though we don't use them yet.François Revel2008-10-011-49/+81
| | | | svn path=/trunk/netsurf/; revision=5465
* Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not ↵Michael Drake2008-09-071-17/+17
| | | | | | bits.) Fix param comments for vbitmap. svn path=/trunk/netsurf/; revision=5281
* Fix BeOS build. We don't handle tabs yet though.François Revel2008-08-262-2/+2
| | | | svn path=/trunk/netsurf/; revision=5209
* Fix the BeOS build:François Revel2008-08-1316-139/+83
| | | | | | | | | | | | | | | | | - hack to work around stdbool.h issue with R5 devkit - fix prototypes - fix bitmap code - fix copy-paste on forward button - remove unused gif throbber loading code - R5 rgb_color doesn't have != operator, use memcmp() - switch back to file based [beos]default.css for the time being - realpath() hack for R5 Regressions: - asserts on haiku-os.org - no libns* yet, so less image support - text field input doesn't work anymore. svn path=/trunk/netsurf/; revision=5109
* Make user agent string and default homepage configurable from Makefile.configRob Kendrick2008-07-292-2/+2
| | | | svn path=/trunk/netsurf/; revision=4803
* First merge of Adam Blokus' GSoC work from his branch ↵John Tytgat2008-07-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'branches/adamblokus/netsurf'. Merged revisions 4212-4552,4554-4709,4711-4724 via svnmerge from svn://svn.netsurf-browser.org/branches/adamblokus/netsurf ........ r4212 | adamblokus | 2008-05-26 19:42:31 +0200 (Mon, 26 May 2008) | 4 lines Pdf plotting skeleton pinned on Print Preview in GTK. Just creates a file and draws lines. ........ r4213 | adamblokus | 2008-05-27 00:11:03 +0200 (Tue, 27 May 2008) | 4 lines Pdf plotter - added drawing some graphic primitives. Still with limited functionality, but a snapshot of the currently viewed page can be made and resembles the original. ........ r4214 | adamblokus | 2008-05-27 11:43:31 +0200 (Tue, 27 May 2008) | 2 lines Corrected encoding name ........ r4215 | adamblokus | 2008-05-27 12:47:26 +0200 (Tue, 27 May 2008) | 3 lines Colours and polygons added. ........ r4217 | adamblokus | 2008-05-27 21:39:35 +0200 (Tue, 27 May 2008) | 6 lines Added rectangles, filled boxes and clipping. Taken into consideration joty's comments. Added a todo list for this part. Added some debug stuff and checking boundaries. ........ r4218 | adamblokus | 2008-05-28 12:37:30 +0200 (Wed, 28 May 2008) | 2 lines Added path ploting (not sure if valid argument order for bezier) and dashed/dotted line styles ........ r4221 | adamblokus | 2008-05-28 22:11:05 +0200 (Wed, 28 May 2008) | 3 lines Some more options in graphic primitives and normalizing some parameters. ........ r4235 | adamblokus | 2008-05-31 22:54:56 +0200 (Sat, 31 May 2008) | 4 lines Plotting changed as jmb suggested (is the least invasive one from the possible) Added dummy bitmap plotting - way of plotting an image is determined by its type. ........ r4251 | adamblokus | 2008-06-03 17:12:15 +0200 (Tue, 03 Jun 2008) | 3 lines Added plotting jpg and png images - quite a lot to improve in this code, but it seems to work ;) ........ r4263 | adamblokus | 2008-06-05 14:20:32 +0200 (Thu, 05 Jun 2008) | 3 lines Added hadling images other than png and jpeg - with transparency. ........ r4267 | adamblokus | 2008-06-06 15:36:34 +0200 (Fri, 06 Jun 2008) | 5 lines Added handling NULL-returns from all mallocs. Added plot_bitmap_tile handling. Changed code style a little. ........ r4327 | adamblokus | 2008-06-12 17:46:34 +0200 (Thu, 12 Jun 2008) | 5 lines Added a first prototype of the paged-output organization. Still not sure about naming, file locations etc. Works with the same pdf plotting as before. ........ r4328 | adamblokus | 2008-06-13 13:52:15 +0200 (Fri, 13 Jun 2008) | 4 lines Added primitive width adjustment and outputing the whole website in multiple pages. ........ r4336 | joty | 2008-06-15 15:06:57 +0200 (Sun, 15 Jun 2008) | 1 line Fix RISC OS build failure (change r4235 wasn't complete). ........ r4337 | joty | 2008-06-15 18:15:32 +0200 (Sun, 15 Jun 2008) | 16 lines This enables "Export PDF" in RISC OS build: - Docs/Doxyfile(PREDEFINED): Added WITH_PDF_EXPORT - Makefile.sources(S_PDF): Add to RISC OS target as well. - utils/config.h: Define WITH_PDF_EXPORT which controls if we want to have PDF export functionality or not. - riscos/save_pdf.c,riscos/save_pdf.h(save_as_pdf): Use PDF print API made by Adam Blokus to write a PDF file under RISC OS. - riscos/save.c: Call save_as_pdf added. - riscos/menus.c: Add 'Export->PDF' menu entry. - riscos/menus.h(menu_action): Added BROWSER_EXPORT_PDF. - desktop/gui.h(gui_save_type): Added GUI_SAVE_PDF. - desktop/print.c(print_run): Added return value. - Makefile(CCACHE): Moved closed to the place where CC is set for the first time. (LDFLAGS): Centralised adding all non-pkgconfig libraries and added Haru + PNG libs. ........ r4343 | adamblokus | 2008-06-16 01:08:52 +0200 (Mon, 16 Jun 2008) | 3 lines Added margins and page size adjustment. ........ r4412 | adamblokus | 2008-06-21 20:22:07 +0200 (Sat, 21 Jun 2008) | 4 lines Added 'fuzzy' margins on page bottom. Disabled direct png embedding, because it is too unstable in Haru now. ........ r4421 | adamblokus | 2008-06-22 18:52:28 +0200 (Sun, 22 Jun 2008) | 2 lines Added "Save as.." dialog and Export->PDF menu entry. Print preview still works with default path. ........ r4437 | adamblokus | 2008-06-25 02:44:46 +0200 (Wed, 25 Jun 2008) | 4 lines Added skeleton of applying loose layout. Minor code cleaning-up. ........ r4492 | adamblokus | 2008-07-02 09:02:42 +0200 (Wed, 02 Jul 2008) | 5 lines Implemented the elementar ideas of the loose layout. Added scaling in the printing routine. Added some basic demonstrations. ........ r4493 | adamblokus | 2008-07-02 09:05:55 +0200 (Wed, 02 Jul 2008) | 3 lines Cleaned up the loosing code - commited to much of leftover rubbish code. ........ r4507 | adamblokus | 2008-07-04 14:25:48 +0200 (Fri, 04 Jul 2008) | 4 lines Added duplicating box tree and current content - window flickering during printing solved. Minor error checking after new HPDF_Image_AddSMask call. ........ r4515 | adamblokus | 2008-07-06 22:28:16 +0200 (Sun, 06 Jul 2008) | 2 lines Changes in loosen layout (image resizing). ........ r4517 | adamblokus | 2008-07-06 22:38:23 +0200 (Sun, 06 Jul 2008) | 2 lines Added pdf font handling and rendering functions with the use of Haru functions. ........ r4555 | adamblokus | 2008-07-10 00:59:05 +0200 (Thu, 10 Jul 2008) | 2 lines Added a very basic and still buggy GTK print implementation. ........ r4565 | adamblokus | 2008-07-10 14:50:16 +0200 (Thu, 10 Jul 2008) | 2 lines Added gtk printing one more time - I have forgotten to add the main file. ........ r4566 | adamblokus | 2008-07-10 14:57:02 +0200 (Thu, 10 Jul 2008) | 2 lines removed error with comment ........ r4569 | adamblokus | 2008-07-10 15:52:55 +0200 (Thu, 10 Jul 2008) | 5 lines Major style improvements - added a lot of doxygen comments, followed tlsa's style guide. Added some more error checking, too. ........ r4575 | adamblokus | 2008-07-10 18:48:26 +0200 (Thu, 10 Jul 2008) | 2 lines Cleaned up the code. ........ r4687 | adamblokus | 2008-07-17 14:17:19 +0200 (Thu, 17 Jul 2008) | 2 lines Changed everything according to jmb's review plus some minor bug fixes to gtk_print. ........ r4688 | adamblokus | 2008-07-17 17:16:34 +0200 (Thu, 17 Jul 2008) | 2 lines Solved the netsurf.glade clash from r4421. ........ r4693 | adamblokus | 2008-07-18 18:11:51 +0200 (Fri, 18 Jul 2008) | 2 lines Fixed bug with wrong number of pages in gtk printing. ........ r4695 | adamblokus | 2008-07-18 19:59:24 +0200 (Fri, 18 Jul 2008) | 3 lines - fixed uncommented line from the previous commit - fixed bug with scale bigger than 1.0 (incorretly clipped page) ........ r4696 | adamblokus | 2008-07-18 23:28:00 +0200 (Fri, 18 Jul 2008) | 2 lines Fixed bug in gtk_print_font_paint (and nsfont_paint). ........ r4697 | adamblokus | 2008-07-18 23:35:38 +0200 (Fri, 18 Jul 2008) | 2 lines Bug fix in nsfont_paint. ........ r4711 | adamblokus | 2008-07-19 22:44:15 +0200 (Sat, 19 Jul 2008) | 2 lines Added gtk_selection files. ........ r4712 | adamblokus | 2008-07-20 11:15:06 +0200 (Sun, 20 Jul 2008) | 2 lines Addam missing glade files. ........ r4713 | joty | 2008-07-20 17:13:10 +0200 (Sun, 20 Jul 2008) | 1 line Follow change r4517 for RISC OS and BeOS platforms : Added pdf font handling and rendering functions with the use of Haru functions. ........ r4714 | joty | 2008-07-20 18:19:50 +0200 (Sun, 20 Jul 2008) | 1 line Declare haru_nsfont iso define an instance for each C source including the font_haru.h header. This fixes breakage of PDF export on RISC OS. ........ r4724 | adamblokus | 2008-07-23 03:30:08 +0200 (Wed, 23 Jul 2008) | 6 lines Applied changes according to joty's review. Added checking the dimensions of a plotted image to pdf plotter. Commented out jpg embedding (it seems to cause some problems I'll bring it back when I figure out what's wrong) . Added back some files removed by mistake. ........ svn path=/trunk/netsurf/; revision=4741
* Use bundled resources instead of separate files. throbber uses 'data' type ↵François Revel2008-06-076-25/+41
| | | | | | also now. svn path=/trunk/netsurf/; revision=4297
* - We don't need the XPM icon.François Revel2008-06-072-321/+17
| | | | | | - import res/* in the resource file to bundle them with the binary. svn path=/trunk/netsurf/; revision=4293
* Add copyrightsFrançois Revel2008-06-0729-8/+92
| | | | | | Notes on a plot_path implementation. svn path=/trunk/netsurf/; revision=4292