ChangeLog 346 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
2005-08-14  Yves Combe  <yves@ycombe.net>

	gcompris_spin_int configuration utility function, for integer valued spin buttons. Binded in python (gcompris.spin_int). Sample in colors.c and tuxpaint.py.

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (py_gcompris_spin_int):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_combo_box),
	(gcompris_radio_buttons), (spin_changed), (gcompris_spin_int):
	* src/gcompris/board_config.h:

12
13
2005-08-14  Yves Combe  <yves@ycombe.net>

14
15
16
17
18
19
20
21
22
23
24
25
	gcompris_radio_buttons python binded. Test sample is in tuxpaint.py (colors.c for C sample).

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (pair_object_in_dict),
	(hash_object_to_dict), (py_gcompris_radio_buttons):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_combo_box_changed),
	(create_radio_buttons), (gcompris_radio_buttons):

2005-08-14  Yves Combe  <yves@ycombe.net>

	gcompris_radio_buttons configuration utility function for boards. Get a GHashTable with (key, label) pair, return the key of the value selected.
26
27
28
29
30
31
32
33
34
	python binding is missing.

	* src/boards/colors.c: (colors_config_start):
	* src/gcompris/board_config.c: (gcompris_configuration_window),
	(gcompris_boolean_box_toggled), (gcompris_combo_box),
	(radio_changed), (create_radio_buttons), (destroy_hash),
	(gcompris_radio_buttons):
	* src/gcompris/board_config.h:

35
36
37
38
39
40
41
2005-08-12  Yves Combe  <yves@ycombe.net>

	improve boards selection: now menu selection follow childs.

	* po/Makefile.in.in:
	* src/boards/python/admin/board_list.py:

42
43
44
45
46
47
48
49
2005-08-04  Bruno coudoin  <bruno.coudoin@free.fr>

	Improved by Yves. Now there is a by level filtering. 
	Very impressive how he made this user friendly. Much
	better than what I did in the configuration panel.

	* src/boards/python/admin/board_list.py:

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
2005-08-03  Bruno coudoin  <bruno.coudoin@free.fr>

	- Fixes several issue in src/boards/python.c. No more craches.
	- Prepared the login screen but empty for now
	- Renamed reread_xml by reread_menu
	- Now the noxrandr param is 'almost' persistant in the config file
	  'almost' because until you enter and quit the gcompris config
	  panel, it is not saved. This is very dangerous becaus after that
	  there is no way to put back xrander in since there is no --withxrandr
	  switch. 
	  WARNING: This need more works !!
	
	* boards/login.xml.in:
	* src/boards/python/login.py: Empty and unused for now
	* boards/Makefile.am:
	* boards/music/background/BachJSBrandenburgConcertNo2inFMajorBWV104
	7mvmt1.ogg:
	* boards/music/background/Bach_JS__Brandenburg_Concert_No_2_in_F_Ma
	jor_BWV_1047_mvmt1.ogg:
	* configure.in:
	* po/Makefile.in.in:
	* po/POTFILES.in:
	* src/boards/py-gcompris-properties.c:
	(pyGcomprisPropertiesType_getattr):
	* src/boards/py-mod-admin.c: (py_board_run_next):
	* src/boards/py-mod-gcompris.c:
	(py_gcompris_get_board_from_section):
	* src/boards/python.c: (get_pythonboards_list), (pythonboard_init):
	* src/boards/python/Makefile.am:
	* src/gcompris/Makefile.am:
	* src/gcompris/board.c: (board_run_next_end), (board_run_next):
	* src/gcompris/gameutil.c: (gcompris_load_menus):
	* src/gcompris/gcompris.c: (setup_window), (gcompris_init):
	* src/gcompris/properties.c: (gcompris_properties_new),
	(gcompris_properties_save):
	* src/gcompris/properties.h:

87
88
89
90
91
2005-07-31  Bruno coudoin  <bruno.coudoin@free.fr>

	Hopefully completed the user/group/profile edition.
	Completed the code, added some checkings.
	Still need some testing.
Bruno Coudoin's avatar
Bruno Coudoin committed
92
93
	Made the icons.
	
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
	* boards/skins/default/config_boards.png:
	* boards/skins/default/config_groups.png:
	* boards/skins/default/config_profiles.png:
	* boards/skins/default/config_users.png:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/constants.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/group_user_list.py:
	* src/boards/python/admin/module_groups.py:
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/admin/profile_edit.py:
	* src/boards/python/admin/profile_group_list.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_edit.py:
	* src/boards/python/admin/user_list.py:
	* src/boards/python/administration.py:

113
114
115
116
117
118
119
120
121
2005-07-30  Bruno coudoin  <bruno.coudoin@free.fr>

	Completed management of the wholegroup. Now after editing class users
	the wholegroup is updated automatically
	
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/gcompris/gcompris.c:

