Commit Graph

3476 Commits

Author SHA1 Message Date
Axel Dörfler
f8a4dcfa28 Forgot about B_ANY_KERNEL_BLOCK_ADDRESS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 22:29:51 +00:00
shatty
b189695d21 more stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 22:14:41 +00:00
Axel Dörfler
c4aff5f858 Now uses delete_area() instead of vm_delete_region().
Temporarily #if'd out scan_pci() and removed the compiler calming hack for it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:47:20 +00:00
Axel Dörfler
cbc1309c68 Replaced some more vm_create_anonymous_region() with create_area() and
create_area_etc().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:38:13 +00:00
Axel Dörfler
5152eb6890 The delete_area() call in the kernel now only allows to delete areas created
in the kernel.
Use the new delete_area_etc() call for other needs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:21:50 +00:00
Axel Dörfler
b2e5e9af2d As the BeOS documentation states what will happen in the future,
delete_area() now only allows to delete areas you have created
yourself before from userland, again.
The kernel's delete_area() still allows everything, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:08:35 +00:00
Axel Dörfler
010a1e70be Made the delete_area() function BeOS compatible; it now allows any area to
delete. Added a comment how the security should be improved by adding another
restriction.
Also mentioned that it's probably a bad idea that vm_delete_region() will
not wait until the region has been freed, but just "mark" it as to be freed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:47:31 +00:00
Axel Dörfler
7b25ddd21a Replaced calls to vm_create_anonymous_region() with the BeOS compatible
create_area() where possible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:28:11 +00:00
Axel Dörfler
fe8a9052c0 Updated for the new BeOS compatible syscalls - create_area() is no longer
broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:20:06 +00:00
Axel Dörfler
beb1a1b992 Now uses the new BeOS compatible area calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:18:30 +00:00
Axel Dörfler
50ba6835f7 Replaced old create/delete area syscalls with the new ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:10:35 +00:00
Axel Dörfler
20fcd813b9 Implemented BeOS compatible create_area()/delete_area() calls for the VM
that will call the internal vm_*() calls. This will make it easier to just
drop in another VM.
Also (partially - Ingo was faster) introduced the new syscall naming scheme
_kern_ & _user_ prefixes to them into the system namespace, and no longer
clobber the application namespace.
Removed the now unused user_vm_create_anonymous_region() call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:06:13 +00:00
Waldemar Kornewald
3c39df3d0b Finished Up().
Redial needs one additional case to be complete.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 10:40:45 +00:00
shatty
434690369e added radio buttons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 09:48:11 +00:00
shatty
24f569381e bit by bit building the Application Type window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 09:24:34 +00:00
shatty
d1ac83129d fixed RefsReceived initialization bug, added AppTypeWindow handling to ArgReceived
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 22:22:58 +00:00
shatty
ed9b1292f5 added AppType window for when a single application is selected
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 22:06:23 +00:00
Waldemar Kornewald
aa4dee1bda Some minor changes.
Started to get familiar with the code, again. ;)
Some _very_ small work on Up().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 11:51:27 +00:00
shatty
9495e98e8f removed FileType code files and a few minor cleanups
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 09:07:11 +00:00
shatty
a11f505d56 round two on FileType app/add-on : ability to open file(s), set and save mime types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 08:30:32 +00:00
shatty
a749a4600e first cut FileType app/add-on
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 05:56:05 +00:00
Axel Dörfler
ffbc2ebc23 Moved the driver initialization from init_hardware() to the more common
init_driver() - also added a matching uninit_driver() (just in case :)).
Replaced in8()/out8() with calls to the ISA bus manager (NewOS change 1804).
Removed unused includes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:53:01 +00:00
Axel Dörfler
650a32fb62 Fixed two very subtle and hidden bugs that prevented the module component
to work at all: recurse_directory() always returned failure, no matter what opendir()
returned (one semicolon too much), create_module() allocated only 4 bytes for
the module - sizeof(module) referred to the variable, not the structure name...
(the unfortunate consequences of the naming scheme I otherwise like very much -
it "just" took me 3 hours to hunt both bugs down).
Added some TRACE() and ASSERT()s.
Added a new debugger command "modules".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:41:26 +00:00
Axel Dörfler
54711c1b89 free() now fills the freed memory with 0xdeadbeef if PARANOID_KFREE is defined
(except for the first 4 bytes, because that's the pointer to the next buffer
in the free list).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:35:57 +00:00
Axel Dörfler
782a460588 subtle cleanup, debug output corrections.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:21:26 +00:00
Axel Dörfler
f3514075a1 opendir() did not correctly set "errno" if sys_open_dir() failed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 02:08:58 +00:00
beveloper
a4cd9d18a1 input connection settings are saved now, too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 18:49:27 +00:00
beveloper
1165d5e18a added support for a settings file,
some fixes in the deferred saving code,
added save/load to mixer connections


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 16:03:46 +00:00
shatty
f825dfe370 first cut
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 14:06:18 +00:00
shatty
478ff13242 first cut
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 13:53:23 +00:00
beveloper
c3465a64ee added full balance control to all input channels
removed performance display control and settings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 01:34:54 +00:00
beveloper
5fa60b3b64 added balance control to output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-17 00:34:48 +00:00
Phil Greenway
9361f4d2b5 Just adjusted the menu. Hoping to have some more time to work on the app soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 22:08:30 +00:00
beveloper
4224efc3c7 implemeted non linear gain controls (similar to BeOS R5)
allow to select gain control slider modus in setup
(either controls physical input, or virtual output channels)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 19:40:31 +00:00
beveloper
26bf7cd399 added mixer setup tab functionality and storage of settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 17:40:28 +00:00
shatty
84e10936b8 fixed implementation to match new posix/beos compatible prototype for tolower/toupper, also added isblank implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:14:04 +00:00
shatty
926f5ddfbe version 1.0 of Jonas Sundstrom's ZipOMatic app/add-on
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 00:57:12 +00:00
shatty
c0ecc31328 fix compile with DEBUG on by changing arguments to PRINT_OBJECT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-15 19:07:27 +00:00
shatty
884d2b83a6 error protection for Get functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-13 10:12:46 +00:00
shatty
5c78d8ec9e changed to not exercise r5 lib-style convert_to_utf8 behavior on 0 bytes because the r5 lib-style behavior contradicts the bebook specification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-13 05:44:31 +00:00
shatty
5b7ea503a7 refine the error handling behavior. note: we depart from the bebook specification for returning B_ERROR when no characters are converted. we do this in exactly one situation: when there are no bytes in the input. this behavior is the behavior given by the R5 libs themselves. not having this behavior caused an error in our stylededit as well. stylededit has been fixed to not exercise this functionality. also added in the two most popular chinese encodings for my own evil purposes. GB18030 support is required to legally sell an operating system in mainland china as well. GB18030 support encompasses GBK and GB2312, additionally.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-13 05:38:07 +00:00
Niels Sascha Reedijk
1501c2bf3e This is just an outline of the USB stack: what it is going to look like. It is definately not
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
shatty
ce5d5d8d39 fix technixs so called color bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 05:34:52 +00:00
shatty
cd600cf798 view experimentation, do not include debugger.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 17:38:30 +00:00
shatty
3349a7ac9d removed BTextView subview, it will not work for background text, complex cursor control, and will probably have problems with wide character alignment. also fixed long-standing scrollbar bug (stupid missing argument bug).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 14:25:09 +00:00
shatty
d85db6a722 fixed some initializations and edit menu initialization
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 12:47:05 +00:00
shatty
62e7938594 wrapping cascading! okay, i am really wasting my time now... I will go back to terminal I promise.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 11:46:37 +00:00
shatty
d727a85b3b null settings reveal improper ownership bugs which are now fixed, no more luck needed, fixed a missing delete in destructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 10:33:36 +00:00
shatty
54b7d67454 good boys delete what they new up when they get destroyed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 10:00:48 +00:00
shatty
c7e570eb7f SetSettings turns over ownership to the BMessage so we null out our field to ensure we do not accidently use it later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 10:00:16 +00:00