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
Axel Dörfler
37023b5035
Added new message codes for adding/removing a syslog listener.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 01:15:46 +00:00
Axel Dörfler
95f0fd9010
Implemented the syslog_daemon. Actual syslog output is not yet implemented;
...
it currently only puts out everything to stdout.
Is able to accept listeners who will get the syslog notes as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 01:14:19 +00:00
DarkWyrm
a7ec3bbbea
Added reader class for BSession message streams
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 23:57:14 +00:00
Axel Dörfler
c094c0c22b
Added a comment about a missing dump of the message to stderr if write_port()
...
fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:55:04 +00:00
Axel Dörfler
05f8d13ed9
Now also checks if the context is kept after a closelog().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:42:13 +00:00
Axel Dörfler
21f3abb2b4
Added a test for the syslog functionality.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:37:46 +00:00
Axel Dörfler
0edba5de96
Added priority field to syslog_message.
...
Added macros to get the priority/facility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:35:19 +00:00
Axel Dörfler
87a98412a1
Now correctly differentiates between options and priority/facilities.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:34:12 +00:00
Axel Dörfler
fa2f787a47
Added some comments and fixed LOG_AUTHPRIV.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:33:11 +00:00
Axel Dörfler
fb4dcd08dc
Now checks in the argument's options as well for LOG_CONS.
...
The LOG_MASK() macro is now used correctly.
The non-standard LOG_PERROR is always visible in stderr as well (in BeOS,
so we copied it). Added a newline for stderr output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:11:50 +00:00
Axel Dörfler
f2eb00db1e
Fixed and simplified the user_*() team syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 15:37:44 +00:00
Axel Dörfler
9ff210a134
Use the SYSLOG_PORT_NAME constant instead of the name directly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 15:14:48 +00:00
Axel Dörfler
41c6e8cc55
Fixed the setlogmask*() functions; the priority mask is only set if the
...
parameter is not 0, and it returns the old mask as well.
Also fixed the initial log mask for the team context; it's now set to -1
(enable all priorities) by default.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:44:31 +00:00
Axel Dörfler
8c894b6039
No longer needed, the new syslog.h is now correctly placed in the posix/
...
directory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:41:30 +00:00
Axel Dörfler
94849cc617
Our new syslog.h. Note, this one might break source compatibility, as I
...
don't define some (unneeded) macros, and LOG_TMID & LOG_THID are gone
(they were specified to be the same as LOG_PID).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:40:45 +00:00