Commit Graph

17795 Commits

Author SHA1 Message Date
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
Stephan Aßmus
a907e70198 * a hack to support transparent CMAP8 color in bitmaps
(this would fix the white background on disabled looking
   icons if Tracker would still use B_CMAP8 icons)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 17:57:37 +00:00
Stephan Aßmus
af957c251b * don't read the frame buffer a second time when no
blending has to take place


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 17:55:55 +00:00
Stephan Aßmus
a89fb19365 * on R5, invalid BRects cannot be used with FillRect(), Haiku is
compatible now. This fixes the last remaining drawing bug in
 SoundRecorder.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 17:54:17 +00:00
Stefano Ceccherini
575a68b317 Implemented BTextView::HideTyping(). Now it will display B_UTF8_BULLET
chars instead of the real text if this option is enabled. Note that 
there are problems with the text width, i.e. the calculation is still 
done with the "real" chars, leading to text corruption.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 14:51:18 +00:00
Stefano Ceccherini
3a70724f43 Finally nailed that bug which caused text not to be drawn in some cases... OffsetAt() was returning 1 instead of 0 if you clicked on an empty BTextView due to a bug in NextInitialByte() . Some cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 13:17:47 +00:00
Jérôme Duval
c5ede1427a applied a fix for methodsynopsis from docbook svn revision 6147
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 12:26:32 +00:00
Stefano Ceccherini
277a78abf5 some cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 12:11:29 +00:00
Niels Sascha Reedijk
6caa106f8b Update the format of the midi2endpoint.xml file. This is a proposition on what the files should look like.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 10:51:16 +00:00
Jérôme Duval
d655064c93 drop class names in docs
various style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 10:04:11 +00:00
Jérôme Duval
d0641c6210 take namespace into account (they don't end with a ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 10:02:26 +00:00
Jérôme Duval
a18f94dc5b added support for three lines signatures
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 09:41:08 +00:00
Jérôme Duval
226d853410 a tool to check a docbook file against a C++ header : it will output methods not found in the docbook file
typical command line :
perl src/tools/docbook/headersampler/HeaderSampler.pl headers/os/midi2/MidiConsumer.h src/documentation/haiku_book/midi/midi2consumer.xml


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 09:11:01 +00:00
Stephan Aßmus
4423855cbd This is the kind of bug you can search for hours. At first, I suspected
a concurency problem in the DrawingEngine, so there is some debugging
stuff added, as well as some unnecessary locking removed there. The
problem was in Painter though, in that certain functions adjusted clipping
at the "rasterizer level", while some other functions didn't care about
that. Now the clipping is consistently set at the rasterizer level (rough
estimate to avoid scanline generation outside real clipping region bounds).
There are a number of bugs fixed by this, I'm going to find out later,
what their ticket numbers are... Mouse preflet draws the mouse now,
Backgrounds preflet draws the screen reliably... probably more, anything
to do with bitmaps, round rects and possibly ellipses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 20:02:00 +00:00
Jérôme Duval
deb109cc84 fix some signatures, cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 14:11:42 +00:00
Jérôme Duval
41bcef87e5 fix some signatures, clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 13:59:46 +00:00
Jérôme Duval
5c6b99aafa fix to match the header methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 13:40:51 +00:00
Jérôme Duval
769952f1a1 clean method signature to match the doc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 13:30:33 +00:00
Jérôme Duval
55815ae60b restored glapi.c as it seems needed by libGL.so, maybe it should be placed in another object file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 13:42:29 +00:00
Niels Sascha Reedijk
d419ca3b7b Update API documentation and Doxyfile to improve the output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 12:13:49 +00:00
Axel Dörfler
946d88f90b We're now using the same priorities for windows as BeOS does - this should improve
the responsiveness of the GUI, and should also fix bug #742.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 11:11:22 +00:00
Jérôme Duval
d75df30b25 fix R5 build as suggested by Stefano (please check :))
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 09:58:48 +00:00
Jérôme Duval
98e3c1a41e removed glapi.c from libmesa.a as suggested by phoudoin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 09:49:49 +00:00
Jérôme Duval
fc60eb7983 added mime type for image/x-targa
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 09:35:38 +00:00
Jérôme Duval
225a60f167 only load user addons when not in safe mode
fixes bug #842


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 08:45:29 +00:00
Jérôme Duval
af7808fe71 free channel on error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 08:30:48 +00:00
Axel Dörfler
5bab2844c1 This fixes the crashing bug #849. Unfortunately, it still crashes, just at a different location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 00:22:10 +00:00
Marcus Overhagen
720f6072d1 Fixed the interrupt handler. however, it should still be fixed again later...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:41:41 +00:00
Jérôme Duval
0981e2db9c added a package for intel_extreme driver/accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:37:21 +00:00
Marcus Overhagen
7806a9c1f8 fix detection of 3114 chipset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:08:59 +00:00
Marcus Overhagen
329dab53e0 fixed the complete system lockup by programming the hardware interrupt masking properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:07:28 +00:00
Jérôme Duval
ed67ddb83d break the loop when a device/vendor is found
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 21:53:44 +00:00
Marcus Overhagen
f1c3399c17 fixed driver loading issue (thanks Korli)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 21:25:01 +00:00
Marcus Overhagen
c70dfe02cf fixed debug output and added some more
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 16:41:10 +00:00
Marcus Overhagen
a6e8772d9f fix debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 16:37:02 +00:00
Stephan Aßmus
aac40c99c2 * Tracker makes sure certain mimetypes exist and copies icons from
its resources -> now also the vector icons (thanks Jérôme for
  the hint)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 15:12:50 +00:00
Jérôme Duval
2634e48f59 try at taking into account the subvendor id and the subsystem id for device info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:36:44 +00:00
Jérôme Duval
2c5c51146a update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:32:23 +00:00
Stephan Aßmus
59deaf10bc various changes to improve integration of vector icons
* Deskbar uses 32 bit icons now
* vector icons are now correctly converted to B_CMAP8 bitmaps
  if no B_CMAP8 icon is available
* small fixes in Tracker (window mode menu)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 10:52:01 +00:00
Jérôme Duval
92bc2d0fc5 added supports_device() and get_path() functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 09:32:48 +00:00