Jérôme Duval
67eb6cdee8
* extracted some private methods to have a more readable code
...
* fixed negative parameter values handling
* clean up and method shuffle
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-30 22:10:46 +00:00
Jérôme Duval
f7ca82dc00
Read the previous descriptor pointer before freeing transfer and transfer descriptors.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-30 20:46:07 +00:00
Jérôme Duval
51a01ea03b
Patch from Gabriel Hartmann for his GSoC UVC project. Coding style updates by myself. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-25 16:36:48 +00:00
Jérôme Duval
77660b03e8
* threshold higher bit means a full frame. Also use the threshold for micro frames instead of frames.
...
* introduces fNextStartingFrame to keep track of the next frame to use on next submit.
* set the IOC bit for the last ITD
* computes multiply field of the ITD based on the packed size (1, 2 or 3).
* use locking around linking of ITD
* free descriptors on errors
* on finishing, whenever a non success status is found, set actual length to zero
* on finishing, when copying data to the Transfer object, copy starting on packet boundaries (skipping unused bytes).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 18:36:57 +00:00
Jérôme Duval
920e575c03
As suggested by Ingo, revert r42648 and apply patch from Alex Smith provided in #7872 . Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 20:09:32 +00:00
Jérôme Duval
d29d58edea
Disable interrupts when updating real time clock. Fixes #7872 . Seems to have been introduced in r42116.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 17:46:50 +00:00
Jérôme Duval
425eff67d6
Locking around descriptors list handling isn't enough, locking is also needed when traversing the list: we instead lock the whole traversing/handling loop.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-11 17:32:14 +00:00
Jérôme Duval
105eeb9c84
When checkfs stop checking, the block allocator tries to write more blocks than present in fCheckBitmap, so we constrain it
...
to fNumBlocks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 14:53:10 +00:00
Jérôme Duval
bdce14985b
added std::nothrow for some new calls, and initialize fCheckCookie
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 12:05:22 +00:00
Jérôme Duval
0839540d1e
use locking when messing ITD and SITD queues. itd->prev was becoming NULL, thus leading to KDL.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-04 21:52:03 +00:00
Jérôme Duval
77f593de38
Patch from X512 (ticket #7408 ): Don't notify input server of focus change if window is not active.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-04 17:49:45 +00:00
Jérôme Duval
b0b4ce7e95
Patch from X512 ( #7408 ): only send input method aware messages for active windows
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-03 20:48:23 +00:00
Jérôme Duval
42a6ef881d
Add Jian Jiang to the contributors list.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-29 10:15:49 +00:00
Jérôme Duval
d6e4f54f2d
Patch by Jian Chiang as part of his GSoc Project (coding style fixes by myself):
...
* xhci controller start operation
* command ring and event ring initialization
* No-Op Command test and real xhci irq handle
* xhci root hub support
* add Super Speed enumeration and xhci_rh.cpp into jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-29 10:06:34 +00:00
Jérôme Duval
0990a31aa2
fix comments
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-24 16:34:41 +00:00
Jérôme Duval
a133bc725c
Patch from diver to fix #7685 : use the correct path to find sed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 21:43:04 +00:00
Jérôme Duval
aaebe6a96f
merged changes from 8.2 FreeBSD release for ale, alc and ae drivers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-25 11:26:35 +00:00
Jérôme Duval
c0535fa096
mii files from FreeBSD 8.2 with our diffs applied
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-25 11:24:56 +00:00
Jérôme Duval
ff35fe1fdf
added some missing functions and definitions for FreeBSD 8.2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-25 11:05:40 +00:00
Jérôme Duval
d474d44ab6
added some missing functions and definitions for FreeBSD 8.2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-25 11:03:20 +00:00
Jérôme Duval
6289e476a9
Updated gcc 4 native package to 4.5.3
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-23 18:04:28 +00:00
Jérôme Duval
aa56e459e0
revert r42251. Cast the enum to uint32 before use in switchs to please GCC 4.5.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-20 21:12:10 +00:00
Jérôme Duval
c57f433713
fix the PPC build: don't use NULL for an int parameter, found by gcc 4.5
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-20 17:02:44 +00:00
Jérôme Duval
11977ba83b
added more cpu feature flags for x86
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-20 17:00:50 +00:00
Jérôme Duval
ad1263fce3
Part of patch from #6840 :
...
* GCC 4.5 complains about switchs with cases not part of the directory_which enum
* Merge FSUtils directory_which values into the enum
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 18:15:25 +00:00
Jérôme Duval
e53da92708
Part of patch from #6840 :
...
* GCC 4.5 complains about switchs with cases not part of the window_look enum (see WindowPrivate.h).
* To keep them private, cast the enum to int before use in switchs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 18:13:21 +00:00
Jérôme Duval
1f5188bb43
Part of patch from #6840 : GCC 4.5 complains about an out of bound access on version_descriptor, use the next field instead
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 18:05:22 +00:00
Jérôme Duval
32b9a38570
updated DevelopmentJava packages for r1a3 (based on .bep)
...
+alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-09 18:32:20 +00:00
Jérôme Duval
173a47a5da
revert r41986
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-09 18:15:35 +00:00
Jérôme Duval
b2dfb801a3
Second try at fixing #7572 (after r41842). Please review.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 22:23:44 +00:00
Jérôme Duval
dae8628f1b
.c => .cpp, build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 19:52:16 +00:00
Jérôme Duval
ae67ffbd06
* style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 18:50:53 +00:00
Jérôme Duval
c2826da6d7
make DevelopmentJava available for hybrid builds.
...
+alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 17:07:40 +00:00
Jérôme Duval
2925a66e80
revert r41842
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 22:17:56 +00:00
Jérôme Duval
e761436dee
Also enables the Initialize menu when the partition is also a device: Hopefully should fix #7572 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 21:42:35 +00:00
Jérôme Duval
6ec9dff3f3
ppc build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 19:51:45 +00:00
Jérôme Duval
3cd099e2d4
Patch from Jérôme Leveque: Work in progress: code cleanup (includes dos newlines and 80 chars by line)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 18:59:25 +00:00
Jérôme Duval
d61187a1f3
Patch from Pete Goodeve (ticket #7581 ): MIDI Pitchbend scaled wrongly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 18:29:07 +00:00
Jérôme Duval
bccbe7a7b9
Patch from Pete with changes by myself (bug #7558 ): BMidiSynth destructor should delete be_synth.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 18:39:04 +00:00
Jérôme Duval
c0b58c071f
* added some EHCI definitions (specification 1.1)
...
* enable per-port change events when available
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 19:44:09 +00:00
Jérôme Duval
cca52e7987
ehci usb driver:
...
* make sure the PortEnable bit is disabled (specification page 28)
* 250ms is too long: USB 2.0 specifies only 50ms. This prevented one of my devices to be detected.
+alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 18:43:29 +00:00
Jérôme Duval
db61366a55
Patch from Dhruwat Bhagat (bug #7537 ): Fix "'noreturn' function returns" warning on call to assert(0).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 13:15:46 +00:00
Jérôme Duval
1f4d9a57e3
revert now unneeded workarounds
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-17 23:02:44 +00:00
Jérôme Duval
7ea3c0686e
missing merge from FreeBSD 8.2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-17 22:45:18 +00:00
Jérôme Duval
22f4c33994
* select idle alternate when stopping the UVC device.
...
* set up a dumb deframer.
* received isochronous buffers can be zero length: loop instead of breaking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-16 17:31:38 +00:00
Jérôme Duval
26d28d0d1d
enable KASSERT in net80211 and fixes wrong uses of the macro.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-10 21:59:55 +00:00
Jérôme Duval
7df33d912b
* Implement inbound isochronous transfer for EHCI, based on UHCI implementation.
...
* changes next_log to their actual type instead of void*
* the field this_phy now includes the item type, it simplifies things.
* isochronous transfer descriptors are linked in the periodic frame list first,
and points to existing interrupt transfer descriptors.
This is still work in progress. Yet it's worth committing as it doesn't seem to
have impacts, and is required for the UVC SoC project. Tested basically with
usb_webcam to receive UVC stream headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-10 21:25:32 +00:00
Jérôme Duval
16d113f9e5
fix typo
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-10 21:05:41 +00:00
Jérôme Duval
676e23a6fa
NO_HAIKU_FIRMWARE_NAME_MAP defined an element {NULL} whereas the array length is zero
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 20:14:05 +00:00
Jérôme Duval
c356b0477f
spaces -> tab
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 19:36:47 +00:00
Jérôme Duval
eae25c8854
"intel_extreme" was printed twice
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 19:18:31 +00:00
Jérôme Duval
c5fc0286bc
style fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 19:16:42 +00:00
Jérôme Duval
fae2ac4671
Made ieee80211_ratectl_tx_complete and ieee80211_ratectl_rate functions no op instead of not calling these functions in each wlan driver.
...
This should be iso functionality.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 07:46:25 +00:00
Jérôme Duval
e5937bd21c
* fixed typo
...
* when removing a transfer, if this was the only one in the list, we set fLastIsochronousTransfer to NULL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-27 20:06:28 +00:00
Jérôme Duval
bf3381e771
activate some traces for EHCI bus driver (see bug #4718 )
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 21:25:00 +00:00
Jérôme Duval
745e924303
we don't report stats for now, as some init is missing for ratectl, this should avoid KDL for these drivers.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:00:33 +00:00
Jérôme Duval
2c31ec7222
added some glue to register correctly rate control modules
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-13 18:27:36 +00:00
Jérôme Duval
8dc03de632
merged changes from 8.2 FreeBSD release for most wlan drivers and net80211.
...
updated several firmwares for iprowifi4965 and iprowifi3945. Tested on iprowifi4965 only.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 22:48:42 +00:00
Jérôme Duval
19c52a6cec
some cosmetics
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 22:30:18 +00:00
Jérôme Duval
fa6b314427
adding iprowifi4965 and iprowifi3945 firmwares
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 22:29:00 +00:00
Jérôme Duval
d7b15506c1
* improves traces
...
* added _ProbeCommitFormat() and _SelectBestAlternate()
* to be noticed: BUSBInterface::SetAlternate() isn't const and there is no mean to get a non-const BUSBInterface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 21:54:25 +00:00
Jérôme Duval
c5a669052f
* style fixes.
...
* added SuggestVideoFrame() so that this can be overriden.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:59:30 +00:00
Jérôme Duval
d7411ad2ec
added traces for unimplemented isochronous transfers for ehci and ohci
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:39:17 +00:00
Jérôme Duval
0e76cf0b69
added some hub ports information to listusb
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 21:58:06 +00:00
Jérôme Duval
18451a0c36
Added skeleton XHCI driver by Jian Chiang, based on the specs and the EHCI driver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 18:00:30 +00:00
Jérôme Duval
6ccba002a8
adding more usbvce definitions
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 15:21:15 +00:00
Jérôme Duval
e34d20ad08
fix dstcheck rdef. Thanks diver!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:47:19 +00:00
Jérôme Duval
da97b3ed7a
support for top to bottom BMP files see #7342
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:28:30 +00:00
Jérôme Duval
c8cf09df90
add a resource file for dstcheck. Fixed #6903
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 20:31:17 +00:00
Jérôme Duval
4375e3f99c
* changed ERRPRINT macros to ERROR and TRACE
...
* ntfs log handler wasn't included for Haiku, it should be used to set up a log handler.
* style fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 18:42:34 +00:00
Jérôme Duval
f2df488aec
improves uvc information dump
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 19:32:58 +00:00
Jérôme Duval
e680f0fa21
rename the printf function in the compat layer to avoid symbol clash with kernel printf (at least on gcc4)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 23:11:48 +00:00
Jérôme Duval
0f4ab8dfd3
Comparing with i915 DRM:
...
* add a INTEL_TYPE_915M type to be used by 0x2592 (mobile version)
* 0x2e32 is actually non mobile, added its brothers 0x2e02, 0x2e12, 0x2e22, 0x2e42, 0x2e92
* 0x27a2 is actually mobile.
* added 0x2972, 0x2982, 0x2992 for INTEL_TYPE_965 type, and 0x2a12 for INTEL_TYPE_965M.
* added corresponding entries in intel_gart.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 11:57:20 +00:00
Jérôme Duval
0961433d2a
Patch from diver (bug #7329 ) with cleanup by myself: remove excessive localization
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:33:39 +00:00
Jérôme Duval
272551646d
update ecj package with a script fix, bootclasspath wasn't handled correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 18:26:00 +00:00
Jérôme Duval
8775d8d25d
dir_remove() now handles a path which ends with "/./" and fixed #6817 .
...
Another way would be to disallow removing such a path, as Linux does.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 17:17:19 +00:00
Jérôme Duval
548836e4f8
* if ioctl hook wasn't found, now returns B_DEV_INVALID_IOCTL
...
* in case fd_ioctl() was about to return B_DEV_INVALID_IOCTL, translate to ENOTTY to satisfy #7279 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:58:14 +00:00
Jérôme Duval
e523d3cfc1
changed ioctl hook return code when the opcode isn't supported.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:49:02 +00:00
Jérôme Duval
f53ec236e2
changed ioctl hook return code when the opcode isn't supported.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:24:19 +00:00
Jérôme Duval
0a42083169
updated gnu classpath package with a native built one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:19:38 +00:00
Jérôme Duval
1c53a6ee5d
added exfat to the image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 19:47:38 +00:00
Jérôme Duval
f21d8b47ba
* merged JamVM, Gnu classpath optional packages in a single DevelopmentJava. They're meant to work together anyway.
...
* added ecj in DevelopmentJava: I wrote a simple script around the ecj jar.
* added symlinks for jar and a few commands, mainly because classpath was cross built.
Enables to build natively Gnu classpath.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 15:33:48 +00:00
Jérôme Duval
57ceeee424
copy sig_action structure from the current thread if we're the same team. Helps with #7235
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 15:26:47 +00:00
Jérôme Duval
fa90700d74
reverted r40686
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 10:45:03 +00:00
Jérôme Duval
3116b031dc
FIONBIO and FIONREAD don't apply to directories, files, attributes: returns ENOTTY in these cases. This fixes #7279 .
...
ENOTTY could also be replaced with a B_ error code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 19:58:25 +00:00
Jérôme Duval
3a04b74922
Don't dereference thread after free(). Thanks to Stephan for noticing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 22:53:01 +00:00
Jérôme Duval
70e1a40a1d
replaced use of malloc.h with stdlib.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:33:12 +00:00
Jérôme Duval
bafa759148
now correctly init the thread id in the pthread struct for main thread and threads spawned with spawn_thread(). This definitely helps for #7235 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:28:59 +00:00
Jérôme Duval
921aaaa1ed
the test now works as expected on Linux, and not on Haiku, it was broken before.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 17:28:42 +00:00
Jérôme Duval
53c001249b
gcc 4.5 build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 22:57:20 +00:00
Jérôme Duval
b62dd5abd5
cleanup, header inclusion should be revisited.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:39:09 +00:00
Jérôme Duval
1cc2cf286c
Switched attribute type to B_XATTR_TYPE, as recommended by Ingo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:34:56 +00:00
Jérôme Duval
d13211ac40
style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 21:28:33 +00:00
Jérôme Duval
92e68ec1f8
added a simple test which seems to reproduce the bug encountered in jamvm
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 19:37:19 +00:00
Jérôme Duval
59158a8e1f
This fixes writing correct times, which I miss in the previous commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 06:15:01 +00:00
Jérôme Duval
ab7d0f0202
Fixed incorrect dates on ntfs volumes ( #7120 ).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 18:23:10 +00:00
Jérôme Duval
5788aadfe3
* Patch from diver: use vector icons in ColumnListView
...
* style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 18:20:40 +00:00
Jérôme Duval
0812493886
merged freetype 2.4.4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 17:55:28 +00:00
Jérôme Duval
cdd1c5c679
added additional power states
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 21:10:30 +00:00
Jérôme Duval
ac0d4d98e2
added experimental cross-built optional packages for JamVM and Classpath, gcc4 only.
...
Tested with a network capable little application, no gui classes available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 19:51:22 +00:00