ChangeLog 350 KB
Newer Older
1
2
3
4
5
6
7
8
2005-08-18  Yves Combe,,,  <yves@ycombe.net>

	Change 'Apply' button for 'OK' button in configuration window
	Use a dict with update() to manage default configurable values in pythontest

	* src/boards/python/pythontest.py:
	* src/gcompris/board_config.c: (gcompris_configuration_window):

9
10
11
12
13
14
15
2005-08-18  Yves Combe,,,  <yves@ycombe.net>

	fix a bug in colors config combo_locales init.

	* src/boards/colors.c: (colors_config_start):
	* src/gcompris/board_config.c: (gcompris_combo_locales):

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2005-08-18  Yves Combe  <yves@ycombe.net>

	gcompris_change_locale and gcompris_reset_locale are usefull fonction to change locale easily in boards. colors uses it, and pythontest.
	Fix configuration window behaviour: now the window closes when "Apply" button is clicked.
	add a asset_get based gcompris_get_locales_asset_list: really to long, needs to be rewritten. unusable.

	* src/boards/colors.c: (save_table), (conf_apply),
	(colors_config_start), (start_board), (end_board):
	* src/boards/py-mod-gcompris.c: (pyGcomprisConfCallback),
	(py_gcompris_configuration_window), (py_gcompris_combo_locales),
	(py_gcompris_change_locale), (py_gcompris_reset_locale):
	* src/boards/python/pythontest.py:
	* src/gcompris/board_config.c: (gcompris_apply_board_conf),
	(gcompris_combo_locales_changed), (gcompris_combo_locales),
	(gcompris_change_locale), (gcompris_reset_locale),
	(gcompris_get_locales_asset_list):
	* src/gcompris/board_config.h:

Yves Combe's avatar
Yves Combe committed
34
35
36
37
38
39
2005-08-17  Yves Combe  <yves@ycombe.net>

	fix stupid bug

	* configure.in:

40
41
42
43
44
45
2005-08-17  Yves Combe  <yves@ycombe.net>

	pass exec_prefix to $myprefix instead of $ac_default_prefix.

	* configure.in:

46
47
48
49
50
51
52
2005-08-17  Yves Combe  <yves@ycombe.net>

	fix $libdir use for configure. That will allow --libdir=/usr/lib64 if needed.

	* configure.in:

2005-08-17  Yves Combe  <yves@ycombe.net>
53
54
55
56
57

	fix locales combo init in pythontest

	* src/boards/python/pythontest.py:

58
59
60
61
62
63
64
2005-08-17  Yves Combe  <yves@ycombe.net>

	add gcompris.gcompris_gettext method to call C gettext from python. python gettext does not accept reread it's translation file if environnemnt's LC_MESSAGE is set to a not registered locale. Seems works, but needs more check.

	* src/boards/py-mod-gcompris.c: (py_gcompris_gettext):
	* src/boards/python/pythontest.py:

65
66
67
68
69
70
71
72
73
74
75
76
77
2005-08-17  Yves Combe  <yves@ycombe.net>

	python bindings, fix name (gcompris_get_locales_list) and bug.

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (py_gcompris_combo_locales),
	(py_gcompris_get_locales_list):
	* src/boards/python/pythontest.py:
	* src/gcompris/board_config.c: (gcompris_get_locales_list),
	(gcompris_combo_locales):
	* src/gcompris/board_config.h:
	* src/gcompris/gcompris.c: (gcompris_set_locale):

78
79
80
81
82
83
84
85
86
87
88
89
90
91
2005-08-17  Yves Combe  <yves@ycombe.net>

	pass gcompris_combo_box init and returned values to string.
	add gcompris_combo_locale to add easily a locale choice for board.
	
	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (py_gcompris_combo_box):
	* src/boards/python/pythontest.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_combo_box_changed),
	(my_strcmp), (gcompris_combo_box), (gcompris_locales_list),
	(gcompris_combo_locales):
	* src/gcompris/board_config.h:

92
93
94
95
96
97
2005-08-16  Yves Combe  <yves@ycombe.net>

	suppress previous patch for PLUGIN_DIR, it makes python plugin fail at run.

	* configure.in:

98
99
100
101
102
103
2005-08-16  Yves Combe  <yves@ycombe.net>

	Patch to fix compilation (libdir and X path) in x86_64, by Gran Uddeborg, thanks. Python need another check.

	* configure.in:

104
105
106
107
108
109
110
111
112
113
114
2005-08-16  Yves Combe  <yves@ycombe.net>

	fix gcompris_set_locale to inform gettext locale has changed.
	add gcompris_locales_list.

	* src/boards/colors.c: (colors_config_start):
	* src/gcompris/board_config.c: (gcompris_separator),
	(gcompris_locales_list):
	* src/gcompris/board_config.h:
	* src/gcompris/gcompris.c: (gcompris_set_locale):

