Commit Graph

2205 Commits

Author SHA1 Message Date
Stefano Ceccherini
ee37218ef1 More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:50:33 +00:00
Axel Dörfler
b71ba910ba The non-benaphore of the Semaphore class just didn't work correctly...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 04:32:47 +00:00
Axel Dörfler
9616fa5dfd Added a test for the BufferPool class.
Began to move the tests directory to bfs/ instead of befs/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 02:08:54 +00:00
Axel Dörfler
dab62fa391 Fixed a big stupid bug that can cause lots of trouble: all locks created
weren't moved to the kernel (as owner), so they would be deleted after
the team which almost randomly created them died.
Benaphores are now only used if USE_BENAPHORES is defined - I have renamed
the Benaphore class to Semaphore to take the changed behaviour into account.
Added a Status() method to the Locker class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 02:02:31 +00:00
shadow303
ce088d7b5c Add clipboard and cursor test stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 01:02:08 +00:00
shadow303
4da070119b Fix initialization problem with tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:58:14 +00:00
shadow303
394cc79e32 Fix handling of some failure cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:54:02 +00:00
Tyler Dauwalder
6de29761ec Added Load/Save Recent Lists constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:50 +00:00
Tyler Dauwalder
8528ca2e2a Added default app flags to Add() so I could be lazy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:21 +00:00
Tyler Dauwalder
b2589492d0 Added code to Get() to filter out all but the most recent of any duplicate
matching entries with differing "opened with" app sigs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:37:56 +00:00
Tyler Dauwalder
1bde02ae7b Fleshed out any missing pieces of BRoster::
- ClearRecent{Docs,Folders,Apps}
- AddToRecentApps()
- {Load,Save}RecentLists()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:36:08 +00:00
Tyler Dauwalder
58b477650f - Added recent documents, folders, and apps Load/Save/Clear test
- Added duplicate filtering test for recent docs and folders


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:33:20 +00:00
Tyler Dauwalder
4f03f5d268 Implemented loading and saving of recent docs, folders, and apps lists
from and to disk in the ~/config/settings/Roster/RosterSettings format.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:43:58 +00:00
Tyler Dauwalder
e28d9c0efe Changed B_PATH_NAME_LENGTH+1 suggestions to B_PATH_NAME_LENGTH
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:40:25 +00:00
Tyler Dauwalder
89ec8a81c2 Moved CharStream class out of Parser.{h,cpp} and into its own file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:38:35 +00:00
Tyler Dauwalder
e5f9569dcb Added escape_path() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:37:46 +00:00
Tyler Dauwalder
0eb6cfedb2 Added sniffer/CharStream.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:36:51 +00:00
Stefano Ceccherini
8d10618461 Some cleanups (more to come)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 14:04:06 +00:00
Axel Dörfler
e335b08a33 Fixed the wrong maintainance of the max_number_of_levels field in the
B+tree's header.
Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 12:30:45 +00:00
shatty
5f5bb7d7eb disable undo after font actions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 12:13:09 +00:00
shatty
80f5cbb0a5 I think replace all is fixed now?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 12:03:23 +00:00
shatty
7c7e9acdad replace all still has problems but I am sleepy...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 11:50:48 +00:00
beveloper
63db78ca7d fix header guards to fix app server build problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 00:42:03 +00:00
shatty
a49482266a font operations now make the document unclean. they can't be undone, but R5 doesn't let you undo them either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 00:08:05 +00:00
shatty
844ea151d0 added encodings menu for save and open file panel (not functional yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 23:03:34 +00:00
DarkWyrm
fc8dfd798a Added prototype #7 and test application to tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:52:04 +00:00
DarkWyrm
54b288ebda Added prototyp #7 and test application to tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:50:38 +00:00
Axel Dörfler
a3d39a9e8a Equation::Match() unlocked the small data section too soon (the contents
could be changed before or during the comparison).
Some style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:17:21 +00:00
shatty
a445cd428f recent menu works. save as puts current name into text field. revert bug fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 21:40:47 +00:00
shatty
f47986217a revert to saved confirmation dialog added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 18:54:47 +00:00
ejakowatz
736e86f9c6 Added implementation for RWHandler::ClipboardModified()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 19:58:42 +00:00
shatty
4737827244 pixel tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:28:19 +00:00
mahlzeit
8bc669cf72 Now it compiles again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:07:28 +00:00
Stefano Ceccherini
236b9aaa29 Fixed compilation of tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:05:30 +00:00
Stefano Ceccherini
82e052e5a3 Fixed BString so it passes all the committed tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:05:06 +00:00
mahlzeit
65829454fb Removed the .rsrc file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:43:15 +00:00
mahlzeit
27d7456273 Got rid of the .rsrc file for now, because it
is rather unconvenient to update from the CVS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:39:20 +00:00
Philippe Houdoin
073b7c62a6 Silly me. How to build something without a Jamfile these days!?!...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:30:55 +00:00
Stefano Ceccherini
ae64b7e354 Some more tests for Replace Functions (which our BString doesn't pass (will fix it later))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 13:17:52 +00:00
Philippe Houdoin
d2f48fdd85 Make libnet.so live switchable between kernel land stack and debug userland stack:
$ export NET_STACK_DRIVER_PATH=/dev/net/server -> userland debug stack (net_server-like)
$ export -n NET_STACK_DRIVER_PATH -> kernelland stack


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:32:54 +00:00
shatty
ed48868f63 style cleanup ; undo, revert, redo, save, quit functions fixed up ; no more extra windows ; quit when all windows are closed ; fix grey lines when scrolling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:24:25 +00:00
jerl1
96462df1ad I add function that I have wrote
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:17:50 +00:00
Philippe Houdoin
df1cbf3cc4 Make the debug/tests net_server to build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 02:32:32 +00:00
Philippe Houdoin
44f6e3ce60 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 02:07:38 +00:00
Philippe Houdoin
097bec0493 Build the print add-ons in a "print" folder, not "Print", to follow BeOS
system folders lowercase naming.
Build print transport add-ons in their own sub-folder, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 01:33:48 +00:00
Michael Pfeiffer
1d7af7aad4 Changed GUI of configuration window a little (bitmaps will be designed by CDT).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 23:58:32 +00:00
Michael Pfeiffer
4b710559dc Added some logic to select and add a local printer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 23:54:55 +00:00
Axel Dörfler
64d41f033f (Almost) completely rearranged the kernel build; main issues aren't fixed
yet, but the jam problem is gone and some bugs fixed.
We are now using merged objects to bind different functionality together,
which simplified the kernel Jamfile a lot.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 19:06:44 +00:00
Axel Dörfler
807212446d Added new rules MergeObject, MergeObjectFromObjects, and KernelMergeObject.
Fixed the syntax comment in KernelLd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 18:52:21 +00:00
Axel Dörfler
e729eba84d Merged several object files together - there are now posix_xxx.o and
kernel_posix_xxx.o, where xxx stands for stdio/stdlib/unistd/...
sleep.c and usleep.c no longer reference sys_() calls directly, but
call the OS functions instead (snooze_until(), and system_time()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 18:49:49 +00:00