17908 Commits

Author SHA1 Message Date
Stefano Ceccherini
7d8ee43e80 now checks the real lenght of the passed buffer in BTextView::Insert(). Seems to fix bug 675
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18967 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18967
2006-09-28 13:08:01 +00:00
Marcus Overhagen
83bf699b3f some build fixes for pxe_ia32 platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18966 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18966
2006-09-28 12:52:20 +00:00
Stefano Ceccherini
25ba188a07 added a parameter to _BTextGapBuffer_::GetString() so that the caller knows how many bytes are really returned. password mode looks better now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18965 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18965
2006-09-28 12:27:31 +00:00
Axel Dörfler
e0091c79d8 * Drag messages can now also be started with a NULL bitmap pointer and an invalid
drag rectangle - this fixes bug #596, as Cortex obviously relies on this.
* Added a comment on how dragging without a bitmap should be done (app_server should
  directly support this without needing to drag real bitmaps).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18964 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18964
2006-09-28 12:11:45 +00:00
Marcus Overhagen
456b127176 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18963 a95241bf-73f2-0310-859d-f6bbb57e9c96 hrev18963 2006-09-28 12:05:06 +00:00
Marcus Overhagen
e42c2f9984 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18962 a95241bf-73f2-0310-859d-f6bbb57e9c96 hrev18962 2006-09-28 12:04:31 +00:00
Marcus Overhagen
7c3aba03bc git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18961 a95241bf-73f2-0310-859d-f6bbb57e9c96 hrev18961 2006-09-28 12:03:26 +00:00
Marcus Overhagen
47e8242b26 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18960 a95241bf-73f2-0310-859d-f6bbb57e9c96 hrev18960 2006-09-28 12:02:58 +00:00
Stefano Ceccherini
f70a414b8b fixed broken endlines in case there were TAB charachters (bug 865). A better solution is also coming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18959 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18959
2006-09-28 12:00:14 +00:00
Marcus Overhagen
c5bbbb21da new folders for pxe_ia32 platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18958 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18958
2006-09-28 11:59:55 +00:00
Marcus Overhagen
34b8a998fc allow overriding TARGET_BOOT_PLATFORM on command line
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18957 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18957
2006-09-28 11:55:30 +00:00
Stefano Ceccherini
3091f56a1a more bugs fixed in keyboard text selection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18956 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18956
2006-09-28 11:38:56 +00:00
Axel Dörfler
85baf76e1a The computation of the number of blocks in the last allocation group was wrong; it
would usually be one block too small - this fixes bug #659.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18955 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18955
2006-09-28 10:46:37 +00:00
Stefano Ceccherini
a09f0db169 fixed some remaining bugs in keyboard selection, reimported code for up/down keys handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18954 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18954
2006-09-28 10:13:29 +00:00
Stefano Ceccherini
7184af5e4e improved keyboard text selection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18953 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18953
2006-09-28 10:01:07 +00:00
Michael Lotz
099dab0753 * Fixed device creation. No pipes for device endpoints are created and the initial handle of all endpoints is 0.
* The endpoint pipes of a configuration are now created when the configuration is actually set.
* Implemented an Unconfigure() function that tears down any pipe that was created for that configuration.
* Implemented the device destructor that unconfigures and frees the resources allocated for the various usb_*_info structures.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18952 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18952
2006-09-27 19:09:01 +00:00
Andrew Galante
0054baf8c9 A few bugfixes to prepend_size and append_size so they don't create unnecessary empty nodes. Minor cleanup to ipv4.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18951 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18951
2006-09-27 18:56:06 +00:00
Axel Dörfler
646182be71 * When specifying invalid arguments, an error message is now printed. This fixes bug #714.
* Removed some useless information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18950 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18950
2006-09-27 18:00:35 +00:00
Axel Dörfler
b631d2f40d * Fixed the bug Bruno observed (and worked around) in a safer way - the node data was
not written back before GetNextSmallData() was called (which let the region appear
  empty even though it wasn't).
* I left the shortcut in case of the "name" attribute in there, because it should
  be a bit faster.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18949 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18949
2006-09-27 13:10:13 +00:00
Jérôme Duval
6867aa9263 uses cmath and cstring instead of string.h and math.h (thanks Stefano!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18948 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18948
2006-09-27 08:38:56 +00:00
Jérôme Duval
1ba8377d45 releases the team lock even when group is NULL
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18947 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18947
2006-09-27 08:30:15 +00:00
Axel Dörfler
cc347633b9 This fixes bug #851 - GLTeapot unlocks the window before indirectly calling
BWindow::UpdateIfNeeded(); BPopUpMenu::Go() should be independent of this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18946 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18946
2006-09-26 21:06:20 +00:00
Michael Lotz
00f6fab931 * Implemented a notification method for BusManagers so that they can be notified of pipe changes (creation, destruction, changed settings).
This is necessary in OHCI and will probably be used in EHCI also to keep one endpoint construct for each pipe open instead on creating and deleting it for each transfer.
* Pseudo implemented set_pipe_policy for isochronous pipes that makes use of the new notification system.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18945 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18945
2006-09-26 20:51:31 +00:00
Jérôme Duval
4a718fa33d fix for gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18944 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18944
2006-09-26 17:24:00 +00:00
Stefano Ceccherini
9205b41148 fixed word by word selection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18943 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18943
2006-09-26 15:07:19 +00:00
Stefano Ceccherini
6343dc9855 Implemented working asynchronous mouse tracking, dropped synchronous tracking. Selecting text is now also much faster. Auto scrolling is missing for the moment, though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18942 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18942
2006-09-26 14:41:53 +00:00
Axel Dörfler
d9766fe30b * Changed team_get_process_group_locked() to have a session parameter instead
of a team to avoid confusion. It now also accepts a NULL session pointer in
  which case the actual group's session doesn't matter.
* Fixed the race condition in send_signal_etc() that could allow accessing an
  invalid team pointer.
* Jerome's earlier change already fixed bug #841, and this also fixed bug #855.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18941 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18941
2006-09-26 12:51:59 +00:00
Jérôme Duval
8e70f1aa5b adding default value for suspend key : CTRL(Z)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18940 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18940
2006-09-25 23:38:19 +00:00
Jérôme Duval
dc0bf743e1 fix the build for the stage 2 pxe
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18939 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18939
2006-09-25 22:35:35 +00:00
Jérôme Duval
9e418a490b added missing headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18938 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18938
2006-09-25 22:00:53 +00:00
Jérôme Duval
e40bb774b2 we have wcwidth()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18937 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18937
2006-09-25 21:57:13 +00:00
Jérôme Duval
afa5a46239 replaced use of vector with BList
enables to build correctly with gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18936 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18936
2006-09-25 21:53:56 +00:00
Jérôme Duval
e2ba090e41 fixed some gcc4 warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18935 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18935
2006-09-25 21:49:41 +00:00
Jérôme Duval
3354a9cc67 B_MESSAGE_NOT_UNDERSTOOD is better than B_ERROR for what fields
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18934 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18934
2006-09-25 21:21:28 +00:00
Jérôme Duval
ccc3d07d9e match BView::Archive() signature, avoids a warning with gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18933 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18933
2006-09-25 21:18:49 +00:00
Jérôme Duval
c7580d1694 put back errors in scripting replies : it's part of the BeOS behavior
MethodReplicant is now working again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18932 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18932
2006-09-25 20:27:19 +00:00
Jérôme Duval
dd24c10596 fix warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18931 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18931
2006-09-25 20:21:32 +00:00
Michael Lotz
a183e86663 Oops, this was the very conservative value. Testing with my laptop (that has a slow EHCI controller) reveals that we need some more room here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18930 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18930
2006-09-25 19:13:59 +00:00
Michael Lotz
4330ef22d5 * Added retries to the PhysicalMemoryAllocator. Memory is allocated and freed at a very high frequency, so low memory conditions shouldn't last very long.
* Added a separate thread for cleaning up EHCI transfers. This makes it possible to actually always wait for the async advance interrupt without hindering execution of transfers.
This pushes performance again and fixes the bug I introduced in the last change, that we could free yet cached descriptors when a previous async advance timed out.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18929 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18929
2006-09-25 18:52:50 +00:00
Niels Sascha Reedijk
e26f3a113f Now the ports are powered on and seem to work...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18928 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18928
2006-09-25 17:55:21 +00:00
Niels Sascha Reedijk
43a747b5d0 Fix error codes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18927 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18927
2006-09-25 16:46:28 +00:00
Marcus Overhagen
c69902c5fc initial attempt to build platform target pxe_ia32
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18926 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18926
2006-09-25 16:40:38 +00:00
Marcus Overhagen
c6bbe85233 make boot loader platform dependant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18925 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18925
2006-09-25 15:52:46 +00:00
Marcus Overhagen
fa38d53374 make boot loader platform dependant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18924 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18924
2006-09-25 15:51:02 +00:00
Marcus Overhagen
bf905142eb make boot loader platform dependant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18923 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18923
2006-09-25 15:50:41 +00:00
Marcus Overhagen
97de040e29 make boot loader platform dependant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18922 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18922
2006-09-25 15:49:10 +00:00
Marcus Overhagen
88dde23969 just start a little higher
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18921 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18921
2006-09-25 14:48:37 +00:00
Marcus Overhagen
931460f676 copied from boot_loader.ld
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18920 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18920
2006-09-25 14:32:16 +00:00
Marcus Overhagen
d68ec99f12 copied from src/system/boot/platform/bios_ia32/Jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18919 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18919
2006-09-25 14:28:58 +00:00
Niels Sascha Reedijk
2159acc7d9 Implemented most of the roothub.
There remains only one issue: reading the Port registers seem to return a bogus value (0). I need to find out what's causing it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18918 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18918
2006-09-25 14:26:22 +00:00