]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
John's splash patch
[lyx.git] / src / ChangeLog
1 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
2
3         * lyx.C:
4         * lyx.h: strip external form
5
6 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7
8         * BufferView_pimpl.C: add comment, destroySplash()
9
10 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11
12         * buffer.C: add using std::stringstream.
13
14         * lyx_cb.C: readd using std::ios.
15
16         * buffer.C: add using std::map.
17
18         * BufferView_pimpl.C: add using std::vector.
19
20         * ShareContainer.h: add std:: to swap.
21
22         * buffer.h: add some typedefs
23         * buffer.C (getLists): use them
24         (getLists): renamed from getTocList.
25         add a counter for the different float types and use it in the
26         generated string.
27         (getLists): use the same counter for the NEW_INSETS and the "non"
28         NEW_INSETS
29
30         * lyx_cb.h: remove unused items, includes, using etc.
31
32         * ShareContainer.h: remove some commented code, add more comments
33         and "documentation".
34
35 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
36
37         * buffer.C (getTocList): make the list also when NEW_INSETS is
38         defined.
39
40         * buffer.h: remove TocType
41
42         * buffer.C (getTocList): change to return a map<string,
43         vector<TocItem> >, implement for dynamic number of list.
44
45         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
46         * text2.C (PasteSelection): adjust
47         * CutAndPaste.C (pasteSelection): adjust
48
49         * FloatList.C (FloatList): update from the new_insets branch.
50         * Floating.[Ch]: ditto
51         * LaTeXFeatures.C: ditto
52         * buffer.C: ditto
53         * lyxlex_pimpl.C: ditto
54         
55         * paragraph.C (Last): remove when NEW_INSETS is defined.
56
57         * other file: changes because of the above.
58
59 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
60
61         * lyxparagraph.h: rename next to next_, previous to previous_,
62         make them private for NEW_INSETS. Rename Next() to next(),
63         Previous() to previous().
64
65         * other files: changes because of the above.
66
67 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
68
69         * BufferView.h: 
70         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
71         problem.
72
73 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
74
75         * main.C (main): pass lyx_localedir to gettext_init().
76
77         * gettext.h: remove locale_init and gettext_init macros
78
79         * gettext.C (locale_init): new function
80         (gettext_init): new function
81
82         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
83         setlocale().
84
85 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
86
87         * Moved credits to frontends:
88         * credits.[Ch]: removed
89         * credits_form.[Ch]: removed
90         * lyx_gui_misc.C: remove credits stuff
91         * Makefile.am:
92
93 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
94
95         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
96
97         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
98         unneeded destructor.
99
100         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
101         a standalone pointer again.
102
103         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
104
105 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
106
107         * Makefile.am:
108         * filedlg.h:
109         * filedlg.C:
110         * LyXAction.C:
111         * ToolbarDefaults.C:
112         * bufferlist.C:
113         * commandtags.h:
114         * form1.C:
115         * form1.h:
116         * lyx_cb.C:
117         * lyx_cb.h:
118         * lyxfunc.h:
119         * lyxfunc.C:
120         * BufferView_pimpl.C: use new file dialog in GUII
121
122         * lyx_cb.h:
123         * lyx_cb.C: remove LayoutsCB to Toolbar
124
125 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
126
127         * ShareContainer.h (get): add std:: qualifier
128
129 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
130
131         * ShareContainer.h: define a proper ShareContainer::value_type
132         type (and use typename to please compaq cxx)
133
134 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
135
136         * lyxparagraph.h: move serveral local vars to
137         ParameterStruct/ParagraphParameters., use ShareContainer in
138         FontTable., make vars in FontTable private and add getter and
139         setter.
140
141         * paragraph.C: changes because of the above.
142
143         * lyxfont.h: remove copy constructor and copy assignment. (the
144         default ones is ok), move number inside FontBits. move inlines to
145         lyxfont.C 
146
147         * lyxfont.C: add number to initializaton of statics, move several
148         inlines here. constify several local vars. some whitespace
149         cleanup. Dont hide outerscope variables.
150
151         * Spacing.h: add two new constructors to match the set methods.
152
153         * ShareContainer.h: new file, will perhaps be moved to support
154
155         * ParameterStruct.h: new file
156
157         * ParagraphParameters.h: new file
158
159         * ParagraphParameters.C: new file
160
161         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
162         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
163
164         * BufferView_pimpl.C: ParagraphParameter changes.
165         * buffer.C: Likewise.
166         * bufferview_funcs.C: Likewise.
167         * text.C: Likewise.
168         * text2.C: Likewise.
169         
170 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
171
172         * lyxfind.C (LyXReplace): do not redefine default argument in
173         implementation. 
174         (IsStringInText): ditto
175         (SearchForward): ditto
176         (SearchBackward): ditto
177
178 2001-03-06  Juergen Vigna  <jug@sad.it>
179
180         * lyxfind.C (IsStringInText): put parentes around expressions.
181
182 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
183
184         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
185         
186 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
187
188         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
189
190         * stl_string_fwd.h: add comment
191
192         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
193
194         * tabular.h:
195         * tabular.C: remove unused DocBook methods
196
197         * intl.C:
198         * language.C:
199         * paragraph.C:
200         * buffer.C:
201         killed DO_USE_DEFAULT_LANGUAGE
202
203 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
204
205         * lyx_gui.C: do not include language.h.
206
207         * bufferview_funcs.C (ToggleAndShow): do not provide optional
208         arguments in function implementation.
209
210 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
211
212         * BufferView_pimpl.C: add <ctime>
213
214 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
215
216         * BufferView_pimpl.C: add using std::find_if
217
218 2001-02-27  José Matos  <jamatos@fep.up.pt>
219         
220         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
221         by OnlyPath.
222         
223 2001-02-11  José Matos  <jamatos@fep.up.pt>
224
225         * buffer.C (makeDocBookFile): command styles now have a parameter as
226         "title" by default.
227
228 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
229
230         * layout_forms.[Ch]: removed
231         * lyx_cb.[Ch]: out character
232         * lyx_gui.C: out character
233         * lyx_gui_misc.C: out character
234         * bufferview_funcs.C: : out character,
235         added toggleall as parameter in ToggleAndShow
236                    
237 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
238
239         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
240
241         * text2.C (SetCurrentFont): Disable number property at boundary.
242
243 2001-02-26  Juergen Vigna  <jug@sad.it>
244
245         * lyxfunc.C (getStatus): added a string argument override function so
246         that this is correctly called from LyXFunc::Dispatch if it contains a
247         do_not_use_argument which is used!
248         (Dispatch): added check for "custom" export and call appropriate func.
249
250 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
251
252         * lyxrc.C: Add language_command_local, language_use_babel and
253         language_global_options.
254
255         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
256
257         * buffer.C (makeLaTeXFile): Use language_use_babel and 
258         language_global_options.
259
260 2001-02-23  Juergen Vigna  <jug@sad.it>
261
262         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
263         which works with LyXText and putted it inside BufferView. Here now we
264         only call for that part the BufferView::Dispatch() function.
265
266         * BufferView.C (Dispatch): added.
267
268         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
269         functions which needs to use a LyXText over from LyXFunc.
270         (MenuInsertLyXFile): added
271         (getInsetByCode): added
272         (moveCursorUpdate): added
273         (static TEXT): added
274
275 2001-02-22  Juergen Vigna  <jug@sad.it>
276
277         * BufferView_pimpl.C (update): call a status update to see if LyXText
278         needs it.
279
280 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
281
282         * vc-backend.C (revert): implement for CVS
283         (getLog): implement for CVS
284
285 2001-02-20  Juergen Vigna  <jug@sad.it>
286
287         * text2.C (ClearSelection): added BufferView param for inset_owner call
288
289         * lyxfunc.C (TEXT): added this function and use it instead of
290         directly owner->view()-text of getLyXText().
291
292 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
293
294         * src/layout_forms.C: out preamble
295         * src/layout_forms.h: out preamble
296         * src/lyx_cb.C: out preamble
297         * src/lyx_cb.h: out preamble
298         * src/lyx_gui.C: out preamble
299         * src/lyx_gui_misc.C: out preamble
300         * src/lyxfunc.C: connect with guii preamble
301
302 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
303
304         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
305
306 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
307
308         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
309         whether to run bibtex.
310
311 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
312
313         * Makefile.am (lyx_SOURCES): Remove BackStack.h
314
315 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
316
317         * Makefile.am (lyx_SOURCES): removed bibforms.h
318
319         * vspace.h: doxygen
320
321         * text.C (GetVisibleRow): make several local vars const
322
323         * tabular.C: small cleanup.
324
325         * lyxserver.C (callback): use compare instead of strncmp
326
327         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
328         inlines to after class or to paragraph.C
329
330         * lyxfont.h: remove friend operator!=
331
332         * converter.h: move friend bool operator< to non friend and after
333         class def.
334
335         * combox.h: small cleanup
336
337         * buffer.h: doxygen, remove unused constructor, move inclas inlies
338         to inlines after class def.
339
340         * buffer.C (pop_tag): use string operations instead of strcmp
341
342         * bmtable.c: doxygen, small cleanup
343
344         * LaTeX.h: remove friend operator==
345
346 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
347
348         * screen.C: 
349         * lyxrc.[Ch]:
350         * lyxfunc.C: 
351         * lyxfont.[Ch]: 
352         * lyx_cb.C: 
353         * intl.[Ch]: 
354         * commandtags.h: 
355         * buffer.C: 
356         * WorkArea.[Ch]: 
357         * LyXAction.C: 
358         * BufferView_pimpl.C:
359         * BufferView.[Ch]: remove cruft
360
361 2001-02-14  Juergen Vigna  <jug@sad.it>
362
363         * lyxfunc.C: removed #if 0 unused code
364
365         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
366
367         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
368
369         * text2.C (SetSelection): added a BufferView * parameter
370
371 2001-02-13  Juergen Vigna  <jug@sad.it>
372
373         * lyxfunc.C (Dispatch): fixed protected blank problem.
374         * BufferView2.C (protectedBlank): added LyxText * parameter.
375
376         * tabular.C (AppendRow): forgot to set row_info of newly added row.
377         (AppendColumn): same as above for column_info.
378
379         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
380         (moveCursorUpdate): use a LyXText param for support of InsetText.
381
382         * BufferView_pimpl.C (doubleClick): added support for InsetText.
383         (tripleClick): ditto
384
385         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
386
387         * BufferView_pimpl.C (update): added LyXText param to honor insets.
388
389         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
390
391         * text2.C (SetSelection): set correct update status if inset_owner
392         (ToggleFree): ditto
393
394 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
395
396         * tabular.C: remove some commented code.
397
398 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
399
400         * BufferView_pimpl.C: call hideSplash()
401
402         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
403
404         * include_form.h:
405         * bibforms.h: remove
406
407         * lyxfunc.C:
408         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
409           add LFUN_CHILD_CREATE
410
411         * counters.h: fix tiny typo
412         
413         * lyx_cb.C:
414         * lyx.h:
415         * lyx_gui.C:
416         * lyx.C: move splash to frontends/xforms/
417
418         * lyx_gui_misc.C: move Include and Bibform to frontends
419
420         * lyxvc.h: clarify comment
421
422         * vspace.C: tiny housekeeping
423
424 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
425
426         * text.C (PrepareToPrint): RTL Fix.
427
428         * paragraph.C (GetUChar): New method.
429         (String):  Use GetUChar.
430
431         * buffer.C (asciiParagraph): Use GetUChar.
432
433 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
434
435         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
436
437 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
438
439         * buffer.h:
440         * buffer.C: rename to getLogName(), handle
441           build log / latex log nicely
442
443 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
444
445         * MenuBackend.C: 
446         * MenuBackend.h: remove support for reference menuitem type.
447
448 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
449
450         * BufferView_pimpl.C: housekeeping
451         * BufferView_pimpl.h:
452         * LyXView.h:
453         * Makefile.am:
454         * Timeout.C:
455         * Timeout.h:
456         * minibuffer.h: move Timeout GUI-I
457                           
458 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
459
460         * lyxrc.C (read): Update converters data-structures.
461
462 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
463
464         * LaTeX.h (operator!=): add operator != for Aux_Info 
465
466 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
467
468         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
469
470         * LaTeXLog.C: deleted, useful code moved to Buffer
471
472         * buffer.h:
473         * buffer.C: new function getLatexLogName()
474
475         * lyx_gui_misc.C:
476         * lyx_gui.C:
477         * lyxvc.C:
478         * lyxvc.h:
479         * lyxfunc.C: use frontends for LaTeX and VC logs
480
481 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
482
483         * LaTeX.h: yet another std:: that Allan forgot.
484
485         * Variables.C (set): renamed from isset(), because this clashes
486         with some HP-UX macros (grr).
487
488 2001-02-06  Allan Rae  <rae@lyx.org>
489
490         * LaTeX.h: Another bug fix.  Missing std:: this time.
491
492 2001-02-04  Allan Rae  <rae@lyx.org>
493
494         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
495         floats problem. I've left it commented out because it's not quite
496         correct.  It should also test that the current object is a table or
497         figure inset.  But I haven't gotten around to figuring out how to do
498         that.  I *think* it'll be something like: "table" == inset.type()
499
500         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
501         bool.
502
503 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
504
505         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
506         all the citation/databases/styles in the auxilary file. 
507         (run): Rerun latex if there was a babel language error.
508
509 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
510
511         * text.C (Backspace): Preserve the font when changing newline char
512         with a space.
513         (BreakParagraph): If the cursor is before a space, delete the space.
514
515         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
516
517 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
518
519         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
520         new argument (code).
521         (ChangeCitationsIfUnique): New method.
522
523         * paragraph.C (GetPositionOfInset): Handle bibkey.
524
525 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
526
527         * BufferView_pimpl.h: change type of Position::par_pos to
528         LyXParagraph::size_type. 
529
530 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
531
532         * BufferView_pimpl.C (savePosition, restorePosition): Write
533         messages to minibuffer.
534
535 2001-01-28  José Matos  <jamatos@fep.up.pt>
536
537         * buffer.C (makeDocBookFile): adds support for document language.
538         A silly restriction on the name of LatexCommand types where removed.
539         Added support for CDATA sections, allows to chars unescaped, used
540         among others in code, to avoid escape < and >.
541         
542 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
543
544         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
545         saved positions instrad of a stack. Furthermore, a position is
546         stored using paragraph id/paragraph position.
547
548         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
549         Remove LFUN_REF_BACK.
550
551 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
552
553         * converter.C (dvipdfm_options): New method.
554
555 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
556
557         * vspace.C (isValidLength): Fix for empty input string.
558
559 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
560
561         * LyXAction.C (init): change description of LFUN_FIGURE to
562         "Insert Graphics"
563
564 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
565
566         * LaTeX.C: add using directive
567
568 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
569
570         * MenuBackend.C (expand): Fix the sorting of the formats.
571
572 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
573
574         * lyx_main.C: tiny error message fix
575
576 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
577
578         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
579         calling fl_initialize(). This fixes the problem with ',' as
580         decimal separator in text files.
581
582 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
583
584         * trans.C (process): Fix the keymap bug.
585
586 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
587
588         * LaTeX.C (scanAuxFiles): New method. Provides support for
589         multiple bibliographies (when using the bibtopic/bibunits pacakges).
590         (scanLogFile) Scan for "run BibTeX" messages.
591
592         * buffer.C (makeLaTeXFile): Do not load the ae package when using
593         OT1 font encoding. Also, load the aecompl package if the ae
594         package is loaded.
595
596         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
597
598 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
599
600         * texrow.C (increasePos): turn two error messages into debug
601         messages. 
602
603 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
604
605         * LaTeX.C (scanAux): Handle the \@input macro.
606         (runBibTeX): Use scanAux().
607
608         * language.C (latex_options_): New field.
609
610         * LaTeXFeatures.C (getMacros): Add language macros.
611
612         * buffer.C (makeLaTeXFile): Small fix.
613
614 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
615
616         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
617
618         * text2.C: add a using directive.
619
620 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
621
622         * BufferView2.C:
623         * lyx_gui_misc.h:
624         * lyxfr1.C:
625         * lyxfunc.C: kill LyXBell.
626
627 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
628
629         * text.C (IsBoundary): Remove the error message
630         
631         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
632
633         * lyxrc.C (setDefaults): Correct initialization value for
634         font_norm_type.
635
636 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
637
638         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
639         gotoError().
640
641         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
642         and GotoNextNote().
643
644         * src/LyXAction.C: Added reference-next.
645
646         * text.C (InsertChar): Use contains instead of strchr.
647
648         * lyx_cb.C (MenuInsertLabel): Enable default value code.
649
650 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
651
652         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
653         alignment commands (when needed).
654
655         * text.C (InsertChar): Add ':' to number separator chars.