Commit Graph

22163 Commits

Author SHA1 Message Date
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
Marcus Overhagen
84fe450d15 fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 17:54:10 +00:00
Marcus Overhagen
478a8f0151 fix build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 17:53:30 +00:00
Marcus Overhagen
27d6150677 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 17:48:32 +00:00
Marcus Overhagen
1f1863e2a8 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 17:45:12 +00:00
Ithamar R. Adema
e2eba858bb [HDA] Pass correct Cyclic Buffer Length to hardware...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 15:42:54 +00:00
Marcus Overhagen
cc91279875 removed command queuing and refactored device configuration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 15:37:49 +00:00
Axel Dörfler
3d2595d16a The modified temporary page counter could go out of sync pretty easily.
This could cause the page writer to run endlessly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 14:56:50 +00:00
Axel Dörfler
527b14e9d5 Renamed AttributeEditors.{cpp|h} to TypeEditors.{cpp|h}.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 14:29:14 +00:00
François Revol
6bb8b29f48 Make CamFrame a subclass of BMallocIO to add a timestamp field.
Set the field on allocation and pass it around.
Still disabled as CodyCam drops everything, I should probably drop old frames from the buffer... 
for now it uses system_time() to make CodyCam happy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 14:10:37 +00:00
Axel Dörfler
7815f565dc Added a very simplistic BMessage viewer to the attribute editors - it
should later be replaced by something more useful (when we have a 
usable column list/tree view class).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 13:42:05 +00:00
Marcus Overhagen
f017b372bd added more debug output, read device error register after a reset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 12:39:03 +00:00
François Revol
d51474999c Make sure the image format settings is saved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 12:24:37 +00:00
Marcus Overhagen
479c2cafbc added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 12:08:12 +00:00
Marcus Overhagen
f0e260b3bf added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 12:07:38 +00:00
Marcus Overhagen
152fffc418 added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 12:06:15 +00:00
Stephan Aßmus
826ea6b6f1 * the change to support B_DRAW_ON_CHILDREN broke ViewLayer::ViewAt(), ie
mouse events would not be passed to the correct children of views with
  B_DRAW_ON_CHILDREN flag set -> fixed. (fixes #1673)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 11:37:05 +00:00
François Revol
89740c7897 Add a base class for FtpClient to allow different clients later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 11:22:39 +00:00
François Revol
ef89d96701 Work around BeOS ftpd (sets 640) + robinhood (doesn't like 640) by adding Chmod() support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 11:12:16 +00:00
Stephan Aßmus
669717f740 * added a few recent contributors... I probably forgot a few others who
deserve to be mentioned... please speak up and I will correct it on
  the spot! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 11:05:40 +00:00
Stephan Aßmus
3dfc4833e3 applied patch by aldeck:
* the Revert button always returns to the settings which were active
  when the preflet was started
* the Defaults button always applies the default settings (the Revert
  button then still reverts to the original settings instead of those
  which were active when "Defaults" was pressed)
* the enabled state of the two buttons is correctly maintained
* code cleanup and refactoring

Thanks a lot, aldeck!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 10:36:47 +00:00
Ithamar R. Adema
afc104a083 [HDA] When controller has multiple codecs, make sure we try to use the one with audio features. This should improve laptop support. More to come ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 10:20:07 +00:00
Stephan Aßmus
789091541e * cache the result of visiting the partitions
* make sure the colors are bright enough


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 00:30:24 +00:00
Marcus Overhagen
5f50c05486 cleanup of the rescanning code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 00:17:51 +00:00
Stephan Aßmus
2787214419 * VisitEachPartition() was not working correctly, terminatedEarly was not
maintained


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 23:35:51 +00:00
François Revol
866072435f When running with relative path, Zeta complains: "Don't change the current working directory before creating the BApplication.".
Should work this way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 22:47:59 +00:00
Stephan Aßmus
65a544dfb6 * the DiskView is now displaying the partition layout grafically and draws a
frame around the currently selected partition (in the listview)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 22:35:45 +00:00
Marcus Overhagen
d394cf760c check for device presence before trying to read the signature
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 22:31:35 +00:00
Marcus Overhagen
4e9047599d Modified device reset and detection, still broken
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 21:46:30 +00:00
François Revol
4a76630832 Seems I forgot to commit the overlay on that one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 19:58:50 +00:00
Stephan Aßmus
7b94dab18f * fix some invalidation problems with the triangle thumb which are caused by
non-traight lines extending past the thumb frame because of anti-aliasing
  effects


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 18:56:04 +00:00
Stephan Aßmus
01c2f44ee8 * fix keyboard handling to trigger the correct invokation message
* add support for B_HOME and B_END key (jump to min/max value)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-08 16:39:00 +00:00
Stefano Ceccherini
20817b7706 Double sorry...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 22:55:36 +00:00
Stefano Ceccherini
598ea11c81 Sorry, this wasn't meant to be here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 22:42:28 +00:00
Stefano Ceccherini
3e06c4fae2 Improved the code still a little bit. Menus seems to be somewhat more
responsive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 22:21:25 +00:00
Marcus Overhagen
b44b755c91 modified device detection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 19:29:15 +00:00
Stefano Ceccherini
8d44324fda Same thing as previous commit, only for BMenuBar. Added some other
comment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 16:13:14 +00:00
Stefano Ceccherini
14e826c4ba Some changes in menu tracking:
- in the code path, now it's clear if the looper is locked or not
- if menus are quitting, now we don't call snooze() anymore, and avoid 
the extra GetMouse() call.
- some other cleanups


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 15:46:28 +00:00
Stefano Ceccherini
7957219ebb Removed a check which was always false.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 13:54:55 +00:00
Stefano Ceccherini
d19c9634d4 Added comments which clarify why we are doing things like this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 13:43:29 +00:00
Marcus Overhagen
0cd362c755 copying current ide bus manager into ata directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 12:59:53 +00:00
Marcus Overhagen
413e26b8a0 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23275 a95241bf-73f2-0310-859d-f6bbb57e9c96 2008-01-07 12:59:01 +00:00
Marcus Overhagen
580e5994d9 Moved files again, this time to the correct dir.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 12:56:59 +00:00
Marcus Overhagen
ffaf504fbc copying current ide bus manager into ata directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-07 12:48:21 +00:00
Stephan Aßmus
052ae287b0 * made transfering the pending to the current update session a bit faster
by toggling pointers instead of assigning/transfering regions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 20:20:37 +00:00
Stephan Aßmus
c177064158 * removed no longer valid TODOs
* cleanup the code in a few places
* fixed a bug where the border region would not be made empty if there
  was a decorator previously, but there is no new one
* slight improvement for memory footprint of WindowLayer by using bit fields
  for more of the flags


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 20:09:55 +00:00
Stephan Aßmus
92c779bd11 patch by Alexandre Deckner (aldeck):
* improve the placement of text in the shutdown window
* define constants for the width of the "stripe" and icon size

Thanks! Fixes #1697.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 19:02:00 +00:00
Stephan Aßmus
1c05a4100f patch by Anthony Lee:
* fixed bitmap fonts for real (applied the wrong patch last time)

* some cleanup for coding style by myself (in other places)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 18:01:47 +00:00