Commit Graph

17591 Commits

Author SHA1 Message Date
Jérôme Duval
70418bc5bf KernelAddon rule accepts resources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 10:41:19 +00:00
Jérôme Duval
d52a486fa7 clean Jamfiles, added <usb> grist to uhci and ohci targets (these are not usb specific)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 10:36:44 +00:00
Axel Dörfler
844f23f9ba Added the BSD-ish libcrypt.h for your convenience.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 22:48:08 +00:00
Axel Dörfler
9319c7b88f We don't add the Alt-w shortcut to modal windows anymore
by default, thanks to Darkwyrm for pointing to this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 21:34:07 +00:00
DarkWyrm
8809a51076 Another in the series of small usability tweaks:
Added a needed ellipsis to the About item
Increased the space between the "select current folder" button and the Cancel button in the Destination file panel to prevent accidental clicking


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 20:52:09 +00:00
Stephan Aßmus
014c7e9459 * Transformable::Reset() + Invert() didn't notify
* Path and StyleContainer take an index in Add...()
* FlatIconImporter works when "appending" another icon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 20:47:20 +00:00
DarkWyrm
6091ae51b0 Removed the unnecessary "Error setting up nodes" error message and reworded the most common error (missing video input) to make it more helpful to the user
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 20:29:56 +00:00
DarkWyrm
eef409055a Fixed the R5 StyledEdit build -- removed B_BAD_DATA as it was defined in Errors.h, unbeknownst to me
Added Alt+W shortcuts to the Find and Replace windows in StyledEdit
Fixed the Escape key shortcut hack


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 18:24:18 +00:00
Axel Dörfler
a68dd7c24a * Imported ncurses 5.5 after having run configure and make with build files removed.
* Simplified build a lot due to running make before (should be fixed one day).
* Only builds libncurses.a without the widechar and trace parts.
* All other libs (forms, panels, ncursesc++, ...) are left out for now, until a
  need for them arise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 17:04:44 +00:00
Axel Dörfler
70b0887a48 * Imported libutil.a and libedit.a from FreeBSD 6.1 release.
* Build of libedit.a is simplified; it does not recreate some automatically created
  files.
* Build of libutil.a currently only includes fparseln.c, others may be added as needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 16:55:45 +00:00
Axel Dörfler
576e825227 Added ncurses headers for later use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 16:53:53 +00:00
Axel Dörfler
275d9d80a9 Some more functions for our BSD compatibility library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 16:46:24 +00:00
Axel Dörfler
36788b7119 * Added strptime() to the build again,
* also defined STD_INSPIRED again, which lets localtime.c add some non-POSIX
  behaviour for now (needed by strptime()) - we should find a better solution
  to this, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 16:45:33 +00:00
