Commit Graph

5334 Commits

Author SHA1 Message Date
Axel Dörfler
9672de86ce Renamed kvsprintf.c to kernel_vsprintf.c to make it more salient.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:05:02 +00:00
Matthew Wilber
8ad30bcf80 Added code to merge selection with background image; removed Select None item, replaced it with Clear as Select None was behaving like Be ShowImage's Clear anyway; properly enabled/disabled Edit menu items when selection is made or cleared. Still no undo yet, but I'm planning to do that after Paste is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:48:53 +00:00
Axel Dörfler
497c0bf9c1 Removed unneeded file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:39:36 +00:00
DarkWyrm
6c2ca02ada Fixes to decorators broken by tweaks to click_type in Decorator.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:29:02 +00:00
Stefano Ceccherini
aa4d8c571d Synching with the code on my hard drive... Archiving/unarchiving should (partially) work now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:34:29 +00:00
Stefano Ceccherini
e38721600a Fixed a warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:31:38 +00:00
Jérôme Duval
85918d337e DefaultManager now stores its state, MMediaFilesManager store fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:51 +00:00
Jérôme Duval
89e7bc1e71 Added icons to the media_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:03 +00:00
Jérôme Duval
00b302f31f Added icons to the media_addon_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:15:34 +00:00
Jérôme Duval
8b9700ad24 GetInstancesFor must accept a NULL iocount and consider it as 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:12:21 +00:00
Jérôme Duval
188f88619c midi address fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:02:05 +00:00
Jérôme Duval
8b534e55a6 needed by DefaultManager, could be avoided but i think it's ok for now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 09:45:47 +00:00
Matthew Wilber
9eec20bc4a Changed fpBitmap to the more Be-ish notation of fBitmap, added code to allow the user to drag the bitmap selection around like in Be's ShowImage. However, no changes can be made yet to the underlying image. Need to resolve resize flickering of selected image and allow the user to modify the underlying image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 23:23:50 +00:00
Matthew Wilber
0e93ae51e9 Drag selection code can now move the selection inside the view, fixed selection drag code so that unwanted MouseUps don't affect the selection box movement. Though, drag selection code is not done yet, it is not yet copying the bitmap from where the selection was dragged from, it is just moving the selection rectangle. Dragging a selection to outside of the window still works the same.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 20:39:27 +00:00
DarkWyrm
f30761e5ee Last-minute tweaks to fix control_scrollbar()'s Set Double command
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 18:25:29 +00:00
DarkWyrm
8246ebe549 Minor retooling of code to utilize a BView subclass to hold all controls
Utilizes OBOS BScrollBar class
Still BC, but no longer "drop-in" binary compatible - requires the R1 app_server
It is possible to tweak the sources to run it under R5


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 18:23:16 +00:00
DarkWyrm
9107dffadc Converted display and interaction with scrollbar buttons from using BViews to having them be part of the scrollbar itself
Double and single modes should look the right way


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 17:52:05 +00:00
Matthew Wilber
bf461dbeb4 Changed text for "Rotate Clockwise" and "Rotate Anticlockwise" to "Rotate +90" and "Rotate -90"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 17:08:48 +00:00
DarkWyrm
f9f5f26473 Added OBOS header. I don't think there was anything else. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 20:48:22 +00:00
DarkWyrm
745d0b4a95 Implemented a function to allow for R1's prefs to work like R5's
Serious speedups on redraw - needs a little more work
Added the beginnings of thumb tracking
Implemented rapid-fire small-step scrolling when holding down a scroll button
Tweaks to button-drawing code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 20:47:53 +00:00
Matthew Wilber
d5be31007e Fixed caption hiding method so that whenever any kind of scrolling is done, the caption is hidden in full screen mode. Previously, the caption would only hide during click-and-drag scrolling and using other scrolling would cause the caption to be painted in various places on top of the image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 18:06:24 +00:00
Matthew Wilber
2cb9af89a4 Changed page browsing keyboard shortcuts to make it possible to browse through files and pages without moving any hands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 16:14:19 +00:00
Axel Dörfler
51d951ad00 Added glib'c temp. path creation routines to stdio-common (the only place
where they are actually used).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:21:38 +00:00
Axel Dörfler
76e34f86e5 Not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:19:53 +00:00
Axel Dörfler
5eb81b22fe Renamed printf-prs.c to printf-parse.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:18:44 +00:00
Axel Dörfler
4a4fcca956 Forgot to check the fix... it now compiles again, and there is a new
accessor method Inode::BytesInChain().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:15:54 +00:00
Axel Dörfler
b92791bf92 No longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:09:01 +00:00
Axel Dörfler
28d9e59387 Added process.c to the build, implemented getpid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:02:09 +00:00
Matthew Wilber
89d164def7 Added comments to MouseWheelChanged function which explains how B_MOUSE_WHEEL_CHANGED behaves.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 13:33:26 +00:00
Matthew Wilber
868de40a82 Fixed issue where view scrolls to the left when mouse wheel is used, changed to scroll faster if the wheel is scrolled multiple clicks per B_MOUSE_WHEEL_CHANGED message, increased the scroll speed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 13:12:18 +00:00
Jérôme Duval
71f1dfd147 Added mpu401 module from Greg Crain. Fixed warnings. Midi_driver.h is with system headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:52:11 +00:00
Jérôme Duval
dbe03c2ae2 Warnings fixed, midi_driver.h is now in system headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:49:41 +00:00
Jérôme Duval
95747c9f61 Added mpu401 module header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:46:33 +00:00
Tyler Dauwalder
303ff4017c Added remaining functionality. I believe everything works as advertised
now, but I haven't had time to test it very thoroughly, so your milage may
vary.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:42:43 +00:00
Tyler Dauwalder
ad4849879d - Added Session class
- Updated Disc::GetSession() to now return a new Session object.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:39:54 +00:00
Tyler Dauwalder
ce80ee567b - Renamed CDDA to AudioSession
- Added DataSession


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:38:42 +00:00
Matthew Wilber
41b5b65875 Changed APP_FLAGS so that ShowImage will be a SINGLE LAUNCH application
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:56:42 +00:00
Tyler Dauwalder
432e748fb5 Added session ddm module to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:56:11 +00:00
Tyler Dauwalder
8ba0b6e187 Initial checkin. Beginnings of port of disk_scanner session module to
disk device manager. Actual session scanning code appears to work
a-okay, but it isn't hooked up to the partition scanning entry function
yet, so sessions are not yet actually enumerated when the ddm test
program is run.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:54:59 +00:00
Matthew Wilber
60e5e3a209 Changed to have same APP_FLAGS as Be's ShowImage (SINGLE LAUNCH)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:42:47 +00:00
Adi Oanca
e9c5b47ef4 changed code for mouse input funtions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:29:14 +00:00
Adi Oanca
5580db514e very small changes: ordered code and liminated error because of the change if Decorator.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:28:40 +00:00
Adi Oanca
cfc7b758e0 Changed the names for some constants in Decorator.h so... here too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:27:26 +00:00
Adi Oanca
1dbc1b756a Changed the names for some constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:25:27 +00:00
Axel Dörfler
5eb712b2dd Now correctly returns the available bytes in the pipe in st_size.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 13:21:37 +00:00
DarkWyrm
98a70bba4b Converted all BSessions used for replies to PortLinks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 01:41:04 +00:00
Adi Oanca
2a006628cc small fix. removed 2 memebers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:31:52 +00:00
DarkWyrm
2e4c9e2113 Attachment data bugfixes related to fDataSize
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:22:30 +00:00
DarkWyrm
018e96bd74 Fix for a data attachment bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:21:43 +00:00
Adi Oanca
7052fe60fa new optinized clipping code
new optimized redrawing code
changes in some handlers in ServerWindow.
other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:15:29 +00:00