ChangeLog 358 KB
Newer Older
1
2
3
4
5
6
2005-08-21  Bruno coudoin  <bruno.coudoin@free.fr>

	* po/POTFILES.in: added missing entries
	* src/boards/python/sudoku.py: now the list of sudoku of the same level
	  are randomized

7
2005-08-21  Yves Combe  <yves@ycombe.net>
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

	fix stripping trailing space in profile names (bruno).
	fix get_user to pass None in python if user = NULL.
	fix pythontest check a user is logged or not.
	put buttons in boards_list to make global conf toolbox.
	fix get_conf to check first global conf for profile (board_id = -1), then default conf for boards (profile_id = 1), yhen profile & board conf.

	* src/boards/py-mod-admin.c: (py_gcompris_set_current_user),
	(py_gcompris_get_current_user):
	* src/boards/python/admin/board_list.py:
	* src/boards/python/admin/profile_edit.py:
	* src/boards/python/pythontest.py:
	* src/gcompris/gcompris_db.c: (gcompris_get_conf_with_table),
	(gcompris_get_conf), (gcompris_get_board_conf):

23
24
25
26
27
28
2005-08-21  Bruno coudoin  <bruno.coudoin@free.fr>

	* src/boards/python/sudoku.py: Implemented support for non 9x9 sudoku
	Implemented level management
	The first level is playable
	
29
2005-08-20  Yves Combe  <yves@ycombe.net>
30
31
32
33
34
35
36
37
38
39
40
41
42

	fix GcomprisUser binding (user->login was missing).
	add missing python bindings in admin: get_users_from_group, set_current_user, get_current_user.
	login.py now uses that.
	pythontest check get_current_user
	
	* src/boards/py-gcompris-user.c: (pyGcomprisUserType_getattr):
	* src/boards/py-mod-admin.c: (py_gcompris_get_users_from_group),
	(py_gcompris_set_current_user), (py_gcompris_get_current_user):
	* src/boards/python/login.py:
	* src/boards/python/pythontest.py:
	* src/gcompris/gcompris_db.h:

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

	Now the square number that cause the number entering refusal is
	highlighted

	* boards/sudoku.xml.in:
	* src/boards/python/sudoku.py:

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
2005-08-20  Yves Combe  <yves@ycombe.net>

	fix login launch.
	test locales in click_on_letter
	add get global (profile but not board dependant)  conf in get_conf

	* src/boards/click_on_letter.c: (start_board), (end_board),
	(save_table), (conf_ok), (config_start), (config_stop):
	* src/gcompris/board_config.c: (check_key),
	(gcompris_close_board_conf), (gcompris_boolean_box),
	(gcompris_combo_box), (gcompris_radio_buttons),
	(gcompris_spin_int), (gcompris_combo_locales),
	(gcompris_change_locale), (gcompris_combo_locales_asset):
	* src/gcompris/gcompris.c: (setup_window):
	* src/gcompris/gcompris_db.c: (gcompris_get_conf):

67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
2005-08-20  Bruno coudoin  <bruno.coudoin@free.fr>


	* boards/sudoku.xml.in: added goal and manual. Thanks for wikipedia.
	* po/POTFILES.in: added missing sudoku
	* src/boards/python/sudoku.py: improved colors
	* boards/boardicons/sudoku.png: created by bruno
	
2005-08-20  Bruno coudoin  <bruno.coudoin@free.fr>

	reviewed by: <delete if not using a buddy>

	* boards/sudoku.xml.in:
	* src/boards/python/sudoku.py:

82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
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
173
174
175
176
177
178
179
180
2005-08-20  Bruno coudoin  <bruno.coudoin@free.fr>

 	- Included art from Nicu for Mister Potato 
	  Nicu Buculei <nicu@nicubunu.ro> gave us it's Mister Potato
	  and released it under GPL.
	- Implemented a first login screen. Not all problem solved and we 
	  need at least a login level where kids enter their name with the 
	  keyboard. 
	  The problem with the current login is that it become a top level
	  pseudo board which is loaded shortly even if there is no users.
	  When there is no users, the login should not be used at all.
	- Implemented a Sudoku activity (uncomplete yet, the 3x3 sub square
	  is not checked by the computer)

	* boards/Makefile.am:
	* boards/babymatch/sun.png:
	* boards/dataset/misc.xml:
	* boards/dataset/mrpotato.xml:
	* boards/login.xml.in:
	* boards/mrpatate/README:
	* boards/mrpatate/body2.png:
	* boards/mrpatate/ear11.png:
	* boards/mrpatate/ear12.png:
	* boards/mrpatate/ear21.png:
	* boards/mrpatate/ear22.png:
	* boards/mrpatate/ear31.png:
	* boards/mrpatate/ear32.png:
	* boards/mrpatate/ear41.png:
	* boards/mrpatate/ear42.png:
	* boards/mrpatate/eye11.png:
	* boards/mrpatate/eye12.png:
	* boards/mrpatate/eye21.png:
	* boards/mrpatate/eye22.png:
	* boards/mrpatate/eye31.png:
	* boards/mrpatate/eye32.png:
	* boards/mrpatate/eye41.png:
	* boards/mrpatate/eye42.png:
	* boards/mrpatate/eye51.png:
	* boards/mrpatate/eye52.png:
	* boards/mrpatate/eye6.png:
	* boards/mrpatate/eye7.png:
	* boards/mrpatate/eye8.png:
	* boards/mrpatate/eye9.png:
	* boards/mrpatate/eyehair11.png:
	* boards/mrpatate/eyehair12.png:
	* boards/mrpatate/eyehair21.png:
	* boards/mrpatate/eyehair22.png:
	* boards/mrpatate/eyehair31.png:
	* boards/mrpatate/eyehair32.png:
	* boards/mrpatate/eyehair41.png:
	* boards/mrpatate/eyehair42.png:
	* boards/mrpatate/glasses1.png:
	* boards/mrpatate/glasses2.png:
	* boards/mrpatate/hair1.png:
	* boards/mrpatate/hair2.png:
	* boards/mrpatate/hair3.png:
	* boards/mrpatate/hair4.png:
	* boards/mrpatate/hair5.png:
	* boards/mrpatate/hat1.png:
	* boards/mrpatate/hat2.png:
	* boards/mrpatate/hat3.png:
	* boards/mrpatate/hat4.png:
	* boards/mrpatate/jewelry1.png:
	* boards/mrpatate/jewelry2.png:
	* boards/mrpatate/jewelry3.png:
	* boards/mrpatate/jewelry4.png:
	* boards/mrpatate/moustache1.png:
	* boards/mrpatate/moustache2.png:
	* boards/mrpatate/moustache41.png:
	* boards/mrpatate/moustache42.png:
	* boards/mrpatate/moustaches31.png:
	* boards/mrpatate/moustaches32.png:
	* boards/mrpatate/mouth1.png:
	* boards/mrpatate/mouth2.png:
	* boards/mrpatate/mouth3.png:
	* boards/mrpatate/mouth4.png:
	* boards/mrpatate/mouth5.png:
	* boards/mrpatate/mouth6.png:
	* boards/mrpatate/mouth7.png:
	* boards/mrpatate/mouth8.png:
	* boards/mrpatate/noze1.png:
	* boards/mrpatate/noze2.png:
	* boards/mrpatate/noze3.png:
	* boards/mrpatate/noze4.png:
	* boards/mrpatate/tie1.png:
	* boards/mrpatate/tie2.png:
	* boards/sudoku.xml.in:
	* src/boards/py-gcompris-properties.c:
	(pyGcomprisPropertiesType_getattr):
	* src/boards/python/admin/user_list.py:
	* src/boards/python/login.py:
	* src/boards/python/sudoku.py:
	* src/gcompris/board.c: (get_current_board_plugin),
	(board_run_next_end), (board_run_next):
	* src/gcompris/gcompris.c: (setup_window), (gcompris_end_board):
	* src/gcompris/images_selector.c: (parseImage):
	* src/gcompris/profile.h:
	* src/gcompris/properties.h:

181
182
2005-08-19  Yves Combe,,,  <yves@ycombe.net>

183
184
	python binding for gcompris_combo_locales_asset gcompris_get_locales_asset_list
	gcompris_get_asset_file_locale.
185
186
187
188
189
190
191
192
193
	fix gcompris_get_asset_file binding, it now can accept some None arguments.
	sample in pythontest as usual.

	* src/boards/py-mod-gcompris.c: (py_gcompris_combo_locales_asset),
	(py_gcompris_get_locales_asset_list):
	* src/boards/py-mod-utils.c: (py_gcompris_get_asset_file),
	(py_gcompris_get_asset_file_locale):
	* src/boards/python/pythontest.py:

194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
2005-08-19  Yves Combe,,,  <yves@ycombe.net>

	Add cache in assetml.c to optimize speed.
	Add gcompris_get_locales_asset_list and gcompris_combo_locales_asset
	for sound (asset files) locales choice in conf.
	gcompris_get_asset_file_locale ofr ask with specific locale.
	Colors uses it!

	* src/boards/colors.c: (colors_config_start), (start_board),
	(end_board), (repeat):
	* src/gcompris/assetml.c: (matching), (parse_doc),
	(assetml_real_free_assetlist), (assetml_read_xml_file),
	(assetml_free_assetlist):
	* src/gcompris/board_config.c: (gcompris_get_locales_asset_list),
	(gcompris_combo_locales_asset):
	* src/gcompris/board_config.h:
	* src/gcompris/gameutil.c: (gcompris_get_asset_file),
	(gcompris_get_asset_file_locale):
	* src/gcompris/gameutil.h:

214
215
216
217
218
219
2005-08-18  Yves Combe  <yves@ycombe.net>

	dict with update for config. cleaner.

	* src/boards/python/tuxpaint.py:

220
221
222
223
224
225
226
227
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):

228
229
230
231
232
233
234
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):

235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
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
253
254
255
256
257
258
2005-08-17  Yves Combe  <yves@ycombe.net>

	fix stupid bug

	* configure.in:

259
260
261
262
263
264
2005-08-17  Yves Combe  <yves@ycombe.net>

	pass exec_prefix to $myprefix instead of $ac_default_prefix.

	* configure.in:

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

	fix locales combo init in pythontest

	* src/boards/python/pythontest.py:

277
278
279
280
281
282
283
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:

284
285
286
287
288
289
290
291
292
293
294
295
296
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):

297
298
299
300
301
302
303
304
305
306
307
308
309
310
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:

311
312
313
314
315
316
2005-08-16  Yves Combe  <yves@ycombe.net>

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

	* configure.in:

317
318
319
320
321
322
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:

323
324
325
326
327
328
329
330
331
332
333
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):

334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
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:

351
352
353
354
355
356
2005-08-15  Yves Combe  <yves@ycombe.net>

	Fix stupid inversion bug in tuxpaint configuration.

	* src/boards/python/tuxpaint.py:

357
358
359
360
361
362
363
2005-08-14  Yves Combe  <yves@ycombe.net>

	pass configuartion sample into pythontest

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

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

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

377
378
379
380
381
382
383
384
385
386
387
388
	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.
389
390
391
392
393
394
395
396
397
	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:

398
399
400
401
402
403
404
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:

405
406
407
408
409
410
411
412
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:

413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
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:

450
451
452
453
454
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
455
456
	Made the icons.
	
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
	* 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:

476
477
478
479
480
481
482
483
484
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:

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

496
497
498
499
500
501
502
503
504
505
506
507
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:

508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
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:

536
537
538
539
540
541
542
543
544
545
546
547
548
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:

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

564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
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:

582
583
584
585
586
587
588
589
590
591
592
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):

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
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
619
620
621
622
623
624
625
626
627
628
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
629
630
631
632
2005-07-23  Pawan Chitrakar  <pawan@nplinux.org>

	* configure.in: Added ne in ALL_LINGUAS

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

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

659
660
661
662
663
664
665
666
667
668
669
670
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
671
>>>>>>> 1.526
672
673
674
675
676
677
678
679
680
681
682
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):

683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
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:

704
705
706
707
708
709
710
711
712
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:

713
714
715
716
717
718
719
720
721
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:

722
723
724
725
726
727
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:

728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
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:

744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
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):

760
761
762
763
764
765
766
767
768
769
770
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:

771
772
773
774
775
776
777
778
779
780
781
782
783
784
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:

785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
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
802
803
804
805
806
807
808
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:

809
810
811
812
813
814
815
816
817
818
819
820
821
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
848
849
850
851
852
853
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:

854
855
856
857
858
859
860
861
862
863
864
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:

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

878
879
880
881
882
883
884
885
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.
	

886
2005-07-10  Yves Combe  <yves@ycombe.net>
887
888
889
890
891
892
893
894
895
896
897
898
899

	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:

900
901
902
903
904
905
906
907
908
909
910
911
912
913
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:

914
915
916
917
918
919
920
921
922
923
924
925
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
926
927
928
929
930
931
932
933
934
935
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:

936
937
938
939
940
941
942
943
944
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
945
946
947
948
949
950
951
952
953
954
955
956
957
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:

958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
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
973
974
975
976
977
978
2005-07-07  Yves Combe  <yves@ycombe.net>

	Localised title, and clean code.

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

979
980
981
982
983
984
2005-07-07  Yves Combe  <yves@ycombe.net>

	fix missing updated file in previous commit.

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

985
986
987
988
989
990
991
992
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
993
994
995
996
997
998
999
1000
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: