Commit Graph

17362 Commits

Author SHA1 Message Date
Axel Dörfler
2273494e3a * Now sets the error handler to NULL to hide errors from stderr.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 13:07:34 +00:00
Jérôme Duval
63e9b45d9d tentative fix for B_OP_ADD
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 12:56:25 +00:00
Axel Dörfler
fcdd9a92b7 * Added option -f that allows you to read the attribute data from a file.
* No longer exits with error in case you specified "--help" or "-h".
* Now accepts typecodes in "'ABCD'" format as well.
* Can now also be built for BeOS compatible targets.
* Improved parameter check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 11:54:56 +00:00
Stephan Aßmus
a744b2c60e * Style is now responsible for generating and caching
the gradient color array, it observs the gradient for
  this purpose
* introduced IconObject class that combines Observable,
  Referenceable and Selectable interfaces and adds an
  interface for retrieving a PropertyObject that represents
  the object in question
* Shape and Style inherit from IconObject now


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 11:14:08 +00:00
Stephan Aßmus
64d80db621 added extensive "PropertyObject" framework
* Property is an abstract class for representing some property with
  an interface for setting/getting the value and cloning
  the property and such stuff
* PropertyObject holds a bunch of different Properties
* various specific Property classes represent floats, integers,
  colors, booleans, options and so on
* PropertyListView can edit the different properties in a
  given PropertyObject by using individual property editor views

The plan is to be able to convert some random object (for example
a selected Shape or Transformer, Style or whatever) into a
PropertyObject for being edited in the PropertyListView like it is
done in WonderBrush...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 02:09:43 +00:00
Jérôme Duval
a6d3f8a9da update to make-3.81
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 16:11:56 +00:00
Jérôme Duval
ffd2b5ff2a fix the jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 15:18:04 +00:00
Axel Dörfler
2c319d3f5b No reason to include sys/file.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 15:15:25 +00:00
Axel Dörfler
25df160753 The sed configure script doesn't fit the sources: mkstemp.c tests for HAVE_FCNTL_H bug
configure doesn't care.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 15:14:23 +00:00
Jérôme Duval
246c41d223 fix the jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 14:47:43 +00:00
Stephan Aßmus
bab183a273 * Transformers have Name() now
* added TransformerFactory to instantiate the various types via the GUI
* added Transformer menu to main window
* added TransformerListView that shows the Transformers applied to the
  selected Shape
* implemented more powerful listener interface for Shape, used by
  TransformerListView


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 14:16:03 +00:00
Stefano Ceccherini
9d9c1564b8 One of the BMenu::AddItem() variations crashed if the passed item was NULL. Fixes bug 465
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 12:37:59 +00:00
Jérôme Duval
955bc004af little cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:44:40 +00:00
Stephan Aßmus
064ad96310 * removed another local and obsolete test from the jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:42:48 +00:00
Stephan Aßmus
98bad22a2b * fixes build... completely forgot about this one :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:40:49 +00:00
Stephan Aßmus
9813f97ff9 added a test showing the R5 bug that ignores the internal coordinate
system given by BBitmap::Bounds() when drawing bitmaps (Haiku copies
this bug)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:32:48 +00:00
Stephan Aßmus
9b4fa889fd * the path list view shows check boxes now when a shape is selected,
the marked paths are used in the shape
* a new path is auto-selected
* deselecting a shape still sends the selection message
* PathSource does not call agg::path_storage::start_new_path() for
  each subpath... a move_to() is sufficient and makes sure the
  subpaths are rendered even :-)
* updated NOTES
* moved IconView into gui subfolder


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 00:04:50 +00:00
Jérôme Duval
98662fad6d apply the changes to the viewRect with the right scale
this fixes the scale bug I had


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 23:37:38 +00:00
Jérôme Duval
ae3b2d5af2 reverting part of previous change, this was breaking the working part of scaling, still some bugs though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 22:51:57 +00:00
Ithamar R. Adema
a950a7fffa * Added buslogic SCSI driver
* Added 54c8xx SCSI driver

Both drivers originated from the BeOS sample code.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 21:28:22 +00:00
Jérôme Duval
b8fc177d9c * default source BRect is now offset to B_ORIGIN because Bitmap bounds lefttop could be something else than (0,0). This caused some bugs in Haiku SoundRecorder app
i* thus the NOTE in Painter isn't valid anymore
* in Painter::_DrawBimap() moved scale computation after potential changes to BRects
* fix typo : right => bottom. This caused a bug in Haiku Mouse preferences app


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 19:49:51 +00:00
Ithamar R. Adema
a200261af7 * Restore makehaikufloppy to a useful state again.
Please note that it now requires a Haiku installation (target: haiku-install) passed as '-base' parameter to function, like the original BeOS script.
This is required due to the change in the build system (and making sure the script will work 1-on-1 once we're selfhosted).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 18:24:31 +00:00
Jérôme Duval
3aa0a9d879 we want button numbers to be updated as mouse map is updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 11:52:23 +00:00
Ithamar R. Adema
62b4effa0a * Fixup some more headers, following axeld's lead with stdint.h (new_stack didn't compile for me without these).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 03:27:04 +00:00
Ithamar R. Adema
fb7cf8c43e * Remove ether_driver.h instance from drivers, we have a global 'private' header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 01:08:58 +00:00
Ithamar R. Adema
9cf11cac1f Be, Inc sample code for NE2K-compatible network cards...
(Yes, this means QEMU network hw now has an Haiku driver!)
PS: Will cleanup code, looks like real Be Sample Code currently :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 01:02:17 +00:00
Jérôme Duval
eddeb67808 the data type is now consistent with the one used in input_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 18:39:45 +00:00
Jérôme Duval
b523823433 off all notes when stopping
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 11:55:43 +00:00
Jérôme Duval
e2e2e542ed fix a crash in SetVolume, fix debug build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 11:15:18 +00:00
Stephan Aßmus
8815fed657 * MultipleManipulatorState invalidates the area of an
added or removed Manipulator
* added a menu bar to the MainWindow
* undo/redo work from the menu now
* one can add a new path object
* the selected path will get focus for being manipulated
  (will be moved elsewhere later on...)
TODO: allow to connect paths to shapes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 09:56:06 +00:00
François Revol
466805c501 Fix off-by-one window resizing (I really thought it was correct)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 22:08:03 +00:00
DarkWyrm
601e41243c Added some stuff to chapter 6 and did a little reorganizing of 6's topics
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 21:15:55 +00:00
Stephan Aßmus
2ce8d31d09 * added MoveShapesCommand and RemoveShapesCommand
* ShapeContainerListener also gets the index at which a Shape was added
* ShapeListView allows to drag-sort the shapes
* ShapeListView allows to remove shapes (untested)

* IconRenderer is independent of StyleManager now, the
  order of shapes is now correct
* disabled clipping for now, since clear() ignores it (clearing will
  be changed for a checker background anyways)
* added copy constructor to Shape (needs to clone the Transformers yet)

* Selectable optionally knows the global Selection, so that one
  could use Selectable::SetSelected() and it would add itself to
  the selection (not yet used)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 12:42:52 +00:00
Axel Dörfler
610fdb756f Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 11:43:38 +00:00
Axel Dörfler
bf7d1aad69 Minor cleanup. When I see kernel code like this, I'm very tempted to delete
it altogether.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 11:43:01 +00:00
Axel Dörfler
3a41b03036 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 11:17:35 +00:00
Axel Dörfler
c6408ada23 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-01 09:58:48 +00:00
Stephan Aßmus
cfda5dd75b * work in progress on GUI classes
- added IconView which just uses an IconRenderer to display a preview
    of the icon at a certain size
  - PathListView and ShapeListView (very much work in progress)
* actually had the gamma correction applied in the wrong direction...
  now the anti-aliasing looks as smooth as planned
* added SetName() and Name() to Shape and VectorPath... will be in a
  common base class later on


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 21:39:18 +00:00
Jérôme Duval
deca617c6b position is relative : add to the top left point of the original rect
fixes bug #700


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 19:24:06 +00:00
Ingo Weinhold
2c38311d40 * Fixed libbe_test build for install-test-apps. A few changes are not
in my branch, but in the main trunk. That should do no harm though.
* Made LayoutTest1 build for libbe_test and added it to the
  install-test-apps target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 13:48:36 +00:00
Axel Dörfler
64f10d7d89 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 12:40:15 +00:00
Jérôme Duval
b9d454b6ff don't forget to init the key_map
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 10:06:49 +00:00
Jérôme Duval
85c0a1f718 always init numbers[i], suggested by Stippi, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 09:07:05 +00:00
Jérôme Duval
9047838ad6 added midi_server to the bootscript
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 21:57:15 +00:00
Jérôme Duval
bc96eab5bd a new terminal is now launched in TermWindow
we now search for a Terminal index : we use scripting to ask every Terminal its window title, and from this computes a free index
this fixes bug #699


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 21:15:40 +00:00
Jérôme Duval
ade5efae04 added an input device addon for GeniusEasypen serial tablets
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 19:01:30 +00:00
Axel Dörfler
3548341794 * Link against libnetwork.so instead of libbind.so/libsocket.so
* Removed useless sys/file.h includes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:58:35 +00:00
Axel Dörfler
0c22be21ab Removed <bin>route target as well - it also needs sysctl(), and needs to be ported over
to the new stack.
It seems I removed sysctl() a bit too early, as this effectively turns off our current
immature networking stack - sorry, but it wasn't that useful, anyway. Feel free to
send me your complaints :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:47:10 +00:00
Axel Dörfler
84a856abec Fixed several wrong or missing checks for the presence of sys/file.h - if these
bugs are still in bash 3.0, we should send them a patch for this...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:36:09 +00:00
Axel Dörfler
d893010d5e * We have stdint.h.
* We probably won't have a sys/file.h anymore in the future (I already removed it
  from the new network stack branch) - it's not part of POSIX and looks pretty
  much useless to me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:15:46 +00:00