FET Forum

FET Development => Snapshots => Topic started by: Liviu Lalescu on September 27, 2011, 12:12:26 PM

Title: OLD - FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 27, 2011, 12:12:26 PM
I have released a snapshot.

Great news, you'll love the new features :-)

1) Dialogs will retain geometry (reported by more users. Zsolt Udvari suggested to store also Activity planning dialog settings). Each new dialog should be first time centered over parent, but next time will retain previous settings. Small dialogs with informative text will not retain settings. Please report contrary behavior;

2) New constraint activities occupy max time slots from selection. Suggested by Zsolt Udvari, Christian Kemmer, Davide G. M. Salvetti, lalloso and maybe others. Can be used to constrain a teacher to have activities in certain slots and maybe in more other possible ways. (see Help for constraint for more details.) Please test extensively and report if it is working.

3) The activity tags, students, teachers, subjects, rooms, buildings, activities, subactivities, all time constraints and all space constraints dialogs contain a draggable splitter (with remembering state), so you can drag it, for better viewing (suggested by daviodan).

4) Removed dependence of Qt3Support classes. Many dialogs were changed. This is to improve FET and to prepare it for the future Qt 5. Please test each dialog in FET for correctness (as your time permits).

Please test all the above and report problems.

In addition, please open your old files and check that they generate identically with this new FET, and the random seed after generation is the same. (Note: when you start FET-5.15.0-snapshot and after that you start old FET-5.14.5, this old FET-5.14.5 it will not read correctly your settings, it is best to use default settings if you compare the old and new FET.)

Also, some new fields to translate (for translators).

It was hard tedious work for the last couple of weeks (the only interesting work was on the engine of the new constraint), but was worth it.

Link, as usual, http://lalescu.ro/liviu/fet/download/test/
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Corfiot on September 27, 2011, 01:26:36 PM
Well done Liviu. Haven't tested yet but it all sounds great.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: lalloso on September 27, 2011, 01:43:58 PM
Thanks!
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 28, 2011, 10:02:39 AM
I released a new snapshot, with some minor changes in the generation routine:

1) If an activity is impossible and the user interrupts the generation, FET won't freeze anymore for some minutes (probably rare situation). Please generate some timetable, and interrupt some.

2) Minor speed improvement in the new constraint. Please recheck generating with this constraint.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Silver on September 28, 2011, 12:21:43 PM
thanks. i don't understand num 2?
why we used "max occupied".

regards
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 28, 2011, 12:50:52 PM
Quotethanks. i don't understand num 2?
why we used "max occupied".

regards

Please run FET and read constraint's help (in the constraints list for this type you have a Help button.)
Title: Re: FET-5.15.0 snapshot available for testing
Post by: drew on September 28, 2011, 05:18:51 PM
Doesn't compile for me:

Ubuntu 11.04 with all updates:

Chugs along for over 8 minutes, then g++ segfaults

g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iengine -Iinterface -I../tmp -I../tmp -o ../tmp/alltimeconstraintsform.o interface/alltimeconstraintsform.cpp
In file included from /usr/include/qt4/QtGui/qtextlayout.h:50:0,
                 from /usr/include/qt4/QtGui/qabstracttextdocumentlayout.h:46,
                 from /usr/include/qt4/QtGui/qplaintextedit.h:52,
                 from /usr/include/qt4/QtGui/QPlainTextEdit:1,
                 from ../tmp/ui_alltimeconstraintsform_template.h:23,
                 from interface/alltimeconstraintsform.h:21,
                 from interface/alltimeconstraintsform.cpp:22:
/usr/include/qt4/QtGui/qevent.h: In member function 'const QPoint& QMouseEvent::pos() const':
/usr/include/qt4/QtGui/qevent.h:90:38: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[1]: *** [../tmp/alltimeconstraintsform.o] Error 1
make[1]: Leaving directory `/home/drew/Desktop/fet/fet-5.15.0-snapshot-28-sept-2011-14_00/src'
make: *** [sub-src-make_default] Error 2

real      8m29.953s
user      5m48.090s
sys      0m21.420s
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 29, 2011, 06:09:23 AM
QuoteDoesn't compile for me:

Ubuntu 11.04 with all updates:

Chugs along for over 8 minutes, then g++ segfaults
...
make: *** [sub-src-make_default] Error 2
...

Probably gcc/g++ error, please reinstall/update your gcc package. You may also try to reinstall/update Qt. On my computer I never got this error on future FET-5.15.0.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 29, 2011, 09:08:10 PM
I have added a new snapshot. Improved split year dialog and all time/space constraint advanced filter, so that settings are save the same way as dialogs' geometry. Please check this.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on September 29, 2011, 09:52:55 PM
Thanks Liviu for new constraint
Quotethanks. i don't understand num 2?
why we used "max occupied".

regards
I think, this new constraint is useful in the following senario:
Suppose we have 6 time slots par day form 1 to 6
Students has 4 lessons of geography per week
We dont want ALL the four lessons to be scheduled at last hour 6th slot, when students are tired
So we will select 6th slots (all days), put 3 Maximum
Thus, we will ensure that at most 3 geography lesson occur toward the end of day

Am I right?
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 30, 2011, 06:47:54 AM
Yes, but in this case I would recommend constraint subactivities preferred time slots, preferred for a single component, not allowed in the last slot. This may be more efficient.

You gave me an idea, to improve the new constraint, by adjusting the initial order of activities like for preferred time slots. (Now it is not perfect.)

Edited to add: Unfortunately, it is not easy to make perfect the initial order for this new constraint. I don't know if I can make it perfect.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on September 30, 2011, 08:49:27 PM
I added a new constraint, activities max simultaneous in selected time slots. Useful if you want for example to have at least 3 free teachers in each time slot, for supervision.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 01, 2011, 10:34:53 AM
I added a new snapshot, speed improvements in the new constraints in case they are used redundantly. Minor improvements in the new constraints dialogs.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on October 01, 2011, 09:00:42 PM
Another useful constraint
In the past, I used to limit maximum activities per time slot using dummy rooms. But was quite tedious
Now it is more convenient
Edited to add: Is  it possible to make new constraint work like A set of activities has a set of preferred time slots, where choosing a subject or a teacher induce all activities related to that subject or teacher?
That way, it is possible to limit physic or chemistry lessons due to limited laboratory resources
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 02, 2011, 05:25:57 AM
QuoteAnother useful constraint
In the past, I used to limit maximum activities per time slot using dummy rooms. But was quite tedious
Now it is more convenient
Edited to add: Is  it possible to make new constraint work like A set of activities has a set of preferred time slots, where choosing a subject or a teacher induce all activities related to that subject or teacher?
That way, it is possible to limit physic or chemistry lessons due to limited laboratory resources

Yes, of course, but you need to add all activities in the list (you have an "Add all" button, don't worry :-)
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 02, 2011, 04:40:14 PM
I added a new snapshot, minor strings changes, and constraint activities not overlapping has an "Add all activities" button, like the two new constraints.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 02, 2011, 07:56:47 PM
I added a new snapshot, now all constraints with a list of activities have an "Add all activities" button.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 03, 2011, 02:25:56 PM
I added a new snapshot, minor code cleanup.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 03, 2011, 08:06:27 PM
I added a new snapshot, minor interface improvement in add/modify activity and modify subactivity, the Active checkbox is better positioned (I noticed that in Russian the add activity dialog did not look good).

Please test these three dialogs.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 05, 2011, 10:00:20 PM
By popular request: recent files list and if you change the file, FET will show that and remember that the file has changed. Please get snapshot and let me know.

Minor potential problems:

1) When you modify a constraint and press "OK", even if nothing has changed, FET will consider this a change.

2) The File shortcuts tab, has a weird aspect. Do you accept it as it is?
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 06, 2011, 09:12:48 AM
I added a new snapshot, minor improvements to avoid flickering of the main bar modified flag when loading a file.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 06, 2011, 10:59:37 AM
I added a new snapshot, minor improvements in strings in main form. Please excuse too often snapshot releases.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 06, 2011, 08:41:55 PM
I added a new snapshot. There is a statistics menu item, "Activities rooms statistics", will show activities which might or which will end up in an unspecified room (suggested by Volker Dirr and Corfiot and Fabio Piedimonte).

Please tell me your opinion.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 08, 2011, 11:48:11 AM
I added a new snapshot, really minor improvement in the help string for the new constraint, max simultaneous activities in selected time slots.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on October 08, 2011, 06:16:49 PM
In the last snapshots, I think there is a feature has been removed
When I wanted to add room not available times, I used to mark the red slots, choose a room, hit Enter, press Down key to select next room, press Enter... and so on...
Now, pressing Enter means Select All available  :(

The same goes for A subject has a set of rooms.
Select desired  rooms, select a subject, hit Enter means clear not Add constraint  :(
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 08, 2011, 06:30:47 PM
QuoteIn the last snapshots, I think there is a feature has been removed
When I wanted to add room not available times, I used to mark the red slots, choose a room, hit Enter, press Down key to select next room, press Enter... and so on...
Now, pressing Enter means Select All available  :(

The same goes for A subject has a set of rooms.
Select desired  rooms, select a subject, hit Enter means clear not Add constraint  :(

I will correct right away. Thank you very much for the bug report!

Please tell me: all add/modify constraint dialogs should have this behavior for add/ok buttons? What about other dialogs?
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on October 08, 2011, 07:15:36 PM
Other dialogs are also affected
For example: Teacher not available time
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 08, 2011, 08:55:50 PM
QuoteIn the last snapshots, I think there is a feature has been removed
When I wanted to add room not available times, I used to mark the red slots, choose a room, hit Enter, press Down key to select next room, press Enter... and so on...
Now, pressing Enter means Select All available  :(

The same goes for A subject has a set of rooms.
Select desired  rooms, select a subject, hit Enter means clear not Add constraint  :(

Bugs corrected, thank you!

I have released a new snapshot, please confirm that the problem is solved.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 09, 2011, 08:44:30 AM
I released a new snapshot, minor strings adjusted in the main form. Please see File shortcuts tab, is it looking better? (instead of 'Open recent' I use only 'Recent' and instead of 'Save as' only 'As').
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on October 09, 2011, 10:22:38 AM
Thank
Bugs seem corrected now.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 10, 2011, 11:11:02 AM
I have released a new snapshot, minor improvements in recent files list, advanced filter and split year dialogs, now settings are stored but also removed, for instance if you had 5 recent files and cleared the list, these are removed also from settings.

Please test recent files list, advanced filter for all time/space constraints, divide year automatically (split year), they should store/retrieve correctly the settings.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 11, 2011, 08:02:37 PM
I have released a new snapshot. The old limit of 60,000 time constraints and 60,000 space constraints is lifted (although I think nobody needed this, but just in case).

Also, I added one more FAQ entry.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 12, 2011, 10:07:54 AM
I added a new snapshot. Significant speed improvement for the new constraint activities occupy max time slots from selection, in some cases (problem found with the Morocco sample file, trying to make the max hours per real day for students = 7, noticing that the speed was much slower).
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 15, 2011, 05:06:11 PM
I added a new snapshot. Minor interface improvements in the activities and subactivities dialogs, when the strings in other language are longer. Please check these two dialogs.

Also, I deactivated translation for weight strings. These should remain in English, as 100 and 95.0. Please check some constraints' dialogs: list, add, modify.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 18, 2011, 01:03:39 PM
I added a new snapshot, minor change in menu for activities time constraints, now the new "max simultaneous in selected time slots" is lower, under the "not overlapping" entry.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 18, 2011, 08:50:16 PM
I added a new snapshot, because I corrected some crash bugs when playing with the number of days and hours and having a view timetable opened.

Also, when modifying the number of hours or days, FET will modify or remove affected constraints. Please check.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 19, 2011, 09:53:45 AM
I added a new snapshot, minor code cleanup.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Chafik Graiguer on October 19, 2011, 08:03:53 PM
Well
There was a constraint " A set of subactivities has a set of preferred time slot"
it's details was as fellow:

QuoteTime constraint
Subactivities with:
Component number=5
All teachers
All students
Subject=..
All activity tags
have a set of preferred time slots (all hours of each affected subactivity must be in the allowed slots):
Friday1 07:00;  Friday1 08:00;  Friday1 09:00;  Friday1 10:00;  Friday1 11:00;  Friday1 12:00;  Friday2 07:00;  Friday2 08:00;  Friday2 09:00;  Friday2 10:00;  Friday2 11:00;  Friday2 12:00
Weight (percentage)=100

After deleting the last 3 days:Friday1 , Friday2 and Saturday1
The details become as fellow:
QuoteTime constraint
Subactivities with:
Component number=5
All teachers
All students
Subject=..
All activity tags
have a set of preferred time slots (all hours of each affected subactivity must be in the allowed slots):

Weight (percentage)=100

Is this the intended behavior, or should the constraint be removed totally ?
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 19, 2011, 08:11:36 PM
Quote
Is this the intended behavior, or should the constraint be removed totally ?

Yes, it is intended, I only remove activity preferred starting time, which cannot be repaired.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 20, 2011, 02:06:56 PM
I have put a new snapshot, to repair all necessary constraints, like max hours daily and so on, when modifying the number of days or hours.

I tested all constraints, but it would be advisable for users to help with testing, like in recent previous posts, to add some constraints and modify the number of days or hours. I changed the code, so even preferred times and not available and the rest should be re-tested.

Please report problems.

I am sorry, these are last minute bug fixes. The best would be to wait with the official release at least 1 week from now.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 22, 2011, 04:40:21 PM
I added a new snapshot, minor strings changes.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 25, 2011, 03:38:19 PM
I added a new snapshot, improvements:

1) Language change - is done instantly (without restarting FET) :-)

2) Some untranslated buttons in dialogs, like: "OK", "Yes", "Yes to All", "Cancel", are now available for translation.

Please test and report.

So, release is again postponed a few days, maybe Friday or later. Sorry.
Title: Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 26, 2011, 11:54:05 AM
I added a new snapshot, minor string improvements.
Title: OLD - Re: FET-5.15.0 snapshot available for testing
Post by: Liviu Lalescu on October 26, 2011, 08:48:42 PM
I added a new snapshot, minor code cleanup.