122
123
124
125
126
127
128
129
130
131
132
2005-07-27  Bruno coudoin  <bruno.coudoin@free.fr>

	Created a user edit dialog to replace in table edition.
	Added contextuality to buttons in class and profile list.

	* src/boards/python/admin/Makefile.am:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_edit.py:
	* src/boards/python/admin/user_list.py:

133
134
135
136
137
138
139
140
141
142
143
144
2005-07-27  Bruno coudoin  <bruno.coudoin@free.fr>

	Improved class management. Now the class editor really
	edit the class name and teacher.
	The whole group is now created but not populated.

	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/constants.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/user_list.py:

145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
2005-07-26  Bruno coudoin  <bruno.coudoin@free.fr>

	- Renamed the official name of gcompris edit is now gcompris administration
	  It is now started with gcompris -a
	- Reworked modules statup to work like Yves did
	- Reworked class edit to also edit the class name and teacher.
	  In the end it will not be possible to edit in the tables anymore.
	  This still does not update the parent list.

	* boards/skins/babytoy/skin.xml:
	* boards/skins/default/skin.xml:
	* boards/skins/linha_verde/skin.xml:
	* boards/skins/pink/skin.xml:
	* gcompris-edit.desktop.in:
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/module.py:
	* src/boards/python/admin/module_boards.py:
	* src/boards/python/admin/module_groups.py:
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_list.py:
	* src/boards/python/administration.py:
	* src/gcompris/gcompris.c:

173
174
175
176
177
178
179
180
181
182
183
184
185
2005-07-26  Yves Combe  <yves@ycombe.net>

	gcompris_combo_box (gcompris.combo_box) configuration fonction for text combobox.

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (py_gcompris_boolean_box),
	(py_gcompris_combo_box):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_configuration_window),
	(gcompris_boolean_box), (gcompris_combo_box_changed),
	(gcompris_combo_box):
	* src/gcompris/board_config.h:

186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
2005-07-25  Yves Combe  <yves@ycombe.net>

	fix compilation error (GComprisProfile  in py-gcompris-properties.c)
	add label option in gcompris_configuration_window fix tuxpaint.py and colors.c for use it.

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-gcompris-properties.c:
	(pyGcomprisPropertiesType_getattr):
	* src/boards/py-mod-gcompris.c: (py_gcompris_configuration_window),
	(py_gcompris_boolean_box):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_configuration_window),
	(gcompris_boolean_box):
	* src/gcompris/board_config.h:

201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
2005-07-25  Bruno coudoin  <bruno.coudoin@free.fr>

	Implemented two new options from the command line:
	gcompris -p or --profile name => run gcompris under the profile 'name'
	gcompris --profile-list => display on stdout the available profiles

	* src/boards/python/tuxpaint.py: Removed old config code per Yves request.
	* src/gcompris/gcompris.c: (gcompris_init):
	* src/gcompris/gcompris_db.c: (gcompris_get_profile_from_name):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/images_selector.c: (gcompris_images_selector_start),
	(parseImage):
	* src/gcompris/profile.c: (gcompris_get_current_profile),
	(gcompris_set_current_user), (gcompris_get_current_user):
	* src/gcompris/properties.c: (gcompris_properties_new),
	(gcompris_properties_save):
	* src/gcompris/properties.h:

219
220
221
222
223
224
225
226
227
228
229
2005-07-24  Yves Combe  <yves@ycombe.net>

	pass binding of gcomrpis_window like child_spawn.
	fix segfault.
	fix tuxpaint to work effectively with new configuration funtions

	* src/boards/py-mod-gcompris.c: (pair_in_dict), (hash_to_dict),
	(pyGcomprisConfCallback), (py_gcompris_configuration_window):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_close_board_conf):

230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
2005-07-24  Yves Combe,,,  <yves@ycombe.net>

	gcompris_configuration_window and gcompris_boolean_box: two usefull functions for boards configuration, with python bindings
	samples in tuxpaint.py and colors.c

	* src/boards/colors.c: (conf_apply), (colors_config_start),
	(colors_config_stop):
	* src/boards/py-gcompris-board.c: (pyGcomprisBoardType_getattr):
	* src/boards/py-mod-admin.c: (py_board_config_start):
	* src/boards/py-mod-gcompris.c: (pair_in_dict), (hash_to_dict),
	(py_gcompris_get_board_conf), (py_gcompris_get_conf),
	(py_gcompris_set_board_conf), (pyGcomprisConfCallback),
	(py_gcompris_configuration_window), (py_gcompris_boolean_box):
	* src/boards/python.c: (pythonboard_config_start):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (board_config_start),
	(gcompris_close_board_conf), (gcompris_apply_board_conf),
	(gcompris_configuration_window), (gcompris_boolean_box_toggled),
	(gcompris_boolean_box):
	* src/gcompris/board_config.h:
	* src/gcompris/gcompris_db.c: (gcompris_get_conf),
	(gcompris_get_board_conf):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/plugin.h:

Bruno Coudoin's avatar
Bruno Coudoin committed
256
257
258
259
260
261
262
263
264
265
2005-07-23  Bruno coudoin  <bruno.coudoin@free.fr>

	Completed support for Nepal

	* README: moved translators info in po/TRANSLATORS.README
	* boards/flags/gcompris_flags.assetml.in:
	* po/TRANSLATORS.README: created.
	* src/gcompris/config.c: 
	* configure.in: flags version is now 1.9

Pawan Chitrakar's avatar
Pawan Chitrakar committed
266
267
268
269
2005-07-23  Pawan Chitrakar  <pawan@nplinux.org>

	* configure.in: Added ne in ALL_LINGUAS

270
271
272
273
274
275
276
277
278
279
280
281
282
283
2005-07-23  Bruno coudoin  <bruno.coudoin@free.fr>

	Improved contextuality in user module
	Added a default class and it's all group for Unassigned users
	When user are removed from a class, there are moved there automatically.

	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_list.py:
	* src/gcompris/gcompris_db.c: (gcompris_db_init):

284
285
286
287
288
289
290
291
292
293
294
295
2005-07-23  Yves Combe  <yves@ycombe.net>

	add gcompris_get_conf(profile, board) to get confs in conguration mode.
	tuxpaint launcher configuration is now working ! Yeah!

	* src/boards/py-mod-gcompris.c: (py_gcompris_get_conf),
	(py_gcompris_set_board_conf):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_conf),
	(gcompris_get_board_conf):
	* src/gcompris/gcompris_db.h:

296
297
298
299
300
301
302
303
304
305
306
307
2005-07-22  Yves Combe  <yves@ycombe.net>

	board config_start function now launched correctly. Example is in tuxpaint.py
	
	* src/boards/py-mod-admin.c: (py_board_config_start):
	* src/boards/python.c: (pythonboard_config_start):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (board_config_start):
	* src/gcompris/board_config.h:
	* src/gcompris/plugin.h:

Pawan Chitrakar's avatar
Pawan Chitrakar committed
308
>>>>>>> 1.526
309
310
311
312
313
314
315
316
317
318
319
2005-07-22  Yves Combe  <yves@ycombe.net>

	Connect treeview signal to allow usage of pref button
	Add pref icon in treeview if board is configurable
	gcompris_load_menus_* skip boards listed in profile unactivated activities. (Works !)

	* src/boards/python/admin/board_list.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/gameutil.c: (compare_id), (gcompris_load_menus_dir),
	(gcompris_load_menus):

320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
2005-07-21  Bruno coudoin  <bruno.coudoin@free.fr>

	Added 3 new background musics (classical music).

	Implemented the management of the default profile.
	
	* boards/music/background/COPYRIGHT: Added public domain released classical musics
	  from T. Willhoite found on http://www.archive.org
	* boards/music/background/Mozart__WA_-_String_Quartet_No.2_in_D_Mvmt_3.ogg
        * boards/music/background/Brahms__Johannes_-_String_Quartet_C_minor__Op_51_mvmt_4.ogg
        * boards/music/background/Bach_JS__Brandenburg_Concert_No_2_in_F_Major_BWV_1047_mvmt1.ogg

	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/profile_edit.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_list.py:

341
342
343
344
345
346
347
348
349
2005-07-21  Bruno coudoin  <bruno.coudoin@free.fr>

	Completed profile_edit. It is now possible to select groups in profiles

	* src/boards/python/admin/constants.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/profile_edit.py:
	* src/boards/python/admin/profile_group_list.py:

350
351
352
353
354
355
356
357
358
2005-07-21  Yves Combe  <yves@ycombe.net>

	Finished board slection by profile in board_list.py
	Put board->board_id python binding to board.board_id (was board.id)

	* src/boards/py-gcompris-board.c: (pyGcomprisBoardType_getattr):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/module_boards.py:

359
360
361
362
363
364
2005-07-20  Yves Combe  <yves@ycombe.net>

	Add toggle box in the treeview, and a properties button.

	* src/boards/python/admin/board_list.py:

365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
2005-07-20  Bruno coudoin  <bruno.coudoin@free.fr>

	First implementation of the profile module in the editor
	The edition of the profile's group is not yet coded.
	
	* src/boards/python/admin/Makefile.am:
	* src/boards/python/admin/constants.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/admin/profile_edit.py:
	* src/boards/python/admin/profile_group_list.py:
	* src/boards/python/admin/profile_list.py:
	* src/boards/python/admin/user_list.py:
	* src/gcompris/gcompris_db.c:

381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
2005-07-20  Yves Combe  <yves@ycombe.net>

	Put set_board_conf directly in gcompris module.
	Add combobox to select profile in Boards panel module.
	Finish (but untested) admin db functions.

	* src/boards/py-mod-admin.c:
	* src/boards/py-mod-gcompris.c: (py_gcompris_set_board_conf):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/module_boards.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_profiles_list),
	(gcompris_get_group_from_id), (gcompris_get_groups_list),
	(gcompris_get_board_from_id), (gcompris_get_users_list),
	(gcompris_get_classes_list):