DarkWyrm
464b524b93 Window size is now saved into preferences. This resolves bug #42
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 13:57:30 +00:00
DarkWyrm
1920c5bc7d This time I've really fixed the R5 DiskProbe build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 12:45:56 +00:00
Jérôme Duval
049112799e provided a fix for the build of resources, hope I didn't do bad things
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 12:07:05 +00:00
Axel Dörfler
1564b19c80 Extended libbsd.so a bit more. All sources (if not written by me) were taken from
the FreeBSD 6.1 release.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 11:15:01 +00:00
Axel Dörfler
340ac5d007 After Ingo's changes, fixed build for target Dano and probably more.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-06 12:51:10 +00:00
Axel Dörfler
2560808990 * Fixed typo.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-06 12:42:05 +00:00
Ingo Weinhold
b0634f6510 Resource definition files (*.rdef) are now piped through the C preprocessor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-06 12:38:30 +00:00
Jérôme Duval
bc19ead830 added a settings file for auich
there is now an option for laptops for which no interrupt is available (ie stippi's one) : use_thread
even when use_thread is active, it could be needed to use a higher value for buffer_frames (ie 512)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 20:10:48 +00:00
Jérôme Duval
cd270b7da8 added microsoft usage page
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 17:45:33 +00:00
Stephan Aßmus
4122cbb09a * copied code from BNodeInfo over to BIconUtils
* implemented a simple "GetIcon" function which loads whatever
  icon fits most depending on the available icons and the
  colorspace/size of the pre-allocated bitmap passed to the function


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 16:06:09 +00:00
Stephan Aßmus
6b422a8c22 * added a little documentation to BIconUtils in the header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 13:53:54 +00:00
Stephan Aßmus
70f4b8c0ae * cleanup for consistency in FlatIconFormat.h
* used Axels proposals for vector icon attribute name
* added a BIconUtils class, currently only dealing with vector icons,
  it will render a vector icon from either a BNode attribute or a flat
  buffer in memory into a provided bitmap. The bitmap needs to be of
  B_RGBA32 colorspace, the size of the bitmap determines the scaling
  of the vector icon, width and height should currently be the same
  (square bitmap)
* TODO:
  - add reading of "old" BeOS icons / move icon reading from other
    places (BMimeType?) into BIconUtils
  - add reading icons from resources?
  - suggestions?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 13:12:43 +00:00
Jérôme Duval
faa8b41dac added locking around ring_buffer_user_read as suggested by axeld. locking is already around ring_buffer_write
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 12:33:03 +00:00
Stephan Aßmus
38c71d13d7 * fixed build for PathContainer.cpp (stupid last minute change...)
* fixed crashing bug in Shape, it doesn't "own" the Style...
* fixed problem in Shape in for non Icon-O-Matic build, fNeedsUpdate
  still needs to be maintained.
  
Having a read-only version has definitely improved efficiency! The
icon import time must have dropped 50%. The overall penalty for
reading vector icons in Tracker seems to be 1.5 to 2 ms now, including
parsing and rendering at 32x32. 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-05 00:24:12 +00:00
Stephan Aßmus
fb07ece069 * moved all the classes actually needed for reading a
vector icon to this place, #ifdef'd out all the editing
  features (listening, referencing, converting to
  PropertyObject... etc)
* TODO: put into BPrivate namespace...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-04 23:57:01 +00:00
Stephan Aßmus
fd493c239f simplified translation(), more robust too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-04 23:49:14 +00:00
Oliver Tappe
b07b33c4ec * fixed access of deleted value in free_hook() that I introduced myself a couple
of months ago
* cleanup, improved styleguide conformance at least to some extent...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-04 19:34:43 +00:00
Jérôme Duval
78f9905a57 usb_hid now uses our kernel ring_buffer implementation even on BeOS
fixes bug #722


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-04 19:24:08 +00:00
Jérôme Duval
6a6c43798f have ring_buffer built on non-haiku platforms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-04 19:20:01 +00:00
Axel Dörfler
b526381437 Removed unused header as pointed out by Korli.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 22:24:03 +00:00
Axel Dörfler
1d9d47fc72 Started a libbsd.so with some useful stuff for porting applications.
Very limited right now, but might even be enough. We might want to move arc4random.c
from traceroute over, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 21:28:46 +00:00
DarkWyrm
b6ee50dd11 Style cleanups
Fixed the header to mention the authors on this app on each file
Made the prefs app font sensitive


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 20:50:40 +00:00
DarkWyrm
53108d8ba3 Removed B_REDO definition - it's actually not needed under R5 now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 18:34:22 +00:00
DarkWyrm
374fa7fc08 Moved Haiku-specific defs for the Translation Kit to the proper file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 18:28:52 +00:00
DarkWyrm
57cbc95a2f Need to actually *build* libhaikucompat on non-Haiku platforms. :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 18:25:26 +00:00
Ingo Weinhold
6e7c6fe567 Applied patch by mathewblack@ntlworld.com (bug #723) to support spaces
in the path to the Haiku working dir.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 17:57:34 +00:00
DarkWyrm
6c0e9c8097 Moved Haiku-dependent command line apps to just Haiku build targets
Added an include to dstcheck to build for R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 17:53:43 +00:00
Ingo Weinhold
5abaa7ebb1 We do now include HaikuBuildCompatibility.h and link against libhaikucompat.a
automatically for all BeOS compatible target platforms but Haiku. This should
allow more Haiku code to build for BeOS.

Disclaimer: I couldn't really test it, since my BeOS working tree is switched
to my layout branch and under Linux I obviously can't test building for BeOS.
So, if you have complaints, keep them to yourself and just fix the problem.
;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 17:50:19 +00:00
DarkWyrm
9cb421d375 Confined a couple of Haiku-only command-line apps to just Haiku builds
Tweaked a cast in listarea to permit R5 building


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 16:37:48 +00:00
DarkWyrm
146cf2137b Added a fix for DiskProbe under R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 15:56:12 +00:00
DarkWyrm
2583a5828f Fix build under R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 15:01:38 +00:00
DarkWyrm
19e5578eff License updates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 14:29:55 +00:00
DarkWyrm
0f7ce5276a Fixed build for non-Haiku targets
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 14:23:24 +00:00
Stefano Ceccherini
ea4eba9f14 Simplified a bit a part of FindLineBreak. Removed a now useless comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 13:12:54 +00:00
Axel Dörfler
f1d0add2ca _AddReplicant() now calls CanAcceptReplicantView(), too, which fixes the incorrect
replicant positioning upon add, a.k.a. bug #639: Deskbar relied on that method
being called to add positioning information to the replicant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-02 20:47:27 +00:00
Jérôme Duval
772abce732 factored driver name
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-02 18:38:03 +00:00
Axel Dörfler
4fec945a03 Stefano's investigations did the trick: added MenusBeginning()/MenusEnded() in
the shortcut evaluation.
This fixes bug #531.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-02 10:16:10 +00:00