Commit Graph

17712 Commits

Author SHA1 Message Date
Niels Sascha Reedijk
cf6a825f1f Move the UI guidelines to src/documentation location and add a Jamfile for compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 21:24:56 +00:00
Jérôme Duval
6032f4b737 remove useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 20:30:53 +00:00
Axel Dörfler
f3585ce573 Applied stripped down patch from Mathew Schofield.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 18:30:07 +00:00
Jérôme Duval
51f05ea6fc work in progress on Mesa renderer
TODO : reorganization for GLRenderer.h MesaRenderer.* and libmesa.a


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 16:00:15 +00:00
Jérôme Duval
69031529d4 added a SubDirAsFlags rule
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 15:52:36 +00:00
Niels Sascha Reedijk
e2d2cb7b5e This finishes my docbook infrastructure.
It includes a change to xsltproc to accept catalog paths on the command line.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 15:52:15 +00:00
Axel Dörfler
242dab1257 Minor cleanup, I hope I'm not interfering, Korli :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 15:27:21 +00:00
Niels Sascha Reedijk
d69e258f4c Bring the docbook xsl to the main branch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:20:26 +00:00
Niels Sascha Reedijk
7bef39a494 Bring the docbook dtd to the main branch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:19:55 +00:00
Niels Sascha Reedijk
b3472df816 Bringing libxslt to the main branch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:06:18 +00:00
Niels Sascha Reedijk
fdff321087 Bringing libxml2 to the main branch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:05:34 +00:00
Niels Sascha Reedijk
ad846d56fb Prepare infrastructure for the xml tools
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:05:24 +00:00
Niels Sascha Reedijk
124d912091 Test commit, sorry for the spam!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 12:30:49 +00:00
Jérôme Duval
c2c939699f remove CVS dir
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 11:03:53 +00:00
Jérôme Duval
12e4be290d cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 09:53:20 +00:00
Jérôme Duval
0e195cc633 fix obvious errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 09:29:44 +00:00
Jérôme Duval
6738c5a127 seems a negative value has to be returned when not valid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 08:27:39 +00:00
Jérôme Duval
482096e504 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 21:57:36 +00:00
Axel Dörfler
3b57441c75 Added text input filters for "To:", "CC:", and "BCC:" fields that filter an eventual
leading "mailto:" from any insertions (like from a clipboard pasting).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 21:07:46 +00:00
Axel Dörfler
309c11a716 * Added text input filter functionality.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 21:06:33 +00:00
Axel Dörfler
1f2d7e39bf Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 20:32:07 +00:00
Jérôme Duval
a6ab64cef3 a try at implementing dos partition identification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 16:08:55 +00:00
Jérôme Duval
4c3702d42a moved rescan call to vfs_mount_boot_file_system() as suggested by axeld :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 13:10:08 +00:00
Jérôme Duval
d564275ba7 added disk systems rescan to DiskDeviceManager, and called it in the post init phase
the next step would be to rescan the partition tree with a job to recognize unrecognized partitions (asynchronously ?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-04 12:37:56 +00:00
Oliver Tappe
5b0f7b1b1e * added checking of legacy gcc against required version, suggested by Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-03 17:22:48 +00:00
DarkWyrm
f4458b2588 Removed a few misspellings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-02 19:54:22 +00:00
DarkWyrm
e23bf5454e Finished the appendix and converted guidelines to DocBook
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-02 13:19:06 +00:00
Jérôme Duval
9e5134f9dd build udf for r5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 15:05:54 +00:00
Jérôme Duval
2ab8552e8d copied udf R5 version to tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 12:45:12 +00:00
Jérôme Duval
4ffbc8700c seems this one is useless too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 12:24:51 +00:00
Jérôme Duval
7a5fa89446 drop old fsproto.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 08:01:38 +00:00
Andrew Galante
7bfdb02ea8 The full TCP state machine should be working now, with the exception of the LISTEN state. It cannot yet transfer data though - that will be implemented next. Connections are only made from port 40000 though, ephemeral ports are not yet implemented.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 02:36:59 +00:00
Ingo Weinhold
6bfd06d1ff BRoster::Launch() eventually launches the application in question
in several steps:
1. early pre-registration with the registrar ("I wanna launch the
   app, make sure noone interferes.")
2. load the app image
3. finish pre-registration with the registrar ("I have launched
   the app, here is its team ID.")
4. start app main thread
5. send "on launch" messages to the app (argv, refs, others)

If the app is already running or being launched, 1. fails with a
conclusive error code and returns the team ID and the pre-registration
token of the app. Steps 2 - 4 are skipped and only the messages are
delivered using the team ID returned by 1.

This change fixes a race condition: The failed early pre-registration
request obviously cannot return the team ID, if the other thread
launching the app has not finished step 3 yet. Thus the argv/refs
message would not get delivered and Launch() would not return the
correct team ID.

Now we wait for the pre-registration to be finished in this case, using
the former _IsAppPreRegistered() mechanism, which already provided
such a waiting feature for one request. It has been extended to
accomodate an arbitrary number of waiting requests and renamed to
_IsAppRegistered().

This fixed bug #763.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 17:54:16 +00:00
Axel Dörfler
a847b384c6 DeviceOpener::Open() now returns the actual error instead of -1, as suggested
by Korli.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 17:26:13 +00:00
Jérôme Duval
7d4d702e05 fix build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 16:27:29 +00:00
Jérôme Duval
df076a3f69 added B_BAD_DATA (it doesn't exist on R5)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 16:23:09 +00:00
Jérôme Duval
b206bbe1d8 stop the copy when not everything is written
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 12:21:57 +00:00
Niels Sascha Reedijk
915367e31a Wrote the initialisation routine of the host controller
* Started cleaning up the style (WIP)
* I'll slowly phase out ohci_software.h, since it is BSD legacy
* Cleanup other BSD inspired naming. I like full names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 11:58:27 +00:00
Jérôme Duval
2c9ae83ff9 improve error handling for copy_attributes :
if nothing is read or an error happens on read, continue with next attribute, same for write. 
Also, use actual written byte count for looping.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 10:42:32 +00:00
Jérôme Duval
5ebff2e811 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 09:44:02 +00:00
Axel Dörfler
ffacc65107 Imported the bfs_rename() permission check fix from the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:37:57 +00:00
Axel Dörfler
9b906ccf04 * You can now create the block cache in read-only mode (using an additional
parameter during construction).
* Doing so will now result in a kernel panic whenever your file system tries to
  write to a block.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:18:31 +00:00
Axel Dörfler
03a2985277 * When releasing a vnode, it tried to trim down the allocation even if the file
system was mounted read-only.
* bfs_rename() did not check the access privileges of the directories involved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:15:52 +00:00
Axel Dörfler
793f542244 Added a comment about the outcome of a potential problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:12:31 +00:00
Axel Dörfler
c40fe37f0b * Reverted the changes r17693 made to vfs_get_vnode_cache(); instead, vm_create_vnode_cache()
will now grab a reference to the vnode as well if successful. This way, vfs_get_vnode_cache()
  now actually works how it should: it will now always grab a reference to the cache and
  its underlying vnode. This removes an extra reference to the vnode (and vm_cache) that
  got ignored before and prevented volumes to be unmounted (or file caches to be removed).
  Thanks to Korli for pointing this out.
* file_cache_create() is now aware of that extra vnode reference and releases it; unmounting
  volumes is now working again as it should.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:09:04 +00:00
Axel Dörfler
96d67014ff Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:00:58 +00:00
Axel Dörfler
190aa14f19 * Use user_strlcpy() instead of this scary combination of strnlen() and user_memcpy().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 22:39:20 +00:00
Michael Lotz
8001b0c614 This subtle error (introduced in r18656) caused bulk pipes to stall.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 21:54:29 +00:00
Michael Lotz
6b0ee87455 Accidently forgot to remove debug output define again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 19:31:21 +00:00
Michael Lotz
c773d729dc Fixed wrong length of string descriptors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 18:45:29 +00:00