Teo Mrnjavac
2a231b3532
Try to avoid passing GlobalStorage to Python by value.
11 years ago
Aurélien Gâteau
aef2b7e9e7
We can now test mount with testmodule.py: remove the test main()
11 years ago
Aurélien Gâteau
35d2a10177
Remove \t tab to avoid failure in testmodule.py
11 years ago
Aurélien Gâteau
7cdfc38766
Ignore Python files
11 years ago
Aurélien Gâteau
e1877adf9c
Make testmodule.py more Pythonic
11 years ago
Aurélien Gâteau
b3ba56a829
Indeed CMake, a list is not a directory...
...
After testing a Python module, the build was broken because the test
created a __pycache__ dir, which CMake tried to install as a file because:
a) `if(IS_DIRECTORY foo)` requires a full path to work
b) For CMake, `IS_DIRECTORY(foo)` is not the same as `IS_DIRECTORY foo`
c) CMake is a pain sometimes
11 years ago
Aurélien Gâteau
f2ab67b28b
Create bootLoader.installPath in GlobalStorage
11 years ago
Aurélien Gâteau
06a13637b6
Store current boot loader install path in PartitionCoreModule
11 years ago
Aurélien Gâteau
ab4604258c
Rework boot loader combo box
...
List MBR of all devices
Does not loose its selection when updated
11 years ago
Aurélien Gâteau
c9c1917997
log--
11 years ago
Aurélien Gâteau
a39384eda7
Simplify
11 years ago
Aurélien Gâteau
484d7c4d15
Update partition path after partition has been created
...
Fixes #56
11 years ago
Aurélien Gâteau
7108718104
Bring back partition and mount modules
11 years ago
Teo Mrnjavac
da83ecfb13
libcalamares.job is of type libcalamares.Job
11 years ago
Teo Mrnjavac
ef28b7f2c1
Add job.setprogress to testmodule.py.
11 years ago
Teo Mrnjavac
78de11a412
Emit job progress from Python jobs.
11 years ago
Aurélien Gâteau
89fd6a950b
Add support for per-job progress
11 years ago
Aurélien Gâteau
e9da5cb6cb
Change signature of JobQueue::progress, add finished() signal
...
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
11 years ago
Teo Mrnjavac
2636a1273f
Add job.setprogress to Python API.
11 years ago
Teo Mrnjavac
c6c2c67560
Rewrite Python error handling to show meaningful messages.
11 years ago
Aurélien Gâteau
0234415976
Add "mount" module
11 years ago
Aurélien Gâteau
c8129898fc
Introduce FillGlobalStorageJob
11 years ago
Aurélien Gâteau
7763587c01
Move PartitionIterator to its own file
11 years ago
Teo Mrnjavac
ed0fd6d207
Merge pull request #54 from calamares/wip/job-order
...
Queue module jobs in the order they are listed in the "install" section of settings.conf
11 years ago
Aurélien Gâteau
b5b72855c3
Queue module jobs in the order they are listed in the "install" section of settings.conf
11 years ago
Teo Mrnjavac
533cba6437
[testmodule.py] File with fake global_storage contents for testing.
11 years ago
Teo Mrnjavac
4881684e18
[testmodule.py] Simulate global storage contents from a YAML file.
11 years ago
Aurélien Gâteau
1b64917385
Use findPartitionByMountPoint in updateHasRootMountPoint
11 years ago
Aurélien Gâteau
a335c1cc04
Coding style fixes
11 years ago
Aurélien Gâteau
906019facc
Add combo box to pick boot loader installation destination
11 years ago
Aurélien Gâteau
3e3329d4f2
Rework PartitionPage appearance, prior addition of boot loader UI
11 years ago
Teo Mrnjavac
81eca92418
Added testmodule.py script to test Python modules.
11 years ago
Teo Mrnjavac
73f03017fd
Spaces, not tabs.
11 years ago
Teo Mrnjavac
aba981e4ce
Add PyCharm files to .gitignore.
11 years ago
Teo Mrnjavac
0753e6ccde
New GlobalStorage map. With Python API support.
11 years ago
Aurélien Gâteau
4c88603872
Fix bug with tiny disks and mbr partition tables
11 years ago
Aurélien Gâteau
26f6943f8a
Add support for formatting existing partitions
...
closes #24
11 years ago
Aurélien Gâteau
a5fcb9bcb9
Improve CreatePartitionJob::prettyName
11 years ago
Aurélien Gâteau
d374d8bad8
Introduce PartitionJob
11 years ago
Teo Mrnjavac
4516213b0b
Add some dummy configuration to dummypython, and then show it.
11 years ago
Teo Mrnjavac
d9f4c74537
Add support for config map to Python job API.
...
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
11 years ago
Teo Mrnjavac
2f03dfa43b
CalamaresPrivate ==> CalamaresPython
11 years ago
Aurélien Gâteau
568f2abd0b
Reproduce and fix bug #28
11 years ago
Aurélien Gâteau
99fe98a9cf
Unbreak test. Unfortunately it did not reproduce bug #28
11 years ago
Aurélien Gâteau
7e8c5a980c
Make Runner::run() returns a bool indicating success or failure
11 years ago
Aurélien Gâteau
eebc71257f
Nicer error messages
11 years ago
Aurélien Gâteau
26d0b52342
Unbreak build
11 years ago
Aurélien Gâteau
6f65a4b16c
Add a (failing for now) test for extended partitions
...
This reproduces bug #28
11 years ago
Aurélien Gâteau
43f29b8058
Start working on tests for partition jobs
11 years ago
Teo Mrnjavac
031c405c60
Let's not keep commented out code.
11 years ago