root/morphix/trunk/partitionmorpher/ChangeLog

Revision 2, 12.4 kB (checked in by nextime, 2 years ago)

Initial import, branching from morphix svn

Line 
1 2004-10-07 Mantas Kriauciunas <mantas@akl.lt>
2         * src/main.c: Check if there are at least one sufficient size Linux
3         (and swap) partition and suggest to use them.
4         * src/wizard.c:
5         * src/ui.c: Replaced WarningWindow with gtk_message_dialog_new()
6         and moved warnings from wizard.c to callback.c and main.c
7         * src/wizard.c: Added ability to create separate /home partition in
8         Wizard mode.
9         * src/wizard.c: Wizard uses existing swap partition if selected hard
10         disk alredy contains sufficient size swap partition.
11         * src/pm_fswrap.c: Implemented progress dialog in do_mkext3()
12
13 2004-09-21 Mantas Kriauciunas <mantas@akl.lt>
14         * src/wizard.c: Improved Wizard mode to usable state ;)
15         * src/main.c: Fixed a bug with parameters.
16         * src/ui.c: Fixed a crash bug in show_busy_cursor()
17
18 2004-01-11 Alex de Landgraaf <alextreme@xs4all.nl>
19         * src/callbacks.c: Implemented progress and error dialogs for
20         resizing and deleting.
21         * src/pm_wrap.c/h: made wrapper as to enable non-parted commandline
22         tools, however timer implementing for these has yet to be done
23         (impossible?). Dynamic filesystem times. Support of using
24         do_mkpartfs with parted and ntfs/ext3/xfs. Support of do_resize
25         with parted and ntfs.
26         * src/pm_fswrap.c/h: all non-parted calls, currently mktfs, mkfs.ext3,
27         mkfs.xfs, ntfsresize. todo: xfs_grow, resize2fs for ext3
28         * src/pm_libparted.c: see callbacks.c, redesigned calling of do_
29         functions
30         * src/ui.c: all non-callback gtk code to be done in here, mainly
31         old callback.c code
32         * some glade changes
33 2003-10-20  Elijah Newren  <newren@math.utah.edu>
34         * src/main.c: Workaround a Parted bug.  Parted can't call the
35         timer_handler with the appropriate amount of time left if stdout
36         is redirected at the command line.  So, we redirect stdout to
37         stderr in main.c to work around this.
38
39         * TODO: Removed items that have been now taken care of and added
40         some notes about the testing I did.
41
42 2003-10-12 Alex de Landgraaf <alextreme@xs4all.nl>
43         * src/*: Heaps of updates. No, I'm not going to list them all
44         See 1st law of WAL
45
46 2003-09-15  Elijah Newren  <newren@math.utah.edu>
47
48         * partitionmorpher.glade:
49         * src/interface.c: Make CreateWindow, ResizeWindow, DeleteWindow,
50         ConvertWindow, and MoveWindow modal so that the user can't launch
51         multiple of these windows at a time (could cause nasty problems if
52         the user had a window open for resizing a partition and also
53         converting the same partition).  This should also probably be done
54         for the ApplyWindow, RevertWindow, DialogWindow, and perhaps
55         TableWindow.
56
57         * src/callbacks.c: Make the MainWindow also show the busy cursor
58         whenever sub-windows do (since one probably should not be able to
59         interact with the main window when the others are busy doing disk
60         operations...).
61
62 2003-09-14  Elijah Newren  <newren@math.utah.edu>
63
64         * src/callbacks.c:
65         * src/main.c: Enable startup notification to work properly.
66
67         Note that startup notification requires both a launcher and a
68         launchee, so in order to test this from the command line, one
69         needs to run the test-launcher program (which is part of the
70         desktop-notification tarball found on www.freedesktop.org) with
71         partitionmorpher as the program to launch.  [Adding
72         partitionmorpher to the gnome-panel menu would be an alternate way
73         to test, but if one isn't logged in as root in a gnome session
74         (which is hopefully the case), then one would also have to do
75         whatever trickery is required to make partionmorpher be able to
76         run as root when launched]
77
78         The changes made here may be unnecessary in the future;
79         startup-notification launchers are the ones required by the spec
80         to do most of the work and they are required to be pretty smart.
81         The only reason additional code is needed at all inside
82         PartitionMorpher at this time is that we start displaying the main
83         window a couple seconds before we are actually finished starting
84         up.
85
86 2003-09-13  Elijah Newren  <newren@math.utah.edu>
87
88         * src/callbacks.c:
89         * src/pm_libparted.c: Added a busy cursor when performing
90         operations that take longer than a second.  Currently only added
91         for Create & Delete windows.  Make the app seem much more
92         responsive, though (in the Delete Window, the operation would
93         always take about two seconds, but the user wasn't given any
94         notification that the program was acting on their input)
95
96         * TODO: Updated with some more bugs and stuff
97
98 2003-09-12  Elijah Newren  <newren@math.utah.edu>
99
100         * TODO: Updated (I'm really starting to think I should break out
101         the known bugs into a separate file...)
102
103 2003-09-12  Elijah Newren  <newren@math.utah.edu>
104
105         * src/pm_libparted.[ch]:
106         * src/callbacks.c: Only display debugging info if
107         PRINT_DEBUGGING_INFO is defined (currently located in
108         pm_libparted.h).  The debugging info is still potentially useful,
109         but sometimes I don't want to see it.  Also, adding this flag
110         means that it will be easier to clean out all these messages when
111         PartitionMorpher is ready to ship to everyone.  I've probably
112         missed marking numerous debugging messages, but I'll add them as I
113         find them.
114
115 2003-09-12  Elijah Newren  <newren@math.utah.edu>
116
117         * partitionmorpher.glade:
118         * translation:
119         * src/callbacks.[ch]:
120         * src/interface.c: Since extended partitions can't have a
121         filesystem, inactive the filesystem selector in the CreateWindow
122         whenever the Extended partition radiobutton is active.  Also,
123         update the tooltips for the Extended and Logical partition types.
124
125         * TODO: Updated, specifically with info about how
126         on_CreateTypeRadiobutton_clicked is called twice for every click.
127         (I don't understand why it does this, but it doesn't hurt
128         anything)
129
130 2003-09-12  Elijah Newren  <newren@math.utah.edu>
131
132         * partitionmorpher.glade:
133         * src/interface.c: Closing certain windows with the X button
134         (located in the upper right corner of each window) was causing
135         PartitionMorpher to either segfault, hang, or not respond when
136         attempting to show the window again.  I tested and fixed this for
137         these windows:
138                 CreateWindow
139                 ResizeWindow
140                 HelpWindow
141                 DeleteWindow
142                 ConvertWindow
143                 MoveWindow
144                 ErrorWindow
145                 ProgressWindow
146         The fix was to set the signal handler for the delete_event to
147         gtk_widget_hide (all but one case) or gtk_true (in the case of the
148         ProgressWindow, which should not be able to be hidden by the
149         user).  Other windows (Apply/Revert/Dialog/Table) may still need
150         this fix.
151
152 2003-09-08  Elijah Newren  <newren@math.utah.edu>
153
154         * TODO: Updated
155
156 2003-09-08  Elijah Newren  <newren@math.utah.edu>
157
158         * partitionmorpher.glade:
159         * translation:
160         * src/callbacks.c:
161         * src/interface.[ch]:
162         * src/main.c
163         * src/pm_libparted.c: Add a progress bar to provide visual
164         feedback during long operations.  Currently, this has only been
165         tested and worked in with creating partitions, but it shouldn't
166         require many changes for other operations.  However, if we
167         implement NTFS creation/resize (and perhaps other operations) via
168         external tools, we will need to change the display from a
169         percentage progress bar to an indeterminate moving back and forth
170         bar.
171
172 2003-09-08  Elijah Newren  <newren@math.utah.edu>
173
174         * src/pm_libparted.c : Small change to make MIN_FREESPACE = 1024
175         k, not 1000 k.  This is an issue because users are only allowed to
176         select partition sizes in terms of MBs (which, perhaps more
177         appropriately would be labelled MiBs).  Thus, on one partition on
178         my laptop, which is 1913.99 MB (isn't it nice to have a
179         pathological laptop that provides nice corner cases?), I can only
180         choose to create a partition of size 1913 MB.  The MIN_FREESPACE
181         corresponds to about .98 MB, and thus my partition was left with
182         an empty space at the end of almost 1 MB in size.  This would mean
183         that although I thought I had used all the space on my disk, a
184         view of the sectors would show that I had left gaps.
185
186         Note: This is not an issue for Parted or QTParted (both of which
187         use 1000 k for this parameter) because they both require/allow the
188         user to specify to higher precision the size of their partition.
189         We only allow integer sizes in the interface.
190
191 2003-09-08  Elijah Newren  <newren@math.uath.edu>
192
193         * src/callbacks.c:
194         * src/pm_libparted.[ch]: Remove duplicate (unused) code
195
196 2003-09-05  Elijah Newren  <newren@math.utah.edu>
197
198         * src/callbacks.c: Change the display in the main menu so that
199         intead of showing "Size" we show "Size (MB)".
200
201 ========== I was lame when starting and didn't keep a            ==========
202 ========== proper ChangeLog.  So the dates below are inaccurate. ==========
203
204 2003-09-05  Elijah Newren  <newren@math.utah.edu>
205
206         * Makefile:
207         * Makefile.in:
208         * aclocal.m4:
209         * config.log:
210         * config.status:
211         * configure:
212         * autom4te.cache/:
213         * po/Makefile:
214         * po/Makefile.in
215         * po/Makefile.in.in:
216         * src/Makefile:
217         * src/Makefile.in
218         * src/partitionmorpher: Remove all these files from CVS as they
219         are automatically generated build files.
220
221         * .cvsignore:
222         * po/.cvsignore:
223         * src/.cvsignore: Add these files to make sure that files like the
224         above don't get added to CVS.
225        
226 2003-09-05  Elijah Newren  <newren@math.utah.edu>
227
228         * AUTHORS, README: Added some basic content
229         * TODO: Created and started it with some basic things
230
231 2003-09-05  Elijah Newren  <newren@math.utah.edu>
232
233         * src/callbacks.c: Remove first column of main window
234         (corresponding to PART_NUMBER) from the interface; this was
235         basically an artifact of our implementation and provides no useful
236         information to the end user.  It was helpful for debugging but is
237         merely clutter otherwise.
238
239 2003-09-05  Elijah Newren  <newren@math.utah.edu>
240
241         * src/callbacks.c: For extended partitions or when choosing no
242         filesystem, call do_mkpart
243
244 2003-09-05  Elijah Newren  <newren@math.utah.edu>
245
246         * src/pm_libparted.[ch]: do_mkpart != do_mkpartfs, so don't
247         require a filesystem type to be passed.  NOTE: From looking at the
248         original parted.c file, I'm not so sure this function can be
249         trusted.  Alex made this code way better (it used to be absolutely
250         hideous), but I'm still a little unsure about it all, so I don't
251         know if my changes are either correct, or enough.
252
253 2003-09-05  Elijah Newren  <newren@math.utah.edu>
254
255         * src/pm_libparted.c: Make sure a message is printed when there's
256         an error.  Also, print error messages to stderr instead of stdout
257         so it can be captured by my stderr redirection
258
259 2003-09-05  Elijah Newren  <newren@math.utah.edu>
260
261         * src/callbacks.c:
262         * src/pm_libparted.c: Simple fix to keep the same selected
263         partition instead of always resetting to the first
264
265 2003-09-05  Elijah Newren  <newren@math.utah.edu>
266
267         * partitionmorpher.glade:
268         * translation:
269         * src/callbacks.[ch]:
270         * src/interface.[ch]:
271         * src/main.c: Add an error dialog for when Parted aborts
272         due to an error.  Use it in the case of creating partitions.
273
274 2003-09-05  Elijah Newren  <newren@math.utah.edu>
275
276         * src/callbacks.c: Add stderr redirection in order to capture
277         Parted error messages
278
279 2003-09-05  Elijah Newren  <newren@math.utah.edu>
280
281         * src/callbacks.c: Get rid of unused variables and unused code;
282         NOTE: The add_swap variable wasn't ever being set to true, so that
283         meant I removed the change_part_flag call (dead code removal).
284         I'm a little unsure this is the right thing to do (the code was
285         probably there for a reason), but the current version after this
286         change seems to work for me.
287
288 2003-09-05  Elijah Newren  <newren@math.utah.edu>
289
290         * src/callbacks.c: In CreateOk callback, make sure the switch
291         statement numbers match the values reported by gtk.  (Apparently,
292         line separators get a number)
293
294 2003-09-05  Elijah Newren  <newren@math.utah.edu>
295
296         * src/callbacks.c: Be careful about the size of *printf format
297         flags.  This fixes at least one bug in the printing of debugging
298         messages.  It may fix other stuff as well.
299
300 2003-09-05  Elijah Newren  <newren@math.utah.edu>
301
302         * src/callbacks.c: Minor clean-ups
303
304 2003-09-05  Elijah Newren  <newren@math.utah.edu>
305
306         * src/pm_libparted.c: Not incrementing the partition count
307         (part_count) for freespace partitions caused early termination of
308         loops in callbacks.c (e.g. update_partition_list). So, this patch
309         always increments part_count
310        
311 2003-09-05  Elijah Newren  <newren@math.utah.edu>
312
313         * src/callbacks.c: My previous patch (commited by paul_c)
314         introduced the variable num_free_partitions, which turned out to
315         be identical to the already existing part_freespace_count.  This
316         patch uses part_freespace_count instead and removes
317         num_free_partitions.
318
319 === As I don't keep changelogs personally, check the CVS logs for info ===
320 === When thy are in a state of CodeRage, thy shall not document!       ===
321 ===  -- 1st law, WAL                                                   ===
322        
323 2003-00-00 Alex de Landgraaf <alextreme@xs4all.nl>
324         * *: Creation of pm, heaps of bugs, partly working
Note: See TracBrowser for help on using the browser.