Commit Graph
16 Commits
Author SHA1 Message Date
Adrien Destugues d52d36aa5d open: don't print "invalid argument" when opening an URL.
Reset the error code.

Change-Id: I5b58c3082f5758d4cbca8c9706048e3414f939c9
Reviewed-on: https://review.haiku-os.org/807
Reviewed-by: waddlesplash <[email protected]>
2019-01-01 17:48:29 +00:00
Jérôme Duval 3aeed6607c include strings.h where appriopriate...
instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949
2014-08-08 22:40:37 +02:00
Ingo Weinhold a5330a8e41 Remove private support kit BUrl
Use the public BUrl from the network kit instead.
2014-07-03 17:39:59 +02:00
John Scipione 78d6fb3c8e open: get kTrackerSignature variable from tracker_private.h
Update copyright.
2014-06-25 19:34:23 -04:00
John Scipione ade169709b open: style fixes 2014-06-25 19:33:18 -04:00
Jérôme Duval b8092f18e1 the column argument wasn't taken into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 13:59:05 +00:00
Jonas Sundström e56cb27512 Launch URLs via BUrl class. Rearranged header files according to guidelines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:30:55 +00:00
Stephan Aßmus fb2f3ef96c As pointed out by Ingo, Mime.h is also a Haiku header and includes MimeType.h
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:27:15 +00:00
Stephan Aßmus 78068f1f76 * MimeType.h is not a BeOS header.
* Honor 80 char/line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:00:07 +00:00
François Revol d5e76d2b5b Fix Haiku build, sorry ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-15 02:38:39 +00:00
François Revol 608aae69a1 * make sure an url mime type is registered before using it.
* lines and cols are 1-based.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-14 22:53:34 +00:00
Axel Dörfler 6261c369af * Fixed all those style issue mmu_man introduced over the years - thanks, man!
* Some possible errors weren't propagated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 11:12:16 +00:00
François Revol 1d03aaeea7 When an app sig has been given, use it instead of the mime type to open docs.
This way 'open application/x-vnd.Be-NPOS foo.html' would work as expected, 
instead of opening NetPos and open the file in the default browser.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 10:29:19 +00:00
François Revol 548cead6a1 - Handle args in the form /pathto/file[:line[:column]][:] so you can double-click
on a gcc error in the terminal, type open and right-click to edit at the buggy line. 
Discard last : form gcc errors to avoid having to type backspace. 
Works with Pe for the line at least, BeIDE doesn't seem to handle it though the 
documentations says it should. Others apps welcome to handle the be:line and be:column 
int32s on B_REFS_RECEIVED :)
- Updated copyright.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:10:41 +00:00
François Revol edeb640ab0 discart "File not found" errors for app sigs; make sure the shell gets any error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-09 13:46:50 +00:00
Axel Dörfler 17049c451a Moved bin/ directory out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:09:19 +00:00