397
398
399
400
401
402
403
404
405
406
407
2005-07-19  Bruno coudoin  <bruno.coudoin@free.fr>

	Now after edition, the user and group list is updated

	* src/boards/python/admin/__init__.py:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/group_user_list.py:

408
409
410
411
412
413
414
415
416
417
418
419
420
421
2005-07-19  Yves Combe  <yves@ycombe.net>

	fix Makefile.am in src/boards/python/admin/.
	fix Group struct definition.
	add functions for admin submodule (gcompris_get_group_from_id and gcompris_get_groups_list).

	* src/boards/py-mod-gcompris.c: (python_gcompris_module_init):
	* src/boards/python/admin/Makefile.am:
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/module_boards.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_group_from_id),
	(gcompris_get_groups_list):
	* src/gcompris/profile.h:

422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
2005-07-18  Bruno coudoin  <bruno.coudoin@free.fr>

	Improved the gcompris editor. Now columns are of fixed size which
	makes the UI cleaner.
	Implemented the multiselection support in edit dialog.
	Implemented the remove button in the edit dialog.

	* po/POTFILES.in:
	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/constants.py:
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_list.py:
	* src/boards/python/admin/group_user_list.py:
	* src/boards/python/admin/user_list.py:
	* src/gcompris/board.c: (init_plugins):

Yves Combe's avatar
Yves Combe committed
439
440
441
442
443
444
445
2005-07-18  Yves Combe  <yves@ycombe.net>

	add missing files.

	* src/boards/python/gcompris/admin/Makefile.am:
	* src/boards/python/gcompris/admin/__init__.py:

446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
2005-07-18  Yves Combe  <yves@ycombe.net>

	add some administration usefull function.
	add gcompris.admin submodule for them.
	some fonction are empty for now.

	* configure.in:
	* src/boards/Makefile.am:
	* src/boards/py-gcompris-class.c:
	(gcompris_new_pyGcomprisClassObject),
	(pyGcomprisClassType_dealloc), (pyGcomprisClassType_getattr),
	(pyGcomprisClassType_setattr):
	* src/boards/py-gcompris-group.c:
	(gcompris_new_pyGcomprisGroupObject),
	(pyGcomprisGroupType_dealloc), (pyGcomprisGroupType_getattr),
	(pyGcomprisGroupType_setattr):
	* src/boards/py-gcompris-user.c:
	(gcompris_new_pyGcomprisUserObject), (pyGcomprisUserType_dealloc),
	(pyGcomprisUserType_getattr), (pyGcomprisUserType_setattr):
	* src/boards/py-mod-admin.c: (py_board_run_next),
	(py_board_config_start), (py_board_config_stop),
	(py_gcompris_get_boards_list), (py_gcompris_set_board_conf),
	(py_gcompris_get_profile_from_id), (py_gcompris_get_board_from_id),
	(py_gcompris_get_group_from_id), (py_gcompris_get_user_from_id),
	(py_gcompris_get_class_from_id), (py_gcompris_get_profiles_list),
	(py_gcompris_get_users_list), (py_gcompris_get_groups_list),
	(py_gcompris_get_classes_list),
	(python_gcompris_admin_module_init):
	* src/boards/py-mod-admin.h:
	* src/boards/py-mod-gcompris.c: (py_gcompris_get_board_conf),
	(py_gcompris_get_current_profile), (py_gcompris_get_current_user),
	(python_gcompris_module_init):
	* src/boards/python/gcompris/Makefile.am:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/gcompris_db.c: (gcompris_load_menus_db),
	(gcompris_get_profile_from_id), (gcompris_db_get_profile),
	(gcompris_get_class_from_id), (gcompris_get_board_conf),
	(gcompris_get_profiles_list), (gcompris_get_group_from_id),
	(gcompris_get_groups_list), (gcompris_get_board_from_id),
	(gcompris_get_users_list), (gcompris_get_classes_list):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/profile.c: (gcompris_get_current_profile),
	(gcompris_set_current_user), (gcompris_get_current_user):
	* src/gcompris/profile.h:

491
492
493
494
495
496
497
498
499
500
501
2005-07-13  Bruno coudoin  <bruno.coudoin@free.fr>

	Reworked the class module to use a single canvas item
	Now layout is managed by GTK
	Bottom user list now follow the top class list selection
	
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/group_user_list.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/admin/user_list.py:

502
503
504
505
506
507
508
509
510
511
512
513
514
2005-07-12  Bruno coudoin  <bruno.coudoin@free.fr>

	Completed implementation of the group module. Should be usable now
	and as defined with Yves.
	I still need to rework the class module to use a single canvas object
	and use GTK layout instead of a fixed layout.
	This solved the I18N issue with text too large in buttons.
	
	* src/boards/python/admin/group_edit.py:
	* src/boards/python/admin/group_user_list.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/admin/user_list.py:

515
516
517
518
519
520
521
522
2005-07-11  Bruno coudoin  <bruno.coudoin@free.fr>

	* src/boards/python/admin/class_edit.py: group edition start to works.
	* admin/group_edit.py: new file for group edition
	* admin/group_user_list.py: same
	* src/gcompris/gcompris.c: (gcompris_init): force fullscreen off in edit mode.
	

523
2005-07-10  Yves Combe  <yves@ycombe.net>
524
525
526
527
528
529
530
531
532
533
534
535
536

	board conf by profile, user/class db access.

	* src/boards/Makefile.am:
	* src/boards/py-gcompris-profile.h:
	* src/boards/py-mod-gcompris.c: (py_gcompris_get_board_conf):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_users_from_group),
	(gcompris_get_user_from_id), (gcompris_get_class_from_id),
	(gcompris_get_board_conf):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/profile.h:

537
538
539
540
541
542
543
544
545
546
547
548
549
550
2005-07-10  Yves Combe  <yves@ycombe.net>

	profile C functions now complete, with missing files

	* src/boards/Makefile.am:
	* src/boards/py-gcompris-profile.c:
	(gcompris_new_pyGcomprisProfileObject),
	(pyGcomprisProfileType_dealloc), (pyGcomprisProfileType_getattr),
	(pyGcomprisProfileType_setattr):
	* src/boards/py-gcompris-profile.h:
	* src/boards/py-mod-gcompris.c: (py_gcompris_get_profile):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/profile.h:

551
552
553
554
555
556
557
558
559
560
561
562
2005-07-10  Bruno coudoin  <bruno.coudoin@free.fr>

	group_list is now useable to create groups for classes
	it is not possible yet to assign students to groups.

	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/module.py:
	* src/boards/python/admin/module_groups.py:
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/administration.py:
	* src/gcompris/gcompris_db.c:

Yves Combe's avatar
Yves Combe committed
563
564
565
566
567
568
569
570
571
572
2005-07-09  Yves Combe  <yves@ycombe.net>

	profile C functions now complete.

	* src/gcompris/gcompris.c:
	* src/gcompris/gcompris_db.c: (gcompris_get_users_from_group),
	(gcompris_set_board_conf), (gcompris_get_board_conf):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/profile.h:

573
574
575
576
577
578
579
580
581
2005-07-09  Bruno coudoin  <bruno.coudoin@free.fr>

	Little change in the database. Replace name by firstname to avoid confusion.

	* src/boards/python/admin/class_edit.py:
	* src/boards/python/admin/user_list.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_users_from_group):
	* src/gcompris/profile.h:

Yves Combe's avatar
Yves Combe committed
582
583
584
585
586
587
588
589
590
591
592
593
594
2005-07-09  Yves Combe  <yves@ycombe.net>

	profile C implementation.

	* src/gcompris/gcompris.c: (gcompris_init):
	* src/gcompris/gcompris_db.c: (gcompris_db_init),
	(gcompris_db_get_board_id), (gcompris_db_remove_board),
	(gcompris_db_get_profile), (gcompris_get_users_from_group):
	* src/gcompris/gcompris_db.h:
	* src/gcompris/profile.c: (gcompris_get_profile),
	(gcompris_set_user), (gcompris_get_user):
	* src/gcompris/profile.h:

595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
2005-07-07  Bruno coudoin  <bruno.coudoin@free.fr>

	Added groups administration module (empty yet)
	Added ordering feature in administration modules.
	Added missing copyright headers

	* boards/skins/default/config_groups.png:
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/module.py:
	* src/boards/python/admin/module_boards.py:
	* src/boards/python/admin/module_groups.py:
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/administration.py:

Yves Combe's avatar
Yves Combe committed
610
611
612
613
614
615
2005-07-07  Yves Combe  <yves@ycombe.net>

	Localised title, and clean code.

	* src/boards/python/admin/board_list.py:

616
617
618
619
620
621
2005-07-07  Yves Combe  <yves@ycombe.net>

	fix missing updated file in previous commit.

	* src/boards/python/admin/Makefile.am:

622
623
624
625
626
627
628
629
2005-07-07  Yves Combe  <yves@ycombe.net>

	add treeview with icons for boards configuration.

	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/module_boards.py:
	* src/boards/python/administration.py:

Bruno Coudoin's avatar
Bruno Coudoin committed
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
2005-07-07  Bruno coudoin  <bruno.coudoin@free.fr>

	Fixed the POTFILES.in
	Changed all gtk.FALSE by False in all python script.
	gtk.FALSE is deprecated
		
	* po/POTFILES.in:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/user_list.py:
	* src/boards/python/administration.py:
	* src/boards/python/algorithm.py:
	* src/boards/python/anim.py:
	* src/boards/python/ballcatch.py:
	* src/boards/python/bargame.py:
	* src/boards/python/connect4.py:
	* src/boards/python/followline.py:
	* src/boards/python/gnumch.py:
	* src/boards/python/hexagon.py:
	* src/boards/python/melody.py:
	* src/boards/python/pythontest.py:
	* src/boards/python/redraw.py:
	* src/boards/python/searace.py:
	* src/boards/python/tuxpaint.py:
	* src/boards/python/watercycle.py:

655
656
657
658
659
660
661
662
663
664
665
666
667
668
2005-07-06  Yves Combe  <yves@ycombe.net>

	fix bug in administration module (module not loaded with right filename).
	add empty boards configuration module.

	* boards/skins/default/config_boards.png:
	* src/boards/py-gcompris-board.c: (pyGcomprisBoardType_getattr):
	* src/boards/python/admin/Makefile.am:
	* src/boards/python/admin/module.py:
	* src/boards/python/admin/module_boards.py:
	* src/boards/python/administration.py:
	* src/gcompris/board.c: (board_play):
	* src/gcompris/gcompris.c: (gcompris_init):

669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
2005-07-06  Yves Combe  <yves@ycombe.net>

	add close/reopen in gcompris sound API, with bindings gcompris.sound.close() and gcompris.sound.reopen()
	Use these in tuxpaint launcher board to let tuxxpaint use the sound.

	* src/boards/py-mod-sound.c: (py_gcompris_reopen_sound),
	(py_gcompris_close_sound):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board.c: (board_play):
	* src/gcompris/sdlplayer.c: (sdlplayer_init), (sdlplayer_bg),
	(sdlplayer), (sdlplayer_close), (sdlplayer_reopen):
	* src/gcompris/soundutil.c: (initSound), (gcompris_close_sound),
	(gcompris_reopen_sound), (scheduler_bgnd), (scheduler):
	* src/gcompris/soundutil.h:

684
685
686
687
688
689
2005-07-05  Bruno coudoin  <bruno.coudoin@free.fr>

	* po/POTFILES.in: updated
	* src/boards/python/admin/class_edit.py: now it works. It is possible to edit users in classes
	* src/boards/python/admin/user_list.py: improved a little bit by using add_user_in_model in __create_model

690
691
692
693
694
695
696
697
698
699
700
2005-07-04  Yves Combe  <yves@ycombe.net>

	add is_configurable attribut in python board binding.
	fix beautiful ESC bug in first menu
	add gcompris_get_boards_list in python module.

	* src/boards/py-gcompris-board.c: (pyGcomprisBoardType_getattr):
	* src/boards/py-mod-gcompris.c: (py_gcompris_get_boards_list):
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board.c: (board_play), (board_stop):

701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
2005-07-04  Yves Combe  <yves@ycombe.net>

	add missing files.
	add some bindings in gcompris python bindings.

	* src/boards/menu.c: (item_event):
	* src/boards/py-mod-gcompris.c: (py_gcompris_child_watch_add),
	(py_gcompris_spawn_async), (py_board_run_next),
	(py_board_config_start), (py_board_config_stop):
	* src/boards/python/admin/Makefile.am:
	* src/gcompris/board.c: (board_stop), (get_board_paused),
	(board_run_next):
	* src/gcompris/board.h:
	* src/gcompris/board_config.c: (board_config_start),
	(board_config_stop):
	* src/gcompris/board_config.h:

718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
2005-07-04  Yves Combe  <yves@ycombe.net>

	rename users.py profiles.py in module_users.py and module_profiles.py.
	change administration.py to load automaticly module_*.py
	make config_start and config_stop running in python module (test in board.c, to ne removed).

	* src/boards/python.c: (pythonboard_config_start),
	(pythonboard_config_stop):
	* src/boards/python/admin/module_profiles.py:
	* src/boards/python/admin/module_users.py:
	* src/boards/python/admin/profiles.py:
	* src/boards/python/admin/users.py:
	* src/boards/python/administration.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board.c: (board_play):
	* src/gcompris/gcompris.h:
	* src/gcompris/plugin.h:

736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
2005-07-04  Yves Combe  <yves@ycombe.net>

	add config_start and config_end entry point to all plugin.
	modify python initialisation to detect config_start in python file and setup it correctly in plugin pointer

	* src/boards/advanced_colors.c:
	* src/boards/algebra.c:
	* src/boards/algebra_guesscount.c:
	* src/boards/animtest.c:
	* src/boards/canal_lock.c:
	* src/boards/chess.c:
	* src/boards/click_on_letter.c:
	* src/boards/clickgame.c:
	* src/boards/clockgame.c:
	* src/boards/colors.c:
	* src/boards/draw.c:
	* src/boards/enumerate.c:
	* src/boards/erase.c:
	* src/boards/fifteen.c:
	* src/boards/gletters.c:
	* src/boards/hanoi.c:
	* src/boards/imageid.c:
	* src/boards/leftright.c:
	* src/boards/machpuzzle.c:
	* src/boards/maze.c:
	* src/boards/memory.c:
	* src/boards/menu.c:
	* src/boards/missingletter.c:
	* src/boards/money.c:
	* src/boards/paratrooper.c:
	* src/boards/planegame.c:
	* src/boards/python.c: (get_pythonboards_list), (pythonboard_init),
	(pythonboard_is_our_board), (pythonboard_repeat),
	(pythonboard_config_start), (pythonboard_config_stop):
	* src/boards/railroad.c:
	* src/boards/read_colors.c:
	* src/boards/reading.c:
	* src/boards/reversecount.c:
	* src/boards/shapegame.c:
	* src/boards/smallnumbers.c:
	* src/boards/submarine.c:
	* src/boards/superbrain.c:
	* src/boards/target.c:
	* src/boards/traffic.c:
	* src/boards/wordsgame.c:
	* src/gcompris/Makefile.am:
	* src/gcompris/board.c: (init_plugins), (board_check_file):
	* src/gcompris/gameutil.c: (gcompris_get_boards_list):
	* src/gcompris/gameutil.h:
	* src/gcompris/plugin.h:

787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
2005-07-01  Bruno coudoin  <bruno.coudoin@free.fr>

	Added missing files for the edit mode (editing class)
	Re-Added gcompris-edit menu
	
	* Makefile.am:
	* gcompris-edit.desktop.in:
	* gcompris-edit.png:
	* src/boards/python/admin/.cvsignore:
	* src/boards/python/admin/Makefile.am:
	* src/boards/python/admin/class_list.py:
	* src/boards/python/admin/user_list.py:
	* src/boards/python/tuxpaint.py: bad return value

2005-06-30  Bruno coudoin  <bruno.coudoin@free.fr>

	* INSTALL: fixed new dependancies pyxml, pysqlite sqlite-devel
	* src/boards/python/admin/users.py: improved, started class-edit
	* src/boards/python/admin/class_edit.py: started, no complete yet.
	
807
808
2005-07-01  Yves Combe  <yves@ycombe.net>

809
	* src/boards/py-mod-gcompris.c: gcompris.child_watch_add compris.spawn_async to bind g_child_watch_add and g_spawn_async, (code from pygtk 2.6)
810
811
	* tuxpaint.py should now run with pygtk 2.4

812
813
814
815
2005-06-30  Yves Combe <yves@ycombe.net>

	* fix tuxpaint launcher crash if tuxpaint not found

816
817
818
819
820
821
2005-06-30  Yves Combe  <yves@ycombe.net>

	* add tuxpaint launcher board.
	* add properties python binding.
	* fix board_finished bug when launched directly with -l 

822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
2005-06-27  Bruno coudoin  <bruno.coudoin@free.fr>

	- readded initalisation of REQUIRE_PYTHON variable for the spec file
	- removed all code for the old gcompris_edit

	* configure.in:
	* gcompris-edit.desktop.in:
	* gcompris-edit.png:
	* po/POTFILES.in:
	* po/fr.po:
	* src/gcompris/Makefile.am:
	* src/gcompris/callbacks.c:
	* src/gcompris/callbacks.h:
	* src/gcompris/gcompris-edit.c:
	* src/gcompris/gcompris-edit.h:
	* src/gcompris/interface.c:
	* src/gcompris/interface.h:
	* src/gcompris/support.c:
	* src/gcompris/support.h:

2005-06-27  Bruno coudoin  <bruno.coudoin@free.fr>

	* boards/dataset/mrpatate.xml: added missing images from imageid
	* boards/dataset/tuxpaint_pictures.xml: will provide tuxpaint user saved drawings from 
	  gcompris image selector (if any).

848
849
850
851
2005-06-27  Yves Combe  <yves@ycombe.net>

	* administration module (gcompris -e).

852
853
854
855
856
2005-06-22  Yves Combe  <yves@ycombe.net>

	* fix broken Makefile.am
	* untested gcompris_db_save_user fonction

857
858
859
860
861
862
2005-06-22  Yves Combe  <yves@ycombe.net>

	* Completed migration of USE_PROFILS to USE_SQLITE.
	* Now profile system is always compiled in. 
	If SQLITE is not avalaible, profile system is just disabled.

863
864
865
866
867
2005-06-20  Yves Combe  <yves@ycombe.net>

	* add africa card in geography
	* fix atof bug in geography

868
869
870
871
872
873
2005-06-16  Yves Combe  <yves@ycombe.net>

	* Preparation of cairo integration (compilation errors)
	* --reread-xml option to force database boards rewrite.
	    Suppress boards if they are no more in the xml list.

874
875
876
877
2005-06-15  Yves Combe  <yves@ycombe.net>

	* Change billard to football (NTBF suggestion).

Yves Combe's avatar
Yves Combe committed
878
879
880
881
882
2005-06-14  Yves Combe  <yves@ycombe.net>

	* update INSTALL for libtool.
	* fix a segfault with gdate.

