Commit Graph

22260 Commits

Author SHA1 Message Date
François Revol 78843897fc * Comment unneeded files.
* I *do* want PIC code for m68k!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 22:25:10 +00:00
François Revol 94644dfbbc No images yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 22:18:38 +00:00
François Revol 81c66ced7d Video mode menu and support stubs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 22:16:40 +00:00
François Revol bbe7f995af hey it's only 23:00!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 22:08:12 +00:00
François Revol 93879b9abf Fix debug output code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 22:02:03 +00:00
François Revol 4f9d8b0eb9 Fix warning.
helf: if you are bored you can just help coding :P


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:43:42 +00:00
François Revol d86cef8673 shouldn't access FILE as it's not declared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:41:55 +00:00
François Revol a03f522e5a Fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:30:31 +00:00
François Revol 13b1977cd2 Missing include.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:27:33 +00:00
Axel Dörfler 737ce1c03c * The keyboard target was always the first menu in the window list - no matter if that was hidden or not.
This fixes the bug described by Stefano in r23343.
* Therefore, I enabled cached menu windows again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:26:55 +00:00
François Revol 9d2f3035cd Handle console input.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:16:22 +00:00
François Revol 9bc2823955 * Note for stage1
* Fix call to Bconin()
add correct color handling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:15:46 +00:00
François Revol eb53cd839c generic handle class for the console.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:08:08 +00:00
Axel Dörfler 58e5eff96f * Some refactoring and cleanups.
* Started a "View As" feature which will allow you to use the type 
  editor for the file itself - not yet enabled (or working).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 21:05:00 +00:00
François Revol c2b8af8b2b Add a console implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 20:54:55 +00:00
Marcus Overhagen 3831b73445 fixed bugs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 20:50:24 +00:00
Marcus Overhagen 1cdfe7f991 some cleanup to make it compile again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 20:39:30 +00:00
François Revol bf2b4e7811 * Missing write_8()
* Fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:48:16 +00:00
François Revol ee189af07d Should be enough for an m68k elf loader. hopefully I didn't screw up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:42:38 +00:00
Marcus Overhagen c40a87f8d4 Removed finish_* functions and converted to new ata_request_* functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:40:42 +00:00
Marcus Overhagen 041c70132c converted to use the new ata_request_* functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:34:32 +00:00
Marcus Overhagen a3af33c75d New struct ata_request.
Added ata_request as wrapper around scsi_ccb while they are executed in the ata stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:09:24 +00:00
Stefano Ceccherini 0625889c61 IsModal() now includes also the kMenuWindowLook. Fixes bug #1269. Please
review.
Added a compile time option to switch off the use of the cached menu 
windows. Looks like there is a problem with the focus system, if I keep 
the cached menu window around, it "steals" keyboard events from the main 
app window after the menu has been opened and closed once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 16:04:57 +00:00
François Revol c99755c092 Note on PIC limitations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 14:54:20 +00:00
François Revol 9ecdca6ec1 ild script to build a .prg (only works with PC REL code!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 14:50:03 +00:00
François Revol cd6103fab1 Some more test code... it runs now as .PRG!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 14:49:13 +00:00
Stefano Ceccherini 85e661dbf0 Merged (parts of, for now) patches from Rene Gollent and
Christof Lutteroth, which improve menu keyboard navigation. Sorry for 
the delay, I had these patches sitting on my hard drive for a while. At 
least now you can open a menu with ALT + ESC, navigate it with the arrow keys,
and invoke an item.
Various issues still exist, including: menubars don't get the keydown 
messages, and if you keep the mouse over the menu while navigating
with the keyboard, nothing will happen. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 14:06:11 +00:00
Stephan Aßmus 67abb56fcd patch by aldeck:
* fixes the content inside the tabview in the Media preflet spanning over
  the wrong area (wrong insets)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 13:46:35 +00:00
Michael Lotz 86fee1806c Reset the freed device name list so it is not freed a second time on republish. Also check the allocation of the new name list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-10 11:45:20 +00:00
Marcus Overhagen dd7579a79b started reimplementing pio command completition...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 23:59:00 +00:00
François Revol 17b30c87ea Notes on prg file format.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 23:41:15 +00:00
Axel Dörfler 3e5b9076f9 * Fixed (or rather, worked around) a deadlock in the VM: when a file was
resized but still had dirty pages to be written back, 
  vm_cache_resize() (which is called with the inode lock being held)
  deadlocked with the page writer.
* Now, I reintroduced busy_writing: it'll be set by everything that
  writes back pages (vm_page_write_modified(), and the page writer),
  and will be checked for in vm_cache_resize() - other functions are not
  affected for now, AFAICT.
* vm_cache_resize() will clear that flag, and the writer will check it
  again after it wrote back the page (which will fail when it's outside
  the file bounds), and if it's cleared, it will get rid of the page
  (if the file has been resized again in the mean time, writing it will
  succeed then, and we'll keep the page around).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 22:25:21 +00:00
Michael Lotz 2c5faa49db Fix multi-line single-line comment warning...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 22:05:26 +00:00
Michael Lotz d7074530fd Clean out some of the spurious whitespace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 22:00:51 +00:00
Marcus Overhagen 5558f70663 Renamed ide_qrequest *qrequest into ata_request *request.
Removed synced pcs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 21:58:23 +00:00
Stephan Aßmus 6e796d9fbe * applied the same logic with regards to the ringbuffer to the
mouse case in the ioctl() hook. Should be considered work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 21:26:05 +00:00
Jérôme Duval 2db1814b1f fix warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 21:05:50 +00:00
Stephan Aßmus e7447cc4bb mmlr+stippi+axeld:
* changed the way the interrupt schedules and repeats are handled, the
  input server thread (via ioctl) is now triggering the scheduling and
  processing of usb interrupt transfers. As long as it is blocking on
  the usb_callback semaphore, it is using it as timeout for the key
  repeats.
-> no more deadlock because the driver is issuing usb commands from
   within the usb_callback function (hotplugging should be fixed
   when using the Haiku usb stack)
-> the driver is no longer installing one timer per key down event
-> simplifications


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:46:54 +00:00
Marcus Overhagen d688a5ad65 set bus state to ata_state_busy during device scanning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:45:44 +00:00
Marcus Overhagen a0183a22a1 removed fast_log usage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:35:03 +00:00
François Revol 61946f580b sftp doesn't allow renaming to an existing file, so remove it first.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:29:35 +00:00
Marcus Overhagen a094d41047 Rewrote bus state functions, commented out much code to make it compile.
Moved bus_reset from basic_protocol.c into ata.c


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:26:05 +00:00
Karsten Heimrich 952fdf7851 fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 19:13:29 +00:00
François Revol 6298fd4531 sftp also needs chmod...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:56:20 +00:00
François Revol 42b2e5d59a Might work better with the files :)))
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:51:55 +00:00
François Revol 718140546e sftp uploader seems to be working now :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:50:59 +00:00
Axel Dörfler 34dafb6352 Minor refactoring.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:39:42 +00:00
Axel Dörfler bcb71f00e8 * My last change to vm_page.cpp made an existing bug much more likely to
appear: when freeing a modified page, it wouldn't have a cache
  anymore, but set_page_state_nolock() depended on it.
* To work around this, I added a vm_page_free() function, which the
  caches that free modified pages have to call (but others may, too).
  It will correctly maintain the sModifiedTemporaryPages counter in case
  the cache has already been removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:15:28 +00:00
François Revol e3145a8d8d Start of an SFTP uploader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:15:26 +00:00
Axel Dörfler f4748003ed * Added a KDL function "call" that can show the arguments together with
a function in the stack trace (only works reliably when a stack frame
  is exists, and you'll have to know the number of arguments).
* Refactored the functions a bit and extracted setup_for_thread() out
  of stack_trace() to be used by show_call() as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 18:08:15 +00:00