Commit Graph

17645 Commits

Author SHA1 Message Date
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
Axel Dörfler
1f1041c32b Removed superfluous headers - note, this needs to be ported over to the new stack
API once it exists, it doesn't build anymore.
Would now link against libnetwork.so instead of libbind.so/libsocket.so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:12:37 +00:00
Axel Dörfler
3e6707fd28 Removed "arp" from the image, as it actually used sysctl() (via a direct prototype, that's
why I didn't notice before). Will need to be ported over to the new stack API once it's there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 18:10:53 +00:00
Axel Dörfler
b77f3fb961 * GDB now links against libnetwork.so, instead of libsocket.so and libbind.so; these
won't exist anymore in the new stack.
* Fixed build for the new stack and replace PF_INET with AF_INET (the former is not
  part of the POSIX specs, so I took the liberty and removed it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 17:52:39 +00:00
Axel Dörfler
3505a2a792 Moved gdb.h header file into debug directory, no other component needs to access it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 16:04:24 +00:00
Axel Dörfler
13e6b02018 * Removed some unused headers.
* Removed unused pools implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 15:24:40 +00:00
Axel Dörfler
4e26bc08b8 user_copy_strings_array() no longer puts 2k on the stack, but allocates a 16k
buffer to allow safe access of the user provided string - maybe we should
introduce a user_strdup() instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 15:23:34 +00:00
Ingo Weinhold
3bf5b314a9 A place for testing the layout management stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 13:28:58 +00:00
Ingo Weinhold
3d3a473670 A target can now be installed more than once on the image.
Fixes bug #696.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 12:08:53 +00:00
Ingo Weinhold
223ff76477 Added rule FGetGrist. I almost used it... ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 12:05:51 +00:00
Axel Dörfler
89ae57ba77 Removed sysctl(), there is no need for this BSD-ish call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 09:37:06 +00:00
Jérôme Duval
c32fb9097a main return code is 1 on error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 16:22:05 +00:00
Jérôme Duval
1e005c7e8e we can now target an exact instance of an application with its teamid
avoid instancing a temporary BMessage


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 16:16:12 +00:00
Axel Dörfler
9150d65c83 Removed some unused old networking stuff, cleaned syscalls.c.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 14:54:58 +00:00
Axel Dörfler
2009d9e5f1 Imported AutoMounter.cpp 1.9 - debug build fix by Jerome Duval.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 11:37:28 +00:00
Jérôme Duval
46cd0b32c5 it seems this freetype release doesn't work without this flag, sorry for the trouble :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 14:56:56 +00:00
Stephan Aßmus
29c171b18f reverted my "build fix" since it actually breaks the build on R5
... the problem is local to my machine... sorry about that!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 14:14:37 +00:00
Jérôme Duval
a4b2ff90d8 revert memory optimization to its previous state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 12:11:51 +00:00