Commit Graph

39407 Commits

Author SHA1 Message Date
Michael Lotz
7adc7269d8 * Re-program the timer for each loop instead of waiting for it to wrap around.
With that we will usually start right away without having to wait for the
  timer to be in the desired state, which removes roughly 116ms of spinning
  around for a normal calibration run.
* Read back the value once after programming. The delay this introduces
  accounts for the fact that the counter will only start counting down on the
  next clock cycle.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 13:25:44 +00:00
Michael Lotz
2d62c17d26 * Add a limit to how often we retry the calibration. It's there as an upper
bound to prevent spinning forever if we have a very unstable TSC that we
  simply can't calibrate. Shouldn't really happen though.
* Set the gate low for channel 2 on exit if we used it as the counter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 12:36:43 +00:00
Michael Lotz
34d3f13c64 * Put the calibration loop into a static inline function and replace the three
copies of it with a call to that.
* Make the variable names more readable and spacing cleanup.

No functional change intended.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 11:15:51 +00:00
Michael Lotz
d620303480 * Use macros to make the PIT programming more readable. Yes, I know that the PIT
timer code has such definitions too, but they're not quite as verbose. Will
  eventually make the latter use these too.
* Prepare for possibly using other PIT channels for the calibration. Right now
  everything's the same still.
* Add disabled print of the resulting factors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 10:33:10 +00:00
Ingo Weinhold
10919035c8 PlainTextCatalog::WriteToFile(): Escape characters in the comment string.
Hopefully undoes the string changes seen on HTA since r41629.

Note that the asymmetric escaping/unescaping (PlainTextCatalog::WriteToFile()
vs. BHashMapCatalog::SetString()) is rather broken and needs to be fixed.

+alpha I guess.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 21:21:01 +00:00
Alex Wilson
f52172f64a Fix a typo I introduced in FileTypes in r41662, spotted by Axel (thanks!). Upon closer examination, the portion of code that contained the typo was superfluous, so I removed it all together.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 20:42:01 +00:00
Alex Wilson
10c18d38e8 Replace use of sprintf with snprintf in media preflet. Fixes CID 7943 (secure coding).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 20:21:46 +00:00
Alex Wilson
e50d758205 Fix layout problems in Filetypes that became apparent with the introduction of CollapsingLayouter.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 19:50:38 +00:00
Jérôme Duval
c0b58c071f * added some EHCI definitions (specification 1.1)
* enable per-port change events when available


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 19:44:09 +00:00
Alex Wilson
245423b1f3 Remove unused method from CollapsingLayouter class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 19:24:02 +00:00
Jérôme Duval
cca52e7987 ehci usb driver:
* make sure the PortEnable bit is disabled (specification page 28)
* 250ms is too long: USB 2.0 specifies only 50ms. This prevented one of my devices to be detected.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 18:43:29 +00:00
Joachim Seemer
fed577d81d Updated user guide plus translations. Thanks everyone. +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 18:01:43 +00:00
Joachim Seemer
0bbf2d42a3 Updated catkeys from HTA. +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 17:29:00 +00:00
Michael Lotz
cb4e75d3eb * When configuring a link device failed, fall back and keep the currently
active config and update the info for the remaining shared link device
  entries. Seen on KVM for the (PCI) ACPI interrupt, but happens where there is
  no _SRS method for a device (as this one is optional). I find that a bit
  strange however as in such a case no _PRS (possible resources) should be
  present either, especially not one advertising a config different from the
  current one.
* Print the routing table later, after enabling irq routing, so that possible
  changes due to such a fallback are included.
* Fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 12:06:17 +00:00
Clemens Zeidler
45f20f8f91 Fix reading long lines in multiple bunches. Thanks pulkomandy for testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 08:49:31 +00:00
Scott McCreary
94427d9b8b Updated gcc4 groff andgperf builds for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 07:04:08 +00:00
Scott McCreary
760b07424d Updated gcc4 OptioanlPackages cdrtools, expat, bzip2, fastdep and texinfo for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 06:39:01 +00:00
Scott McCreary
003ebfa1cc Updated gcc4 OptionalPackages apr, apr-util, beae, burnitnow, ccache and sqlite, for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 06:11:12 +00:00
Scott McCreary
2801333400 Updated gcc4 git and cmake OptionalPackages foralpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 05:46:10 +00:00
Jonas Sundström
b90c801037 Attempt to fix translation of app names of CodyCam, People and PoorMan.
+alpha3

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 22:41:49 +00:00
Axel Dörfler
c329950ca7 * Put the decor stuff in the BPrivate namespace, as it should have been from
the beginning.
* Added header for the get_decorator() functions and friends.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 18:12:25 +00:00
Axel Dörfler
d96a7d591e * Minor cleanup.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 18:10:44 +00:00
Matt Madia
3d37b2286d Updated some additional artwork for R1 Alpha3. Review welcomed.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 15:46:13 +00:00
Matt Madia
fee32a2431 Updated some artwork for R1 Alpha3. Review welcomed.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 15:34:40 +00:00
Ingo Weinhold
7873172c47 Disabled displaying country flags for languages. Prevents #7517.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 14:26:24 +00:00
Ingo Weinhold
ee3d8836e7 * BHashMapCatalog::SetString(): Also process escaped characters in the comment.
Fixes #7543 (ReadOnlyBootPrompt only showing English welcome text).
* Disabled fingerprint check in linkcatkeys. Fingerprints change due to the
  BHashMapCatalog::SetString() change.

