Axel Dörfler
877547cdb0
Renamed *_stack_region_id with *_stack_area, also replaced region_id with area_id.
...
Fixed a bug in snooze_etc(): it could define both, B_ABSOLUTE_TIMEOUT and
B_RELATIVE_TIMEOUT at the same time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 13:52:11 +00:00
Axel Dörfler
99bd520827
Now makes use of the real_time_data structure.
...
No longer crashes due to architectural VM restrictions (ie. the area
is kernel only but writable now - should be cloned).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:48:04 +00:00
Axel Dörfler
9e78877956
Added the real_time_data structure that extends Jerome's work on the
...
real time shared page (it contains the boot time offset and the system
time conversion factor for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:35:00 +00:00
Axel Dörfler
d790daa3cc
The status field is no system field; it has to be set by the disk system
...
(it will be maintained by the system afterwards, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:29:12 +00:00
Axel Dörfler
6aa419e55f
Correctly implemented find_area() and area_for(), available for userland
...
and the kernel.
create_area() can now only create kernel areas.
_user_create_area() now directly calls vm_create_anonymous_region().
Removed broken find_region_by_address() and find_region_by_name().
Removed vm_find_region_by_name().
Renamed the idle thread stack areas.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:20:20 +00:00
Axel Dörfler
bcf9ffef0b
Fixed a possible crashing bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:17:06 +00:00
Axel Dörfler
8bce4da9ee
Replaced vm_find_region_by_name() with find_area().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:15:07 +00:00
Axel Dörfler
c9293f364f
vm_get_region_by_id() and vm_put_region() are now private.
...
Removed vm_find_region_by_name() (superseded by find_area()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:14:32 +00:00
Axel Dörfler
704df541ac
No longer uses private VM API to the base address of the idle thread stacks.
...
Renamed the idle thread and their stack areas.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 11:12:05 +00:00
Axel Dörfler
3f97e14d42
Fixed a comment as pointed out by Jerome.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 10:17:41 +00:00
Rudolf Cornelissen
9ef9c745d2
shutdown INT registerprogramming, INT routine returns no INT detected status.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 09:40:28 +00:00
Rudolf Cornelissen
bdbaf03861
shutdown overlay, cursor, retrace sync
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 09:25:04 +00:00
shatty
7590898fc9
always set packet from chunkBuffer and bytes from chunkSize
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 05:26:16 +00:00
shatty
72c89788b2
add compatibility chunk interpretation for extractors not providing OGG_PACKET_DATA_TYPE
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 05:17:37 +00:00
Matthew Wilber
8b8d5f70ad
Continued refactoring. Removed unneeded member variables, renamed members to fit style guidelines, simplified code. Still need to make more style changes, add error checking and comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 23:26:37 +00:00
Nathan Whitehorn
40c831ab93
Fixed a crashing bug that would occur if mails were placed during an IMAP session in the root hierarchy of the IMAP directory structure with a non-NULL mailbox root prefix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 21:50:46 +00:00
Matthew Wilber
6646684604
Added IconView.cpp to Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 21:17:52 +00:00
beveloper
212308131f
fixed seeking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 18:19:59 +00:00
beveloper
8dc315d3db
I don't know if returning pixel aspect ratios like 14097:10000 is nice,
...
but at least it's not that broken as always using 1:1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 18:05:28 +00:00
beveloper
1682c6b4ab
basic video playback support, seeking works, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 17:11:38 +00:00
beveloper
934d449723
Added support for AVI file compatible video codecs, works.
...
Added vorbis audio support, doesn't work yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 17:10:14 +00:00
Matthew Wilber
239f85ff46
Beginnings of refactoring. Removed unnessecary member variables, removed commented out code, renamed some member v
...
ariables to meet style guidelines, fixed icon repainting by moving icon drawing to its own BView class. Still need
to check for more unnessecary member variables, fix more style issues and resolve behavior differences between the
Haiku and Be versions of this preference panel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 17:05:56 +00:00
beveloper
f944d8fb3f
avoid reading tracks which are not supported by the reader
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 17:04:53 +00:00
Matthew Wilber
8a8da59c02
Moved icon drawing out of the BWindow class and into this BView class to fix the repainting issues.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 16:56:58 +00:00
beveloper
1841471ea4
calculate duration and an approximation of frame rate and frame count
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 14:46:05 +00:00
Waldemar Kornewald
b1158dce78
Fixed build. Using -fno-rtti.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 12:59:27 +00:00
Waldemar Kornewald
fb2b4232cf
Fixed build. Using -fno-rtti now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 12:58:24 +00:00
Jérôme Duval
bc5583d710
added pclose.c to the build, needed for running diff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 11:30:35 +00:00
beveloper
08229584f5
initial implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 11:29:01 +00:00
beveloper
685eec2577
disabled unused open function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 11:28:26 +00:00
beveloper
945235f737
cleanup and license added
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 11:26:37 +00:00
shatty
2f28cee0ca
add more aliases
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 02:49:11 +00:00
Jérôme Duval
ca6e6e8d16
removed unuseful clone_area
...
This is a temporary solution, until moving to a global kernel export data struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 01:19:27 +00:00
Jérôme Duval
3a88903282
_kern_set_real_time_clock now returns a status, we now use it for errno
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 01:16:12 +00:00
beveloper
dc1680bc47
Added missing license to the recently implemented chunk cache.
...
Using the unmodified BSD license without advertising clause.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 22:18:18 +00:00
beveloper
ba415f96d9
removed unused files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 22:10:20 +00:00
beveloper
aa09be21b3
removed unused files, the mixer has it's own resampling code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 22:07:09 +00:00
DarkWyrm
b5602a834c
fixed a bug in ViewDriver which caused it to not send mouse wheel messages
...
Added a method to CursorHandler to get the mouse position
Mouse messages are now sent to the client window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 20:04:39 +00:00
DarkWyrm
e09fd76fe6
Added some changes for the new mouse wheel support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 19:45:49 +00:00
DarkWyrm
2418b1a07b
Added a method to get the cursor position
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 19:44:49 +00:00
Jérôme Duval
d104cdcbae
Moved sBootTime to an area, so that userland can clone it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 17:37:00 +00:00
Jérôme Duval
dc80059933
first real_time_clock impl
...
todo : setup_rtc_area should be called on startup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 17:34:39 +00:00
DarkWyrm
929bab19c4
Fixed a long-standing bug with displaying focus and some tweaks to Desktop focus code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 16:54:05 +00:00
Axel Dörfler
1d3a392013
Cleaned Jamfile and moved all build rules to where they belong.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:26:40 +00:00
Axel Dörfler
3cb6980c61
Fixed strange build: the random driver had its build rules in src/add-ons/Jamfile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:25:43 +00:00
Axel Dörfler
cb0e767932
Fixed strange build of null/zero drivers; their build rules were previously
...
placed in src/add-ons/Jamfile.
Removed sample-code driver digit; it's of no use here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:23:48 +00:00
Jérôme Duval
57b05275c4
collides with the bin tty
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 14:04:06 +00:00
Axel Dörfler
d2170152b1
_user_set_real_time_clock() can now return an error. It currently even
...
will do this if this function is called by anyone other than the root
user.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 16:08:00 +00:00
Axel Dörfler
4ce0cb439a
The set_read_time_clock() syscall now returns a status_t to be able to
...
indicate failure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 16:06:28 +00:00
Jérôme Duval
c345d00db1
added a check of permission
...
now set errno and return -1 for errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 13:25:13 +00:00