Commit Graph

18204 Commits

Author SHA1 Message Date
Axel Dörfler
fd5c02b25c * The recent files list now also preserves the case of the MIME strings.
* STL allocations are guarded by a try/catch block.
* As in RecentApps, Get() did not properly populate an error condition.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 17:46:34 +00:00
Jérôme Duval
01b06fcc52 commented raw type handling, as it doesn't work for now
added a user friendly mode for listdev: it works for PCI


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 17:22:29 +00:00
Axel Dörfler
ddacfc7ff0 * The recent app list now filters out Tracker & Deskbar, as reported by Korli.
* The application signatures now preserve the case; this is better for querying
  after the app, and has no disadvantage.
* Adding an item to the list is now guarded by a try/catch block - allocations
  can fail, and the registrar shouldn't get down because of this. We need to
  proof-read all of registrar (and storage kit) for this :-/
* Get() did not populate an eventual error while adding items to the provided
  list (such as B_NO_MEMORY).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 17:16:13 +00:00
Jérôme Duval
bef4e1fc77 * each device manager node has now an autogenerated identifier
* added a generic syscall for device_manager
it enables to iterate the device manager tree from userland
* the listdev tool is now using it: it's still incomplete as it only dumps nodes and attributes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 15:28:09 +00:00
Philippe Houdoin
2177785876 Allowed GLInfo to build for BeOS too.
Locking GL context is better, even if it's not mandatory under Be's R5 OpenGL stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 15:04:52 +00:00
Axel Dörfler
ead36a7efb The pending/connected connection lists were not initialized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 16:33:43 +00:00
DarkWyrm
42f2af4d4d Edits for spelling, grammar, more consistent style, and clarity. Nice work on this, stippi!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 14:01:06 +00:00
Axel Dörfler
d47eebf30b * The select()/deselect() hooks now actually call the socket's request_notification()
and cancel_notification() functions.
* Completey dropped the old select code, as well as any R5 compatibility stuff. If
  we ever need it again, it's still in SVN history.
* The socket module was put in uninit_driver() for no reason.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 12:27:30 +00:00
Axel Dörfler
a888357f39 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 12:22:48 +00:00
Axel Dörfler
b70a062dc5 * Separated create_socket() and the call to the protocol's open() function - open()
is not supposed to be called for accepted sockets, only for those created via
  a call the userland socket() function.
* Renamed net_socket_module_info::socket() to open_socket() to make this distinction
  a bit clearer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 11:56:52 +00:00
Ryan Leavengood
76d115d893 Several ShowImage changes:
- Changed the hotkey for the zoom to be = instead of + so that no shifting is necessary.
- Fixed the bitmap alignment code to solve some problems when zooming.
- Removed all references to alignment in the view since the image was already always centered. This greatly simplified the bitmap alignment.
- Removed the redundant fScaleX and fScaleY members of the view since they were always the same as fZoom.
- Removed all code related to having a border in the view.
- Fixed a bug where the type of file would disappear in the status area when zooming (this fix is a little hackish.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-11 09:10:09 +00:00
Jérôme Duval
1fb778c8e7 fix warnings no newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 21:47:21 +00:00
Jérôme Duval
2bc2898a84 fix warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 20:26:54 +00:00
Jérôme Duval
897382b2e0 use the actual function to write on PCI_LEGSUP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 19:10:26 +00:00
Niels Sascha Reedijk
ca508c1f7c Discovered the <constructorsynopsis> and <destructorsynopsis> elements.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 15:08:11 +00:00
Axel Dörfler
d2021d5766 * Took Philippe's hints into account - we now do some locking in socket_spawn_pending() :-)
* Also take the max backlog into account as set by listen() - but reserve a little
  extra room for never completing connections, and that listen(..., 0) always accepts
  at least a single connection (as the BSDs do).
* Spawned connections won't accept new connections, so SO_ACCEPTCONN must be cleared.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 10:31:44 +00:00
Axel Dörfler
44b3faaa19 socket_accept() now checks for SO_ACCEPTCONN before calling the protocol's
accept function to enforce valid codepaths (you need to call listen() before
accept()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 09:32:11 +00:00
Stephan Aßmus
7d50641373 new section, with great help from Jorge
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 02:41:22 +00:00
Stephan Aßmus
8bd33b4732 grr... spelling again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 00:31:52 +00:00
Stephan Aßmus
7e186d1140 much more elaborate Shadow section, with picture demonstrating shadow construction
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-10 00:24:22 +00:00
Stefano Ceccherini
c087e0e364 cleaned up a bit the code, shaped it into a SVG2PictureView class. Added
a window to the PictureTest which should show the svg lion, but doesn't 
work yet for some reason


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 22:58:09 +00:00
Stefano Ceccherini
0976f53cef and there it goes, the usual untested last minute change which breaks
the build...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 22:07:33 +00:00
Stefano Ceccherini
ab757c7a3a our BPicture stream format wasn't compatible with R5 one.
Hopefully fixed all the problems. Reported by 
Marc Flerackers. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 21:53:45 +00:00
Niels Sascha Reedijk
5a7a270430 Create shell of the BList class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 21:48:30 +00:00
Stephan Aßmus
7612834182 * hide the "more unfinished than the rest" bits at the bottom
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:48:59 +00:00
Stephan Aßmus
a0bc9c3aa8 * fixed wrong html tags, now the spacing around the images looks much better...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:46:56 +00:00
Stephan Aßmus
8a1684f4ba * fixed the spelling, thanks Axel and Simon!
-> still unfinished though!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 20:40:51 +00:00
Axel Dörfler
1a0e92a33b Implemented backlog/pending connection support to the sockets - while currently
only TCP needs this, other stream oriented protocols might too, in the future.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 18:53:18 +00:00
Jérôme Duval
b12912bead added a 'dm_tree' like test tool, ioctl based.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 20:16:55 +00:00
Axel Dörfler
e3c14348aa Some more work in progress towards a working test stack environment - if TCP would be
able to connect to itself, this should already work at this point.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 19:11:28 +00:00
Axel Dörfler
de6b43cd7c Now prints debug output in blue, so that you can easily differentiate it from other output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 19:07:38 +00:00
Axel Dörfler
0b3ee1ecc8 Added an empty (and incomplete) shell for a TCP test application. When ready, it provides
a set of commands that can be thrown at a listening and a client end of a TCP connection.
This will allow for an easier and faster implementation of the TCP module, as well as
regression tests, etc.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 15:43:20 +00:00
Axel Dörfler
669e149b7b * Fixed missing propagation of the module initialization result; before, you
could get modules whose initialization failed.
* Fixed how built-in modules are initialized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 14:47:41 +00:00
Axel Dörfler
4313accfba libkernelland_emu.so now builds again - and now also contains khash.c.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 12:51:22 +00:00
Stephan Aßmus
15e5a8b1e9 some more forgotten places for B_VECTOR_ICON_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:53:23 +00:00
Stephan Aßmus
e0c6ab6012 * fixed shadow of folder icon
* made the paper sheet just a bit lighter at the bottom
* created font folder icon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:51:02 +00:00
Stephan Aßmus
b763084c19 Axel forgot to adopt this very central place to the new B_VECTOR_ICON_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:48:41 +00:00
Stephan Aßmus
4288fdd07e created icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 04:47:13 +00:00
Jérôme Duval
b06be955a6 added a -Wno-deprecated flag for gcc4 avoiding warnings for deprecated headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 23:47:33 +00:00
Stefano Ceccherini
68048706d7 fixed build of the buildtools under linux
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 14:06:23 +00:00
Stefano Ceccherini
eea29ee34b fixed a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 14:01:32 +00:00
Stephan Aßmus
37425ede90 a first draft of the icon guide lines, with some pictures
and some unfinished paragraphs at the end, feel free to
comment and discuss


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:34:36 +00:00
Stephan Aßmus
46abf7cb24 2005->2006
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:32:42 +00:00
Stephan Aßmus
0b1889422e just some small corrections
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 09:32:18 +00:00
Axel Dörfler
bae87c9140 Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE.
It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 02:46:25 +00:00
Axel Dörfler
702b034077 I changed the signature of AboutHaiku, but I forgot to update it here - now Deskbar should
show the app again when choosing the "About Haiku" menu item :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 00:54:20 +00:00
Jérôme Duval
c74d27255b avoid crashing at the end of the list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 00:51:33 +00:00
Axel Dörfler
73b7614aa0 DiskProbe now correctly monitors vector icon changes in the header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 00:43:19 +00:00
Axel Dörfler
31d3ef17d8 * Some cleanup, renamed some flags/constants to be a bit clearer (even though the states
now deviate from what other use to have, ie. FreeBSD).
* Replaced macros with inline methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 14:09:37 +00:00
Axel Dörfler
088a32925d Make use of the new vector_icon type in rc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 12:26:54 +00:00