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
Axel Dörfler
57b3bc3b9c
Added _kern_debug_output() syscall.
...
Fixed warning about missing user_strlcpy() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 22:08:30 +00:00
Axel Dörfler
9289abf0e4
Added _kern_debug_output() syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 22:07:36 +00:00
Michael Pfeiffer
50d78f98e5
Bug fixed: virtual function must not be called in destructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 20:38:19 +00:00
Axel Dörfler
70a5b6f894
Fixed compilation on x86. Also moved the SmallDataStart() inline out of
...
the structure definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 19:42:15 +00:00
Michael Pfeiffer
938629a7e2
Bug fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 18:30:19 +00:00
Jérôme Duval
36a4855350
Added a 3 seconds delayed save to disk
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 09:13:08 +00:00
Stefano Ceccherini
5480b4590e
Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc.
...
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 07:35:16 +00:00
Michael Pfeiffer
81b9c77691
- scale bilinear (experimental: scaled image is too small by one pixel)
...
- bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 06:54:48 +00:00
Axel Dörfler
8afbc3212d
Fixed some bugs concerning switching the log when it's getting too large:
...
never closed old file - with BeOS, it would only get deleted if the server
would be restarted... good for disk fragmentation etc.
Also, renaming failed if there already was a syslog.old file - it's now
removed first.
Furthermore, the first time the syslog was opened, its size was not checked,
the first output always went through.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 03:33:24 +00:00
Axel Dörfler
f0e6952fc8
Added comments to LOG_SERIAL and LOG_PERROR.
...
Note, LOG_SERIAL does neither work in our implementation, nor in the original
implementation by Be.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 03:30:21 +00:00
Axel Dörfler
12d314225a
Fixed the test; I wanted to use setlogmask_team() there...
...
Added tests for the repeated message suppressing.
Added test for having no ident string.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:59:09 +00:00
Axel Dörfler
1cb317b43c
Implemented syslog output. For now, it will be put into /tmp (i.e. the tests
...
won't clobber your existing syslog).
The time stamp is currently #ifdef'd out. We might think about adding some
prefs; the facility could also only printed for kernel messages (like in
Be's implementation).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:56:57 +00:00
Axel Dörfler
fe4817d5c0
Didn't set the facility correctly if set from both, openlog() and syslog().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:51:15 +00:00