Commit Graph

5975 Commits

Author SHA1 Message Date
Phil Greenway
94baad5172 Coded by Chris Simmons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 22:07:53 +00:00
Phil Greenway
d672265250 Tried to add factor.cpp to jamfile - unsuccessfully
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 22:07:21 +00:00
Matthew Wilber
61ac0c3523 Changed GetAllTranslators to generate the list of Translators in the same order they were read in (instead of the reverse). This should cause the list of Translators in the DataTranslations pref and in Save As submenus to be in the same order as when using Be's version of the Translation Kit. Also changed the Translation Kit version string calculations to match those for the Translators. So, for R5, the version string becomes "Translation Kit v5.0.0" instead of "Translation Kit v12.8.0", which is what Be's version does, but doesn't appear right because it doesn't match the calculations the Translators use.. Note that the version number is still the same, only how it appears in the string is different.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 21:03:36 +00:00
Matthew Wilber
b6aabb5c95 Fixed AddTranslator to behave like Be's version: Translators passed to the function are added even if they are already in the list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 19:47:28 +00:00
DarkWyrm
e0712711bc Minor API tweak : RGBColor &color -> const RGBColor &color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 17:07:37 +00:00
DarkWyrm
519933bdac Updated to match recent changes in the DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 13:40:59 +00:00
DarkWyrm
49916ae455 Minor API tweak - RGBColor &color -> const RGBColor &color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 13:39:22 +00:00
Tyler Dauwalder
b00b6df359 - Updated symlink encounters to be a fatal error until symlink support is added
- Added UDF implementation use volume descriptors to volume
  descriptor sequences; images now appear to be error free,
  according to UDF verifier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 09:34:02 +00:00
Tyler Dauwalder
9a043bf95f Added:
- struct logical_volume_info
- struct udf_id_suffix
- kLogicalVolumeInfoId constant


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 09:32:48 +00:00
Michael Pfeiffer
a8138a6e11 Bug fixed: ignore user zoom setting in automatic zoom modes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 09:29:13 +00:00
Tyler Dauwalder
a891846d14 - Added unique ids to fids
- Fixed broken file link counts for directories.
- Updated recording time in lvid to be later than
  all previously recorded file access times.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 09:59:42 +00:00
Tyler Dauwalder
80b849abc7 - Added flags and unique_id fields to file_id_descriptor.
- Fixed implementation_use_length field in file_id_descriptor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 09:58:30 +00:00
Matthew Wilber
3b5dd3bc32 Fixed LoadTranslator so that Translators won't be added to the roster if there is already a Translator loaded that has the same filename. Now Translators in /system/add-ons/Translators will not be loaded if there are Translators with the same names in /home/config/add-ons/Translators.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 04:40:52 +00:00
Axel Dörfler
b34d061c80 MouseSettings::Revert() reverted back to the original settings, but it
didn't changed the cached settings (and thus, neither the GUI was updated
correctly, nor the settings would have been written back correctly in
this case).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 04:34:54 +00:00
Matthew Wilber
6439a8fc6d Changed to always write out full image, ignoring the headerOnly/dataOnly settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:45:24 +00:00
Matthew Wilber
293357ae2a Changed to always write out the entire image and ignore the headerOnly/dataOnly settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:34:20 +00:00
Matthew Wilber
2c00fcbb62 Fixed QuickRes/headerOnly issue by ignoring headerOnly/dataOnly settings and always writting out the whole image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:23:49 +00:00
Matthew Wilber
e17553b84d Fix for blank PNG images appearing in QuickRes. Apparently, when QuickRes asks for headerOnly, it really means that it wants the entire image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:06:38 +00:00
Rudolf Cornelissen
90879508d8 updated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 16:41:12 +00:00
Jérôme Duval
0be4037053 Util code moved back to its original location
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 09:05:58 +00:00
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