Commit Graph

9974 Commits

Author SHA1 Message Date
Axel Dörfler
534d8fbcc7 Fine-graded debug output. Debug output disabled by default.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:37:07 +00:00
Axel Dörfler
13dee31361 Now uses create_area() instead of vm_create_anonymous_region().
The page_stats debugger command now understands queue names as well.
Some minor cleanup, improved error checking.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:34:35 +00:00
Axel Dörfler
1c11f7ea8a Got rid of regions - we're now back in area-land.
Renamed vm_area::lock to vm_area::protection to be less confusing - wiring
is still called wiring, though (might be renamed to lock later, as that's
how BeOS calls it).
Renamed some global variables to match our naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:25:09 +00:00
Axel Dörfler
df9445ba48 Replaced region_id with area_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:17:19 +00:00
Axel Dörfler
a49a5623f1 Got rid of regions - we're now back in area-land.
Renamed vm_area::lock to vm_area::protection to be less confusing - wiring
is still called wiring, though (might be renamed to lock later, as that's
how BeOS calls it).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:16:35 +00:00
Axel Dörfler
98cc327660 Replaced region_id with area_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:11:46 +00:00
Axel Dörfler
070f286492 Use create_area() instead of vm_create_anonymous_region().
Some minor other cosmetic changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:06:50 +00:00
Axel Dörfler
a13f918460 No need to have the kernel daemon run immediately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:03:19 +00:00
Axel Dörfler
07bdb9c6ea Got rid of gSemRegion as it is never really used.
Renamed all static global variables to have the 's' prefix.
acquire_sem_etc() now fails if B_RELATIVE_TIMEOUT and B_ABSOLUTE_TIMEOUT
are both set.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 13:57:40 +00:00
Axel Dörfler
148a8e0c57 Renamed *_stack_region_id with *_stack_area, also replaced region_id with area_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 13:53:34 +00:00
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