Commit Graph

17093 Commits

Author SHA1 Message Date
Oliver Tappe
a5c706d172 - added part of install-userland-networking I forgot last time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 17:55:27 +00:00
Oliver Tappe
b0623e48ef - created a new pseudotarget 'install-userland-networking' that installs all
userland-networking files into a convenient place for easier testing:
  + net_server_driver and net_stack_driver are installed to 
    /boot/home/config/add-ons/kernel/drivers/bin and ../dev/net
  + net_stack_tester, ifconfig, arp and route are installed to 
    $(HAIKU_TEST_DIR)/kits/net/userland
  + libsocket, libnet, libbind and libnetapi are installed to 
    $(HAIKU_TEST_DIR)/kits/net/userland/lib
  + userland add-ons are installed to
    $(HAIKU_TEST_DIR)/kits/net/userland/add-ons/obos_network


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 17:08:19 +00:00
Oliver Tappe
2252921311 - define EDESTADDRREQ if not done already, fixes compiling this on BONE (and R5).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 16:58:01 +00:00
Axel Dörfler
56a7c23d08 * StyledEditWindow::_LoadFile() now traverses symlinks when opening a file.
This fixes bug #593.
* No longer opens an empty document for every non existing path - it now only
  opens a new document if there is none yet.
* No longer open an empty document for non existing files - instead, it just
  passes the ref to StyledEditApp::OpenDocument(). StyledEditWindow::_LoadFile()
  now treats those files gently as well, so that you can create new documents
  via StyledEdit as on BeOS without getting annoyed too much.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 15:20:18 +00:00
Axel Dörfler
7a9de5d194 Added simple test for the BNode::Lock()/Unlock() feature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 14:16:51 +00:00
Axel Dörfler
8265e1210c Implemented mandatory file locking, BeOS style. BNode::Lock() and BNode::Unlock()
are now working as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 14:16:13 +00:00
Stefano Ceccherini
ab8e333337 Removed trailing 'OpenBeos' from translators's names, to be consistent with the rest. Anyone knows why we have two TIFF translators in the tree?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 20:21:51 +00:00
Stefano Ceccherini
68c442e5c2 small cleanup, removed now unneeded hack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 20:03:20 +00:00
Stefano Ceccherini
980e1e66ca fixed build on linux
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 19:59:23 +00:00
Axel Dörfler
acac7c6834 _vm_map_file() did in fact not work correctly, but the main problem was
vfs_get_vnode_cache() which did not acquire an extra reference to the
cache_ref when the cache had to be created.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 18:21:21 +00:00
Axel Dörfler
a9fa017d82 map_backing_store() did not acquire a cache ref in case it created a private
mapping, but it connected the vm_cache objects, so if it failed later, and
thus called vm_cache_release_ref() the object could have been freed accidently.
Most uses of map_backing_store() explicetly acquired a cache_ref *after* the
call was successful, but _vm_map_file() did not do this.
_vm_map_file() might still not work correctly, though, need to have a closer
look at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 18:14:59 +00:00
Jérôme Duval
bbb7119577 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 17:37:48 +00:00
Axel Dörfler
c8467d6ba1 * Further improved error handling in class Keymap.
* Improved header output, it now looks a lot nicer.
* Fixed style issues of that header, too: replaced "s" prefix with the
  correct "k" prefix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 13:06:40 +00:00