883
884
885
886
887
2005-06-14  Yves Combe  <yves@ycombe.net>

	* fix missing board_dir initialisation when board is read 
	from db.

888
889
890
891
2005-06-14  Yves Combe  <yves@ycombe.net>

	* fix compilation failure without --enable-profils

892
893
894
895
2005-06-14  Yves Combe  <yves@ycombe.net>

	* fix stupid mistake (board->board_dir and board->boarddir confusion).

896
897
898
899
900
901
2005-06-13  Yves Combe  <yves@ycombe.net>

	PROFILS
	* fix missing columns in db
	* fix NULL string db management.

902
903
904
905
906
2005-06-13  Yves Combe  <yves@ycombe.net>

	PROFILS
	* Read board from db at load ! 

907
908
909
910
911
912
2005-06-13  Yves Combe  <yves@ycombe.net>

	* src/gcompris/gameutil.c: suppress parsing xml for l10n. Use gettext.
	PROFILS:
	* Registering boards at first run seems ok.

913
914
915
916
917
2005-06-11  Yves Combe  <yves@ycombe.net>

	* Change section behaviour in xml board description
	* some profils works: registering boards almost correct.

Yves Combe's avatar
Yves Combe committed
918
919
920
921
2005-06-11  Yves Combe  <yves@ycombe.net>

        Profils stuff again.

922
923
924
925
926
2005-06-05  Yves Combe  <yves@ycombe.net>

	PROFILS
	* Database init integrity and VERSION check.

927
928
929
930
931
932
2005-06-03  Yves Combe  <yves@ycombe.net>

	PROFILS
	* add gcompris_db.h gcompris_db.c (interface with sqlite).
	* create table on database creation (gcompris_db_init).

933
934
935
936
937
938
2005-05-30  Yves Combe  <yves@ycombe.net>

	* configure.in: disable gcompris-edit if --enable-profils
	* src/boards/Makefile.am: add PYTHON_LIBS for python module
	* src/gcompris/profile.c: initial import (empty functions, but compiles)

939
940
941
942
943
2005-05-30  Yves Combe <yves@ycombe.net>

	* src/gcompris/gcompris.c src/gcompris/properties.c src/gcompris/properties.h: 
	command line parameters for profils database

Yves Combe's avatar
Yves Combe committed
944
945
946
947
948
949
950
951
952
2005-05-27  Yves Combe  <yves@ycombe.net>

	* -l list feature
	PROFIL STUFF (depends on --enable-profils, work in progress)
	* add -e in gcompris.c, gameutil.c
	* add profile.h (profile.c missing again)
	* add profiles in properties.{c,h} and in gcompris.c
	* fix configure.in and src/gcompris/Makefile.am to compile profiles correctly.
	
953
954
955
956
957
2005-05-25  Bruno coudoin  <bruno.coudoin@free.fr>

	* boards/maze2DRelative.xml.in: improved help message
	* configure.in: improved by Yves to provide python detection on newer version
	added detection for cairo and sqllite but it's not used anywhere yet
958
	* acinclude.m4: created by Yves, contain python checkings code.
959

960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
2005-05-23  Bruno coudoin  <bruno.coudoin@free.fr>

	Fixed by yves, on newer pygtk (2.6), gtk.True is deprecated
	and must be replaced by True. This solves the key double entry.
	In anim, fixed a bug when a photo was taken with right click on an anchor
	In anim, fixed the search for external (full path images)
	Question: Yves could we put external images relatives to the user home dir.
	This way we could exchange animation is the user copy her personal image dir.
	
	* src/boards/python/anim.py:
	* src/boards/python/bargame.py:
	* src/boards/python/gnumch.py:
	* src/boards/python/melody.py:
	* src/boards/python/pythontest.py:
	* src/boards/python/redraw.py:
	* src/boards/python/searace.py:
	* src/boards/python/watercycle.py:

978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2005-05-17  Bruno coudoin  <bruno.coudoin@free.fr>

	Updated the screenshots web site.
	
	* boards/gnumch-equality.xml.in:
	* boards/gnumch-factors.xml.in:
	* boards/gnumch-inequality.xml.in:
	* boards/gnumch-multiples.xml.in:
	* boards/gnumch-primes.xml.in:
	* boards/searace1player.xml.in:
	* docs/gcompris2spip.pl:
	* docs/screenshots/advanced_colors_small.jpg:
	* docs/screenshots/algebra_by_small.jpg:
	* docs/screenshots/algebra_guesscount_small.jpg:
	* docs/screenshots/algebra_minus_small.jpg:
	* docs/screenshots/algebra_plus_small.jpg:
	* docs/screenshots/algorithm_small.jpg:
	* docs/screenshots/anim_small.jpg:
	* docs/screenshots/babymatch_small.jpg:
	* docs/screenshots/babyshapes_small.jpg:
	* docs/screenshots/ballcatch_small.jpg:
	* docs/screenshots/bargame.jpg:
	* docs/screenshots/bargame_small.jpg: