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