Commit Graph

17956 Commits

Author SHA1 Message Date
Ryan Leavengood
2660d61ad6 As I said I would:
1. Deleted headers/shared/
2. Added a Jamfile to src/shared to build it into a static library libshared.a.
3. Removed my changes in the build/jam directory.
4. Have ShowImage include libshared.a.

I forgot to add AboutWindow.h to headers/private/shared. I will do that next.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-13 02:35:29 +00:00
Marcus Overhagen
1b842f776a Moved some functionality from avi_reader into OpenDMLParser.
Added basic seeking support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 20:44:45 +00:00
DarkWyrm
e5c4c7b679 Updated button bitmaps to the Haiku-like style agreed upon quite some time ago.
Made some layout tweaks to handle the different size bitmaps.
Sorry I took so long in getting around to this. ;-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 17:00:00 +00:00
Marcus Overhagen
b991dadc45 small coding style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 16:12:57 +00:00
Stefano Ceccherini
cca1217c5b fixed the colors of the shift modifier bitmap to be consistent with the others. Actually, though, I'm not sure which one is better
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 14:47:33 +00:00
Stefano Ceccherini
20e85f1c09 Use BBitmap::ImportBits() to get rid of the padded bitmaps
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 14:35:36 +00:00
Stefano Ceccherini
af03527240 Changed the loop to compute the column layout: Now the space for
modifiers is added after we've calculated the maximum width. This way we 
don't get overlapping between the menu content and the modifiers bitmaps 
themselves. TBR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 13:16:39 +00:00
Stefano Ceccherini
37ddfd14ab Shortcut characters are aligned even if there's a submenu, like
discussed in the thread in haiku-development. I added a fSubmenus member 
to BMenu, to be able to tell from BMenuItem if there are other items 
with a submenu (maintained in BMenuItem::SetSuper()). If you don't like 
this solution, let's just revert.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 12:28:06 +00:00
Stefano Ceccherini
fbe2f227ca Some work on menu layouts:
- Menus are generally a bit wider (BeIDE ones didn't look nice)
- The modifiers bitmap are drawn more centered vertically
- Splitted BMenu::ComputeLayout() into three methods
- Various minor changes.
The menuitems still don't look nice with bigger font sizes, but we'll 
try to fix this...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 09:10:08 +00:00
Ryan Leavengood
c233a5b78d Remove debugging printf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 04:05:13 +00:00
Ryan Leavengood
c9f7b3b7d3 The zoom level needed to be reset to 1.0 after loading an image, otherwise it
would keep the zoom level of the previous image in some cases.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 04:02:50 +00:00
Ryan Leavengood
5a1210fbef Moved the BAboutWindow implementation to the shared source directory, which
despite being talked about repeatedly, does not currently exist.

Adding this required adding some new Jam rules to deal with this shared source
directory and headers. I had some fun figuring this out. Despite writing
articles about Jam in the Haiku newsletter a few years ago I still find Jam to
be a PITA at times.

But my solution seems to work pretty well. Basically you just call the rule
UseSharedSource and pass the name of the shared source file you want to use.
This rule sets up the header directories and the right Jam variables for the
source file. You then add the source file to the source list in the Application
rule like any other source file.

I also made the authors list sent to the about window constructor null
terminated instead of passing the size of the array, as suggested by Hugo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 03:54:07 +00:00
Axel Dörfler
31d4291174 Fixed overlay distortions on Radeon cards introduced with r20277.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-11 19:11:48 +00:00
Ryan Leavengood
a8a83855b0 Initial implementation of the common BAboutWindow class. Of course I just
realized that calling it a window may not be strictly correct since it isn't a
decendent of BWindow, but just uses a BAlert. Oh well, it can be changed if
need be.

I'm also checking in the first use of it, in ShowImage. Since ShowImage can
still be compiled for R5 I've added a #ifdef around the new BAboutWindow
related code.

I'm open for suggestions for the interface for this class, well mostly the
constructor. I'm not a big fan of having to specify the number of authors.

For now I'm making the header private, but I don't think it would be a big deal
to expose it publically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-11 00:14:32 +00:00
Marcus Overhagen
59ab99e7c6 Preparation of seek support. Put AVI index handling into different files. Preload the full idx1 (standard) index during file opening.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 23:13:28 +00:00
Stephan Aßmus
e31380534b * GCC4 compile fix by Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 20:29:44 +00:00
Stephan Aßmus
a9c2d6b320 * compile fix, thanks to Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 20:24:48 +00:00
Stephan Aßmus
f32e3a29b0 * implemented default buttons
* window size limits are correctly set
* one can now chose between horizontal and vertical layout
  (brilliantly simple with the new layout system :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 19:58:16 +00:00
Ingo Weinhold
a938e3222a Used the names of the tested classes as the test names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 17:30:42 +00:00
Ingo Weinhold
651a825f3e Added static factory method to all test classes and improved the program
invocation (e.g. it list what tests are available now).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 17:27:34 +00:00
Ingo Weinhold
aa9303f41e Moved tests into a subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 17:02:33 +00:00
Ingo Weinhold
657c013bb0 Added a test for BListView. There's little layout related to test, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 16:54:49 +00:00
Ingo Weinhold
9eae7400a4 Implemented layout-friendly constructors. Also added MaxSize(), though it
only invokes the BView version. Didn't know what to do with MinSize() and
PreferredSize(). ATM they return fixed, hard-coded values. It might make
sense to compute something depending on the font size, for instance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 16:52:42 +00:00
Jonas Sundström
f0a98802e4 Removed code for using Pulse's colors. Minor changes to About window. Renamed menuitems Launch Tracker/Deskbar to Restart Tracker/Deskbar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-10 14:15:09 +00:00
Jonas Sundström
11f685ec2b Listview deselection fix. Edit button added. Open in Tracker renamed Show in Tracker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 23:08:30 +00:00
Jonas Sundström
8093755eb6 Fix two consequtive BSeparatorItems when Deskbar isn't running. This was due to the removal of "Use Pulse's Settings for Colors".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 16:39:47 +00:00
Jonas Sundström
9eb8022e0c Keeping track of versions of preferences is overkill for simple applications IMO, but the logic in PCApplication::ReadyToRun() needs this, or else the BAlert pops up on every launch. I think this could be rewritten/simplified.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 16:23:22 +00:00
DarkWyrm
ff6ef6d397 Proofreading fixes for the last half of the document
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:19:05 +00:00
Stephan Aßmus
25648ff020 * added LaunchBox, an application launcher with drag&drop support
* it has been rewritten from using liblayout to use the new Haiku
  layout framework
* TODO: it should come with default settings
* TODO: the minimum window size is not yet set by the layout framework (?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:01:39 +00:00
Jérôme Duval
35169c9564 updated to tzdata2007f
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:00:06 +00:00
Stephan Aßmus
a5a90db701 * move include of SupportDefs.h to header, since the types are used there
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 11:58:59 +00:00
Stephan Aßmus
333a5985cf * vector icon, work mostly by zuMi and tweaks myself
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 11:58:08 +00:00
Stephan Aßmus
8812976dce * implemented icon size and layout to depend on the system plain font size
(currently, a font size above 16pt will make the icon 64x64, TODO: some
  of the other insets could depend on that value too)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 11:37:13 +00:00
Ingo Weinhold
da3addea5f Removed incorrect parameter validation in ResizeBy(). Resizing a view to a
negative size is perfectly fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 11:21:17 +00:00
Jérôme Duval
53fa6fbc76 updated libpng to 1.2.18, thanks Fredrik!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 10:59:46 +00:00
Ingo Weinhold
e652af1f63 * Pulled most of the implementation of ButtonTest into a new super class
ControlTest.
* Added a test for BCheckBox.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 10:55:32 +00:00
Ingo Weinhold
c594b2f5f2 Added layout-friendly constructors and implemented Min/Max/PreferredSize().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 10:52:36 +00:00
Ingo Weinhold
6bef4a07d6 * Added default value for message in two arguments constructor.
* Removed resizing to minimum height in layout-friendly constructors.
* Cache preferred size.
* Implemented all of Min/Max/PreferredSize().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 10:51:15 +00:00
Ingo Weinhold
a2c9eeee87 Added layout-friendly constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 10:47:05 +00:00
DarkWyrm
d43de0207a Proofreading fixes for about the first half of the document
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 04:15:27 +00:00
Ingo Weinhold
fa635377e0 Extended the BBox test. One can now play with label and child view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:48:08 +00:00
Ingo Weinhold
4ac1c030e2 New helper class TestView.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:46:25 +00:00
Ingo Weinhold
691d242ba1 Override BView::InvalidateLayout() as well to avoid stupid compiler warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:45:25 +00:00
Ingo Weinhold
21156fc9e0 Aesthetical changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:43:42 +00:00
Ingo Weinhold
4b5e868dcd Fixed header guard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:42:50 +00:00
Ingo Weinhold
caf8aba2c9 * Added layout-friendly constructors and implemented Min/Max/PreferredSize(),
and DoLayout(). When the B_SUPPORTS_LAYOUT view flag is set (as is by
  default when using one of the new constructors) the BBox completely manages
  one true child (the first child that is not the label view).
* Centralized the layout related computation in new method
  _ValidateLayoutData(). The computed infos are cached in a new private
  LayoutData structure.
* GetPreferredSize() was broken in several respects. It does now return the
  same result as PreferredSize(). If B_SUPPORTS_LAYOUT is not set, these are
  the sums of the insets induces by the frame and the label. I.e. those values
  can for instance be added to the child's preferred size to compute the
  preferred size of the compound.

Not sure, if the Haiku-only TopBorderOffset() and InnerFrame() functions still
make sense. With layout management they're actually superfluous.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:40:16 +00:00
Ingo Weinhold
d432839022 * Set the _RESIZE_MASK_ macro to 0xffff. It was the bitwise inverse of the
disjunction of all view flags before, and the new layout related flags were
  missing. I suppose there was not striking reason for previous method.
* Made InvalidateLayout() virtual. When implementing layout management
  directly in a derived class instead of a separate BLayout, one needs to
  override it to know when to discard cashed layout infos.
* Added a ResizeTo(BSize) method.
* Avoided ugly multi-line strings in PrintToStream().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:24:38 +00:00
Ingo Weinhold
dd5ac13b5f * Added FixSizeConstraints() functions, which adjust the elements of a (min,
max, preferred) size triple so that they are compatible with each other.
* Implemented AlignInFrame(BView*, BRect).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:14:48 +00:00
Jérôme Duval
428d4d161b updated mesa to 6.5.3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:00:44 +00:00
Jérôme Duval
583b66bf18 added trunc, truncf (and truncl on x86) from glibc
should help on bug #1260


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 18:33:02 +00:00
Stefano Ceccherini
d9be8bc0fe Got rid of a global, hope no one minds
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 09:44:13 +00:00
Ryan Leavengood
96493dcae9 Better name: result becomes lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 05:04:33 +00:00
Ryan Leavengood
26c1085f1b Inspired by Daniel Sandler's Mac OS X recreation of Message, I've added a
little rounded box on the bottom with the full message in it.

Given that currently this version only uses fortune to get it's message this
allows maximum enjoyment of the little anecdotes and jokes provided by fortune.
Though after testing this 60+ times today I'm starting to get sick of fortunes.

I've implemented everything myself here, including breaking the string up on
newlines and drawing each line of text with the right vertical spacing. I
suppose some clever use of BTextView would have been better. But this works
fine and wasn't that much code.

I'm not sure if this was the most productive use of the last 5 hours, but I
learned quite a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 04:59:14 +00:00
Marcus Overhagen
27cc6d1f0f check for scale==0
parse strn chunk
fix spelling errors
prepare for INFO list parsing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 22:03:11 +00:00
Marcus Overhagen
f44764386f code cleanup: replaced bool results with status_t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 20:15:34 +00:00
François Revol
fc362b8ad7 handle api_version exported from driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 12:46:20 +00:00
Ingo Weinhold
0ce9bc6895 * Pulled generic button code out of CheckBox into a new base class
AbstractButton.
* Added RadioButton and RadioButtonGroup.
* In the BBox test the border style can be switched now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 04:11:17 +00:00
Ingo Weinhold
3ff21b6bf7 libasdrawing.a was including a plethora of libraries. Not sure, what ar
made of this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 01:50:50 +00:00
Ingo Weinhold
4ee595e300 Fix the build. IMHO it's really ugly to use syscalls without even including
<syscalls.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-07 01:38:58 +00:00
Ingo Weinhold
3111f163b5 Fixed libbe_test build of app server:
* Added <safemode.h> headers.
* Added a failing _kern_get_safemode_option() to libhaikucompat.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-06 19:29:41 +00:00
Ingo Weinhold
9e0276b75d Also include <syscalls.h> where _kern_get_safemode_option() is declared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-06 19:24:20 +00:00
Stefano Ceccherini
77974ff171 some forgotten fVariable -> sVariable renaming
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-06 13:20:50 +00:00
Jonas Sundström
6677ea8715 Makes Switcher icons draw with alpha transparency from the start as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-06 01:12:19 +00:00
Axel Dörfler
96726e7e24 * Applied Stefano's patch to fix bug #1241; BScrollBar::SetValue() did not work
correctly for out of bounds values.
* BView::ScrollBy() now limits itself to what eventually attached scroll bars allow;
  this fixes the problem Stefano was observing after having applied his patch.
* Reenabled the limit check in BScrollBar::SetProportion(); after the above fix, I
  could not see any misbehaviour of Tracker anymore; IOW Tracker did not rely on
  this before, it was just hiding another bug :)
* Minor cleanup in ScrollBar.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 23:58:21 +00:00
Stephan Aßmus
2a72b9fead * re-enabled the InfoWin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 23:23:44 +00:00
Jérôme Duval
1068e2caf5 fixed app signature
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 19:24:28 +00:00
Axel Dörfler
021ebd611a Fixed a warning when compiling Tracker for BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 17:54:47 +00:00
Axel Dörfler
618b37dc46 Fixed various incorrect uses of the erase() method of several STL containers I introduced before. Thanks to Stefano for the hint!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 17:45:02 +00:00
Stefano Ceccherini
2f03d0e0ed Changed the loops in BHandler::_SendNotices() and ::_ValidateHandlers().
See also r20183.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 13:15:45 +00:00
Stefano Ceccherini
bfab6b7394 Added some code to fix bug #953. If the mouse moves a bit while the
buttons are down, the popup menu won't become sticky.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 13:05:14 +00:00
Stefano Ceccherini
059ca4bd97 Some other changes, make sure we delete all resources on destruction
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 12:10:44 +00:00
Jonas Sundström
75159db429 The menubar icon at the top-right of Tracker folder windows now uses the view color of its parent view. This fixes bug #551.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 12:09:44 +00:00
Stefano Ceccherini
cf5948ae6c BMenuFrame overlapped partially with a BMenuScroller. This fixes the
spurious lines drawn over the menu. Thanks to Stephan for making me 
notice this!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 11:50:15 +00:00
Stefano Ceccherini
3616859a05 Changed the interaction between BMenuFrame, BMenuScroller and
BMenuWindow. BMenuScroller now is just the scroller button, and it's a 
child of BMenuWindow. This simplifies attaching/detaching the 
scrollers, and it's also a bit cleaner. 
The lower scroller wasn't shown anymore for some reason, and this commit also fixes this problem.
A drawing bug shows up now, though: when scrolling the menu UP, some 
spurious lines are drawn over the menu. I wonder if this is an 
app_server bug or what.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 10:20:06 +00:00
Axel Dörfler
b851137be0 * Now replaces the first argument with the actual function name as find_command()
also works for partial matches (which for example broke "running" and "ready"
  when you only entered a part of it).
* Renamed the global args pointer to sArguments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 22:31:24 +00:00
Axel Dörfler
694b9a7778 Fixed build under Dano; doesn't work there, though, but hangs on start in some endless loop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 18:21:44 +00:00
Axel Dörfler
7aced0c776 * The second open will now fail, too, in case the hardware could not be initialized
correctly.
* Got rid of this superfluous cookie stuff - either the VFS behaves correctly, or
  we're screwed anyway.
* Made adding debugger commands optional depending on if DEBUG_COMMANDS is defined
  or not.
* Minor other cleanup.  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 16:04:05 +00:00
Axel Dörfler
3bac9ea19a * Work in progress to support the i965 chipset as well; still works on i865, but
doesn't work on i965 yet.
* B_GET_DISPLAY_MODE now returns the mode actually configured in the chip instead
  of the last mode set; while this isn't really necessary, it allows to check what
  mode was used during startup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 15:32:01 +00:00
Stefano Ceccherini
189360b5d8 Initialize all variables in the constructor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 14:09:16 +00:00
Stefano Ceccherini
1c86f4892b Renamed a couple of variables, for easier reading...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 12:20:58 +00:00
Stephan Aßmus
415ef601df * probably fixed the build, did I forget some files before?
* implemented full undo/redo for any playlist operations


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 01:00:03 +00:00
Axel Dörfler
8d1317e1b6 get_next_loaded_module_name() now uses the same (inefficient) mechanism read_next_module_name() is using thanks to Siarzhuk - the previous mechanism was completely unsafe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 23:09:59 +00:00
Axel Dörfler
65c61fbf2d * Applied a patch by Siarzhuk Zharski that allows open_module_list() to be
used during early boot. Thanks!
* Fixed open_module_list() so that it can deal with a NULL prefix.
* Added a note that get_next_loaded_module_name() is implemented incorrectly.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 22:55:09 +00:00
Axel Dörfler
564c60d830 Fixed an initialization problem of the ReadWriteLock pointed out by geist, also added a comment on how the ownership is used when doing read locking. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 21:52:11 +00:00
Axel Dörfler
4fc538a920 No longer allow the shutdown window being closed using the shortcut. Patch by Jonas Sundstrom, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 21:43:20 +00:00
Stephan Aßmus
cc2fbed22d * implemented infrastructure for undo/redo of playlist operations,
everything regarding playlist modification is now tunneled through
  the playlist window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 21:24:47 +00:00
Axel Dörfler
1e651d5b4f Modal windows no longer install the 'Q' shortcut anymore. This fixes bug #1256.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 20:33:56 +00:00
Axel Dörfler
b2ed0e7acf Implemented "fail_safe_video_mode" boot option; if you're using it, the app_server
will not load any graphics driver (other than VESA).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 20:20:19 +00:00
Stephan Aßmus
7d7550a04b * by popular request, you have to hold shift down in the playlist window
when you want to replace the playlist by the stuff you are dragging,
  the default behaviour is now to insert/append it to the existing items



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 20:18:55 +00:00
Axel Dörfler
288e17885a Implemented B_CLOSE_ON_ESCAPE as mentioned on the mailing list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 19:23:03 +00:00
Stephan Aßmus
708491da60 * fix stupid bug that prevented the playlist to be seen at all in Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 15:18:31 +00:00
Stephan Aßmus
09464bc90b * extraced PlaylistListView into it's own files
* lots of changes, besically these make the Playlist window usable
  - drag sorting works (hold shift to copy instead of move items)
  - removing items with the delete key works
  - dragging files/folders from Tracker works (hold shift to insert
    them in the existing playlist, othewise the new files replace
    the playlist)
* some refactoring and bug fixes in previously unused functionality
* Playlist can now be locked (needed to be), and is in ControllerView,
  MainWin and PlaylistListView


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 14:35:48 +00:00
Axel Dörfler
c1dac92abf Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 12:36:39 +00:00
Stephan Aßmus
1ad1713ad2 * applied patch by Jonas Sundström,
makes the Escape key cancel the restart/shutdown dialog


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 08:18:34 +00:00
Stephan Aßmus
0d9c65d558 * applied patch by Jonas Sundström, the draggable icon in the Find window
will be drawn with alpha channel


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 08:16:13 +00:00
François Revol
0f609eb290 Fix some warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 00:45:56 +00:00
Stephan Aßmus
d329f1d6c1 * cleanup in MainWin, better grouping of functions in .h and
moved functions in .cpp accordingly, prepended private methods with _
* disabled InfoWin, because it accessed members of MainWin directly, 
  will be reimplemented with notification mechanism
* fixed the bug with the multiple error alerts for an unsupported file,
  the window should use the current file index from the notification
  itself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 23:22:30 +00:00
Marcus Overhagen
9e448b6224 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 23:16:54 +00:00
Stephan Aßmus
b2d0e81723 * as an observer, the view needs to handle all observer notification messages,
or else these messages end up in the window MessageReceived()
  (since the MainWindow was observing the same notifier, it received some
  notifications twice, which was part of the reason that unrecognized files
  produced multiple error messages as reported by Marcus)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 22:53:09 +00:00
Marcus Overhagen
f56bdbb994 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 21:01:38 +00:00
Marcus Overhagen
1d18292953 Moved creating and destroying of Reader and Decoder plugins into the PluginManager class.
Removed deferred initialization from BMediaDecoder. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 20:00:48 +00:00
Stephan Aßmus
1518e4101b * Icon-O-Matic prepends a magic number when writing native files, this way
we can associate these native files with Icon-O-Matic (they also get their
  own mime type)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 18:35:29 +00:00
Marcus Overhagen
81fb129880 put InitCheck back
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 16:49:37 +00:00
Stephan Aßmus
b52415cc2e * added Ithamar R. Adema to the list of active developers
* moved Siarzhuk Zharski and François Revol from contributors
  to the list of active developers
* moved Thomas Kurschel to the list of contributors
* added Michele aka zuMi to the list of contributors
Disclaimer:
* I might have forgotten someone who should be in active developers
* I didn't mean to discourage anyone
* I am against having three separate lists anyways... :-)
* Please take it as what this is: I wanted to put Ithamar and zuMi in there
  and did some cleanup along the way...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 11:17:38 +00:00
Stephan Aßmus
7a883ee67a * new video icon, based very much on icon submitted by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 11:05:57 +00:00
Stephan Aßmus
1dde2ccb3e * added bookmark and volume mimetimes, don't know about bookmark, but I think
it should be reused by whatever browser we end up with



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 21:32:50 +00:00
Ingo Weinhold
46f4d84912 * Got rid of sLoadingImages. It was always empty.
* The previous symbol resolution code was incorrect. It would search all
  loaded images in the order they had been loaded. Thus an add-on would
  possibly see a symbol of an earlier loaded add-on. Now we search
  recursively starting with the respective root image (executable or
  add-on).
* Added BeOS style symbol resolution and made it the default. A symbol
  undefined in an image is only searched in its direct dependencies.
  Fixes bug #889 (BeOS apps crashing under Haiku when opening a file
  panel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 18:09:32 +00:00
Stephan Aßmus
b31d4c4373 * messed up the build... ICON->VICN
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 17:32:55 +00:00
Stephan Aßmus
6bcb391782 * added icons for Devices, Joystick and Printers
-> done by zuMi with very minor modifications by myself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:37:03 +00:00
Stephan Aßmus
9f566fb9c2 * added modem icon done by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:32:30 +00:00
Stephan Aßmus
df50d6f79d * added query, query-template, printer, generic printer, floppy and bookmark icons.
-> all done by zuMi sometimes with minor modifications by myself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:28:39 +00:00
Stephan Aßmus
61e7b772ea * added the symlink type, icon is also based on work by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:26:04 +00:00
Stephan Aßmus
fe2d08af25 * added mimetypes for query and query-template
-> icons were done by zuMi, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:23:07 +00:00
Ingo Weinhold
0c0fea5de2 elf.c -> elf.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 06:46:57 +00:00
Axel Dörfler
d6f8cacab9 Moved the (currently very simplistic) code to check if a display_mode is valid into
it's own (static) method. In case setting the display mode fails, the returned mode
is now checked for validity as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:39:16 +00:00
Axel Dörfler
c15a5012ef The team monitor now shows the large icon correctly, thanks to Jonas Sundstrom.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:12:07 +00:00
Axel Dörfler
176f0604ed Continuing from the kernel debugger did not work on SMP machines, as SMP_MSG_CPU_HALT was
a one way ticket. It now works as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:09:39 +00:00
Axel Dörfler
9b39fc10cb Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:05:57 +00:00
Stephan Aßmus
8c113568ce * fixed GCC 4 build, thanks Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-30 17:39:26 +00:00
Stephan Aßmus
5fa5e5fea7 * added notification support to Playlist and Controller
* added AbstractLOAdapter by Ingo Weinhold which makes
  notifications asynchronous
* removed "Player" interface/concept, replaced it by
  the notification mechanism (window loads new file
  when "current" ref index changes in Playlist)
* removed some cross classes dependencies
* the wind buttons are not displayed anymore for now
* lots of changes to the Controller
  - the decoder/player threads are kept running for the
    entire lifetime of the Controller object (in essence, makes
    it possible to playback seamless)
  - abstracted BMediaTrack usage into "Video-" and "AudioSupplier"
    objects (the BMediaTrack pointers are only still there, because
    I have not gotten around to fix the messy/hacky InfoWindow)
  - reaching the end of the stream will trigger a notification,
    so that the next file from the playlist is played
  - fSoundOutput is managed by the Controller
  - tried to make seeking seem more controlled (slider doesn't
    jump back to previous position)
  - playback position is correctly updated in GUI
  - volume is maintained independend of SoundOutput so
    that it can be transfered from one to the next output
  - performance time is maintained correctly (?) even if
    no audio stream is present
* work in progress Playlist window (drag sorting does not work yet!)
* rearranged menus a bit
* rearranged overlay code in the VideoView, but it cannot work
  like it is currently designed, since the buffers need to be
  switched all at once, which the video decoding thread
  is not doing yet
* dragging files into the main window with shift held down
  appends to the existing playlist
* dropping folders adds files recursively
* pressing space toggles playback (instead of changing some
  settings of the GUI)
* fixed some more minor issues or unimplemented stuff in the UI


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 22:29:50 +00:00
Stephan Aßmus
406228de63 * don't turn off anti-aliasing
* use B_OP_OVER in order to do anti-aliasing with the real background



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 21:17:37 +00:00
Stephan Aßmus
7ce678aa5f * implement conversion of absolute mouse coordinates (0..1) in device
messages to normal screen coordinates



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 20:21:33 +00:00
Stephan Aßmus
9249ebc02b * added icon for bzip2 file type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 20:11:11 +00:00
Stephan Aßmus
7fc7e14b31 * removed left-over include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:50:26 +00:00
Stephan Aßmus
13eaf8fa00 * fixed one potential leak
* truncated lines to 80 chars


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:49:23 +00:00
Stephan Aßmus
fb9a2a52bb * slight modifications to the original zuMi icons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:30:35 +00:00
Stephan Aßmus
71cb68083c * same tweak as to ProcessController, I would suppose...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:27:50 +00:00
Stephan Aßmus
4e49f8ff2b * small tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:15:14 +00:00
Stephan Aßmus
b5116faced * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:12:14 +00:00
Ingo Weinhold
ae585f87af Removed Jorge at his own urgent request.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 16:04:37 +00:00
Ingo Weinhold
e200a8e9b9 Unknown variable referred to in DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 15:23:03 +00:00
Axel Dörfler
f415aa28be * create_vnode() now panicks when it could not find the freshly created vnode
in the vnode hash; that's a bug in the FS that shouldn't be ignored that way.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 14:17:18 +00:00
Axel Dörfler
aac3ed8c03 * Reverted r21199 (and therefore r21254) - it actually did work correctly initially,
see bug #1248.
* Closing a pipe now also removes it from the public namespace and marks it for
  deletion, and thus, there are no more left-overs after using a pipe.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 14:12:43 +00:00
François Revol
a046c487d0 Never trust someone else's patch until you built it...
Sorry guy, reverted that part, breaks the build here.
Either fix the types everywhere or don't fix at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 12:52:13 +00:00
François Revol
f6bdd7b4a9 Patch by Salvatore Benedetto:
Code readability; portability fixes.
Added unimplemented SubmitIsochronous().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 12:36:02 +00:00
Hugo Santos
1002cfa0bb tcp: we should send an ACK for at least each two received segments. Jerome helped debug this one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 22:30:18 +00:00
Jérôme Duval
6015e60ecc fixed bug #1248
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 19:57:09 +00:00
Ingo Weinhold
02f49ce1ec * Beginnings of a BBox test.
* The test to be run can be chosen via command line argument ("box" or
  "button" ATM).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 16:18:44 +00:00
Ingo Weinhold
d198c3b202 Use layout-friendly constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 15:52:22 +00:00
Ingo Weinhold
93c4bf98f1 Reverted r21191. The one who calls BView::SetFont() is responsible for
also calling InvalidateLayout() and Invalidate(), if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 15:02:05 +00:00
Jérôme Duval
b5f602a702 added a missing newline, dunno why this message is displayed :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 14:25:49 +00:00
Michael Pfeiffer
d445cb68d3 Fixed bug ticket #1007. The icon of the default printer was not
displayed. The icon of Printers preflet is reused for that. Changed mime
type of Printers preflet to match the one used by the preflet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 14:18:29 +00:00
Hugo Santos
34c53bacf4 tcp: fixed an issue where the socket could be waken from ReadData() even when no new data was added to the queue (due to lost packets). Also make sure we only break from the receive loop where there is at least a byte of data to be consumed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-27 03:38:22 +00:00
Ingo Weinhold
cad7120f0c __attribute__(constructor) doesn't seem to work with gcc 2.95.3, so we
invoke driver_settings_init() manually now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 14:32:40 +00:00
François Revol
a0e5dc7ab5 Export api_version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 00:47:12 +00:00
François Revol
e58b9aef62 export api_version even though we don't support select() in them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 00:45:44 +00:00
François Revol
b9a0731d88 Indent with tabs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 00:32:35 +00:00
François Revol
a85d740cc0 Remove the symlink trick, just publish /dev/mem the regular way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 00:31:25 +00:00
François Revol
cd6fd30f63 More tracing in ohci. Hmm, existing isn't totally consistent (prefix, ...). Oh well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 20:25:07 +00:00
François Revol
b0341b286b Revert r21231 as it's supposedly not possible. Someone implement OHCI then pleazzze!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 19:23:14 +00:00
Axel Dörfler
db8890ba1d * The mutex was obviously never initialized, and therefore mutex_unlock() panicked
here when trying to build Haiku.
* Also probably fixed a memory hole, at least how BFS is using delete_driver_settings();
  it might be a general problem of the implementation with regards to parse_driver_settings_string(),
  though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 14:38:59 +00:00
Axel Dörfler
88c66c0dfb * I broke create_path() with r21194; unlike strncpy(), strlcpy() needs enough space for
the terminating null byte as well. This fixes bug #1239.
* Using strlcpy() makes clearing the path buffer superfluous.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 11:06:25 +00:00
Axel Dörfler
e25a15c53b This fixes the build with GCC 2.95.3; hopefully it will work with GCC 4 as well as it looks like a compiler bug (at least I would guess typeof() is supposed to propagate the C linkage as well).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 08:24:25 +00:00
Stephan Aßmus
10e5f892a3 * created alert icons in vector format (idea icon is missing yet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 08:07:48 +00:00
Stephan Aßmus
8127593e85 * implemented loading and displaying of vector icons for
the alert bitmaps
* a little clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 08:06:35 +00:00
Stephan Aßmus
a8745d98e9 * added "NativeSaver" which combines the MessageExporter and AttributeSaver
to save the document also as icon attribute to a native Icon-O-Matic
  document file
* added cmd-Y short cut to main window (on a German keyboard, Y and Z
  are swapped, but the Undo/Redo shortcuts are still "Z" while Z is much
  harder to reach than Y)
* fixed warning in SetColorCommand.cpp
* FlatIconExporter needs to save the attribute using B_VECTOR_ICON_TYPE
  (of course)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 07:53:54 +00:00
Ingo Weinhold
68fd0cb964 Driver settings support is now available in the FS shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 05:08:44 +00:00
Ingo Weinhold
eedc15536c Added driver settings support to the FS shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 05:07:34 +00:00
Ingo Weinhold
362d99e715 Added fssh_read/write() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 05:06:02 +00:00
François Revol
3d5bdb8688 Added a keep_port_ownership driver setting for EHCI, to allow keeping devices on EHCI instead of giving them up to the 1.0 controller.
Hopefully this will get things working here until OHCI is implemented.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 21:45:11 +00:00
Philippe Houdoin
9a36f03a87 Forgot to include this essential - being the fallback one - opengl renderer add-on in the opengl factory package.
This fixed #1193.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 21:34:35 +00:00
Philippe Houdoin
8f53078de4 Added smallest skeletons of future nvidia and radeon OpenGL renderers.
For the moment, these two just does a quick check for nvidia or radeon drivers been loaded and running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 21:29:01 +00:00
Axel Dörfler
361a19cd94 makebootable didn't work correctly on BeOS: the partition offset was divided by
the block size once too often.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 14:36:57 +00:00
Axel Dörfler
a988990db4 Another patch by Jonas Sundstrom to make use of B_UTF8_ELLIPSIS where appropriate.
This was also part of ticket #1212.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 11:13:35 +00:00
Axel Dörfler
6c5d8b7d2d * Send() now hides the window to hide eventual delays while composing the mail.
* Removed error code from error messages.
* Simplified the X-Mailer string and version information (we could eventually add
  the SVN revision there, though).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 11:09:04 +00:00
Hugo Santos
6580fd3848 Stylus cleanupus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 21:48:31 +00:00
Hugo Santos
77bf99deb0 fixed the way accept() works in regards to the cookie pointer. It is no longer visible to userspace, we pass the fd instead. Also renamed kernel's shutdown() to system_shutdown as it collides with Posix's shutdown().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 19:56:40 +00:00
Hugo Santos
be2f6ac347 net_device_interface: remove redundant fields
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 19:56:16 +00:00
Jérôme Duval
14e3d1b576 don't try to stop a non inited BFileGameSound
now stops BFileGameSound at the end of the track if not looping
GameSoundDevice now checks the sound_id is valid
added a header include in GSUtility.h 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 19:40:57 +00:00
Jérôme Duval
80856c970f fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 19:37:11 +00:00
Hugo Santos
fe0ab2867a tcp: no longer need recursive locking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 08:21:09 +00:00
Hugo Santos
969885b848 loop: no longer requires a reader thread, it delivers directly to the device's receive queue
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 07:56:15 +00:00
Hugo Santos
a1deb55ef5 net_interface_private: added receive queue and splited device reading from packet processing. Delivering to self no longer is executed in the sender's context, which had some problems with TCP's locking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 07:55:54 +00:00
Axel Dörfler
7e4dc23a7e * Applied patch by Jan Kloetzke - thanks!:
- possible panic in the directory retrieval code because of an invalid
    transaction ID. This should fix bug #1025.
  - could not been mounted read-only as it was always getting writable
    blocks from the cache.
  - dosfs_access() tested for O_RDONLY instead of W_OK.
* Added TODO comment about always using writable blocks: this is highly
  inefficient.
* Some code cleanup to make it a tiny bit more complying to our coding
  style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 07:54:57 +00:00
Hugo Santos
1b2db790c0 e1000: disabled the excessive debug output since the driver is already working here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 04:00:00 +00:00
Hugo Santos
d3d38faf41 net_buffer: prevent modules from messing with metadata too much
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 03:48:57 +00:00
Hugo Santos
79a0d25245 net_buffer: preparing for better metadata management
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-23 03:48:23 +00:00
Jérôme Duval
57f13ad210 added a translator for HPGL/2 files based on HPGS. It handles .hp2 files
This builds only with GCC 4, mostly because the code is C99 compliant only


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 22:32:50 +00:00
Stefano Ceccherini
1a2a0e07c6 Check scrolling against text rect limits. Fixes bug 1240 (and maybe 1241
too)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 14:13:08 +00:00
Axel Dörfler
065e318429 * Inode::Create() now has a "_created" parameter that will be set to true in case a
node has been created - this is now used in bfs_create() to suppress the new entry
  notification in case the file already existed.
* Implemented parameter parsing in bfs_initialize() - does not work in the new bfs_shell
  though, as it currently misses driver_settings functionality.
* Attribute::Create() and Attribute::Open() will now honour O_TRUNC correctly.
* Note: Inode::WriteAttribute() still follows R5 semantics for small_data attributes
  in this regard and must be fixed (I've opened ticket #1242 for this).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 13:19:44 +00:00
Axel Dörfler
261fd618fe * Now uses find_directory() when used inside the kernel.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 13:06:51 +00:00
Axel Dörfler
7be2dafba9 fs_write_attr() is supposed to remove an existing attribute value.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 09:24:19 +00:00
Axel Dörfler
f77a87bfa4 * Implemented persistence storage of attributes and name changes - it's able to
read the files the BeOS cdda wrote, but it handles attributes completely different.
* All attributes are now stored per CD.
* There are some special shared attributes between all CDs (or a specific device)
  to improve your Tracker experience.
* An existing buffer is now used to fill a read request.
* Lots of other small changes here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 09:23:00 +00:00
Axel Dörfler
37593af284 Fixed a memory leak in _SplitNode() spotted by Stefano - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 09:07:58 +00:00
Axel Dörfler
01e7c0d868 You should not publish *every* node - at least not without releasing the ref if you don't need it.
This should allow you to actually unmount /pipe if you so desire.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 01:56:45 +00:00
François Revol
fb5cc637bf Do the mappign now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 00:14:17 +00:00
Jérôme Duval
03f068a191 tries to handle the case when no view is returned for the web (see bug #1223)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 23:40:52 +00:00
François Revol
690f1e786e /dev/[misc/]mem driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 23:24:10 +00:00
Hugo Santos
379d59225b freebsd compat. layer: fixed ETHER_GETFRAMESIZE handling. possible fix for #1238.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 22:55:01 +00:00
Axel Dörfler
6430c89618 * Added find_directory() to the kernel - it currently may not work as good as the
userland version, tbough.
* Small style cleanup in find_directory.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 22:28:02 +00:00
Stephan Aßmus
252fb08a83 * remove Terminal from the test environment
* small update to icon
* link with libgame.so (includes set_mouse_position())


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 18:42:17 +00:00
Jérôme Duval
7d2cc6a102 Now handles files at the root of the source volume. Fixes bug #1227
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 18:41:59 +00:00
Ingo Weinhold
f856bb2838 Invalidate layout, when the font changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 17:45:58 +00:00
Ingo Weinhold
8dbedf907b * Added LabeledCheckBox class to make using check boxes simpler.
* Added a check box to toggle the button font to the button test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 17:39:11 +00:00
Ingo Weinhold
4b5501d29d * The min/max info was not correctly invalidated in GroupView.
* Tests for individual widgets are encapsulated as Test subclasses.
* Added a check box to toggle the button label to the BButton test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 16:28:40 +00:00
Stephan Aßmus
2fb3526f33 after talking on the phone with Axel how to fix this driver's repeat key problem,
I found a simpler and actually correct way to fix it...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 14:51:07 +00:00
Stefano Ceccherini
8184808c5f 'Sounds' is now font sensitive. Patch by Lucasz Zemczak.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-21 07:22:17 +00:00
Michael Pfeiffer
f1bbbce435 Fixed bug #1232. Report "Add new printer" cancellation correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 20:31:37 +00:00
Michael Pfeiffer
e4ee835fc2 Fixed bug #1231. Update text rectangle when view is resized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 19:48:33 +00:00
Ingo Weinhold
7b20ae3116 Renamed src/apps/abouthaiku to src/apps/aboutsystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 18:01:11 +00:00
Ingo Weinhold
7661e44405 Renamed AboutHaiku to AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:53:22 +00:00
Ingo Weinhold
c1b309e2e7 Renamed the Deskbar menu itom "About Haiku..." to "About This System..."
in case it is not built for the official Haiku distribution.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:52:46 +00:00
Hugo Santos
98eb7f44f3 TCP: getsockopt was missing. fixes #1225
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:02:27 +00:00
Ithamar R. Adema
633b979176 Basic SoundBlaster 16 (ISA) driver, designed to be used with QEMU, but should become usable on real hardware too. Very much a work in progress, based on the sb16 driver available for BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 17:22:27 +00:00
Ithamar R. Adema
641541a4f3 * Fix some bad error handling
* Plug some leaks
* Initial code for input/output bus discovery



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 16:37:23 +00:00
Ingo Weinhold
bdf8a2e1e7 Added Haiku revision number to the kernel (same mechanism as used for
libroot). It's available in the kernel through the private
get_haiku_revision() and added to the kernel syslog output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:36:32 +00:00
Ingo Weinhold
fe4a47a92a * Added Morgan Howe to the contributors list.
* Moved Bruno to the contributors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:06:30 +00:00
Ingo Weinhold
53a79a4cde Patch by Morgan Howe: Support for building on Mac OS X. It should now be
possible to build a complete Haiku image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:01:11 +00:00
Ingo Weinhold
39bdbadf39 If the boot code couldn't be found in makebootable's resources, it tries
to load it from an attribute ("BootCode"). On Darwin we write the boot
code into this attribute. This should solve the problem that writing
resources into the makebootable file renders it not executable there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:33:21 +00:00
Ingo Weinhold
64ceaa002d Build addattr as a build tool as well. Needed for the new AddFileDataAttribute
rule.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 16:55:33 +00:00
Ingo Weinhold
6dcd0ccf23 Patch by Morgan Howe (slightly modified): Several changes to support
building on Mac OS X (Darwin). A problem with makebootable remains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 15:59:04 +00:00
imker
354543fa8b ANSI color switches removed from the log. Looks like not supported now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 20:06:45 +00:00
imker
f5f8df45bf That's one small step for man... ;-)
- module interface was changed to be compatible with Haiku API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 20:05:38 +00:00
Ithamar R. Adema
fa48b9d885 Fixed the problem of not being able to work from Haiku. The main problem was that although the multi_audio API on BeOS hands the driver the settings as made in the Media prefs, the Haiku one just gives maximum values and assumes the driver will scale the values down. I didn't do that.
If you run Haiku on HDA hardware, you should have sound now too! :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 11:16:05 +00:00
Ithamar R. Adema
abc3549242 * Made code more Coding Guidelines compliant
* Fixed several sem/area leaks when restarting media services.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 08:23:42 +00:00
Ithamar R. Adema
9432d60991 Fixed:
* Prepare code for exposing multi_audio interface on Audio Function Group level
	* Some minor cleanups.
Todo:
	* Publish devfs entries based on available Function Groups instead of HDA cards.
	* Publish all mixer controls / output busses through multi_audio interface.
	* Make recording work :)
	* Check why we need 4096 samples to play ok.
	* Figure out problems with driver on Haiku... currently only successfully tested on R5.

As you can see, plenty of things left to do, but progressing nicely. At least people can have sound on R5 now!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 02:43:12 +00:00
Ithamar R. Adema
7c8482e991 * Count samples, not bytes, stupid :P
* Don't try to bypass semaphore counting, it should just work(tm)
* Minor cleanups.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 21:43:15 +00:00
Axel Dörfler
ea69b502e1 Added another patch by Jonas: this one adds the ellipsis to Shutdown/Restart in
the Deskbar (see ticket #1181). Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 16:41:37 +00:00
Axel Dörfler
66eba86f4b * Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 16:34:09 +00:00
Axel Dörfler
da7c734d5c Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 15:50:04 +00:00
Axel Dörfler
8ca5764554 * Implemented APM generic syscall API to query the current power status.
* PowerStatus is now using this API when compiled for Haiku.
* Note, I'm not sure why yet, but running PowerStatus in the background
  crashes at least my laptop after some time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 15:22:23 +00:00
Axel Dörfler
8536d82fb6 * The WAV header is now created correctly (mixed up endian of the fourcc members)
* More or less fixed reading - it now works nicely when you copy the file to the
  hard drive first, but MediaPlayer cannot handle the files directly from CD for
  some reason yet to investigate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 15:09:45 +00:00
Axel Dörfler
5d2e4044c7 * All functions returning a message will now return an empty message in case there is
none yet, instead of returning an error.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 10:07:21 +00:00
Axel Dörfler
90c18b97c9 Implemented reading from CD and prepending a fake WAV header - not yet tested, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 09:19:42 +00:00
Axel Dörfler
12ed6d2195 * Made the code that reads the table of contents of the CD a bit more failsafe.
* Implemented disk scanner to automatically identify the volume.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 21:21:01 +00:00
François Revol
f4665cbe34 forgot a return there...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 18:15:26 +00:00
François Revol
1d931697a0 Add setdecor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:56:54 +00:00
François Revol
872cd25631 Zeta-like setdecor command to list/set decorator addon. Just for the sake of it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:56:02 +00:00
Ingo Weinhold
a5b50d1fad Refactoring.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:54:08 +00:00
Axel Dörfler
e8113cabe0 * Implemented attribute handling - you can change them, but they are not stored yet.
* Implemented CDDB ID computation (that's what BeOS's cdda-fs is using).
* Some other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:33:05 +00:00
Ingo Weinhold
85d733da06 Moved the WidgetLayoutTest into a subdirectory. The source file has grown
big and I'm going to split it up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 15:47:02 +00:00
Ingo Weinhold
376d3e5804 Added a bit of layout management to the test views framework. The maximum
size of the view tested can now be overridden explicitly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 15:41:27 +00:00
Ingo Weinhold
476d4befd7 Added IsLayoutValid().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 15:38:26 +00:00
Axel Dörfler
40897d3964 * Moved cdda_text test application to the test directory, and separated it from cdda.cpp.
* Implemented most of the directory retrieval functions of the file system; even renaming
  titles should work now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 00:51:35 +00:00
Axel Dörfler
d0b38183fd Added two more of zuMi's icons - turns out it was my fault that the icons couldn't
be rendered before... Thanks zuMi!
Now, only the floppy icon doesn't have a home yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 15:56:39 +00:00
Axel Dörfler
595c89bcdc Next row of Cortex style updates, courtesy of Vasilis Kaoutsis - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 14:15:34 +00:00
Ithamar R. Adema
b0d9cd6f66 * Delete all local copies of multi_audio from source tree.
* Change name of header for Haiku specific multi_audio to hmulti_audio (in line with the rename of the media addon itself)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 02:37:14 +00:00
Ithamar R. Adema
2a3d3b7ad6 * More buffer (cycle) handling
* Locking of stream info.
* Add compile-time support for Haiku/BeOS multi_audio API.

TODO: Need to check out why we have multiple (different) multi_audio.h files floating around in the source tree....



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 01:23:36 +00:00
Ithamar R. Adema
7de9382792 * Set clock values based on card type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 22:41:03 +00:00
Stefano Ceccherini
84c2abee94 Cast errors to status_t before throwing, otherwise the catch operator
won't catch them (as ints). Thanks to Ingo and Marcus for pointing out 
the problem and suggesting a solution.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 20:26:31 +00:00
Ithamar R. Adema
551c7edafd * Make response argument to hda_send_verbs able to handle NULL, in case we don't care for the response
* Minor tweaking to buffer handling, which seems to fix the "distorted audio" probs I was having :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 20:19:54 +00:00
Axel Dörfler
6ae0b57489 * Committed zuMi's icons as they already have a place on the image.
* I'm not sure, but neither Joysticks nor PowerStatus is rendered within Haiku
  (FlatIconImporter::_ParseSections() - error parsing shapes: Out of memory),
  therefore, I didn't commit those yet.
* Also, Joysticks already seem to have a vector icon, but that shows the same
  error - stippi? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 19:33:43 +00:00
Jérôme Duval
0e3568d2ab sorted correctly hda :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 19:17:08 +00:00
Jérôme Duval
34bd8bf599 cleanup, fixed some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 17:47:23 +00:00
Ithamar R. Adema
89db0a5bf7 *** WARNING: UNSTABLE CODE AHEAD :P ***
This is the first (sort-of) working incarnation of the High Definition Audio driver. This
driver still has quite some way to go before coming to a point that we could call it stable
and useful, so please use with care. It has been developed on R5, so it might even become
useful for people still stuck on R5.

This driver was inspired by both the BSD work on HDA support, as well as our own dr_evil's 
work on the ich_ac97 driver.

Before you start bugging me about completing the driver, or adding features, please capture
the serial debug output and mail it to ithamar AT unet DOT nl, including hardware details,
and success/failure descriptions.

As a last note, DasJott, if you're reading this, the first music it played was... 
'Prodigy: Smack Your Bitch Up' :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 17:04:45 +00:00
François Revol
830d967717 added CamdDevice::WaitFrame() which will be needed to rewrite teh producer frame generator thread
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 18:56:01 +00:00
François Revol
61064c3bea Better locking: CamDevice::Start/StopTransfer() should be called with lock held.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 18:48:04 +00:00
François Revol
c589dbfc72 use __BASE_FILE__ to get shorter file paths.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 18:38:22 +00:00
François Revol
941a89598d update (c) years
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 18:34:50 +00:00
Ingo Weinhold
b96080a736 Catch up with the recent API changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 17:02:28 +00:00
Ingo Weinhold
e6d2c1f310 BButton needs B_FULL_UPDATE_ON_RESIZE despite the fact that it isn't
resizable by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 17:01:41 +00:00
Ingo Weinhold
a19a660a78 Removed the BSize(const BRect&) constructor and added BRect::Size()
instead. Also added a BRect(BPoint, BSize) constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 16:50:16 +00:00
Ingo Weinhold
253599a20b Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 16:19:24 +00:00
Ingo Weinhold
f2d34b2994 Added unary - operator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 16:15:20 +00:00
Ingo Weinhold
0473808ce2 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 15:49:01 +00:00
Ingo Weinhold
0003f080c5 * Correctly request mouse events on mouse down.
* Display the min, max, preferred, and current size of the tested widget.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 15:43:04 +00:00
Jérôme Duval
7677e50fff trace was enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 13:40:07 +00:00
Jérôme Duval
9f3d8cb64f code style update
now mount the target partition before copying


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 13:37:02 +00:00
Stefano Ceccherini
140334f858 Added error checking using exceptions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-12 08:46:56 +00:00
François Revol
7f2c1e802f fix crash in debug info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-11 22:21:29 +00:00
Ingo Weinhold
03da5405bc The beginnings of an app for testing the layout constraints of individual
widgets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-11 18:14:47 +00:00
Axel Dörfler
ff2a7d86f8 Start of a CDDA file system (replacement for cdda as part of BeOS):
* doesn't do anything useful yet, but it compiles (and should be mountable).
* CDDA test app "cdda_text" will dump the table of contents as well as eventually
  existing CD-Text - if I had known only so few titles in my collection would come
  with those, I probably wouldn't have gone through it (if the samples I used are
  representable, it's about 1/10th of the CDs I have) :-)
* cdda_text compiles on BeOS, so if you have known CD-Text CDs, please test it
  and report eventual problems - the test app already tries to beautify the names
  as much as possible. Usage is "cdda_text <path-to-raw-device>".
* The test app will be removed later, so better test now ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-11 12:25:02 +00:00
Axel Dörfler
6f709e745c * Added a name hash to pipefs; this should speedup the lookup when more pipes
are used at the same time.
* Added a TODO item: pipefs entries aren't deleted yet after usage!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-11 09:16:08 +00:00
Stefano Ceccherini
522528180e Check if we have a window before drawing the item in
BListView::_Deselect()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 20:40:48 +00:00
Jérôme Duval
c0d5509623 remove filters and methods from their lists when unregistering
fixes bug #1215


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 19:54:18 +00:00
Axel Dörfler
6be1e37d94 * Cleaned up SCSI headers a bit.
* scsi_cmds.h declared several variables instead of naming enums.
* the CD-ROM standard retrieval was broken (always checked index 0).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 14:13:37 +00:00
Axel Dörfler
4cad5aba3b Made IsTargetLocal() a lot faster by using BPrivate::current_team() which caches the team ID.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 09:17:51 +00:00
Hugo Santos
d1c9c9d4b4 rtl8139exp: lock the softc when re-enabling interrupts so we don't in the middle of a disable/enable interrupts operation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 06:38:20 +00:00
Hugo Santos
18c80ff054 3com driver, added required MII modules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 06:33:49 +00:00
Hugo Santos
f1d1b028f2 freebsd compat. layer: another go at multiple MII module support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 06:33:35 +00:00
Hugo Santos
8a43628971 freebsd compat. layer: some missing definitions as well as allowing multiple MII modules per driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 06:03:24 +00:00
Hugo Santos
abb7cffa2f rtl8139 (FreeBSD version): added rlphy miibus support, needs testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 04:53:02 +00:00
Hugo Santos
4b2286de82 freebsd compat. layer: MII subsystem (needs testers, more to come).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-10 04:52:43 +00:00
Jérôme Duval
94f814b32c fHandlerToken can be equal to B_PREFERRED_TOKEN
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 23:16:19 +00:00
Hugo Santos
eb89c947d3 freebsd compat. layer: implemented miibus_readreg and miibus_writereg, it goes up through the tree until the driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 19:36:02 +00:00
Hugo Santos
b650951128 freebsd compat. layer: split device structure to handle for miibus devices, added a new network_device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 19:35:38 +00:00
Hugo Santos
a300c4e4e1 added FreeBSD 6.2's if_rl (rtl 8139) driver. Mostly original source, just a minimal change to protect the interrupt mask register to more freely enable and disable device interrupts. This driver is still not working, MII support is left, should come soon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 15:27:48 +00:00
Hugo Santos
2a275df505 freebsd compat. layer: a couple more definitions, minimal, mostly adding a new glue method to re-enable device interrupts since if_rl (rtl 8139) will require it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 15:27:13 +00:00
Hugo Santos
5538a25de7 it seems jam prefer SubInclude to be on the bottom of the Jamfile. suggested by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 13:52:14 +00:00
Hugo Santos
7d1e0a1da9 freebsd compat. layer: fixed a couple warnings, use KernelStaticLibrary as suggested by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 13:49:05 +00:00
Hugo Santos
6ef02a6c21 added FreeBSD 6.2's 3Com 3c90x Etherlink XL PCI driver. The compat. layer still needs a couple things for this one to work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 13:20:41 +00:00
Hugo Santos
50de974ebb added FreeBSD 6.2's Intel Pro 1000 driver to the tree (original source, unchanged).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 13:20:14 +00:00
Niels Sascha Reedijk
ad26e9b48c Remove unnecessary Doxygen XML to BoostDoc to Docbook
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 13:17:19 +00:00
Hugo Santos
45b5203b78 network stack: getsockopt/setsockopt are no longer optional for protocols, as suggested by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 12:57:00 +00:00
Axel Dörfler
6386c723a5 Applied patch provided in ticket #1218 - should enable nVidia 7100 GS cards. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 12:02:49 +00:00
Hugo Santos
ed014fee89 freebsd compat. layer: when open()ing the device, and setting it up, don't clear the device flags (multicast included).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 05:40:39 +00:00
Hugo Santos
07ef8870a3 freebsd compat. layer: multicast support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 05:37:46 +00:00
Hugo Santos
0747d47e40 freebsd compat. layer: added swi taskqueue and a couple more methods that if_xl needs. also marked some as unimplemented so its clearer what is left to be done.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 04:21:47 +00:00
Hugo Santos
dcaf1f47c5 freebsd compat. layer: splited freebsd original code into own files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 03:00:57 +00:00
Hugo Santos
100b6e6537 freebsd compat. layer: close() and free().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 01:28:02 +00:00
Hugo Santos
9628dc45e2 freebsd compat. layer: remove arbitrary limit on number of created threads available in taskqueue_start_threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 00:55:10 +00:00
Hugo Santos
303a4a3df6 freebsd compat. layer: a couple more changes. a DMA-using driver (FreeBSD's em, Intel Pro 1000) now works without any modifications (it has a fast interrupt mode).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 00:29:29 +00:00
Hugo Santos
4d281161ba freebsd compat. layer: respect requested priority in taskqueue_start_threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 17:15:16 +00:00
Hugo Santos
3f3e58db20 freebsd compat. layer: gcc 4 fixes, it seems __FUNCTION__ is variant.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 17:01:10 +00:00
Hugo Santos
adf9024529 freebsd compat. layer: only init taskqueue_fast if FBSD_FAST_TASKQUEUE requirement is set (since it starts a thread and consumes a couple semaphores).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 16:53:13 +00:00
Hugo Santos
b6ace498dd freebsd compat. layer: added a requirements field so not all drivers init all subsystems. pcnet for instance doesn't need taskqueues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 16:52:48 +00:00
Hugo Santos
859a95b6c7 freebsd compat. layer: taskqueue implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 16:52:26 +00:00
Jérôme Duval
e477dd1845 now polls the link status for older revisions of bcm440x
inversed active status


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 16:27:56 +00:00
Hugo Santos
a0a553caa3 tcp: allow TCP_NODELAY to be set
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 15:38:33 +00:00
Hugo Santos
25d42ceb99 freebsd compat. layer: a few more definitions, preparing for a DMA-using driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 13:10:02 +00:00
Axel Dörfler
d00539e3ba * Revamped BPathMonitor API as suggested by Ingo - we could rename it to BNodeMonitor
and add wrappers for watch_node() as well, though.
* Implemented more or less all what is needed for the path monitoring to work.
* Added a test application: works fine under Haiku, but somewhat flaky under BeOS,
  dunno why yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 00:30:59 +00:00
Axel Dörfler
7f61f501cf We now respond to TCGETA to let isatty() think we're a terminal which caused our libroot to use unbuffered I/O.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-08 00:01:51 +00:00
François Revol
b741fc8986 Fix building on R5 (dano at least).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 23:05:52 +00:00
Stefano Ceccherini
0d478eeb6f Avoid sending an extra (useless) B_DIRECT_MODIFY notification to the
client, when the connection is stopped. But cache the "reason" of the 
notification, and join it with the next one, when B_DIRECT_START is 
notified. Experimental, could be reverted. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 21:26:33 +00:00
Stefano Ceccherini
ca3e59106d call lock/unlock_draw() in SwapBuffers too. Don't set the view color to
B_TRANSPARENT_32_BIT because it doesn't look good in direct mode. Korli, 
please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 21:21:28 +00:00
Stefano Ceccherini
652f187eee finally fixed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 20:49:58 +00:00
Jérôme Duval
d752ee3be8 added missing ioctl for handling link state change. I noted it's not supported on my bcm440x chipset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 18:08:55 +00:00
Michael Lotz
34cbbba798 * Reworked userland buffer access functionality into two functions in the Transfer class to not duplicate code in each HCD
* Use these functions in UHCI and EHCI which greatly reduces overhead on fragmented transfers as the vector conversion and area cloning is only done once
* Use the PrepareKernelAccess() function before submitting fragments which fixes the crash when trying to access the next fragments buffer in user memory from the kernel thread

This should fix bug #1167 which could be encountered when sending data to a mass storage device with an application that uses a large enough transfer buffer size.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 17:57:30 +00:00
Michael Lotz
562328e70a Fixed wrong cancelling algorithm. This is what you get when you "rework" an existing function without thinking it through again... Thanks J Jerome for noticing\!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 16:58:00 +00:00
Jérôme Duval
40fd232817 implemented CancelQueuedTransfers for uhci
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 14:08:30 +00:00
Ingo Weinhold
633a699447 Since I haven't got enough information to solve the missing LLONG_MAX
issue on some Linux distros by now, here's a work-around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 13:43:55 +00:00
Ingo Weinhold
e23824d781 Surprising how much gcc 4 compilers on Linux differ. Another attempt to
make both gcc 2.95.3 and the plethora of gcc 4s happy: Typedefed
struct fssh_stat to fssh_struct_stat, thus hopefully avoiding spurious
errors concerning clashes with the function or regarding namespacing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 13:41:12 +00:00
Axel Dörfler
3bef51f0ae * Removed unused code when USER is defined - the fs_shell no longer does this, but
provides a kernel emulation layer.
* Renamed all private BPlusTree methods to have the '_' prefix.
* Removed useless set_sem_owner() from Lock.h - all semaphores created in the kernel
  always belong to the system team automatically.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 12:26:21 +00:00
Axel Dörfler
68f08f67f5 * Fixed a bug introduced with big-endian fixes in r17557; the super block's blocks_per_ag
field was always 1, and therefore, the last allocation group could grow too large.
  Thanks to Samuel Rodriguez Perez for reporting the error (bfs_shell was crashing on
  larger images).
* Minor cleanup in BlockAllocator::_Initialize().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 10:56:40 +00:00
Axel Dörfler
fbe10cf294 A bit more useful output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 10:45:42 +00:00
Ryan Leavengood
44d1fa37cd Initial check-in of Joysticks preferences, courtesy of Oliver Ruiz Dorantes.
There is still work to be done.

I did some code formatting as well as created the Jamfile and rdef. I copied
the R5 Joysticks bitmap icons, but am working on a Haiku vector icon. For now I
just copied the Fonts icon for purposes of having something in the rdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 05:48:30 +00:00
Hugo Santos
b27873dc4a freebsd compat. layer: added ETHER_SETPROMISC, ETHER_GET_LINK_STATE and ETHER_SET_LINK_STATE_SEM support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 05:29:06 +00:00
Hugo Santos
9534d90eb9 added IFM_AUTO to if_media and ifconfig.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 05:28:55 +00:00
Hugo Santos
80df11254f freebsd compat. layer: now both receiving and sending work with PCNET.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 05:28:38 +00:00
Hugo Santos
e2941f52fd freebsd compat. layer: couple fixes, sending now works with PCNET. enabled ifmedia_ioctl, and when opening a device, set it down, change media to ETHER/AUTO and set it back up so it sees a IFF_UP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 03:20:58 +00:00
Hugo Santos
cdb3eb762a the previously added IO interrupt handling routines are no longer necessary, at least for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 22:40:52 +00:00
Hugo Santos
0bdff52467 freebsd compat. layer: instead of disabling the IRQ, disable the device's interrupts on real interrupt request as suggested by Travis. This solves potential issues with shared IRQs. The check & disable interrupts function is part of the required glue code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 22:40:19 +00:00
Michael Lotz
4b3d0fcfda Implemented transfer cancelling for EHCI by reworking the previously unused CancelPendingTransfer() into CancelQueuedTransfers() with the pipe based semantic.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 15:55:26 +00:00
Michael Lotz
3dc77d1dc9 Prepare cancelling transfers from the stack side. The actual handling will happen in the HCD modules where transfer management has to be done anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 15:22:12 +00:00
Michael Lotz
a49633c222 * Moved around some initialization to avoid problems when deleting incompletely created objects
* Also move waiting for the first explore to run through out of the constructor to reduce delays
* Remove the old device when a new one is connected to the same port - this could happen when you very quickly un- and replug a device

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 15:17:00 +00:00
Hugo Santos
e1a99f77d4 freebsd compat. layer: use a thread for deferred interrupt handling. fixed a issue with bus_space_write_N. init the receive queue on device creation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 15:08:08 +00:00
Hugo Santos
5502e596dc added io_interrupt_handler methods for dynamic handling of IO interrupts, including enabling/disabling without allocation and in interrupt context.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 15:07:56 +00:00
Ingo Weinhold
5ddfffd44a Removed left over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 13:48:07 +00:00
Michael Lotz
3f2288a41b Fixed wrong deallocation of device resources which caused KDL when unplugging devices with more than one interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 12:48:38 +00:00
Ingo Weinhold
21da033912 Typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 12:32:45 +00:00
Stefano Ceccherini
1560418a27 forgot the \n
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 20:41:39 +00:00
Stefano Ceccherini
5115ca0858 Added optional debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 20:03:31 +00:00
Ingo Weinhold
45bf6259ad Fixed libbe_test app server build. ServerPicture.cpp uses the storage kit
private OffsetFile.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 13:27:33 +00:00
Ingo Weinhold
8e9ec2905a Added Samuel Rodriguez Perez to the list of contributors. Without him
FreeBSD wouldn't be a supported build platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 13:17:43 +00:00
Ingo Weinhold
047b4d3cc8 Patch by Samuel Rodriguez Perez (slightly modified): Make the new
bfs_shell build on FreeBSD. ioctl() is defined in a non-standard header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 13:16:00 +00:00
Axel Dörfler
ed1589a568 Fixed binary compatibility problem I introduced yesterday.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 05:46:08 +00:00
Hugo Santos
ddcaaa6129 freebsd compat. layer: added open(), which calls into the driver's attach. when testing with PCNET, a interface is already presented to the stack, it is even able to obtain the MAC address from the device, but still more work to do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 04:45:01 +00:00
Hugo Santos
244a4d1fa3 freebsd compat. layer: we now init the several sub-parts through init_hardware, as well as allocate the available device_ts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 03:40:07 +00:00
Hugo Santos
a23462bfad freebsd compat. layer: use m_defrag to get a contiguous mbuf when read()ing. also added write() and a partial control().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 02:19:44 +00:00
Hugo Santos
3d09a7e4e8 Added FreeBSD 6.2's PCNET driver (original source, no modifications). It's what i'm using to develop and test the compat. layer right now, since it's one of the possibly devices VMWare emulates. although probe() already works, there's still a lot of work ahead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 00:47:39 +00:00
Hugo Santos
00212abe1c freebsd compat. layer: a few more methods, preparing for pcnet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 00:47:20 +00:00
Stefano Ceccherini
e6bf88d435 use the already available BLocker instead of atomic_add and a semaphore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 20:52:30 +00:00
Hugo Santos
62a21143be fixed a race condition in TCP's WaitList Wait/Signal that was preventing Connect() from awake when it should. Reported by Francois Revol.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 18:43:30 +00:00
Axel Dörfler
cd563ed67d * Fixed build under GCC 4, thanks to Ioan Molnar!
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 17:00:07 +00:00
Axel Dörfler
e5bc3cb9b4 Added virtual desctructor to calm down GCC 4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 16:59:23 +00:00
Axel Dörfler
f30198a051 * Implemented PathMonitor class - untested, but compiles.
* The API is just a proposal at this time, please comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 16:02:04 +00:00
François Revol
ec8bd525ca Add api_version.
Moved #define DEBUG after the lock.h include, as it wants to find lots of header I'm too lazy to track.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 14:35:01 +00:00
François Revol
232467aa4e Hook virtual/ to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 14:33:49 +00:00
Hugo Santos
747c938b9b freebsd compat. layer: now the glue code properly references the required methods so we have proper linkage with gcc 4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 14:22:35 +00:00
Hugo Santos
8c5520d67a use a appropriate naming for structure fields.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 12:04:34 +00:00