Commit Graph

60 Commits

Author SHA1 Message Date
Vincent Sanders
545644f23d update atari frontend to remove usage of depricated warn_user API 2016-04-30 11:34:45 +01:00
Vincent Sanders
bf3ee089cb use the miscellaneous table warning entry
change all the frontends to provide the warning callback in the
miscelaneous table instead of using the warn_user function.

Changing all the warn_user callsites still requires completion.
2016-04-25 23:11:55 +01:00
Vincent Sanders
3930d00519 atari header cleanup and warning squash
This rationalises atari platform user of headers and squashes a lot of
warnings. Should not be viewed as real maintenance, more that it was
getting in the way of fixing real core header issues.
2016-04-20 10:43:58 +01:00
Vincent Sanders
d29bccdb3a add missing explicit dirent includes 2016-04-19 15:56:57 +01:00
Vincent Sanders
20f2c86a51 Clean up atari source linendings, whitespace damage and executable status 2015-05-28 09:11:32 +01:00
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Ole Loots
48c48319e0 Added missing include 2014-09-13 14:43:10 +02:00
Vincent Sanders
8848f754e0 documentation fixes and cleanups 2014-07-02 16:39:08 +01:00
Michael Drake
77cea75e51 Remove unused variable. 2014-05-31 08:42:43 +01:00
Michael Drake
4bf23fc217 Fix line endings. 2014-05-31 08:42:08 +01:00
Vincent Sanders
688f60d963 fix errors with path_to_url conversion 2014-05-27 00:08:04 +01:00
Vincent Sanders
00b6cfc57e rework path to url mapping functions to convert from and to nsurl 2014-05-26 23:52:36 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +01:00
Vincent Sanders
6349704b5e fix silly errors in atari and amiga file operation table change 2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e add file operations table and make all frontends use it.
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.

These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.

These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
38cb39339a move filename_from_path and path_add_part into gui operation tables 2014-01-16 00:01:25 +00:00
Ole Loots
a2489f85d8 Minor formatting fix 2013-12-21 02:07:13 +01:00
Ole Loots
164571aa98 Translate NK_UNDO to KEY_UNDO. 2013-10-26 15:39:05 +02:00
Ole Loots
fa5a22d65f Added comments 2013-10-06 01:24:20 +02:00
Ole Loots
c3816a119a ldg stubs not needed anymore since windom removal. 2013-10-06 01:24:19 +02:00
Ole Loots
ce270a7e08 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Ole Loots
12aebe1fa1 Added comments. 2013-04-11 00:49:02 +02:00
Ole Loots
985e4ce6be Prefixed gemtk module functions. 2013-01-22 02:33:27 +01:00
Ole Loots
2e91d4e17e Do not redraw textarea background. 2013-01-22 01:21:24 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +01:00
Ole Loots
0bbccaa935 Finally it compiles without WinDom - still some things to bring back:
- Serch window
 - Pop Menus in the settings dialog
2013-01-07 20:04:44 +01:00
Ole Loots
f7ee2a0387 - started to work on settings dialog
- some WIP in treeview widgets. Changed destroy / and init handling.
  It requires some optimization, when the widget is closed
  it must remove itself from the guiwin list, for perfomance.
2012-12-21 00:56:50 +01:00
Ole Loots
c4b09a8439 Removed global_evnt.c module. 2012-12-06 01:38:49 +01:00
Ole Loots
25db04a890 Dragged scrolling/mouse click events works fine now. 2012-12-04 01:32:43 +01:00
Ole Loots
59e2775055 Implemented basic mouse input to browser component (click). 2012-12-03 00:07:47 +01:00
Ole Loots
fe0e2508e6 Refactored a lot of browser window code,... still totally WIP.
...but it compiles...
2012-11-27 02:12:09 +01:00
Ole Loots
c415f9bf98 Start to remove windom, wip.
- Refactored menu event handling.
- Load plain GEM resources.
- Refactored Event handling
2012-11-18 23:22:43 +01:00
Ole Loots
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Ole Loots
44808e1c52 Added message box, so warn_user works as expected. 2012-11-12 21:23:39 +01:00
Ole Loots
17c9641b38 is_process_running: Check for zombie status. 2012-08-27 20:39:14 +02:00
Ole Loots
02593d170a Added is_process_running
Now the source code viewer is launched when not already
running (ShelWrite wasn't handling this correctly)
2012-08-27 20:05:35 +02:00
Ole Loots
95bf664c88 Load toolbar icons from a single bitmap file.
svn path=/trunk/netsurf/; revision=13935
2012-06-03 17:06:11 +00:00
Ole Loots
a94781edc0 Added function load_icon
svn path=/trunk/netsurf/; revision=13847
2012-04-10 23:10:49 +00:00
Ole Loots
36dd0cc346 added dbg_rect function.
svn path=/trunk/netsurf/; revision=13546
2012-03-21 21:19:59 +00:00
Ole Loots
a5a0b8d955 Removed non declared and unused "cookies_update" function ( some frontends still define the functions), added missing prototypes.
svn path=/trunk/netsurf/; revision=13399
2012-01-11 20:35:14 +00:00
Ole Loots
b4e27cf91e fixed syntax-error.
svn path=/trunk/netsurf/; revision=13280
2011-12-15 23:37:02 +00:00
Ole Loots
66f53b22e2 added mode parameter to function find_gui_window
svn path=/trunk/netsurf/; revision=13278
2011-12-15 23:04:31 +00:00
Ole Loots
e7e8024be8 Fix focus element
svn path=/trunk/netsurf/; revision=13251
2011-12-06 21:06:41 +00:00
Ole Loots
94bacf7b4f Added missing insert key conversion.
svn path=/trunk/netsurf/; revision=13204
2011-11-29 21:31:31 +00:00
Ole Loots
cb84601b44 Removed debug output
svn path=/trunk/netsurf/; revision=13170
2011-11-23 22:27:57 +00:00