Axel Dörfler
f4e8263700 * FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 11:43:18 +00:00
Axel Dörfler
7befa79ace Imported SettingsViews.cpp 1.10, FilePanelPriv.cpp 1.14, TrackerSettingsWindow.cpp 1.7,
SettingsViews.h 1.8, FSClipboard.cpp 1.12, PoseView.cpp 1.60, 
TrackerSettingsWindow.h 1.2, TrackerSettings.cpp 1.11 from the OpenTracker repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:47:12 +00:00
Axel Dörfler
155eb53fc9 Changed Dvorak keymap version - Jerome, is it possible your tool also supports version 1 & 2
of the keymap source? At least it didn't give me an error afterwards anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:07:06 +00:00
Axel Dörfler
37e0ed4ace * Improved error output.
* Fixed some minor style issues.
* fChars was allocated with new[] but deleted with free() in the Keymap destructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:05:56 +00:00
Axel Dörfler
9427e13a87 Added Calculator to the build, and fixed build for Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 09:27:37 +00:00
Philippe Houdoin
f883a05a74 Import a Dvorak keymap, courtesy of mrrc00.
He published it on its web site and 
made an annouce on our forums here: 
http://www.haiku-os.org/forums/viewtopic.php?t=866


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 08:46:16 +00:00
Axel Dörfler
93ae98bf0a Added John Drinkwater to the list of contributors for his ongoing testing
and bug reports.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 07:50:04 +00:00
Oliver Tappe
bc1eea091b - added 82541PI to the list of supported devices (so I can use my card...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 21:49:09 +00:00
DarkWyrm
0d960ff17f Initial checkin with some style cleanups from original sources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 21:43:25 +00:00
Jérôme Duval
a7b537b877 disabled MIDI as it seems to lock at least one system (bug #646)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 21:08:03 +00:00
Michael Lotz
49c9f0ba0d Renaming the USB Mass Storage driver from "usb" to "usb_scsi". There is a naming conflict with the USB bus_manager.
The bus_manager files were compiled but were not used for linking the "usb" bus_manager module.
I only found this out by looking at the binary and finding strange strings that were for sure not in the USB stack.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 20:40:40 +00:00
Oliver Tappe
cd552c7a15 - added legacy headers and posix headers to most Jamfiles here, such that
the userland version of the net-stack compiles again


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 20:35:18 +00:00
Oliver Tappe
79b73cd9d2 - UseLegacyHeaders now accepts a list of sub-folders all of which will be
added to the search path


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 20:31:59 +00:00
Stephan Aßmus
86f902c3ed save and restore menu and mouse settings, fixes bug 607
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:23:26 +00:00
Stephan Aßmus
25f03a7bd8 * avoid endless loop in some cases concerning scrolling with fractional coords
* detect invalid params to SetRange()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:21:16 +00:00
Stephan Aßmus
95f766fa3e cleanup of archiving code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:18:25 +00:00
Stephan Aßmus
693f381e83 Fixed a weird Tracker bug, fOkToMapIcons was initialized to "true", but
I have no idea what sense this makes. When switching from list mode to
icon mode, some poses had their locations set to location "infinity",
because MapToNewIconMode did a division by zero. This resulted in feeding
the scrollbars a totally insane range.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:16:10 +00:00
Stephan Aßmus
5dadd750c0 very small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:09:24 +00:00
Axel Dörfler
f998d2977d BMimeType::GetInstalledTypes() will no longer try to add a NULL string to a
message - and even return the error message it got from BMessage::AddString()
for trying so.
This fixes bug #585.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 17:16:17 +00:00
Axel Dörfler
194b7064ee Changed the recognition rule for applications: it doesn't matter if the application
has a signature or not, what matters is that has the correct B_APP_MIME_TYPE MIME type.
This fixes bug #606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 16:47:39 +00:00
Axel Dörfler
3728e62e88 Unlike the ELF specs, BeOS ignores the path of shared objects specified by the DT_NEEDED
element. We now soften the rule that the absolute path should be used, and give libraries
another chance and search them in the standard search paths. This fixes bug #601 and lets
Becasso run on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 15:59:42 +00:00
Axel Dörfler
3b5cc3b1f3 MIME types are case insensitive, so Tracker should not be so picky.
The app queries still are case sensitive, though (shouldn't hurt, as the MIME
type database preserves the case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:45:12 +00:00
Axel Dörfler
66d3076d17 Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:43:17 +00:00
Axel Dörfler
8aebe2c4b8 Tracker compared B_APP_MIME_TYPE case sensitively - we now export the same case as
is used at other places, and all of a sudden, the "Open With..." menu in Tracker is
working now :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:27:34 +00:00
François Revol
e108c13902 Ditto, doesn't build yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:27:14 +00:00
François Revol
e61dfc9edb Start of a cirrus gfx driver (for qemu), mostly a copy of skel for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:23:52 +00:00
François Revol
0e6b0daca9 display errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 00:04:24 +00:00
François Revol
84aae13f6d Fix null deref; include \0 when copying paths
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 00:01:01 +00:00
Axel Dörfler
373d946f22 * create_app_meta_mime() now preserves the case when installing the
MIME type.
* We now write the META:TYPE attribute that contains the type with
  preserved case (as in BeOS). We even currently check this whenever
  a type is opened, but that can be removed later, again.
* BMimeType::GetSupportingApps() was broken for applications that
  only support the super type.
* Also BMimeType::GetSupportingApps() preserves the case of the
  signatures.
* Why on earth would we want to preserve the case of case insensitive
  MIME types? Simple, this let's you query for those apps using case
  sensitive queries, as Tracker uses for its "open with" functionality.
  Strangely enough, that one still doesn't work, even though the query
  predicate is now correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 21:20:32 +00:00
Jérôme Duval
09d102ccb3 fixed quicktime rule
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 21:10:24 +00:00
François Revol
aa908102ba dump driver name and device path to test some ioctls
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 20:47:57 +00:00
François Revol
7e6e175b9e the source code for the best KDL game ever (yet), hangman.
WIP, doesn't compile atm, must be changed to a module


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 20:09:07 +00:00
François Revol
8be1739f45 - change the check_pending_repeats from a thread to a kernel_daemon, one less.
- add loading of kernel debugger/ modules
- add a kgets() exported func for use by nasty modules =)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:54:37 +00:00
François Revol
b3baad129f - reordered ioctls cases to match Driver.h
- implemented B_GET_PATH_FOR_DEVICE
- reject 3 legacy ioctls from R5 (*FIXED_DRIVER, NEXT_OPEN)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:52:32 +00:00
François Revol
6210a1dd4c Add an ioctl B_GET_PATH_FOR_DEVICE,
this should simplify big times implementing ttyname() for ex, and could be handy anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:52:19 +00:00
Stefano Ceccherini
b9af5bfa5c - Fixed the recently introduced bug where menus would open again once closed. -Now hitting ESC will close the menu. - Reverted to the other variation of GetMouse() as Axel's advice
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:14:54 +00:00
François Revol
f428e7ad4a Don't use a tab size that we might just later enlarge when calculating maxTabPos...
Fixes bug #643


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 15:03:02 +00:00