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