15236 Commits

Author SHA1 Message Date
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
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
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
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
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
Jérôme Duval
9cd5adb2a5 fixed some oddities with accent dead keys, this should fix bug #719 :
dead keys are now available through option key
diaeresis and acute are now presented with diaeresis and acute characters (instead of double-quote and quote characters)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-01 16:47:26 +00:00
Axel Dörfler
21470984c8 Added utimes() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-01 11:02:32 +00:00
Stefano Ceccherini
0354c3c2d5 Added missing return statement
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-01 09:30:17 +00:00
Axel Dörfler
3ef31db042 * Obviously, the i9xx family has changed the order of the PCI mappings, so we need
to take that into account.
* Introduced INTEL_TYPE_FAMILY_MASK and INTEL_TYPE_GROUP_MASK to better
  differentiate the device type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-27 08:32:36 +00:00
Axel Dörfler
82bb1bb302 * The driver needs to register itself with the correct name in order to be reloaded
on demand - device detection should now work as expected (not yet tested, as I
  didn't want to reboot yet :-)).
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-26 17:29:33 +00:00
Axel Dörfler
05c0dde554 Uh, the reason why ping did only work once, was because set_alarm() did not call
the existing syscall...
The second ping now ends in a kernel panic, though 8-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-26 13:19:52 +00:00
Oliver Tappe
b66ae2c9c8 - moved dumpBlock() into debug.c, renamed it to dump_block() and added it
to kernel-exports.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-25 19:46:36 +00:00
Axel Dörfler
eaf9428ba1 * Keyboard repeat is no longer crashing, in fact it's just working now :-)
* More minor cleanup.
* All that's missing is to make the keyboard repeat delay/rate configurable,
  but that can be done later (and is pretty simple, too).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-25 00:47:02 +00:00
Bruno G. Albuquerque
bcf475ec65 Made our version of is_computer_on_fire() behave like the BeOS one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-25 00:26:03 +00:00
Axel Dörfler
69c9a73ef1 * First go at implementing key repeat support - not yet tested, though.
* Fixed some potential crashing bugs: an assert() is no replacement for
  checking the result of an allocation!!!
* More minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-25 00:16:48 +00:00
Axel Dörfler
1526fa19b6 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-24 23:37:00 +00:00
Axel Dörfler
e48655c17f The driver can now be built again for R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-24 19:39:03 +00:00
Michael Lotz
8ba81a767e Continuing work on the USB stack and UHCI driver.
* Moved the transfer descriptor management into the UHCI class
* Added locking to the driver and the queues
* Added service thread for finished transfers (to be implemented correctly)
* Cleaned up some headers and added myself as author

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-23 22:21:34 +00:00
Axel Dörfler
c2db32a1d1 * No longer compacts newlines in HTML messages - usually, the typical newline tags
are missing from these mails, anyway.
* The decimal entity resolution (Ӓ) did not work correctly in HTML mails.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-18 19:55:21 +00:00
Waldemar Kornewald
2f13f213de * Made the PPP code more single-threaded.
* Removed ppp_up code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-16 14:24:16 +00:00
Stefano Ceccherini
7212229343 The BWindow destructor is called with the window locked, but we need to unlock to acquire the menu semaphore. Updated BBitmap to lock he window on quit too. This fixes last problem mentioned in bug 406
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-15 13:12:01 +00:00
Stefano Ceccherini
319b44afb8 Revert didn't work correctly. The default color is 216,216,216
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-15 12:07:44 +00:00
Ithamar R. Adema
6c05095ca6 Last set of minor fixes for GCC 4 build.
More will follow later, need to clean the fixes up a little :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 21:10:26 +00:00
Ithamar R. Adema
89f088e0da More (minor) GCC 4 fixes.....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 21:02:30 +00:00
Ithamar R. Adema
23e6780695 Lots 'n lots of STL fixes to make it compiling for GCC 4+
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 20:51:34 +00:00
Stefano Ceccherini
cf2ef43abd fixed a small problem with StealFocus and RestoreFocus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 12:09:49 +00:00
Jérôme Duval
39d02f8967 merging acpica-20060707 into trunk (see http://www.intel.com/technology/iapc/acpi/downloads/changes.txt), untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-13 15:24:32 +00:00
Stephan Aßmus
976ba53424 * don't loose sync of the current color in case
gradient stop changes color for some reason


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-13 12:51:07 +00:00
Bruno G. Albuquerque
96c52f75e4 Another small fix for Dano/ZETA compilation. Why is it Haiku does not seem
to need stdio.h for printf/fprintf?
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-13 11:05:15 +00:00
Jérôme Duval
505a035dd2 resize to preferred radio buttons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 19:21:53 +00:00
Jérôme Duval
956881506f fix some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 18:24:12 +00:00
Stephan Aßmus
61b0e9e314 * added a little bit of tracing to object destruction, since there
seems to be a problem when quitting the app
* added Undo/Redo commands for numerous operations
	- (un)assigning VectorPaths to Shapes
	- adding new VectorPaths
	- removing VectorPaths
	- adding Shapes
	- transforming Shapes
	- adding Styles
	- changing Style color
* there was a mix up in classes inheriting from SimpleListView,
  RemoveItemList() gives a list of item pointers, not indices
* GradientControl sent the focus notification to the window instead
  of the set BHandler target
* StyleView takes care of transfering the current Style color or
  the focused gradient stop color to the CurrentColor object, so
  the current color of the SwatchGroup is synced
* small improvement to layout of SwatchGroup
* SwatchGroup no longer knows anything about a Style
* fixed syncing the global Selection to the listview selection
  at least for ShapeListView
* implemented cloning Shapes
  - added Transformer::Clone(VectorSource& source) to all Transformers
  - ShapeListView uses this when dropping shapes with shift pressed
* updated NOTES
* added Transformable::matrix_size, so that "6" isn't hardcoded
  everywhere (though it still is at most places)
* added listener interface to TransformBox, this is used by
  the new TransformObjectsCommand, as long as the TransformBox still
  exists, the command modifies the TransformBox transformation instead
  of messing with the objects itself
* fixed hotspot size in TransformBox by using the zoom level of
  the CanvasView
* TransformBox rotates/scales correctly around the visible pivot
* fixed TransformCommand toggling to transformation (the diff was bogus)
* Gradient doesn't trigger unnecessary notifications in SetColor()
* CanvasView doesn't eat keyboard events when the GradientControl or
  one of the ListViews has focus (is a hack currently...)
* fixed bug in PropertyListView when it calls the PropertyChanged()
  hook: because of the notification mechanism, the Properties might
  be toast after the hook returns
* moved all GetProperty() implementations from headers into .cpp files



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 15:46:01 +00:00
Bruno G. Albuquerque
994caa6f7a Revert this as it was actually a configuration eror.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 14:08:13 +00:00
Bruno G. Albuquerque
a3ac8bd9a7 Quick fix to get it compiling under ZETA. I hope I didn't break it for other platforms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 13:58:54 +00:00
Jérôme Duval
17408188c5 SetValue now avoids itself switching off
also added an ASSERT to check the current radio button is still on after the switching off process
this fixes the weird behavior in the password window of the ScreenSaver prefapp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 11:27:04 +00:00
Jérôme Duval
3b77830fca improves font sensitiveness
code style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:59:53 +00:00
Jérôme Duval
99e5e6e8d2 fix R5 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:58:23 +00:00
Stephan Aßmus
0e684ccfed * added a framework for affine transformations and manipulating them
- Transformable: the base class with a nice interface to agg::trans_affine
- ChannelTransform: inheriting from Transformable, keeping the affine
  parameters separate
- TransformBox: inheriting from ChannelTransform and Manipulator
- TransformShapesBox: transfering the TransformBox transformation onto
  multiple selected Shape objects
* Shape inherits from Transformable
* solved an important TODO in IconRenderer: a Gradient is now transformed
  along with a Shape
TODO: Undo/Redo for manipulating the transformation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-11 17:25:37 +00:00
Axel Dörfler
ea3746798b Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-11 09:43:51 +00:00
Jérôme Duval
e2d5e00981 applied a patch from barber for bug #661. Thanks! This fixes a weird behavior when using the menu
minor cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 22:12:40 +00:00
Stephan Aßmus
2205ee0914 * added GradientControl which can edit a Gradient
* filled out StyleView for configuring a Style
* added SetGradientCommand for undo/redo editing a
  Gradient
* Style::SetGradient() doesn't assume ownership
  of the Gradient passed in anymore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 21:36:46 +00:00
Jérôme Duval
67bdea52ce hope no one minds with this Dano-like version of BMessage::PrintToStream()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 20:00:07 +00:00