forked from community-ssu/maemo-launcher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
2282 lines (1626 loc) · 74.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
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
181
182
183
184
185
186
187
188
189
190
191
192
193
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
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
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
400
401
402
403
404
405
406
407
408
409
410
411
412
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
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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
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
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
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
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
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
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
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
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
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
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
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
992
993
994
995
996
997
998
999
1000
2008-12-19 Guillem Jover <[email protected]>
* configure.ac: Version 0.32.
2008-12-19 Guillem Jover <[email protected]>
* configure.ac: Add --enable-qt-booster.
* launcher/Makefile.am (booster_qt_so_SOURCES): New variable.
(booster_qt_so_CFLAGS): Likewise.
(booster_qt_so_LDFLAGS): Likewise.
(booster_qt_so_CPPFLAGS): Likewise.
(booster_qt_so_LDADD): Likewise.
[USE_QT_BOOSTER] (booster_PROGRAMS): Likewise.
* launcher/booster_qt.c: New file.
2008-12-19 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.32~.
2008-07-03 Guillem Jover <[email protected]>
* configure.ac: Version 0.31.
2008-07-03 Guillem Jover <[email protected]>
* launcher/invoker.c (disable_self_core_dump): New function.
(main): Call disable_self_core_dump before setting up the signal
forwarder.
2008-07-03 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.31~.
2008-05-29 Guillem Jover <[email protected]>
* configure.ac: Version 0.30.
2008-05-28 Guillem Jover <[email protected]>
* configure.ac (HILDON_DEPENDS): Replace libossohelp with hildon-help.
2008-05-12 Eero Tamminen <[email protected]>
* README: Typo fix and additional information for symbol versioning.
2008-05-12 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.30~.
2008-05-05 Guillem Jover <[email protected]>
* configure.ac: Version 0.29.
2008-05-05 Guillem Jover <[email protected]>
* launcher/launcher.c (kindergarten_destroy): Traverse the whole
child list and act on childs with a non-zero pid.
(store_state): Likewise.
2008-05-05 Guillem Jover <[email protected]>
* launcher/launcher.c (child_destroy): Reset pid at the beginning.
2008-05-05 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.29~.
2008-04-27 Guillem Jover <[email protected]>
* configure.ac: Version 0.28.
2008-04-27 Guillem Jover <[email protected]>
* launcher/launcher.c (rise_oom_defense): Change error to warning
when the defender failed to execute.
2008-04-27 Guillem Jover <[email protected]>
* launcher/report.h (enum report_type): Add report_warning.
(warning): New macro.
* launcher/report.c (vreport): Handle report_warning.
2008-04-23 Guillem Jover <[email protected]>
* launcher/launcher.c (store_state): Call comm_msg_destroy.
(load_state): Likewise.
2008-04-23 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.28~.
2008-04-15 Guillem Jover <[email protected]>
* configure.ac: Version 0.27.
2008-04-15 Guillem Jover <[email protected]>
* README: Add some documentation about version scripts.
2008-04-15 Guillem Jover <[email protected]>
* README: Add some documentation for make based build systems.
2008-04-15 Guillem Jover <[email protected]>
* launcher/comm_msg.h (comm_msg_set_magic): Rename to ...
(comm_msg_put_magic): ... this. Fix all users.
(comm_msg_pack_int): Rename to ...
(comm_msg_put_int): ... this. Fix all users.
(comm_msg_unpack_int): Rename to ...
(comm_msg_get_int): ... this. Fix all users.
(comm_msg_pack_str): Rename to ...
(comm_msg_put_str): ... this. Fix all users.
(comm_msg_unpack_str): Rename to ...
(comm_msg_get_str): ... this. Fix all users.
2008-04-15 Guillem Jover <[email protected]>
* launcher/comm_msg.c (comm_msg_unpack_mem): Remove function.
(comm_msg_put_u32): New function.
(comm_msg_get_u32): Likewise.
(comm_msg_set_magic): Use comm_msg_put_u32 instead of direct buffer
access.
(comm_msg_pack_int): Likewise.
(comm_msg_pack_str): Likewise.
(comm_msg_get_magic): Use comm_msg_get_u32 instead of direct buffer
access.
(comm_msg_unpack_int): Likewise. Perform boundary checks.
(comm_msg_unpack_str): Likewise. Get the string through the current
buffer read address.
2008-03-20 Guillem Jover <[email protected]>
* launcher/comm_msg.h (comm_msg_set_magic): New prototype.
(comm_msg_get_magic): Likewise.
* launcher/comm_msg.c (comm_msg_set_magic): New function.
(comm_msg_get_magic): Likewise.
* launcher/test_msg.c (main): Set and get the magic and check the
value being the same.
* launcher/launcher.c (LAUNCHER_STATE_SIG): Change from "MLSF0.0"
to 0x30534c4d.
(store_state): Use comm_msg_set_magic instead of comm_msg_pack_str.
(load_state): Use comm_msg_get_magic instead of comm_msg_unpack_str.
2008-03-18 Guillem Jover <[email protected]>
* launcher/comm_msg.h (comm_msg_print): New prototype.
* launcher/comm_msg.c (struct comm_msg): Change buf member from char *
to void *.
(comm_msg_print): New function.
(comm_msg_send): Use comm_msg_print to print msg instead of debug.
(comm_msg_recv): Likewise.
2008-03-14 Guillem Jover <[email protected]>
* launcher/comm_msg.c (comm_msg_send): Use msg->used in sizeof instead
of msg->size.
2008-03-07 Guillem Jover <[email protected]>
* README: Fix a typo and add a missing word.
2008-03-07 Guillem Jover <[email protected]>
* client/client.c (cleanup): New function.
(main): Install cleanup as an atexit function.
* launcher/launcher.c (launch_process): Call exit instead of _exit.
* launcher/summoner.c (summon_process): Likewise.
(main): Return 0 at the end of the function instead of _exit.
2008-03-07 Guillem Jover <[email protected]>
* configure.ac (CLIENT): Use only the minimum dependencies,
GTK_DEPENDS and hildon-1.
2008-02-22 Guillem Jover <[email protected]>
* launcher/comm_msg.c (comm_msg_pack_mem): Move code to ...
(comm_msg_pack_str): ... here.
(comm_msg_pack_int): Rewrite specialized version without taking into
account unaligned memory to improve performance.
2008-02-22 Guillem Jover <[email protected]>
* launcher/Makefile.am (check_PROGRAMS): Add 'test-msg-perf'.
(test_msg_perf_SOURCES): New variable.
(test_msg_perf_CPPFLAGS): Likewise.
* launcher/test_msg_perf.c: New file.
2008-02-22 Guillem Jover <[email protected]>
* launcher/invoker.c (invoker_init): Do not take a delay argument.
Fix all callers. Move magic sending logic to ...
(invoker_send_magic): ... here. New function.
(main): Initialize magic_options depending on the delay variable.
Call invoker_send_magic after invoker_init.
2008-02-22 Guillem Jover <[email protected]>
* launcher/invoker.c (invoke_recv_ack): Use more descriptive names
for the msg variable.
(invoker_recv_pid): Likewise.
(invoker_recv_exit): Likewise.
* launcher/launcher.c (invoked_get_magic): Likewise.
(invoked_get_args): Likewise.
(invoked_get_prio): Likewise.
(invoked_get_actions): Likewise.
2008-02-21 Guillem Jover <[email protected]>
* launcher/comm_msg.h (struct comm_msg): Move definition to ...
* launcher/comm_msg.c: ... here.
2008-02-21 Guillem Jover <[email protected]>
* launcher/comm_msg.h (struct comm_msg): Add a size_max member.
(comm_msg_new): Add a size_max argument.
* launcher/comm_msg.c: Include <assert.h>.
(comm_msg_new): Assert that size is <= size_max when size_max is
in use. Initialize size_max.
(comm_msg_destroy): Reset size_max.
(comm_msg_grow): Check for size_max cap.
* launcher/launcher.c (store_state): Initialize comm_msg cap to 0.
* launcher/test_msg.c (main): Likewise. Add a test for a capped
comm_msg.
2008-02-21 Guillem Jover <[email protected]>
* launcher/launcher.c (invoked_send_pid): Return status value from
invoked_send_action.
(invoked_send_exit): Likewise.
(invoked_send_fake_exit): Return status value from invoked_send_exit.
* launcher/comm_msg.c (comm_msg_pack_int): Return status value from
comm_msg_pack_mem.
(comm_msg_pack_str): Likewise.
(comm_msg_unpack_int): Check return value from comm_msg_unpack_mem.
2008-02-21 Guillem Jover <[email protected]>
* launcher/launcher.c (invoked_send_action): New function.
(invoked_send_pid): Use invoked_send_action instead of single
invoke_send_msg calls.
(invoked_send_exit): Likewise.
2008-02-21 Guillem Jover <[email protected]>
* launcher/comm_msg.c (comm_msg_pack_mem): Get rid of cur variable,
and change msg->used after having copied the data.
(comm_msg_unpack_mem): Likewise. Add a check to make sure it does not
read outside the buffer. Remove error message.
2008-02-21 Guillem Jover <[email protected]>
* launcher/comm_msg.h (comm_msg_grow): Add a need_size argument.
(comm_msg_grow): Likewise. Remove implicit end_size calculations.
Fix all callers.
(comm_msg_pack_mem): Check comm_msg_grow return code and set
msg->used after calling it.
(comm_msg_recv): Likewise.
2008-02-21 Guillem Jover <[email protected]>
* launcher/test_lib.h (test_success): New function declaration.
(test_failure): Likewise.
* launcher/test_lib.c (test_success): New function.
(test_failure): Likewise.
2008-01-25 Guillem Jover <[email protected]>
* launcher/comm_msg.h (comm_msg_reset): New function declaration.
* launcher/comm_msg.c (comm_msg_reset): New function.
2008-01-25 Guillem Jover <[email protected]>
* launcher/prog.h (sprog_t): Make filename member const.
(set_progname): Make progname argument const.
* launcher/prog.c (set_progname): Likewise.
2008-01-10 Guillem Jover <[email protected]>
* launcher/Makefile.am (maemo_launcher_SOURCES): Add 'comm_msg.c' and
'comm_msg.h'.
* launcher/launcher.c: Include "comm_msg.h".
(LAUNCHER_STATEFILE): New macro.
(statefilename): New variable.
(sigreexec_catched): Likewise.
(clean_daemon): Unlink statefilename.
(LAUNCHER_STATE_SIG): New macro.
(store_state): New function.
(load_state): Likewise.
(sigreexec_handler): Likewise.
(sigs_init): Initialize SIGUSR1 to sigreexec_handler.
(sigs_restore): Restore SIGUSR1.
(sigs_interrupt): Allow SIGUSR1 to interrupt syscalls.
(main): Try to load the state file, and fallback to normal
initialization if that fails. Only daemonize and create a pid file
if not loading the state file. Handle sigreexec_catched in the main
event loop to store the cache, and reexec self.
2008-01-10 Guillem Jover <[email protected]>
* launcher/comm_msg.h: New file.
* launcher/comm_msg.c: Likewise.
* launcher/test_lib.h: Likewise.
* launcher/test_lib.c: Likewise.
* launcher/test_msg.c: Likewise.
* launcher/Makefile.am (check_PROGRAMS): New variable.
(test_msg_SOURCES): Likewise.
(test_msg_CPPFLAGS): Likewise.
(TESTS): Likewise.
2007-12-14 Guillem Jover <[email protected]>
* launcher/launcher.c (invoked_send_fake_exit): Move closing the file
descriptor to ...
(main): ... here.
2007-12-14 Guillem Jover <[email protected]>
* launcher/launcher.c (invoked_send_fake_exit): Move function
definition closer to other invoked_ functions.
2007-12-14 Guillem Jover <[email protected]>
* launcher/launcher.c (kindergarten_insert_child): Do not call
invoked_send_fake_exit on failure.
(main): If kindergarten_insert_child failed call
invoked_send_fake_exit.
2007-12-07 Guillem Jover <[email protected]>
* launcher/launcher.c (child_clone): New function.
(kindergarten_insert_child): Use child_clone instead of inline copy.
2007-12-07 Guillem Jover <[email protected]>
* launcher/launcher.c (alloc_childs): Rename to ...
(kindergarten_new): ... this. Rename childs to kg. Fix all callers.
(grow_childs): Rename to ...
(kindergarten_grow): ... this. Rename childs to kg. Fix all callers.
(release_childs): Rename to ...
(kindergarten_destroy): ... this. Rename childs to kg. Fix all callers.
(get_child_slot_by_pid): Rename to ...
(kindergarten_get_child_slot_by_pid): ... this. Rename childs to kg.
Fix all callers.
(assign_child_slot): Rename to ...
(kindergarten_insert_child): ... this. Rename childs to kg. Fix all
callers.
(release_child_slot): Rename to ...
(kindergarten_release_child): ... this. Rename childs to kg. Fix all
callers.
(clean_childs): Rename to ...
(kindergarten_reap_childs): ... this. Rename childs to kg. Fix all
callers.
(main): Rename childs to kg.
2007-12-07 Guillem Jover <[email protected]>
* launcher/launcher.c (child_destroy): New function.
(release_childs): Use child_destroy instead of inline destroy.
(release_child_slot): Likewise.
2007-12-07 Guillem Jover <[email protected]>
* client/Makefile.am (PIE): Remove variable.
(maemo_client_CPPFLAGS): Add $(PIC).
(maemo_client_LDFLAGS): Rename $(PIE) to $(PIC). Add '-shared'.
2007-12-07 Guillem Jover <[email protected]>
* client/client.c: Rewrite for Hildon 1.x.
2007-12-04 Guillem Jover <[email protected]>
* configure.ac (DBUS_CFLAGS, DBUS_LIBS, CLIENT_CFLAGS, CLIENT_LIBS)
(BOOSTER_GTK_CFLAGS, BOOSTER_GTK_LIBS): Remove redundant variables.
2007-12-04 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.27~.
2007-10-03 Guillem Jover <[email protected]>
* configure.ac: Version 0.26.
2007-10-03 Guillem Jover <[email protected]>
* launcher/Makefile.am (dist_pkgconfig_DATA): Rename to ...
(pkgconfig_DATA): ... this.
(dist_man_MANS): Rename to ...
(man_MANS): ... this.
(EXTRA_DIST): New variable.
2007-10-03 Guillem Jover <[email protected]>
* launcher/launcher.c (alloc_childs): Free childs in case the malloc
for childs->list failed.
2007-10-03 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.26~.
2007-09-25 Guillem Jover <[email protected]>
* configure.ac: Version 0.25.
2007-09-25 Guillem Jover <[email protected]>
* configure.ac [hildon_booster] (BOOSTER_GTK_LIBS): Do not link
against libstdc++ anymore.
2007-09-25 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.25~.
2007-09-10 Guillem Jover <[email protected]>
* launcher/launcher.c (fs_init): New function.
(invoked_init): Move umask call to ...
(fs_init): ... here.
(daemonize): Move chdir call to ...
(fs_init): ... here.
(invoked_init): Move rise_oom_defense call to ...
(main): ... here. Call fs_init after env_init.
2007-08-30 Guillem Jover <[email protected]>
* configure.ac: Version 0.24.
2007-08-30 Guillem Jover <[email protected]>
* README: Cleanup.
2007-08-28 Guillem Jover <[email protected]>
* launcher/comm_dbus.c (conn, comm_dbus_finish, comm_dbus_init): Merge
into ...
(comm_dbus_send_app_died): ... here.
2007-08-28 Guillem Jover <[email protected]>
* launcher/comm_dbus.c (comm_dbus_finish): Do not call dbus_shutdown,
as libdbus is too eager throwing abort(3) around.
2007-08-20 Guillem Jover <[email protected]>
* README: Refer to MAEMO_LAUNCHER_LIBS instead of
MAEMO_LAUNCHER_LDFLAGS.
2007-08-20 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.24~.
2007-08-15 Guillem Jover <[email protected]>
* configure.ac: Version 0.23.
2007-08-15 Guillem Jover <[email protected]>
* README: Add support for DEB_BUILD_OPTIONS nolauncher.
2007-08-15 Guillem Jover <[email protected]>
* README: Update to reflect the new debhelper script and pkg-config
file support.
2007-08-15 Guillem Jover <[email protected]>
* launcher/comm_dbus.c (comm_dbus_finish): Do not call
dbus_connection_close for shared connections.
2007-08-15 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.23~.
2007-08-02 Guillem Jover <[email protected]>
* configure.ac: Version 0.22.
2007-08-02 Guillem Jover <[email protected]>
* launcher/booster_gtk.c (init_cairo): Use PANGO_CAIRO_FONT_MAP to
cast the PangoFontMap.
2007-08-02 Guillem Jover <[email protected]>
* launcher/summoner.c (summon_process) [DEBUG]: Move contents to ...
[!DEBUG]: ... here. Replace print_env_args with print_prog_env_argv.
2007-08-02 Guillem Jover <[email protected]>
* launcher/search.c: New file.
* launcher/search.h: Likewise.
* launcher/prog.c (set_progname): Add a fourth argument specifying
the argv index to start copying from. Fix all callers. Use memmove
instead of strncpy to support overlapping memory.
* launcher/prog.h (set_progname): Fix prototype.
* launcher/invoker.c: Include "search.h".
(main): Strip '.launch' from argv. Support searching binaries on the
path.
* launcher/summoner.c: Likewise. Do not offset the argv assigned to
prog.argv, as it's being fixed afterwards by set_progname.
* launcher/Makefile.am (maemo_invoker_SOURCES): Add 'search.c' and
'search.h'.
(maemo_summoner_SOURCES): Likewise.
2007-07-27 Johannes Schmid <[email protected]>
Guillem Jover <[email protected]>
* launcher/booster_gtk.c: Stop including <pango/pangoxft.h> and
<X11/Xft/Xft.h>. Include <pango/pangocairo.h>.
(init_cairo): New function.
(booster_gtk_preinit): Stop initializing Xft, and storing the
GtkSettings. Call init_cairo.
(pango_default_substitute): Remove function. Remove all callers.
(booster_gtk_init): Do not restore the GtkSettings from state.
(booster_gtk_reload): Empty function.
* launcher/booster_gtk.h (gquark_name_list): Remove Xft related
strings.
* README: Update.
2007-07-26 Guillem Jover <[email protected]>
* launcher/Makefile.am (dist_pkgconfig_DATA): Add
'maemo-launcher-app.pc'.
* configure.ac (PIC): New variable.
(AC_CONFIG_FILES): Generate 'maemo-launcher-app.pc'.
* launcher/launcher.pc.in: New file.
2007-07-25 Guillem Jover <[email protected]>
* configure.ac (HILDON_DEPENDS): Remove clinkcav, hildon-base-lib and
hildon-status-bar-lib. Replace libossomime with libhildonmime,
hildon-fm with hildon-fm-2, libhildonmenu with libhildondesktop and
hildon-libs with hildon-1.
2007-06-14 Guillem Jover <[email protected]>
* launcher/launcher.c (launch_process): Move load_prog after adjusting
the process priority and oom_adj values.
2007-03-08 Guillem Jover <[email protected]>
* launcher/booster.pc.in (exec_prefix): New variable.
(pkglibdir): New variable.
(pkgincludedir): Renamed to ...
(includedir): ... this. Fix all users.
2007-03-08 Guillem Jover <[email protected]>
* launcher/launcher.1.in: Update the '--booster' option to mention
that it supports multiple boosters now.
2007-03-08 Guillem Jover <[email protected]>
* launcher/booster_api.h: When included from C++ declare as extern C.
2007-03-08 Johannes Schmid <[email protected]>,
Guillem Jover <[email protected]>
* configure.ac (AC_CONFIG_FILES): Generate maemo-launcher-booster.pc.
* launcher/Makefile.am (pkgconfigdir): New variable.
(dist_pkgconfig_DATA): Likewise.
* launcher/booster.pc.in: New file.
2007-03-07 Johannes Schmid <[email protected]>,
Guillem Jover <[email protected]>
* launcher/booster.h (LAUNCHER_BOOSTER_H): Renamed to ...
(BOOSTER_H): ... this.
(booster_module_load): Remove declaration.
(boosters_alloc): New function declaration.
(boosters_load): Likewise.
(boosters_init): Likewise.
(boosters_reload): Likewise.
(booster_api_t, booster_state_t, BOOSTER_API_VERSION): Move ...
* launcher/booster_api.h: ... here. New file.
* launcher/booster.c (booster_new): New function.
(boosters_alloc): Likewise.
(boosters_load): Likewise.
(boosters_init): Likewise.
(boosters_reload): Likewise.
* launcher/Makefile.am (maemo_launcherdir): New variable.
(maemo_launcher_HEADERS): Likewise.
* launcher/launcher.c (usage): Document new support for multiple
boosters.
(main): Rename variable 'booster' to 'boosters'. Use boosters_alloc
when parsing the arguments and afterwards if 'boosters' is empty.
Use boosters_load instead of booster_module_load and booster_preinit.
Use boosters_reload instead of booster_reload. Use boosters_init
instead of booster_init.
2007-03-01 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.22~.
2006-11-29 Guillem Jover <[email protected]>
* configure.ac: Version 0.21.
2006-11-28 Guillem Jover <[email protected]>
* configure.ac (HILDON_DEPENDS): Add clinkc and clinkcav.
2006-11-28 Guillem Jover <[email protected]>
* launcher/launcher.c (clean_childs): Do not use asprintf, and print
the strings directly instead.
* launcher/summoner.c (main): Check for asprintf errors.
* launcher/invoker.c (main): Likewise.
* launcher/booster.c (booster_module_load): Likewise.
2006-11-28 Guillem Jover <[email protected]>
Unbranding (second part).
* launcher/comm_dbus.c (main): Replace explicit maemo-launcher string
path with the LAUNCHER macro.
* launcher/booster.c (booster_module_load): Rename booster modules
from 'maemo-booster-NAME.so' to 'booster-NAME.so'.
* launcher/Makefile.am (helper_PROGRAMS): Rename maemo-defender to
defender.
(DEFENDER): Likewise.
(maemo_defender_SOURCES): Renamed to ...
(defender_SOURCES): ... this.
(maemo_defender_CPPFLAGS): Renamed to ...
(defender_CPPFLAGS): ... this.
(booster_PROGRAMS): Rename booster modules from 'maemo-booster-NAME.so'
to 'booster-NAME.so'.
(maemo_booster_null_so_SOURCES): Renamed to ...
(booster_null_so_SOURCES): ... this.
(maemo_booster_null_so_CFLAGS): Renamed to ...
(booster_null_so_CFLAGS): ... this.
(maemo_booster_null_so_LDFLAGS): Renamed to ...
(booster_null_so_LDFLAGS): ... this.
(maemo_booster_gtk_so_SOURCES): Renamed to ...
(booster_gtk_so_SOURCES): ... this.
(maemo_booster_gtk_so_CFLAGS): Renamed to ...
(booster_gtk_so_CFLAGS): ... this.
(maemo_booster_gtk_so_LDFLAGS): Renamed to ...
(booster_gtk_so_LDFLAGS): ... this.
(maemo_booster_gtk_so_CPPFLAGS): Renamed to ...
(booster_gtk_so_CPPFLAGS): ... this.
(maemo_booster_gtk_so_LDADD): Renamed to ...
(booster_gtk_so_LDADD): ... this.
2006-11-28 Guillem Jover <[email protected]>
Unbranding (first part).
* launcher/comm_dbus.h (MAEMO_LAUNCHER_PATH): Renamed to ...
(LAUNCHER_PATH): ... this. Fixed all users.
(MAEMO_LAUNCHER_IFACE): Renamed to ...
(LAUNCHER_IFACE): ... this. Fixed all users.
(MAEMO_LAUNCHER_SIGNAL_APP_DIED): Renamed to ...
(LAUNCHER_SIGNAL_APP_DIED): ... this. Fixed all users.
* launcher/booster.h (MAEMO_LAUNCHER_BOOSTER_API_VERSION): Renamed
to ...
(BOOSTER_API_VERSION): ... this. Fixed all users.
* launcher/Makefile.am (MAEMO_DEFENDER): Renamed to ...
(DEFENDER): ... this. Fixed all users.
(MAEMO_LAUNCHER): Renamed to ...
(LAUNCHER): ... this. Fixed all users.
(MAEMO_BOOSTER_DIR): Renamed to ...
(BOOSTER_DIR): ... this. Fixed all users.
(MAEMO_BOOSTER_DEFAULT): Renamed to ...
(BOOSTER_DEFAULT): ... this. Fixed all users.
2006-11-28 Guillem Jover <[email protected]>
* configure.ac (GTK_DEPENDS): Add xft.
* launcher/booster_gtk.c (booster_gtk_preinit): Call XftInit and
XftInitFtLibrary.
2006-11-20 Guillem Jover <[email protected]>
* configure.ac (BOOSTER_GTK_LIBS) [hildon_booster]: Link against
libstdc++.
2006-11-20 Guillem Jover <[email protected]>
* launcher/defender.c: Include <string.h>.
2006-11-20 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.21~.
2006-11-14 Guillem Jover <[email protected]>
* configure.ac: Version 0.20.
2006-11-14 Guillem Jover <[email protected]>
* configure.ac (HILDON_DEPENDS): Add libossohelp, libhildonmenu and
hildon-status-bar-lib.
2006-11-13 Guillem Jover <[email protected]>
* launcher/launcher.c (OOM_ENABLE): New macro.
(oom_unprotect): New function.
(launch_process): Invert the logic and call oom_unprotect instead
of rise_oom_defense and only for processes with positive or zero
priority.
2006-11-13 Guillem Jover <[email protected]>
* launcher/defender.c (OOM_ADJ_VALUE): Rename to ...
(OOM_DISABLE): ... this. Stringify.
(set_oom_adj): Use file descriptor based functions instead of FILE
based ones.
2006-11-07 Guillem Jover <[email protected]>
* configure.ac (HILDON_DEPENDS): Add libgtkhtml-3.8, libosso,
libossomime, hildon-base-lib and hildon-fm.
2006-11-07 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.20~.
2006-10-10 Guillem Jover <[email protected]>
* configure.ac: Version 0.19.
2006-10-10 Guillem Jover <[email protected]>
* launcher/Makefile.am (maemo_booster_null_so_CFLAGS): New variable.
(maemo_booster_gtk_so_CFLAGS): Likewise.
2006-09-28 Guillem Jover <[email protected]>
* launcher/summoner.c: Include <unistd.h>. Remove commented out
<sys/resource.h> include.
* launcher/prog.c: Include <stdlib.h>.
* launcher/booster.c: Likewise.
2006-09-28 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.19~.
2006-09-28 Guillem Jover <[email protected]>
* configure.ac: Version 0.18.
2006-09-28 Guillem Jover <[email protected]>
* configure.ac (AC_CONFIG_FILES): Generate maemo-summoner.1.
* launcher/launcher.c: Do not include <sys/prctl.h> nor <dlfcn.h>
anymore. Include 'prog.h'.
(entry_t, prog_t): Move type definitions to ...
* launcher/prog.h: ... here. New file.
(prog_t): Likewise.
* launcher/launcher.c (environment, print_prog_env_argv, load_main)
(set_process_name, set_progname): Move declarations to ...
* launcher/prog.c: ... here. New file.
* launcher/summoner.c: New file.
* launcher/summoner.1.in: Likewise.
* launcher/Makefile.am (bin_PROGRAMS): Add maemo-summoner.
(maemo_launcher_SOURCES): Add 'prog.c' and 'prog.h'.
(maemo_summoner_SOURCES): New variable.
(maemo_summoner_CPPFLAGS): Likewise.
(maemo_summoner_LDADD): Likewise.
(dist_man_MANS): Add maemo-summoner.1.
2006-09-28 Guillem Jover <[email protected]>
* launcher/launcher.c (launch_process): Move program environment and
argv debugging prints to ...
(print_prog_env_argv): ... here. New function.
2006-09-28 Guillem Jover <[email protected]>
* launcher/launcher.c (prog_t): Add an entry member.
(launch_process): Use load_main and prog->entry when calling the entry
point, and move the logic to load the main symbol to ...
(load_main): ... here. New function.
2006-09-28 Guillem Jover <[email protected]>
* launcher/booster_null.c (booster_api): Renamed to ...
(booster_null_api): ... this.
* launcher/booster_gtk.c (booster_api): Renamed to ...
(booster_gtk_api): ... this.
* launcher/booster.c (booster_module_load): Dynamically generate
booster_sym using the booster name. Statically prefix the
booster_patch with MAEMO_BOOSTER_DIR. Free booster_path and
booster_sym.
2006-09-27 Guillem Jover <[email protected]>
* launcher/launcher.c (release_childs): New function.
(main): Use it after forking the child.
2006-09-27 Guillem Jover <[email protected]>
* launcher/launcher.c (sigs_interrupt): New function.
(main): Use sigs_interrupt instead of directly siginterrupt.
2006-09-15 Guillem Jover <[email protected]>
* launcher/report.h (debug): Add a missing # in front of __VA_ARGS__.
(error): Likewise.
(info): Likewise.
2006-09-13 Guillem Jover <[email protected]>
* README: Write about the new booster module architecture.
* launcher/booster.h (booster_preinit): Remove function prototype.
(booster_init): Likewise.
(booster_reload): Likewise.
(booster_api_t): New type.
(MAEMO_LAUNCHER_BOOSTER_API_VERSION): New macro.
(booster_t): New type.
(booster_module_load): New function protoype.
* launcher/booster.c: New file.
* launcher/booster_null.c: Likewise.
* launcher/booster_gtk.c (booster_api): New variable.
(booster_preinit): Rename to ...
(booster_gtk_preinit): ... this.
(booster_init): Rename to ...
(booster_gtk_init): ... this.
(booster_reload): Renamed to ...
(booster_gtk_reload): ... this.
* launcher/launcher.c (usage): Document new '--booster' option.
(main): Remove state variable. Add a booster variable. Add a new
command line '--booster' option. Call booster_module_load.
Use the new booster module api instead of the direct booster_preinit,
booster_init and booster_reload.
* launcher/launcher.1.in: Document new '--booster' option.
* launcher/Makefile.am (boosterdir): New variable.
(booster_PROGRAMS): Likewise.
(MAEMO_BOOSTER_DIR): Likewise.
(maemo_booster_null_so_SOURCES): Likewise.
(maemo_booster_null_so_LDFLAGS): Likewise.
(maemo_booster_gtk_so_SOURCES): Likewise.
(maemo_booster_gtk_so_LDFLAGS): Likewise.
(maemo_booster_gtk_so_CPPFLAGS): Likewise.
(maemo_booster_gtk_so_LDADD): Likewise.
(maemo_launcher_SOURCES): Add 'booster.c' and 'booster.h'.
Remove 'booster_gtk.c' and 'booster_gtk.h'.
(maemo_launcher_CPPFLAGS): Change LAUNCHER_CFLAGS to DBUS_CFLAGS.
Pass the MAEMO_BOOSTER_DIR and MAEMO_BOOSTER_DEFAULT definitions.
(maemo_launcher_LDADD): Add -ldl and change LAUNCHER_LIBS to
DBUS_LIBS.
(maemo_launcher_LDFLAGS): New variable.
* configure.ac (DBUS_DEPENDS): New variable.
(DBUS): New pkg-config checking.
(extra-libs): Rename configure argument to ...
(hildon-booster): ... this.
(USE_EXTRA_LIBS): Remove AM_CONDITIONAL.
(MINIMAL_DEPENDS): Renamed to ...
(GTK_DEPENDS): ... this.
(EXTRA_DEPENDS): Renamed to ...
(HILDON_DEPENDS): ... this.
(LAUNCHER_DEPENDS): Renamed to ...
(BOOSTER_GTK_DEPENDS): ... this.
(LAUNCHER): Renamed to ...
(BOOSTER_GTK): ... this.
(CLIENT_DEPENDS): Remove and use HILDON_DEPENDS directly instead.
2006-09-13 Guillem Jover <[email protected]>
* launcher/launcher.c (launch_process): Do not take booster_state_t
as argument. Do not call booster_init. Move setting of environment
variable "_" to ...
(set_progname): ... here.
(main): Call booster_init before launch_process.
2006-09-13 Guillem Jover <[email protected]>
* launcher/report.c (report): Rename to ...
(vreport): ... this.
(report): New function.
(debug): Remove function.
(info): Likewise.
(error): Likewise.
(die): Call vreport instead of report.
(report_type): Move to ...
* launcher/report.h: ... here.
(report): New declaration.
(debug): Change the function declaration to a macro using report.
(info): Likewise.
(error): Likewise.
2006-09-11 Guillem Jover <[email protected]>
* configure.ac (MINIMAL_DEPENDS): Add missing dbus-1 dependency.
2006-09-11 Guillem Jover <[email protected]>
* launcher/launcher.c (rise_oom_defense): Use pid_t for pid variables.
(invoked_send_pid): Likewise.
2006-09-11 Guillem Jover <[email protected]>
* launcher/launcher.c (main): Set a new session id for the childs.
2006-07-10 Guillem Jover <[email protected]>
* launcher/ui.h: Renamed to ...
* launcher/booster.h: ... here. Fix all includers.
(ui_state): Renamed to ...
(booster_state_t): ... this. Fix all users.
(ui_daemon_init): Renamed to ...
(booster_preinit): ... this. Fix all users.
(ui_client_init): Renamed to ...
(booster_init): ... this. Fix all users.
(ui_state_reload): Renamed to ...
(booster_reload): ... this. Fix all users.
* launcher/ui_gtk.h: Renamed to ...
* launcher/booster_gtk.h: ... this.
* launcher/ui_gtk.c: Renamed to ...
* launcher/booster_gtk.c: ... this.
* Makefile.am (maemo_launcher_SOURCES): Rename ui.h, ui_gtk.h and
ui_gtk.c to booster.h, booster_gtk.h and booster_gtk.c.
2006-07-05 Guillem Jover <[email protected]>
* configure.ac (HAVE_PRCTL_SET_NAME): New check.
* launcher/launcher.c: Move the "config.h" include to the top.
[HAVE_PRCTL_SET_NAME]: Include <sys/prctl.h>.
(set_process_name): New function.
(set_progname): Use set_process_name.
2006-07-03 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.18~.
2006-06-19 Guillem Jover <[email protected]>
* configure.ac: Version 0.17.
2006-06-19 Guillem Jover <[email protected]>
* launcher/launcher.c (send_app_died): New variable, false by default.
(release_child_slot): Only send the signal if send_app_died is true.
(main): Add new '--send-app-died' argument.
2006-06-15 Guillem Jover <[email protected]>
* configure.ac: Version 0.16.
2006-06-15 Guillem Jover <[email protected]>
* launcher/launcher.c (sigs_init): Ignore SIGPIPE.
(sig_restore): Set SIGPIPE to the default handler.
2006-06-15 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.16~.
2006-06-09 Guillem Jover <[email protected]>
* configure.ac: Version 0.15.
2006-06-08 Guillem Jover <[email protected]>
* launcher/comm_dbus.c: Relicense to GPL version 2 only. Change
copyright holder to "Nokia Corporation".
* launcher/comm_dbus.h: Likewise.
* launcher/defender.c: Likewise.
* launcher/invoker.c: Likewise.
* launcher/invokelib.c: Likewise.
* launcher/invokelib.h: Likewise.
* launcher/launcher.c: Likewise.
* launcher/report.c: Likewise.
* launcher/report.h: Likewise.
* launcher/ui.h: Likewise.
* launcher/ui_gtk.c: Likewise.
* launcher/ui_gtk.h: Likewise.
* client/client.c: Likewise.
2006-06-08 Guillem Jover <[email protected]>
* configure.ac: Bump version to 0.15~.
2006-05-18 Guillem Jover <[email protected]>
* configure.ac: Version 0.14.
2006-05-18 Guillem Jover <[email protected]>
* launcher/Makefile.am (MAEMO_LAUNCHER): New macro.
(maemo_defender_CPPFLAGS): Pass MAEMO_LAUNCHER as a macro.
* launcher/defender.c: Include <stdbool.h>, <sys/types.h>,
<sys/stat.h> and <unistd.h>.
(is_same_file): New function.
(have_valid_parent): Likewise.
(main): Call have_valid_parent and die if not true.
2006-05-18 Guillem Jover <[email protected]>
* launcher/Makefile.am (helperdir): New variable.
(helper_PROGRAMS): Likewise.
(maemo_defender_SOURCES): Likewise.
(maemo_defender_CPPFLAGS): Likewise.
(maemo_launcher_CPPFLAGS): Pass MAEMO_DEFENDER macro.
* launcher/defender.c: New file.
* launcher/launcher.c (prog_t): New prio member.
(rise_oom_defense): New function.