Commit Graph

6105 Commits

Author SHA1 Message Date
Stefano Ceccherini
d8b4d83df2 Changed a bit the behaviour of BOptionPopUp::SetValue(). We now differ a bit from what R5 does. The old implementation is still there and just ifdeffed out, though.
Added some private unimplemented methods I had forgot, fixed some spelling errors, finished documenting what was missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 07:26:57 +00:00
Matthew Wilber
176d835a41 Fixed version number format and calculations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 04:17:30 +00:00
Matthew Wilber
deef293945 Fixed version number format and calculations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:54:17 +00:00
Matthew Wilber
caff577d6a Fixed version format and calculations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:47:09 +00:00
Matthew Wilber
0e292355ba Fixed version format and calculations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:41:53 +00:00
Matthew Wilber
ead4b1fa60 Fixed version number format and calculations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:35:54 +00:00
Axel Dörfler
2c9f63f0b8 MouseSettings::RetrieveSettings() promised that the window will filter
invalid coordinates and center the window on screen.
Now, that really happens, and the MouseSettings class will also have
a default value for the position that triggers this behaviour as well.
Thanks to voidref for reporting this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:24:08 +00:00
Matthew Wilber
66cc749dfc Fixed PNGTranslator Jamfile so that you can now build the PNGTranslator using Jam.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 23:40:52 +00:00
Matthew Wilber
18d77fc7c0 Finally added PNGTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 23:39:12 +00:00
Waldemar Kornewald
cc14c99624 I like it better this way. dprintf is not available in userland. ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 14:58:47 +00:00
shatty
130720373d robustness improvements and correct setting of "none" for empty preferred app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 12:41:29 +00:00
shatty
867921dcf0 has some usefulness now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 12:12:57 +00:00
shatty
42f39580d8 assorted warnings patches, look and feel patches, populate the preferred application field prettily
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 10:46:20 +00:00
Axel Dörfler
2b2b029905 Removed unneeded member variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 09:59:37 +00:00
Axel Dörfler
26f5b48ecf Small fixes/changes:
- added destructor that deletes the mouse bitmaps
- the invalidated region in Pulse() is now large enough
- it's now completely independent from the image in MouseBitmap.h - just
  put the correct images into the resources, and update the bitmap creation
  and it'll work
- it's now always working correctly (even visually) if one or both bitmaps
  are missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 09:45:25 +00:00
Axel Dörfler
ca4d42ee54 Switched to the text resource files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:42:54 +00:00
Axel Dörfler
91dc6b25c0 Switched to the text rdef files instead of the binary resources.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:40:48 +00:00
Axel Dörfler
736efd6ec4 Renamed the constants in MessageConstants.h to be style guide compliant.
Removed the useless ERROR_DETECTED message and implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:34:24 +00:00
Tyler Dauwalder
fb40f3bc26 Many fixes and additions; images are not quite completely valid yet, but
are now also recognized by and usable in Windows (XP, at least).
- Fixed a few incorrect crc-length settings (some remain).
- Added output of N position anchor.
- Added unallocated space descriptors to volume descriptor sequences.
- Added terminating descriptors to end of volume descriptor sequences.
- Finally write d-strings properly.
- Removed padding at end of image, since that appears unnecessary now
  that I've learned how to do rudimentary pointer arithmetic correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:33:11 +00:00
Jérôme Duval
123724ad1f Fix some warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:29:53 +00:00
Tyler Dauwalder
10186d5dda Fixed a myriad of stupid errors, oversights, and miscalculations caught by Phillips' handy-dandy UDF verifier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:27:03 +00:00
Axel Dörfler
19a5b61308 Renamed the last member variables to be style guide compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:26:51 +00:00
Tyler Dauwalder
b2322fd1e0 Added check for existence of unallocated space descriptor in volume descriptor sequence.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:25:55 +00:00
Tyler Dauwalder
57c80a0c50 Added DString.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:25:24 +00:00
Tyler Dauwalder
3871cd303a Initial checkin. Class for creating UDF fixed-length-field d-strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:24:55 +00:00
Axel Dörfler
cb440c42c1 Have a look at the BSlider::SetValue() documentation; it already cuts
the value if necessary.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:23:07 +00:00
Axel Dörfler
8a6fd84c3e Some more style cleanups.
It's really not necessary to provide all default arguments in C++ - especially
not wrong ones...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:21:36 +00:00
Axel Dörfler
7ed41b2f46 Removed all SettingsView stuff, and almost completely rewrote the MouseView class.
The mouse view code is now much cleaner and more generic.
Fixed all known remaining bugs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:17:02 +00:00
Axel Dörfler
87e0ec1168 Removed the duplicated settings handling - now just uses MouseSettings instead.
Removed all code that now belongs to the MouseView class.
Moved some member variables into the private section.
Removed now unused variables.
Now overloads GetPreferredSize() with something useful instead of just
resizing to these values at constructions.
Added a destructor that frees the created bitmaps.
Renamed focusMenu to fFocusMenu, and mouseTypeMenu to fTypeMenu.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:14:46 +00:00
Axel Dörfler
7116278ebd No longer accesses any SettingsView members directly. It now takes all
information it needs out of the messages it gets.
Now used MessageSettings::Defaults() instead of having an own implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:10:48 +00:00
Axel Dörfler
3e92b3c74b Renamed MouseMessages.h to MouseConstants.h, added some user interface
constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:07:43 +00:00
Axel Dörfler
43d9314a5a Decremented kMouseHeight since its obviously not the correct height.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:05:34 +00:00
Axel Dörfler
b99173690e Some more {Set}Mapping() functions.
Now has a Default() method that activates the system default settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:04:39 +00:00
Matthew Wilber
e108d38cc1 Made translator able to tollerate interlaced PNG images that error in the call to png_read_end(), but have image data that is valid. This was the problem that prevented programs like BeBattle and Eric's Ultimate Solitare from working with the OBOS PNGTranslator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 04:01:37 +00:00
shatty
5e6e40e0f3 add README.html and UPDATE.html to matrox package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 03:47:47 +00:00
shatty
ab77c4c74f add README.html and UPDATE.html to neomagic package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 03:44:16 +00:00
shatty
82bec102a8 grist is required for the non-zipped files in order to distinguish between the README.html for neomagic vs. nvidia, for example
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 03:43:28 +00:00
Axel Dörfler
e300f612df Copied the complete contents of MouseView.{cpp|h} over to the new
SettingsView.{cpp|h} - the former will only contain the view that shows
the mouse and its buttons, the latter will contain the rest.
Corrected license text and listed myself as one of the authors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 03:02:37 +00:00
Axel Dörfler
9a2e5e9478 No reason to quit the program, just because some icons are missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 02:47:57 +00:00
Axel Dörfler
692da071d6 The MouseSettings class now actually does something useful.
Now maintains all mouse related settings, and also represents the current
settings (i.e. MouseSettings::SetMouseMode() will really change the mouse
mose).
Fixed bug in SaveSettings() that I missed earlier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 02:43:02 +00:00
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