Commit Graph

18428 Commits

Author SHA1 Message Date
Philippe Houdoin
7a459c2db3 * Renamed the folder to avoid confusion about the location
of Mesa framework (src/kits/opengl/mesa) and make
  clearer here live the Mesa Software Renderer add-on for
  Haiku's OpenGL stack.
* Renamed the class for the same reason.
* Changed the string returned for GL_RENDERER to
  help sorting out Haiku's renderer add-on(s) from
  Mesa3D BeOS ports's monolithic libGL.so renderer.
* Make the renderer context current if none is already. This fix
  the need in GLInfo to call LockGL() before calling any
  glGet*() calls, when it was not necessary under R5
  (and Mesa3D beos ports) 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 22:54:37 +00:00
Stephan Aßmus
1f64dd4cf1 shut up annoying error message (TIFFTranslator was printing
"Not a TIFF file..." for every file thrown at it)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 21:24:37 +00:00
Jérôme Duval
07d5767dec get_class_info takes a size argument
listdev displays scsi devices


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 19:37:11 +00:00
Jérôme Duval
5ac11417e5 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:34:21 +00:00
Axel Dörfler
00cf1f4671 Moved icon_for_type() to IconView.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:26:10 +00:00
Axel Dörfler
7f721ea14d Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:08:53 +00:00
Axel Dörfler
7837924c49 * Fixed warnings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 17:25:56 +00:00
Stefano Ceccherini
14fd0fa766 Just like the tiff translator...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 16:12:35 +00:00
Axel Dörfler
0b0ff90fa0 * Extended the IconView quite a bit to support what we need:
- supports drag&drop from icons (only tested for non-vector icons yet)
  - allows to remove/edit/add icons (there is still need for support in Icon-O-Matic
    for this to work completely)
  - has a mode where it stores the changed icon data in an object rather than
    directly to disk; this object can maintain all BeOS icon types
  - reacts to live updates from file icons
  - supports different view sizes (for later or uses in other apps)
* works again on BeOS (it crashed before because of a BeOS "feature").
* in the Application window, the "supported types" listview will now be enlarged
  with the window instead of the long version description.
* To compensate for that, the latter now shows a scroll bar.
* Application delivered supported type icons are now shown as well, and can
  be edited - they're not yet saved, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 16:11:56 +00:00
Stefano Ceccherini
042d96cb1d resize the BMenuField to leave enough space. Actually we should use a
BOptionPopUp instead


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 15:56:22 +00:00
Stefano Ceccherini
3f4cc718eb Some more updates from Marc Flerackers. Text drawing should work
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 14:15:03 +00:00
Stephan Aßmus
5770ac4cd8 * spelling mistake corretion, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 22:00:16 +00:00
Jérôme Duval
cdbfea10c0 uses constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 21:00:48 +00:00
Stephan Aßmus
1eff9cfc8c * spotted just a few mistakes in the revised version (btw, thanks DarkWyrm!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 20:41:10 +00:00
Jérôme Duval
91b1b84abd factorized pcihdr.h search code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 20:31:04 +00:00
Stefano Ceccherini
27f1bb5338 fixed warnings when compiled with gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 19:59:56 +00:00
Jérôme Duval
01bec7ca47 improved display
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 19:35:16 +00:00
Axel Dörfler
fdd0f4ce10 * Made copy constructor and assign public and implemented them.
* Added BBitmap(const BBitmap&, uint32 flags) constructor as found in Dano/Zeta.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 18:56:44 +00:00
Stefano Ceccherini
7022e7903a added license
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-13 07:28:19 +00:00
Jérôme Duval
54cbe07e63 now uses the generated pcihdr.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 23:53:38 +00:00
Jérôme Duval
94acebc5d2 fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 23:25:40 +00:00
Stephan Aßmus
4fac07a088 * started work on saving program settins, window frame is
remembered for now
* fixed some annoying bugs:
- the snapping prevented some of the proximity checks from
  working while editing a path or using the transform box,
  now the Manipulators themself are responsible for mouse
  snapping and can do so at the time it works best for them
- pressing the Esc key while using the transform box did
  reset the transformation, but didn't exit the transform
  mode (return to path editing)
* improved layout of some views when the window is resized



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 22:24:39 +00:00
Stefano Ceccherini
7743580815 Added a svg file to be able to demo the svg2picture view
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 20:01:59 +00:00
Stefano Ceccherini
420fe80e5c Moved picture data writing to its own class, thus simplifying code in
various places. Implemented SetLineMode op for BPicture, fixed shape 
drawing (I accidentally broke it in the previous commit).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 20:00:36 +00:00
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