Commit Graph

37206 Commits

Author SHA1 Message Date
Matt Madia
def1ceca9d Restructured conditionals. More cleanup to come.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 15:56:49 +00:00
Ithamar R. Adema
c917cd6261 * ARM: Major VM work
- This is mostly a copy of the x86 32bit paging method and infrastructure, this was copied for two reasons:
		1) It is the most complete VM arch
		2) The first ARM PAE patches have landed on alkml, so we will have to deal with it in the future as well,
		   and this infrastructure has proven to be ready ;)
	- No protection features, or dirty/accessed tracking yet
	- Lots of #if 0

	but....

	It boots all the way up to init_modules() now, and then dies because of a lack of (ARM) ELF relocation implementation!

	Since at this point the VM can be fully initialised, I'm going to focus on CPU exceptions next, so we can get KDL to trigger
	when it happens, and I can actually debug from there ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 14:10:30 +00:00
Ithamar R. Adema
107ce9b0fb * ARM: Remove fields that were no longer used since r39168...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 13:57:32 +00:00
Ithamar R. Adema
72d414a517 * ARM: Start physical allocated range at top of memory; otherwise our page directory/tables won't be included
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 13:55:29 +00:00
Jérôme Duval
d8772e0c20 * added some support for 64bit feature: extended struct ext2_block_group, block number types changed from uint32 to off_t
* added error traces, asserts
* BitmapBlock::CheckUnmarked() and CheckMarked() computed a wrong remainingBits and mask


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 13:45:01 +00:00
Ingo Weinhold
0a5b0dae01 Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 11:45:04 +00:00
Ingo Weinhold
13b81a3b8e * Added new thread flag THREAD_FLAGS_SINGLE_STEP, which is set to indicate that
userland single-stepping is enabled for the thread.
* x86_exit_user_debug_at_kernel_entry(): Always store DR6 and DR7 in the CPU
  structure, not only when breakpoints are installed.
* x86_handle_debug_exception(): When encountering a syscall single-step, also
  set the THREAD_FLAGS_DEBUG_THREAD thread flag. Otherwise the
  B_THREAD_DEBUG_STOP would be ignored.
* x86 interrupt handling, DISABLE_BREAKPOINTS():
  - Renamed to STOP_USER_DEBUGGING().
  - Now it also call x86_exit_user_debug_at_kernel_entry() when
    THREAD_FLAGS_SINGLE_STEP is set, so that the debug registers are saved.

Fixes #6751.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 11:31:01 +00:00
Ingo Weinhold
ee7817042b update_thread_user_debug_flag(): Don't set the THREAD_FLAGS_DEBUG_THREAD thread
flag, when B_THREAD_DEBUG_SINGLE_STEP is set. Not sure, if there ever was a
reason to do that, but there isn't now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 10:33:04 +00:00
Michael Pfeiffer
bc9665753b * Use Layout API
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 09:43:26 +00:00
Michael Pfeiffer
299710a731 * Style changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:54:52 +00:00
Michael Pfeiffer
54336e821e * Use Layout API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:40:04 +00:00
Michael Pfeiffer
42c36e9fd3 * Style changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:06:55 +00:00
Michael Pfeiffer
239c0190af * Use namespace "std" to fix build-o-matic error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:05:02 +00:00
Scott McCreary
599b0482e1 Added OptionalLibPackages, which brings in most of the LibPak gcc2 libs.
TODO: Create fresh gcc4 packages for several libs which are currently #'d out in the version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 07:22:17 +00:00
Scott McCreary
d8a9d43683 Added gcc2 armyknife and stable vision packages.
TODO: Create fresh gcc4 packages for armyknife, vision and taglib.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 07:19:02 +00:00
Michael Pfeiffer
ae83b2f10a * Use check box to enable "Print preview" instead of a button.
The button did make sense in BeOS where there was no printer
  selection dialog. The dialog is enabled in Haiku per default
  and clicking the "Preview" button closes the job setup dialog
  and returns to the printer selection dialog.
  The preview is shown after the printer selection dialog is
  closed clicking on the "OK" button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 07:06:55 +00:00