+alpha 3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 14:24:07 +00:00
Jérôme Duval
db61366a55 Patch from Dhruwat Bhagat (bug #7537): Fix "'noreturn' function returns" warning on call to assert(0).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 13:15:46 +00:00
Axel Dörfler
0f39da9140 * Removed unused code (which contained translated strings).
* Minor tweaks to the spacing, made the window, and the accounts list view a
  bit wider.
+alpha (if the translated strings removal doesn't cause problems)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 10:30:59 +00:00
Scott McCreary
7a51693772 Added fresh gcc2 builds of smpeg, taglib, sdl-rft and armyknife.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-21 05:08:38 +00:00
Scott McCreary
ccd4d547b9 Updated gcc4 builds for box2d, neon, curl and cvs.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 23:54:36 +00:00
Scott McCreary
f432cc5ef2 First wave of gcc4 built OptionalPackages for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 22:52:01 +00:00
Axel Dörfler
a1e3c32da9 * BIconButton now inherits from BControl, solving a TODO comment.
* I tried to reuse as much state from BControl as possible, so I removed a few
  states.
* Also made the flags private, and added protected SetInside()/IsInside()
  methods.
* Removed useless BIconButton::ID().
* Adjusted users.
* Minor cleanup, automatic white space cleanup.
-alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 21:10:15 +00:00
Axel Dörfler
4b6dc1bc09 * Removed leftover debug output.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 21:05:53 +00:00
Axel Dörfler
e7785c54d7 * Fixed a locking bug (there was even an assert for this); not sure if that
did any harm, but we'll see if the crashing improves.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 19:04:23 +00:00
Scott McCreary
bae34b28df First wave of gcc2 OptionalLibPackages rebuilds for alpha3
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 18:22:42 +00:00
Scott McCreary
b20355e2ba Fix tar gcc2 OptionalPackage, prefixdir was wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 17:05:57 +00:00
Scott McCreary
eaa961e97a Fixed build of gcc2 OptionalPackages for expat and subversion
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 16:29:14 +00:00
Joachim Seemer
74ab6008bd Localized GLTeapot with a patch by taos. Removed unnecessary 'locale' again from Mandelbrot Jamfile. +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 16:28:11 +00:00
Joachim Seemer
7abffacfbf Updated Swedish and German catkeys. A complete update will follow on Sunday before the alpha3 freeze. +alpha3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 15:52:56 +00:00
Stephan Aßmus
8102d8b3ad When cleaning up the patch, I accidentally removed some functionality
which I misunderstood. setdecor can now refer to decorators by their
short (i.e. file system) name as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-20 07:18:40 +00:00
François Revol
76b93c655d Fix the Amiga bootloader build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 23:08:03 +00:00
Michael Lotz
4602eb4c76 Forgot to commit that when enabling IO-APICs by default. It's the (commented)
kernel settings file entry to disable IO-APICs.

+r1alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 22:00:05 +00:00
Joachim Seemer
b4e5b88f5a Localizing the demo Mandelbrot with a patch by taos, see #7519. Thanks. +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 18:53:19 +00:00
Alexander von Gluck IV
51a43d0ff4 ensure framebuffer doesn't exceed PCI bar; add basic monitoring of frame buffer memory allocation; fix return of framebuffer to OS to be the correct area
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 17:39:07 +00:00
Scott McCreary
f1abcf7879 Fixed cmake-2.8.4 OptionalPackage.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 17:30:07 +00:00
Scott McCreary
5f883d4da0 Cleaned up directories for python.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 16:50:33 +00:00
Stephan Aßmus
b46615c55a Applied patch by Joseph "looncraz" Groover from ticket #7445.
This changes how Decorators are managed and applied. The app_server
no longer scans and maintains the available ones himself, but is
simply asked to load a Decorator add-on from a provided path.
The Decorator scanning is moved into DecorInfo and DecorInfoUtil,
private classes in the InterfaceKit. The bin command 'setdecor'
uses those.
I cleaned up all the coding style violations that I could find,
removed chunks of code which didn't make sense (if you never put
a NULL pointer into a list, you don't need to check for this and
so on) and also cleaned up other passages for improved clarity
and simplicity.
I also tested the functionality and it works fine. Would even be
Ok to include in Alpha 3, IMHO. Thanks for the patch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 15:25:54 +00:00
Rene Gollent
93e483aeab Another build fix...need coffee.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 12:08:13 +00:00
Scott McCreary
593395df56 First wave of OptionalPackages rebuilt forR1A3
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 08:47:23 +00:00
Rene Gollent
b4aa5d34cf Build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 03:33:56 +00:00