Commit Graph

6037 Commits

Author SHA1 Message Date
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
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