Michael Pfeiffer
de18d919e7 * Added driver specific settings to job data and job
setup dialog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 06:54:16 +00:00
Alex Wilson
6e62e74423 In Media preflet:
* rename some variables (eg. fMenu1 -> fInputMenu)
* rearrange some code for improved clarity
* fix an instance of casting BMenuItem*s to dormant_node_info*s before deleting them (now we just delete them as BMenuItems)
* use a BGridView to align the MenuFields in Audio/Video setting views.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 04:20:58 +00:00
François Revol
c489b073c8 Partial build fix. Still a lot to do to catch up with Ingo...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 01:33:50 +00:00
Philippe Houdoin
ecb7d9282a Add an option to print discoveried ports,
if the transport add-on support this feature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 16:21:49 +00:00
Scott McCreary
4b4219eba4 Added Lua as an OptionalPackage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 16:20:25 +00:00
Clemens Zeidler
75eef8892f Make gcc2 happy and give the VolumeWatcher BLooper a name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 13:04:38 +00:00
Clemens Zeidler
1a794e7f63 Add simple audio tag add-on and rename FullText dir to fulltext.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 13:03:03 +00:00
Clemens Zeidler
2ad1d63bf9 Add TagLib optional package. gcc4 package would be welcome!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 13:00:19 +00:00
Adrien Destugues
ffad85060a * Remove the setting for a fixed cursor color. Instead, the cursor now inverts the colors of the char below it.
* This allows getting a cursor well visible both on black and white backgrouds.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 12:07:51 +00:00
Clemens Zeidler
0fd274fa57 The new app-server double click detection has broke minimization in S&T. React only on single clicks now, fix #6759.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 08:33:47 +00:00
Clemens Zeidler
86795bae5b Check if entries are already in the clucene index/remove queue. This fix duplivated entries in the database. Don't check if delete files are text files because this will probably fail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 07:53:22 +00:00
Alex Wilson
b63e3a348c In Media preflet:
* Move icons to resource file.
* Add MediaIcons class to handle loading and storing the icons.
* Use a MediaIcons object in place of a BList for passing icons to our list items.
* Add IconHandles.h to hold an enum for identifying icons in/from our resource file.
* style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 01:22:23 +00:00
Clemens Zeidler
1d056b26be Don't analyse files in own clucene index directories.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 22:20:04 +00:00
Clemens Zeidler
a4f9d5359e Fix clucene package name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 21:24:50 +00:00
Clemens Zeidler
c90684742e Rename index_server to index as pointed out by Philippe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 21:21:40 +00:00
Clemens Zeidler
831d929e8c Cleanup OptionalBuildFeatures and add CLucene as optional build feature / fix dependencies.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 20:57:11 +00:00
Clemens Zeidler
843c030f80 Cleanup there is no Audio plugin yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 18:12:14 +00:00
Jérôme Duval
71e85f7f8f added definition for Extensible Host Controller Interface (usb3)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 17:31:36 +00:00
Clemens Zeidler
59cad21bf2 Add a simple CLucene search app written by Ankur Sethi. I just made some smaller modifications. Don't look at the coding style, it is just for testing at the moment, this has to be integrate somewhere else anyway, there is no point to fix it at this state. There are also some memory leaks...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:32:44 +00:00
Clemens Zeidler
3a88830daa Add a CLucene full-text add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:22:52 +00:00
Clemens Zeidler
4462ce0d83 - The purpose of the SwapEntryRefVector is to exchange entry_ref's between the watcher thread and the worker thread. The idea is to use two list, the first list is filled by the watcher and the second is passed to the worker. When the worker finished both lists are swapped. This was totally broken, the list swap was not locked and SwapList always returned the wrong list.
- Use BAutolock class.
- Write the correct sync time in micro seconds.
- Fix the event dispatching in the worker thread.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:11:02 +00:00
François Revol
20bf353a79 argv[0] is binary name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:10:58 +00:00
François Revol
53612087c4 Add ipp: and lpr: as supported uri schemes for the Printer pref, and the ArgsReceived() hook with a TODO to handle them. It should use it to prefill the add printer dialog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 14:50:05 +00:00
Ithamar R. Adema
7bc3564aa8 * ARM: Some more cleanup...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 11:19:20 +00:00
Joachim Seemer
b57206f658 Fixed erroneously reversed translations. Looks like one always has to export the complete dataset from the translation site instead of just the changed sets ATM. Thanks Vincent for the tip.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 08:57:17 +00:00
Siarzhuk Zharski
adbe44b82d Update to Russian locale files. Made by Diver. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 21:34:33 +00:00
François Revol
710dac2313 M68K: Do not force HAIKU_BOOT_PLATFORM and make the floppy image size depend on it. One should use HAIKU_BOOT_PLATFORM={atari_m68k|amiga_m68k} now instead of setting TARGET_BOOT_PLATFORM.
Note we aren't yet at the point where jam can make you a floppy image due to broken vm stuff.
It might be interesting to also switch the extension used on the image, amiga emulators prefer .adf for ex.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 15:51:54 +00:00
Joachim Seemer
c585624fa4 Update of userguide\welcome page. Thanks translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 15:47:37 +00:00
Stephan Aßmus
766bc131b4 Integrated the test from the "Services Kit" GSoC project. The urlRequest tests
don't currently compile since not all of the Services Kit classes are included
in the build ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:16:51 +00:00
Stephan Aßmus
eb3504793b Added the new headers to the NetworkKit.h all-in-one header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:16:19 +00:00
Stephan Aßmus
45939109b4 Patch done by Christophe Huriaux as part of GSoC 2010 "Services Kit" project:
Integrated the classes in the Network Kit (libbnetapi.so). Only the foundation
classed BUrl, BUrlContext, BNetworkCookie, BNetworkCookieJar and the private
HttpTime code is currently compiled. The BUrlProtocol currently contains some
misplaced BUrlProtocolHttp specific stuff, and the HTTP stuff itself has a
dependency on libcrypto and should live in an add-on instead. I've sprinkled
some TODOs in the code, and I've done some renaming compared to the last
version of the GSoC patch. Any help to bring this further along is appreciated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:03:31 +00:00
Clemens Zeidler
1294543de9 Initial work on an index server. No add-on yet so quite useless at the moment, but a clucent full-text search add-on is coming soon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 13:55:45 +00:00
Philippe Houdoin
7b5743bab4 JPEG translator was reporting uninitialized input and output formats.
That explain why a empty menu after JPEG Image was visible in any menu
populated by BtranslationUtils::AddTranslationItems(, B_TRANSLATOR_BITMAP, ...),
as seen for instance in Screenshot "Save As".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 10:11:52 +00:00
Jonas Sundström
2ae22b9b1b Correction of code style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 22:32:48 +00:00