115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
2005-08-15  Yves Combe  <yves@ycombe.net>

	add gcompris_separator() to make easily a GtkHSeparator in configuration.
	make <span size='large'> the label title in the conf.
	use a list and not dict to control combo in pythontest.
	add a label in filter boards tool.

	* src/boards/colors.c: (colors_config_start):
	* src/boards/py-mod-gcompris.c: (py_gcompris_separator):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/pythontest.py:
	* src/boards/python/tuxpaint.py:
	* src/gcompris/board_config.c: (gcompris_close_board_conf),
	(gcompris_configuration_window), (gcompris_spin_int),
	(gcompris_separator):
	* src/gcompris/board_config.h:

132
133
134
135
136
137
2005-08-15  Yves Combe  <yves@ycombe.net>

	Fix stupid inversion bug in tuxpaint configuration.

	* src/boards/python/tuxpaint.py:

138
139
140
141
142
143
144
2005-08-14  Yves Combe  <yves@ycombe.net>

	pass configuartion sample into pythontest

	* src/boards/python/pythontest.py:
	* src/boards/python/tuxpaint.py:

145
146
147
148
149
150
151
152
153
154
155
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:

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

158
159
160
161
162
163
164
165
166
167
168
169
	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.
170
171
172
173
174
175
176
177
178
	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:

179
180
181
182
183
184
185
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:

186
187
188
189
190
191
192
193
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:

194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
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:

231
232
233
234
235
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
236
237
	Made the icons.
	
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
	* 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:

257
258
259
260
261
262
263
264
265
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:

266
267
268
269
270
271
272
273
274
275
276
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:

277
278
279
280
281
282
283
284
285
286
287
288
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:

289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
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:

317
318
319
320
321
322
323
324
325
326
327
328
329
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:

330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
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:

345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
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:

363
364
365
366
367
368
369
370
371
372
373
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):

374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
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
400
401
402
403
404
405
406
407
408
409
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
410
411
412
413
2005-07-23  Pawan Chitrakar  <pawan@nplinux.org>

	* configure.in: Added ne in ALL_LINGUAS

414
415
416
417
418
419
420
421
422
423
424
425
426
427
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):

428
429
430
431
432
433
434
435
436
437
438
439
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:

440
441
442
443
444
445
446
447
448
449
450
451
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
452
>>>>>>> 1.526
453
454
455
456
457
458
459
460
461
462
463
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):

464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
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:

485
486
487
488
489
490
491
492
493
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:

494
495
496
497
498
499
500
501
502
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:

503
504
505
506
507
508
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:

509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
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:

525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
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):

541
542
543
544
545
546
547
548
549
550
551
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:

552
553
554
555
556
557
558
559
560
561
562
563
564
565
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:

566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
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
583
584
585
586
587
588
589
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:

590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
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:

635
636
637
638
639
640
641
642
643
644
645
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:

646
647
648
649
650
651
652
653
654
655
656
657
658
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:

659
660
661
662
663
664
665
666
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.
	

667
2005-07-10  Yves Combe  <yves@ycombe.net>
668
669
670
671
672
673
674
675
676
677
678
679
680

	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:

681
682
683
684
685
686
687
688
689
690
691
692
693
694
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:

695
696
697
698
699
700
701
702
703
704
705
706
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
707
708
709
710
711
712
713
714
715
716
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:

717
718
719
720
721
722
723
724
725
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
726
727
728
729
730
731
732
733
734
735
736
737
738
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:

739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
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
754
755
756
757
758
759
2005-07-07  Yves Combe  <yves@ycombe.net>

	Localised title, and clean code.

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

760
761
762
763
764
765
2005-07-07  Yves Combe  <yves@ycombe.net>

	fix missing updated file in previous commit.

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

766
767
768
769
770
771
772
773
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
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
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:

799
800
801
802
803
804
805
806
807
808
809
810
811
812
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):

813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
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:

828
829
830
831
832
833
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

834
835
836
837
838
839
840
841
842
843
844
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):

845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
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:

862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
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:

880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
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:

931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
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.
	
951
952
2005-07-01  Yves Combe  <yves@ycombe.net>

953
	* 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)
954
955
	* tuxpaint.py should now run with pygtk 2.4

956
957
958
959
2005-06-30  Yves Combe <yves@ycombe.net>

	* fix tuxpaint launcher crash if tuxpaint not found

960
961
962
963
964
965
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 

966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
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).

992
993
994
995
2005-06-27  Yves Combe  <yves@ycombe.net>

	* administration module (gcompris -e).

996
997
998
999
1000
2005-06-22  Yves Combe  <yves@ycombe.net>

	* fix broken Makefile.am
	* untested gcompris_db_save_user fonction