Commit Graph

17884 Commits

Author SHA1 Message Date
Ithamar R. Adema d912bed187 Fix signature of network preference app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-20 18:20:53 +00:00
Jérôme Duval 3347e0c60b links against stdc++ as it could be needed depending of the cpp headers implementation
found by eNGIMa on gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-20 15:53:55 +00:00
Jérôme Duval 7d725e0df4 added weak symbols for inet_addr and inet_ntoa, normally exported by libnet.so
should be enough for bug #860, feel free to drop them if a libnet.so is created


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 16:17:02 +00:00
Jérôme Duval d75882bf8b finally add a good tmpfile function
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 14:31:40 +00:00
Jérôme Duval 13510b4105 added oldtmpfile.c to libroot.so, hopefully should fix bug #857
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 13:41:01 +00:00
Jérôme Duval 992b9b2b8f improved tracing handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 11:41:15 +00:00
Jérôme Duval 65afc3a011 also dump group and session ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 09:40:09 +00:00
Jérôme Duval 46a7b50c3b try to better handle signal for teams
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 22:51:07 +00:00
Marcus Overhagen b8759025a9 PXE stage 1 bootloader for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 21:51:07 +00:00
Jérôme Duval 0f15994178 fixed style
added copyright header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 14:31:11 +00:00
Jérôme Duval 64b776286e reordered declarations to match ACPI.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 13:36:54 +00:00
Jérôme Duval edf0dccab5 added missing api_version symbol
fixed debug output


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 13:24:05 +00:00
Jérôme Duval a0e9b7d3ee added canna method in an optional directory of the HD image, for testing purpose
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 12:25:36 +00:00
Jérôme Duval c49e0c68b0 dropped a useless arg of the KernelAddon rule, hope I don't mess anything
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 10:02:13 +00:00
Marcus Overhagen 5c7f19a073 new boot platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 00:19:11 +00:00
Marcus Overhagen 5858929e12 fixed previous fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:49:30 +00:00
Marcus Overhagen 891a127fec various gcc 4 related build fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:34:22 +00:00
Marcus Overhagen 3ec18e87d6 various GCC 4 build fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 15:08:41 +00:00
Stefano Ceccherini d67b1efc99 Fixed broken endlines. This breaks a bit more 'password mode', but it wasn't 100% working yet anyway
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 13:34:15 +00:00
Marcus Overhagen dad360027a switch back to local system gcc headers, the outcome is similar unuseable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 13:32:53 +00:00
Stephan Aßmus fd49bce12e * For DrawBitmap(), the bitmap rect needs to be aligned onto pixels
just like the view rect. This fixes bug 721.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 11:55:23 +00:00
Marcus Overhagen 6636d6b74f fixed two warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 01:06:23 +00:00
Marcus Overhagen 20e1d3e5e2 added _Unwind_* to make the gcc 4 linker happy, but I'm not sure if this is the correct way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 00:05:21 +00:00
Marcus Overhagen 12cf623f5c unified callback parameter definition of size_t and uint32, now uses size_t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 23:35:26 +00:00
Marcus Overhagen 82029bdae8 added missing nothrow parameter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 23:25:56 +00:00
Marcus Overhagen 0ff6a5fd11 removed __declspec
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 22:44:35 +00:00
Marcus Overhagen 274b450ab8 gcc 4 only: modified the previous change to allow fallback to local C++ system headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 22:25:49 +00:00
Marcus Overhagen e3c3c19859 gcc 4 only: when not building the cross compiler, use haiku default C++ headers from source tree (haiku/headers/os/cpp), instead of local system headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 21:57:13 +00:00
Marcus Overhagen a07acab41b fixed assembly code to compile with gcc 4.0.3. the original code was invalid, as there is no mov instruction to
move a 16 bit segment register into 32 bit memory location, and movzx (called movzwl within gcc) doesn't work with 
segement registers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 20:40:19 +00:00
Marcus Overhagen 6639eae245 prevent possible crash
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 19:58:41 +00:00
Oliver Tappe f7784f57e2 * removed debug output...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 15:43:49 +00:00
Oliver Tappe af4bf973bb * fixed dependency of build_cross_tools on version of legacy compile, this finally fixes
building of cross-compiler on Linux (as reported by korli, thanks!).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 15:40:36 +00:00
Michael Lotz 48080d8c54 Quick workaround for a appearantly common problem (getting the initial state of a hid device hanging the system).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 00:39:58 +00:00
Michael Lotz bcc2d1b69a * Implemented usable thread synchronisation for UHCI and EHCI.
* Cleaned interrupt handlers for both busses, too.
* Fixed memory leak of the queue head stray descriptors in EHCI.
* Fixed warnings about assigning NULL to the module flags field.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 00:06:04 +00:00
Michael Lotz 6f52af5f5c Adding compatibility headers to enable R5 build of the USB stack again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 20:11:20 +00:00
Michael Lotz dff0c634db * Implemented transfer finishing in EHCI
* Implemented actual length calculation in EHCI
* Implemented bulk transfers in EHCI
* Implemented queue freeing in EHCI
* Added extended buffer pointers to the EHCI structs, necessary when the controller supports 64bit
* Fixed debug output and removed warnings due to wrong print format

Control and bulk transfers are now working nicely for EHCI. This means that I can now get pictures from my camera with USB 2.0 speed. Note though that many things still are unimplemented (isochronous transfers, split transactions, interrupt transfers, queue chaches per pipe, ...). But it's certainly a nice step forward :-).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 19:44:31 +00:00
Jérôme Duval 8c0342c639 update with methodsynopsis
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 14:17:12 +00:00
Jérôme Duval 61b4dc2c64 improves the checks : now includes initializer, virtuals
style fixes
HeaderSampler.pl now outputs the good methodsynopsis content to copy/paste


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 13:56:32 +00:00
Jérôme Duval 71d23319cb adapted the sampler to check for "<methodsynopsis>..." type signatures
fixed midi2endpoint.xml and midi2producer.xml accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 12:18:01 +00:00
Jérôme Duval f257fcab01 some fixes on links and syntax
now default language is cpp, modified synop.xsl to have language param looked at instead of just the node attribute
also added midi files to dependency check


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 09:38:15 +00:00
Marcus Overhagen 4462d8b41b implemented split_buffer()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 23:04:54 +00:00
Michael Lotz f452f9dc78 * Implemented most qTD and qH functions for EHCI async transfers.
* Implementing control and bulk (async) transfers. They don't work yet though.
* Corrected the legacy support handling in EHCI
* Fixed the bit mask for total bytes in qTDs and added the data toggle bit
* Changed the boolean low speed flags to usb_speed enum that allows for low, full and highspeed

Also wrote a memory allocator that takes over memory management from the stack. It is similar to a buddy allocator. This does on the one hand remove some ugly code from the stack and is on the other hand far more scalable than the previous free list approach. This scalability is needed for proper EHCI support where buffers can go up to a size of 5 pages. The allocator is not perfect and it's memory overhead is quite high compared to the managed memory (depends on the managed block sizes), but it's quik and works well so far.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 21:59:14 +00:00
Niels Sascha Reedijk 770684cf94 Continue conversion to the new structure. I have some more ideas on the structure, but that will come in a next iteration.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 21:44:35 +00:00
Stephan Aßmus e20af02a1d * now draws disabled icons fine when they are B_RGBA32
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:14:17 +00:00
Stephan Aßmus 358b3c8e76 * don't mess so much with the drawing and blending mode when
drawing icons, most importantly, don't switch from compositing
  to pixel alpha, this fixes the drag bitmap generation, now
  it looks beautiful


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:13:11 +00:00
Stephan Aßmus ebe10933dd * when the group of dragged icons was a bit larger, the
bitmap was not completely transparent, but had a faint
  shadow, I removed this, though it seemed to be on purpose,
  I have no idea why... it looked like a bug


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:11:19 +00:00
Stephan Aßmus 5fa040e3b9 * some clean up for style guide conformance
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:08:15 +00:00
Stephan Aßmus d39634ce4d * on R5, the meaning of B_CONSTANT_ALPHA is a bit different
with regards to drawing bitmaps with alpha channel, instead
  of ignoring the bitmap alpha channel, it is further multiplied
  with the high color alpha channel, so basically, you can
  use the high color alpha as a "global" alpha value to
  draw the bitmap with
* removed some duplicate code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:07:02 +00:00
Stephan Aßmus 846cc588f2 * a fix for the bug where clicking a window decor button drew
over the mouse cursor. The problem is actually something else:
  non-straight lines extend a little past the calculated rectangle 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:03:39 +00:00
Stephan Aßmus ae540011ed * when the layout branch was merged, the same problem
got fixed twice, any unoptimized lines were drawn at
  a (0.5, 0.5) offset


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:00:09 +00:00