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