Commit Graph

6065 Commits

Author SHA1 Message Date
Axel Dörfler
f9823032c7 The MouseView now get a pointer to the window's MouseSettings object.
Reverting to the original (on load time) settings is now done in the
MouseSettings class, not MouseWindow anymore (updating the MouseView
is temporarily disabled).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 02:39:01 +00:00
Axel Dörfler
915e16506a Removed now unused coords for the buttons (were already commented out).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 23:39:24 +00:00
Axel Dörfler
b217c2d59d Moved the "Defaults" and "Revert" button out of the MouseView and
into the MouseWindow class. The MouseView now only contains everything
that's in the BBox (it now inherits from BBox).
Joined the BoxView and the MouseView classes together - their separation
was highly questionable done. I plan to put the mouse button view
into its own class as well.
The "Defaults" and "Revert" button are now font sensitive.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 23:15:06 +00:00
Axel Dörfler
39382ad368 The MouseWindow now take care about its position itself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 22:57:56 +00:00
Axel Dörfler
eb8423f435 Now uses MouseView::SetRevertable() instead of accessing the member
variable directly.
Broken settings no longer quit the app.
Many style fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 22:03:30 +00:00
Axel Dörfler
e9cc36ba1a Fixed one of the reported bugs by using the default flags of the bounding
box instead of manually defining them (and forgetting about B_NAVIGABLE_JUMP).
Many style updates - more to come, though.
Moved the revert and default button variables into private. It now has an
extra SetRevertable() method to hide them.
Added newline to the end of file :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 22:01:44 +00:00
Axel Dörfler
7ad05b5060 Style updates for the application files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 21:56:56 +00:00
Axel Dörfler
dae6d05bbd Cleanup of the mouse settings class:
- style guide updates
- the settings are now retrieved from the current settings, rather
  than from the (possibly) corrupt settings file
- removed InitCheck() as it doesn't serve any useful purpose (if the
  settings file is corrupt, the application should not fail anyway;
  it could just issue a warning), as the settings are now retrieved
  from the current settings
- renamed WindowCorner() to WindowPosition()
- added the possibility to read/write a settings file that's incompatible
  to R5 to store all possible mouse mappings (not activated, though). We
  should probably better save all mappings at the end of the file for
  compatibility.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 21:56:21 +00:00
Niels Sascha Reedijk
e586f3a680 Apparantly, the build is stricter when you start it from the root of the tree.
It only complains of an undefined function (dprintf) when I use jam from there,
not when I start it in this subdir.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:51:14 +00:00
Niels Sascha Reedijk
8deb422714 Fix compilation error:
/boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp: In method `status_t PPPLCP::Receive(struct mbuf *, short unsigned int)':
/boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp:221: implicit declaration of function `int printf(...)'

{We're in kernel land now, so we use dprintf instead of printf}


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:45:13 +00:00
Niels Sascha Reedijk
38c567ca83 Small build fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:26:25 +00:00
Axel Dörfler
86228d9f03 Applied NewOS change 1914: fixes small bug (one page off), calls
{get|put}_physical_page_tmap() directly.
Also replaced all occurrences of "addr" with "addr_t".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 16:12:52 +00:00
Jérôme Duval
cd9ccc0712 Unused files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 14:18:22 +00:00
Rudolf Cornelissen
397b021d61 fixed system hang (or so) on non-dualhead cards (ID 0x01a0 reported)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 14:09:34 +00:00
Rudolf Cornelissen
4108be3a68 removed local info files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 14:07:33 +00:00
Rudolf Cornelissen
3b8a480d71 updated logging for TVout and mem detection; declare local functions static
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 14:06:57 +00:00
Jérôme Duval
44be6afd70 Echo driver : echogals and echo24
This is implemented but untested.
Mixer is lacking, and multichannels support. Only 2 channels input/output currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 10:43:52 +00:00
Jérôme Duval
cc073c8920 bad case
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 10:43:04 +00:00
Jérôme Duval
6535df3922 Code is common with the echo24 driver at ../
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 10:38:06 +00:00
Jérôme Duval
0ebebb14bd Adding echo driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 10:34:20 +00:00
Jérôme Duval
5adb129ea3 Echo driver : echogals and echo24
This is implemented but untested.
Mixer is lacking, and multichannels support. Only 2 channels input/output currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 10:34:05 +00:00
Jérôme Duval
b855ae3d39 - Exits if a bitmap is not available
- Fixes the text placement of Mouse Type and FFM
- The drawing of the Mouse and bitmaps are done only if needed
	(depend on the updateRect)
- Call DrawBitmapAsync instead of DrawBitmap


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 09:05:50 +00:00
Tyler Dauwalder
b3a4ae39dd - Further rounded out logical_volume_integrity_descriptor
- Fixed some broken pointer arithmetic.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 06:08:50 +00:00
Tyler Dauwalder
8d3a43fbd0 Messed with the #includes, which still need some cleaning up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 06:05:58 +00:00
Tyler Dauwalder
f50008f9ba Switched back to new(nothrow), now that it works properly again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 06:05:31 +00:00
Tyler Dauwalder
aae8e9f936 - Updated _NextUniqueId() to wrap appropriately after lower 32-bits
hit 0xffffffff.
- Added logical volume integrity sequence output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 06:01:44 +00:00
Matthew Wilber
8fc7439cef Changed BMPTranslator to be less picky about the msheader.imagesize value. It now accepts the value if it is not less than the minimum possible imagesize.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 02:35:44 +00:00
Matthew Wilber
d2c9e14c64 Added bitmap with odd size values in its header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 02:32:33 +00:00
Tyler Dauwalder
581cfaf2c0 - Added declaration and definition of std::nothrow
- Wrapped everything but #includes in #if _KERNEL_MODE to keep from
  redeclaring/definining operator new and nothrow in userland.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 00:27:34 +00:00
Rudolf Cornelissen
86e8ff4d73 removed shared_info updates during propose_mode (previous commit); updated modelist/crtc checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 21:27:35 +00:00
Rudolf Cornelissen
a513041013 fixed naming errors (mn versus nm)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 19:46:10 +00:00
Rudolf Cornelissen
5e4d1116bd fixed naming fault (mn versus nm); fixed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 19:44:06 +00:00
Rudolf Cornelissen
ef5b05f89b fixed destroying benaphores in uninit_accelerant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 18:17:36 +00:00
Rudolf Cornelissen
ce817d83ee fixed abort signalling on failing to install INT routine
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 18:12:50 +00:00
Rudolf Cornelissen
dd0281066d fixed dualhead RAM constraints check
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 18:07:18 +00:00
Rudolf Cornelissen
05ed322913 fixed modifying shared_info before/in proposemode mode validation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 17:55:32 +00:00
Rudolf Cornelissen
8905deb8c6 expanded modelist, updated CRTC timing restrictions checks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 17:02:27 +00:00
Rudolf Cornelissen
efcd9e820b fixed several compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 15:38:45 +00:00
Rudolf Cornelissen
9162db5d1b fixed create_mode_list warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 14:02:57 +00:00
Waldemar Kornewald
86c13dda5a Yeah! It finally works! The default route was missing, that was the only problem!
I established a connection with PPPoE and pinged goole and osnews. Net+ loaded half of www.osnews.com but then crashed because of a bug in our DNS resolver.
There is one more bug to fix: our core stack module does not remove the routes when an interface is deleted.
Thus, there will always remain the route(s) from the last connection(s).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 13:34:11 +00:00
Rudolf Cornelissen
a243b54e73 updated logging for seperate files for main and clone accelerant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 12:57:22 +00:00
Rudolf Cornelissen
ccbc426cd2 more modeline fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 11:43:08 +00:00
shatty
632673435d bye bye xvid_decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 02:41:11 +00:00
Axel Dörfler
11e38cc1d9 Applied the unmount() fix from NewOS change 1906.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 01:03:14 +00:00
Niels Sascha Reedijk
5e821a67af Remove the resize box from a non-resizable window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:21:56 +00:00
Matthew Wilber
c8057f9baa Changed WriteStyledEditFile to be able to write plain text files on volumes that don't support attributes. Contributed by Andrew Bachmann
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:20:14 +00:00
Matthew Wilber
055b763078 Removed the debugging code mistakenly added in the last check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:18:10 +00:00
Matthew Wilber
0192d8f363 Oops! I didn't intend to check this in yet, I'm in the middle of debugging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:50:08 +00:00
Matthew Wilber
a0c057d441 Updated Identify and Translate tests to match current behavior of the STXTTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:40:14 +00:00
Niels Sascha Reedijk
2743316489 Fixed bug [ 865891 ] Strange Scrollbar Layout in "Inspector"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 11:57:26 +00:00